@Daniele Thanks for sharing your knowledge.
I still use the bootloader that is installed in China, so not the issue for me. I also specify node ID in the sketch to avoid issues with getting it assigned from the GW.
I have had a much better experience lately with new quality power supply, but still had a weird crash this week.
I woke to find the pi running, activity light flashing as it normally does, but no web page served, no ssh access and no activity light on the SSD.
Within a few days I will re-build removing as many dupont connectors as I can and soldering wires instead. It's really the last thing I can think of, but I am seeing things improve which is a good thing!
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!