Whether it is possible to make so that on a command from a node
Yes, it is possible. I see some error in your request command, should be as, for more information refer this, you h
request (ID_TIME_SLEEP, V_VAR5);
How it is possible from the side of a node to inform in MуController, that it sleeping?
And how to process this message in MyController for the automatic check box "Node Slepping" in the node properties?
For now, it is not possible to mention it as a sleeping node. Please add a request on GitHub.
Really everything works great! The variable of the required type is created.
I inattentively read the documentation and added an extra parameter "S_CUSTOM".
Many thanks for the advice!
This request created. I will be very grateful if you can add this feature.
Thanks for the logs and backup file. I do not see any issue with MyController restored in my local(I tested with SNAPSHOT version).
From your log file, I see that MyController takes a lot of time to start[57, 62, 67, 1807 seconds]. seems like your raspberry PI loaded with some other application?
If yes, I request to stop all other application running in your raspberry PI and try again.
I recommend using RASPBIAN OS LITE edition.
8 Days and looking good - no errors, no crashes. Just a couple of nodes that misbehave sometimes......
On that note, today I noticed one node had not sent data for many hours and when I got to it, the led connected to pin 13 was rapidly flashing. This is not normally the case, but I can't spare the laptop to monitor the serial port for a week+ just in case it happens again - any ideas? This was using the standard MYS prog for bmp180 pressure sensor. Running on mains powered 5v pro mini.
If your MySensors gateway is USB, select as follows,
Tx message processing delay: Transmission delay between on each message from MyController to this gateway to avoid the collision on MySensors network.
Driver: Keep it as Auto
Port name: default /dev/ttyUSB0
Baud rate: default 115200
Retry frequency: For some reason, if your gateway goes down. MyController attempt to reconnect every X seconds once.
Connect your gateway on RPI USB port, run this command to know your USB port name: ls -lh /dev/ttyUSB*
Once you setup the gateway on MyController, your gateway should show UP.
now click on Action button on gateway and select Discover, [Note: You should have added about your node data on presentation() block of your node code.]
Now you can see your gateway and nodes on MyController.
I am using the interrupt driven mysgw also, and it really lowered the CPU usage.
Another option which i used temporarily on my 512Mb Opi Zero is add an arduino with the radio wired to the arduino ports and attach this to the usb port of the Opi-Zero, this brings the cpu usage really down.