Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
RaspberryPi script to display weatherstation values via ssh - Version 2.0 (May 2022)
Moderator: mcrossley
-
- Posts: 3
- Joined: Mon 20 Feb 2017 12:26 pm
- Weather Station: AcuRite 02064MA1 Pro
- Operating System: Raspbian Jessie
Re: RaspberryPi script to display weatherstation values via ssh
Hello,
Am sorry for the late reply and no the file does not exist. Even when I start the CumulusMX, in the browser, it is just all blank as such below:
Am sorry for the late reply and no the file does not exist. Even when I start the CumulusMX, in the browser, it is just all blank as such below:
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: RaspberryPi script to display weatherstation values via ssh
As I said above, the graphconfig.json file is created at each web update. It sounds like you don't have Cumulus configured to do web updates? If you don't want to upload to a web site, you can turn on web updating (set auto-update) and don't supply an ftp host name, and it will create the json files but not try to upload them (I think!).
Steve
-
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: RaspberryPi script to display weatherstation values via ssh
Alternatively you can create this file into the /tmp folder by using this command
Probably you need to change some of the values to match to your used locale.
Once done, copy /tmp/graphconfig.json into your webdirectory.
Code: Select all
echo "{\"temp\":{\"units\":\"C\",\"decimals\":1},\"wind\":{\"units\":\"km/h\",\"decimals\":0},\"rain\":{\"units\":\"mm\",\"decimals\":1},\"press\":{\"units\":\"hPa\",\"decimals\":1},\"hum\":{\"decimals\":0},\"uv\":{\"decimals\":1}}" > /tmp/graphconfig.json
Once done, copy /tmp/graphconfig.json into your webdirectory.
-
- Posts: 3
- Joined: Mon 20 Feb 2017 12:26 pm
- Weather Station: AcuRite 02064MA1 Pro
- Operating System: Raspbian Jessie
Re: RaspberryPi script to display weatherstation values via ssh
Hello,
No I guess I found the problem. I am using Acurite Pro weather station which is not supported by CumulusMX. Guess need to find another option.
No I guess I found the problem. I am using Acurite Pro weather station which is not supported by CumulusMX. Guess need to find another option.
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: RaspberryPi script to display weatherstation values via ssh
hi i have a raspberry pi lcd screen and i wood like to run this script on in the back groud and see it on my tft display ?
-
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: RaspberryPi script to display weatherstation values via ssh
not sure if LCD4Linux will do something like this for you ?
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: RaspberryPi script to display weatherstation values via ssh
o the fort u just set it up on the pi
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: RaspberryPi script to display weatherstation values via ssh
and it a tft display
-
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: RaspberryPi script to display weatherstation values via ssh
Sorry, since I do not have such a display, I can not help you hwo to put the output of cumulusnow to your external display but:
since the cumulusnow.sh output is a simple ssh output, it should normally be no problem to direct the output from the ssh window additionally to oyur display........
Are you able to see your normal ssh windows output on the display ?
since the cumulusnow.sh output is a simple ssh output, it should normally be no problem to direct the output from the ssh window additionally to oyur display........
Are you able to see your normal ssh windows output on the display ?
-
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7
Update Available - Version 1.7 - 16.-03.2017
I had a request form one user to add the CumulusMX runtine into the weatherstation data output.
For this reason, you can download Version 1.7 from the first page
----> CumulusMX Runtime: X days XX hours XX minutes XX seconds
I had a request form one user to add the CumulusMX runtine into the weatherstation data output.
For this reason, you can download Version 1.7 from the first page
----> CumulusMX Runtime: X days XX hours XX minutes XX seconds
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7
yh
hen i get it to out put to the display it work fine but when i open up ssh it outo run the the ssh shell as well and i dont want that i ony want to to run on the diplay mate
hen i get it to out put to the display it work fine but when i open up ssh it outo run the the ssh shell as well and i dont want that i ony want to to run on the diplay mate
- rogerthn
- Posts: 518
- Joined: Thu 11 Apr 2013 6:31 pm
- Weather Station: Ecowitt GW1000/GW1003
- Operating System: Raspberry Pi OS bullseye aarch64
- Location: Trollhättan Sweden
- Contact:
Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7
This is what I do
Code: Select all
ssh pi@raspberry 'export TERM=xterm;cd /home/pi/CumulusMX;./cumulusnow.sh'
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7
so can i ad this to the outo start up the ssh pi@raspberry 'export TERM=xterm;cd /home/pi/CumulusMX;./cumulusnow.sh'
- dazza1223
- Posts: 867
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7
so can i ad this to the outo start up the ssh pi@raspberry 'export TERM=xterm;cd /home/pi/CumulusMX;./cumulusnow.sh'
-
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7
Have you tried it manually first before you aksing about a autostart script ?
ssh pi@raspberry 'export TERM=xterm;cd /home/pi/CumulusMX;./cumulusnow.sh'
on a command line....does it work ? I do not have an extra display so I can not test it ....
ssh pi@raspberry 'export TERM=xterm;cd /home/pi/CumulusMX;./cumulusnow.sh'
on a command line....does it work ? I do not have an extra display so I can not test it ....