Re: RaspberryPi script to display weatherstation values via ssh - Version 1.7
Posted: Fri 17 Mar 2017 11:08 pm
sorry guys i updated my pi fimware and now the tft lcd ant working now so i can test it
Support forum for Cumulus weather station software
https://cumulus.hosiene.co.uk/
Code: Select all
ssh pi@raspberry 'export TERM=xterm;cd /home/pi/CumulusMX;./cumulusnow.sh'
Yes, please try.dazza1223 wrote:ssh pi@10.0.0.6 'export TERM=xterm;cd /home/pi/CumulusMX;./cumulusnow.sh'
what like this?
Since I don't know what your setup is like, please Google.dazza1223 wrote:bingo done it it runing on lcd now so how can i auto srart on the lcd mate
I assume, you are running the Scripts without sudo ? in this case, my script is searching in some directories where a non root user account does not have permissions....but this is okay...
No it is absolutely no problem where you install both scripts......Do you envisage problems with this location? Is there any chance of having the location set as the variable $INSTPATH at the top of the CumulusNow script to make it easier to change rather than editing the if/then statement as I think this is better practice and less likely to introduce errors? Just my initial thought.
You are absolutely right, the graphconfig.json is NOT in the original cumulusmx.zip file and to be honest, I don't know where it comes from or if this file is being created by CumulusMX while a stationis connected.....maybe someone else can shade a light on this ?I am wondering now though if the .json file might be missing as I had my WMR928N disconnected at the time I was setting up the three scripts (perhaps CumulusMX needs the connection for the file to be created?) I couldn't have it connected at the time as it was impossible to have the two together while I set up the scripts. In any event, I will try the cumulusnow.sh script with the WMR928N connected to see if it resolves this issue.
Thank you very much, you are right there is a typo.........BTW, there is a bug at line 314 of the cumulusmx.sh (case 2) - the shutdown command is misspelled "shuttdown -h" so the shutdown case fails to execute.
graphconfig.json is very likely to be generated when you first run Cumulus and select the units that you wish to use.jank wrote: ↑Sun 12 May 2019 10:11 am Hello AdamYou are absolutely right, the graphconfig.json is NOT in the original cumulusmx.zip file and to be honest, I don't know where it comes from or if this file is being created by CumulusMX while a stationis connected.....maybe someone else can shade a light on this ?SunDial wrote: I am wondering now though if the .json file might be missing as I had my WMR928N disconnected at the time I was setting up the three scripts (perhaps CumulusMX needs the connection for the file to be created?) I couldn't have it connected at the time as it was impossible to have the two together while I set up the scripts. In any event, I will try the cumulusnow.sh script with the WMR928N connected to see if it resolves this issue.
But anyway, the only reason why I need this file is, I am getting the units from it.....unfortunately I did not find any other file which contains information about the local units used in users country like: °C or °F or km/h or Miles/h