It was sooooo simple in the end. But I never would have guessed that 'status' would have been the variable type. I was looking for binary,0,1, even on,off...but status? Where does that come from?
Tested the 'local override switch' and that works - switches realy and updates myc dashboard.
Finally I feel like I might be getting somewhere with all this!
@tag Thank you for the feedback.
the CPU temp is shown as 0.049c instead of 49c
I have filed an issue with pi4j. Seems it's fixed. Let me check with recent version and update.
Which image do you use (in my opinion armbian jesse is still the best..)
Yes, I too use armbian. Which is super cool image for Orange PI
and what is "hot" can you keep your finger on the cpu for a minute?
Sure, Will update you
jkandasa created this issue in Pi4J/pi4j
SystemInfoProvider CPU temperature should be standard across platforms
@bmanos said in About battery level:
delay until ne
One thing i saw in your sketch is this line
Delay will stop all processing, also the mysensors code...
what you preferably should use is:
In this case mysensors is still able to process
(just a little tip which will help coding, see this link for more information)
@abatapa Thank you so much for your support with MyController.
If the GW, which had first registered the switch - is now fully responsible for the switch. And if the GW is down - i can't do nothing with the switch binded to him. I need to go to find the same switch on "other gateway's" and only then - switch the switch
Looks like you are using same radio channel on both the gateway. MyController does not know anything about behind gateway. MyController adding resource details as received from your gateway. Here, your gateway duplicating sensors.
AFAIK, you should have only one gateway in MySensors network. When we have more than one gateway, we might face issues like this.
We may go with MQTT in this case. But this will duplicate all of your data. Example: When you turn on the switch, your node will receive two times. Similarly, when the node sends data to the gateway, MyController receives two times. If you have enabled OTA firmware update for this node might face a serious issue in this case. I never worked with two gateways on same radio frequency. Kindly check with MySensors community. They might have strong experience on this.
DON'T reply I figured out the way to do this I didn't see that I can refer to rules in the operations module
Everything is OK
Thanks for your help one more time
Could you have a look at the following there is something I am doing wrong!