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.
@daniele Thanks to narrow down this issue. I will have a look on the code.
jkandasa created this issue in mycontroller-org/mycontroller
Automatic backup is not working if the interval is more than 10 hours
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.
@staffan Hi, Did you check the user manual file? available on download section?
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.
(Sorry missed this topic...)
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.
Hope this helps.....
This is how I updated the keystore.jks to run with letsencrypt!!
Register with any free dyndns provider (e.g. http://www.dnshome.de )
Enter the access data in your router
The next step is a little bit tricky .. here is what I did
enable port forwarding for port 80 in your router
The relevant certificate files are located here after running autocert:
Then check this out (https://blog.codecentric.de/2013/01/selbstsignierte-zertifikate-aus-pem-dateien-in-java/)
openssl pkcs12 -export -out keystore.p12 -inkey privkey.pem -in cert.pem
keytool -importkeystore -destkeystore keystore.jks -srcstoretype PKCS12 -srckeystore keystore.p12
cp keystore.jks /home/pi/mycontroller/conf
mycontroller must be replaced by the passwort you choose during certificate export with openssl
You can now disable port forwarding for port 80 and enable port forwarding for port 8443 (be sure to choose a strong passwort)
!!! Valid certificate in all major browsers (chrome in my example) !!!
@iamtheghost Are you using inbuilt serial IO pins from raspberry PI? If yes, you may need to disable console login. Have you configured this serial port for any other service?
looks like you have some issues with your gateway serial port.
Looks like your connection to MYCONTROLLER.ORG was lost, please wait while we try to reconnect.