This is an excellent idea and one that I thought of trying to do myself.
I currently use the Deen-109 dwarven sphere mod as a permanent guard outside one of my remote homes where my homes are. I did not like the idea of having "human" guards on duty 24/7 but figured robots would not mind
http://www.nexusmods.com/skyrim/mods/8950/?
I then wrote a mod of my own for a 2nd to protect another home that was subject to bandit raids.
contrary to the comment about the "Dwemer Certified" mod, which, by the way, is a long abandoned mod, and no longer compatible with many of the other mods out there, I would LOVE to see this project continued. You might be able to look at the source for the Dwemer Certified mod to glean some tips on how to proceed with your goals here
4 comments
I currently use the Deen-109 dwarven sphere mod as a permanent guard outside one of my remote homes where my homes are. I did not like the idea of having "human" guards on duty 24/7 but figured robots would not mind
http://www.nexusmods.com/skyrim/mods/8950/?
I then wrote a mod of my own for a 2nd to protect another home that was subject to bandit raids.
Am tracking - good luck.
Note the mod Dwemer: Certified mod can be found via that link.