I can control both devices from Home Assistant but i would like to know two things.
In Home Assistant The Power Plug have only the following attributes: current_power_w, current_energy_kwh, Vera Device Id, friendly_name, icon: mdi:power-socket-eu. In Vera i see some other variables like Volts and Amps. There is a way to use them in Home Assistant ?
The second question is about the siren.
I found a post with some luup actions:
I found the links to change the sounds on the siren.
These can be put on scenes in Vera or called directly from Home Assistant.
The first will change the sound to 10 (alarm), the second command to 6 (doorbell).
luup.call_action(‘urn:micasaverde-com:serviceId:ZWaveNetwork1’,‘SendData’,{Node=‘ALTID’,Data=‘112 4 5 1 10’},1)
luup.call_action(‘urn:micasaverde-com:serviceId:ZWaveNetwork1’,‘SendData’,{Node=‘ALTID’,Data=‘112 4 5 1 6’},1)
These two links will do the same.
http://IP_ADDRESS:3480/data_request?id=action&DeviceNum=1&serviceId=urn:micasaverde-com:serviceId:ZWaveNetwork1&action=SendData&Node=ALTID&Data=112 4 5 1 10
http://IP_ADDRESS:3480/data_request?id=action&DeviceNum=1&serviceId=urn:micasaverde-com:serviceId:ZWaveNetwork1&action=SendData&Node=ALTID&Data=112 4 5 1 6
Maybe someone wants to change multiple parameters of a zwave device. First these parameters needs to be added in Vera, Device->Device Options->Add Configuration Settings. These parameters will be visible at VariablesSet:
http://IP_ADDRESS:3480/data_request?id=status&DeviceNum=DEVICEID
Then can be changed like this:
http://IP_ADDRESS:3480/data_request?id=variableset&DeviceNum=DEVICEID&serviceId=urn:micasaverde-com:serviceId:ZWaveDevice1&Variable=VariablesSet&Value=“PARAMETERS”
The documentation for the siren can be found here:
I tried to send notification commands like the link below but the siren did not responded.