I've created similar thing for other home automation system (http://www.cybrotech.co.uk/
), but have done only proof of concept code in Perl. It actually works ok, so maybe we won't do any further C++ coding on that...
It detects and creates devices automatically, user just needs to put them into floorplans...
I could try to do similar thing for your system, but would need more information about protocol to your main gateway device so I can do integration. From this point on, you can decide whether to go further and code it into C++ which I'm not good at..