04-01-2021, 01:57
On every release CumulusMX is going better and better, mcrossley is doing a great job which surely will keep Cumulus as the most used Weather software.
Today, when I was seeing the change log of the latest release release 3.9.4 - build 3099 Dec 30 I noticed three new very important settings:
Start-up Host PING: Specify a remote hostname or IP address, Cumulus will wait for a successful PING from this address before continuing
Start-up Delay: Specify a fixed time in seconds to delay the start-up. The delay will be executed after the PING check is one is specified
Start-up Delay Max Uptime: Specify a maximum system uptime in seconds after which the delay will no longer be applied. Set to zero to always delay
Having CumulusMX starting automatically at every PI restart or boot, in many cases may not be enought to ensure a reliable connection to the weather station receiver, being it an WeatherDuino or not.
Specially with WeatherDuino, its highly recommendable having some kind of delay before Cumulus starts, after a PI restart, this is important to give time to WeatherDuino receive data from the main sensors and complete its initialization sequence. Until this initialization completes, WeatherDuino refuses connection with the weather software, whatever is it.
Up to now, I was using this command on the rc-local file to make CumulusMX start only 2 minutes after a PI reboot
With the new CumulusMX options introduced on release 3.9.4 - build 3099 Dec 30 we have now a better way of doing it, and run CumulusMX as a service.
Much better than I can do, mcrossley explains it all here:
https://cumulus.hosiene.co.uk/viewtopic....91#p149191
It worth reading carefully
Today, when I was seeing the change log of the latest release release 3.9.4 - build 3099 Dec 30 I noticed three new very important settings:
Start-up Host PING: Specify a remote hostname or IP address, Cumulus will wait for a successful PING from this address before continuing
Start-up Delay: Specify a fixed time in seconds to delay the start-up. The delay will be executed after the PING check is one is specified
Start-up Delay Max Uptime: Specify a maximum system uptime in seconds after which the delay will no longer be applied. Set to zero to always delay
Having CumulusMX starting automatically at every PI restart or boot, in many cases may not be enought to ensure a reliable connection to the weather station receiver, being it an WeatherDuino or not.
Specially with WeatherDuino, its highly recommendable having some kind of delay before Cumulus starts, after a PI restart, this is important to give time to WeatherDuino receive data from the main sensors and complete its initialization sequence. Until this initialization completes, WeatherDuino refuses connection with the weather software, whatever is it.
Up to now, I was using this command on the rc-local file to make CumulusMX start only 2 minutes after a PI reboot
Code:
# Run Cumulus star script 120 seconds after system restart or boot.
#sleep 120 && /mnt/SSD/Weather/CumulusMX/cumulusmx.shWith the new CumulusMX options introduced on release 3.9.4 - build 3099 Dec 30 we have now a better way of doing it, and run CumulusMX as a service.
Much better than I can do, mcrossley explains it all here:
https://cumulus.hosiene.co.uk/viewtopic....91#p149191
It worth reading carefully


Perfect. (I haven't this realese yet...)