Accessing MySensors Child value via dzVents
Posted: Thursday 11 October 2018 5:05
Is it possible to set the hardware value of a MySensors child via dzVents? These values seem to be purged during a restart of domoticz, and the IR Send command is relying on finding a previously received V_IR_RECEIVE in the values. Which works fine as long as domoticz was not restarted and purged any previously received V_IR_RECEIVE value, but after a restart the send function is defunct until a code is first received again.
This seems to be due to the fact that the value of the MySensors child is purged upon domoticz restart, and the WriteToHardware function uses `FindChildByValueType(V_IR_RECEIVE);` to find the child (and value to send).
After domoticz restart:

After child refreshes IR code:

So unless I force the MySensors node to periodically refresh all possible codes, I would need to manually set them with dzVents upon domoticz restart. Is that possible?
Thanks!
This seems to be due to the fact that the value of the MySensors child is purged upon domoticz restart, and the WriteToHardware function uses `FindChildByValueType(V_IR_RECEIVE);` to find the child (and value to send).
After domoticz restart:

After child refreshes IR code:

So unless I force the MySensors node to periodically refresh all possible codes, I would need to manually set them with dzVents upon domoticz restart. Is that possible?
Thanks!