Tag Archives: windows

CH ZWave Server is almost ready to hit the road

CHZWave_server_045
The ZWave protocol is not complicate at all but every Home Automation solutions seem to rely on the (excellent?) OpenZWave library.
Even the AllSeen Alliance based their framework AllJoyn over it and Microsoft included the framework into the official ISO of Windows-IoT.

I decided to write from scratch my own implementation to be able to troubleshot and manage things a bit more directly and to learn something more about the ZWave and whole home automation scene.

I’ll try to release a working version before Xmas 2015.
The application will be able to manage every ZWave controllers  that expose a virtual serial port and it will run over Microsoft Windows; typically an USB Stick. Im using for my tests the excellent AEOTEC ZW090A (Ill do a linux port at some point ).
Link to another post for my initial impressions about the key.

It should be able to manage
1. “learn mode” : inclusion and esclusion of the USB STICK as a secondary controller.
2. “add node” : include new devices to the zwave network.
3. “remove node”: esclude devices from the zwave network.
4. “Recognize BINARY SWITCHES, receive feedbacks and send commands.
5. “Recognize BINARY SENSORS, receive feebacks.
6. Dinamycally monitoring Windows virtual serial ports.
7. Reset the ZWave configuration of the USB STICK.I will implement shortly other neat features (expose the devices over the network for user friendly clients, more complete support of the ZWave protocol, more devices).

 

Home Automation: ZWave progress with the Aeotec USB ZStick

The Z-Stick Gen5 ZW090-A is here.
ZWave
as expected the stick expose one of those virtual serial ports that really enjoy appear and disappear randomly under msWindows.
Note to myself: much more reliable and consistent behaviour under Linux in case I’ll decide to use it on a Raspberry PI.
The goal is to write a ‘Windows Store Simple remote’ with just the basic functions to give the users a quick straigh forward control over the devices linked to the ZStick’s zwave controller without worring too much about a complete home automation solution and maybe a tool for troubleshooting zwave networks.
Since Windows Store applications don’t seem to support serial ports directly I’m forced to develop a “server” application running on the desktop side of msWindows and let msWindowsStore apps access it as a gateway to the Zstick.
One advantage would be to have multiple remote apps running on different computers on the same network controlling devices trough the server/gateway.
I will eventually investigate if Windows IoT (aka windows 10 on raspberryPI) have support for the ZStick.
I would be surprise if Microsoft decided to not support these kind of devices since Home automation is one of the main use of the whole InternetOfThings 2015 obsession that WindowsIoT is targeting.
ZWAVE SERVER
ZWAVE REMOTE CLIENT
Note: very impressed by the Aeotec technical support so far.