Good morning,
I have read up some more on the integration commands and can confirm that it is not possible to directly address a dimmer in this system to either tell it to get brighter or dimmer. It is possible to press buttons that have been programmed to send a load (light, shade, appliance etc) or loads (lights, shades or appliances) to a level predetermined in the native software for the system. In this case I have programmed a floor lamp for testing. I have 5 "phantom" keypad buttons in the native software labeled and programmed to do the following:
Lamp off
Lamp 25%
Lamp 50%
Lamp 75%
Lamp 100%
based on the 5 buttons, I have created 5 actions in VOX to press the respective buttons with the following strings:
#device,1,1,3\x0d\x0a
#device,1,2,3\x0d\x0a
#device,1,3,3\x0d\x0a
#device,1,4,3\x0d\x0a
#device,1,5,3\x0d\x0a
Each of the stings above corresponds to each of the buttons programmed in the system for the preprogrammed levels of the floor lamp.
Under the actions I have played with the following:
Non optional Keyword LAMP OFF for #1
Non Optional Keyword LAMP and optional payload list "soft, low, dim" for #2
Non Optional Keyword LAMP and optional payload list "medium, half bright, 50%" for #3
Non Optional keyword LAMP and optional payload list "medium high, 75%" for #4
Non Optional keyword LAMP and optional payload list "full, 100%" for #5
It works like a charm.
The next issue that I would like to tackle is how to query my lighting system and get responses by OSD and TTS from VOX based on feed back from the system IE:
"is the lamp in the living room on?"
"how bright is the lamp in the living room on?"
there are also wireless RF occupancy sensors that can be added to the lighting system that can be queried as to the last command that they have sent. They can be programmed as "occupancy" or "vacancy" where Occupancy turns lights on when you enter a room and turns lights off when you exit (after a timeout) and vacancy never turns the lights on, but always turns the lights off when you exit (after a time out). When you are programming these sensors in the system, you can choose what loads are affected by the "occupied" and "unoccupied" states. I think that it is possible however to extend the logic of these states beyond the lighting system if we can query their status with VOX and have VOX do other things based on the occupancy state such as "turn on a mic and start listening" and turn on a speaker zone for feedback for example.
Looking at the integration paperwork also indicates that VOX would not be limited to the RR2 system, but could also be used with HWQS and HW Illumination (two other whole home lighting systems with more advanced programming capabilities and bells and whistles.)
In order for me to get feed back from the system, I am guessing that i need to somehow configure the web server in the TCP plugin to have it accept data and process it somehow.
Any hints in the right direction is surely appreciated.
Sincerely,
L.