Visual Basic Home Control
Posted: Tue Sep 18, 2012 10:11 am
Hi there!
I'm at the point of buying a new house, and would like to install a home automation system. I have seen the Bwired site and systems, ans would like to build something similar, but a tad smaller.
The idea is to mainly use X10 over powerline to do the switching, and use a ADC<>RS232 board for reading temperature sensors, and PIR motion sensors.
For the software I want to write my own application in, the age old, Visual Basic 6. I have already made most of the server application, but still would like to find a CM11 VB6 module that uses the MSCOMM. I think I can write it my self, but it will save me tons of work. Does anyone have a sample of code for controlling the CM11 without a ActiveX?!
A screendump of my server application.
The task of the server is to constantly synchronize a INI file with the devices. If the 'change' flag is set for a device in the INI file, the server will notice, and update the state to the device over X10. With this modular system of having a central DB or INI file, I hope to make it easy to implement modules. The module will only have to read the INI for getting the state of the devices, and write a other state to update one.
Anny how, does anyone have some VB6 examples?
Thanks!!
I'm at the point of buying a new house, and would like to install a home automation system. I have seen the Bwired site and systems, ans would like to build something similar, but a tad smaller.
The idea is to mainly use X10 over powerline to do the switching, and use a ADC<>RS232 board for reading temperature sensors, and PIR motion sensors.
For the software I want to write my own application in, the age old, Visual Basic 6. I have already made most of the server application, but still would like to find a CM11 VB6 module that uses the MSCOMM. I think I can write it my self, but it will save me tons of work. Does anyone have a sample of code for controlling the CM11 without a ActiveX?!
A screendump of my server application.
The task of the server is to constantly synchronize a INI file with the devices. If the 'change' flag is set for a device in the INI file, the server will notice, and update the state to the device over X10. With this modular system of having a central DB or INI file, I hope to make it easy to implement modules. The module will only have to read the INI for getting the state of the devices, and write a other state to update one.
Anny how, does anyone have some VB6 examples?
Thanks!!