Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

RaspberryPi script to display weatherstation values via ssh - Version 1.7

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
meghv999
Posts: 3
Joined: Mon Feb 20, 2017 12:26 pm
Weather Station: AcuRite 02064MA1 Pro
Operating System: Raspbian Jessie

Re: RaspberryPi script to display weatherstation values via ssh

Postby meghv999 » Thu Mar 09, 2017 3:14 pm

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:

User avatar
steve
Cumulus Author
Posts: 26313
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in Portugal
Contact:

Re: RaspberryPi script to display weatherstation values via ssh

Postby steve » Thu Mar 09, 2017 3:36 pm

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

jank
Posts: 293
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: RaspberryPi script to display weatherstation values via ssh

Postby jank » Thu Mar 09, 2017 10:24 pm

Alternatively you can create this file into the /tmp folder by using this command

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


Probably you need to change some of the values to match to your used locale.
Once done, copy /tmp/graphconfig.json into your webdirectory.
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

meghv999
Posts: 3
Joined: Mon Feb 20, 2017 12:26 pm
Weather Station: AcuRite 02064MA1 Pro
Operating System: Raspbian Jessie

Re: RaspberryPi script to display weatherstation values via ssh

Postby meghv999 » Fri Mar 10, 2017 11:05 am

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. :bash:

dazza1223
Posts: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: RaspberryPi script to display weatherstation values via ssh

Postby dazza1223 » Tue Mar 14, 2017 9:24 pm

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 ?

jank
Posts: 293
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: RaspberryPi script to display weatherstation values via ssh

Postby jank » Wed Mar 15, 2017 2:56 pm

not sure if LCD4Linux will do something like this for you ?
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

dazza1223
Posts: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: RaspberryPi script to display weatherstation values via ssh

Postby dazza1223 » Wed Mar 15, 2017 7:56 pm

o the fort u just set it up on the pi

dazza1223
Posts: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: RaspberryPi script to display weatherstation values via ssh

Postby dazza1223 » Wed Mar 15, 2017 7:57 pm

and it a tft display

jank
Posts: 293
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: RaspberryPi script to display weatherstation values via ssh

Postby jank » Thu Mar 16, 2017 9:18 am

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 ?
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

jank
Posts: 293
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7

Postby jank » Thu Mar 16, 2017 9:30 am

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

Image
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

dazza1223
Posts: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7

Postby dazza1223 » Thu Mar 16, 2017 8:37 pm

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

User avatar
rogerthn
Posts: 141
Joined: Thu Apr 11, 2013 6:31 pm
Weather Station: Oregon Scientific WMR88
Operating System: Raspbian GNU/Linux 8
Location: Trollhättan Sweden
Contact:

Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7

Postby rogerthn » Thu Mar 16, 2017 9:10 pm

This is what I do

Code: Select all

ssh pi@raspberry 'export TERM=xterm;cd /home/pi/CumulusMX;./cumulusnow.sh'
Image

dazza1223
Posts: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7

Postby dazza1223 » Thu Mar 16, 2017 9:12 pm

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: 172
Joined: Sun Jan 25, 2015 8:41 pm
Weather Station: davis vantage vue
Operating System: raspberry pi 3
Location: worthing
Contact:

Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7

Postby dazza1223 » Thu Mar 16, 2017 9:18 pm

so can i ad this to the outo start up the ssh pi@raspberry 'export TERM=xterm;cd /home/pi/CumulusMX;./cumulusnow.sh'

jank
Posts: 293
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7

Postby jank » Fri Mar 17, 2017 3:56 pm

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 ....
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 2 guests