Having just got V_ARMED working as I want I notice that when a node presents itself and children that the V_ARMED setting seems to be disabled by default.
So a node with child sensor V_TRIPPED and V_ARMED will only display V_TRIPPED as default. You have to go through the menus to enable V_ARMED and that could be an issue for many people who are new to this.
Once found and enabled though, it does do what I want
I achieved something similar using a pair of scripts and using AND / OR conditions on the motion sensors variables.
In this moment I cannot retrieve the script to show you an example, let me know if you need it and I'll try to get it to you in the next days.
That's great thanks, I will read through that to try and make sense of it.
I have 2 projects at the moment. One is a water level/rain gauge sensor project. I've seen the My Sensors rain gauge sketch but it seems too complex for my needs although I could use it.
The other is a home "smart meter" for our electricity usage using a non invasive current sensor.
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!