Hi - have discussed this over on Domoticz forum, but I guess it's best placed here.
I would like to use a "fake" sensor from a mysensors node to domoticz to indicate that a particular sensor that has "real" sensors is still alive - the sensors won't change often but I want to know that everything is well - the plan is have three "switches" presented - two linked to rea external sensors - the other, no physical device attached - I wait in the loop for interrupt on either switch and also for a timeout - when I wake - I check switch state - if changed - send update - and also send "on" to the dummy sensor .
this i hoped would make domoticz update its last seen time - but it doesn't - if the switch state does not chnage then the update is ignored - i have confirmed this by modyfying mysensorsbase.cpp to take out the "don't update if nothing changed code".
my question/suggestion is perhaps we should update last seen time - even if we don't actually update the status of the switch (although I have a use case for updating even if value the same)
would like to hear what others think.