The future look bright and shiny. The (new?) class DeviceInformation look pretty complete and seem that every peripheral connected to the computer have and UUID (¿Universal? Unique Identifier):
is the “Id” of the AEOTEC USB Stick connected to the computer USB port.
I want point out the genericness of the Name field:
USB Serial Device (COM3)
and the PID of the Microsoft GPS module:
(…) no comments
Seem I could use it to automatically recognize when the USB STICK is swapped around on different ports (USB and virtual COM).
I’m writing a Windows Store application based on an actual hardware device. I need to be sure things stay idiot proof
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).
This device provides control of 4 Groups and 4 Scenes.
Up to 32 Z-Wave devices can be included in each of the
Groups and Scenes. It is a secondary controller only and
cannot function as a primary controller.
Associate a device to the remote
1. Press and hold the Add and Remove buttons at the same time
until the Orange LED blinks twice, then release
2. Press and release the Add button.
3. Press and release the Group button.
Press and release the right side (ON) of the Group/Scene
button (1, 2, 3 or 4) that you want to assign the device to. The
Orange LED will start blinking.
Press and release the button on the device you wish to add.
The Green LED will blink twice to show that you have
successfully Added a device to a Scene
ZWave remote integration into SmartThings network
RESET THE REMOTE
Remote [Hold Setup] : RED/GREEN LED flash twice
Remote  : GREEN LED flashes twice.
ADD Remote to SmartThing network
SmartThings APP: [+] [+ Connect New Device] -> Searching…
Remote: [Hold Setup] : (RED/GREEN LED blink twice)
Remote:  : (GREED LED rapid blink) till the connection
SmartThings APP: Complete the installation naming the device
ADDING A LIGHT (DEVICE / NODE) TO YOUR REMOTE
The “light (aka power switch)” must already be part of the SmartThings infrastructure.
You can add a maximum of 18 lights to your remote so that they can be controlled individually.
The devices should always be reset prior new ‘inclusion’:
Remote: [Hold Setup] until both the RED/GREEN LEDs blink twice.
Remote: [DELETE] (Red Blink)
Remote: [Light] (flashes green rapidly).
Device: [configuration button] reset is complete when green stops flashing.
(the green led blink 2 time faster as succes confirmation feedback).
Remote: [hold SETUP] until both the RED/GREEN LEDs blink twice.
Remote: [ADD] once. (RED LED blinks once)
Remote: [LIGHT] once. (RED LED blinks once)
Remote: Press a digit [1…9] (GREEN LED blinks rapidly)
for the device button you wish to add.
Press SHIFT and the digit [1…9] if you are adding devices 10 through 18.
Device: [configuration button] on the device so that it sends its information to the remote and receives information from the remote.
When the GREEN LED blinks twice, you have successfully added the device to your remote control.
NOTE: If the RED LED emits one long, steady blink, you have pressed an invalid key or the device has not been successfully added to your remote.
Please make sure the remote is within two feet of the device and try again.
Complete list of the 45600 “magic key sequences”:
||add this controller as primary/secondary controller (LEARN)
||add another secondary controller (device and network information)
||add another secondary controller (network information only)
||make another remote primary controller (device and network information)
||make another remote primary controller (network information only)
To activate the above MKS press and hold the SETUP key until both the red and green LEDs blink twice before typing the code.