Requesting value from Domoticz
Posted: Sunday 04 December 2016 9:00
I understand Domoticz doesn't yet support MySensors smart sleep mode.
As a workaround MySensors node could periodically request certain value from Domoticz.
I cannot find any docs on how to define dummy device or user value in Domoticz those value could be retrieved by MySensor v.2 node.
My setup: GW and Domoticz run on the same RPi. Node runs on a battery-powered Arduino.
Node could request value from controller by calling
void request(uint8_t childSensorId, uint8_t variableType, uint8_t destination);
where destination=0 (to address GW),
but what should be used for childSensorId?
Where in Domoticz I can see proper values for childSensorId?
Could someone guide me through?
Thanks a lot!
As a workaround MySensors node could periodically request certain value from Domoticz.
I cannot find any docs on how to define dummy device or user value in Domoticz those value could be retrieved by MySensor v.2 node.
My setup: GW and Domoticz run on the same RPi. Node runs on a battery-powered Arduino.
Node could request value from controller by calling
void request(uint8_t childSensorId, uint8_t variableType, uint8_t destination);
where destination=0 (to address GW),
but what should be used for childSensorId?
Where in Domoticz I can see proper values for childSensorId?
Could someone guide me through?
Thanks a lot!