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
Station settings
Moderator: mcrossley
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Station settings
It does look like the known problem with Mono on the Pi and comma decimals. The station settings passes a few items as floating point; the other screens convert them to strings.
Steve
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Station settings
Yes, it appears so. Perhaps that setting doesn't affect everything - that may be a bug.
Steve
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Station settings
Hi,
I changed my Rpi's locals to en-GB only with raspi-config, after a reboot i restart CMX and now i'm able do change station settings.
I set my station to WMR928 with /dev/ttyUSB0 port, no special output on Putty.
Restarted CMX but seems that no datas are incoming!
Just had some errors when trying to access dayfile or when stopping CMX.
See last reports.
I changed my Rpi's locals to en-GB only with raspi-config, after a reboot i restart CMX and now i'm able do change station settings.
I set my station to WMR928 with /dev/ttyUSB0 port, no special output on Putty.
Restarted CMX but seems that no datas are incoming!
Just had some errors when trying to access dayfile or when stopping CMX.
See last reports.
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Station settings
I'll have to put some extra logging in to trace the data coming in from the station. Is your serial port set to 9600, 8-N-1?
Steve
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Station settings
I thought it is the software that uses the port that handles its parameters
How to do that on Pi ?
How to do that on Pi ?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Station settings
Cumulus sets the parameters in software, I don't know whether that also sets the hardware.laulau wrote:I thought it is the software that uses the port that handles its parameters
Hopefully someone who actually knows something about Linux will be able to tell us. I am not a Linux expert!How to do that on Pi ?
Steve
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Station settings
I would have thought it would set it via s/ware? On the RPi you can use stty to read and set the serial UART parameters.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Station settings
You would think so. I just seem to remember that some people have issues with Cumulus 1 occasionally if they haven't set their serial port to the correct speed for the station.mcrossley wrote:I would have thought it would set it via s/ware?
Steve
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Station settings
I've put some tracing of data from the console in build 3004. Turn it on by setting Logging=1 in the [Station] section of Cumulus.ini before starting Cumulus.
Steve
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Station settings
Just have a go with build 3004 on the Rpi (and Logging=1)
No progress in the data incoming (no values showing in screens) but have the same browser console error i had when trying in Win7 : (https://cumulus.hosiene.co.uk/viewtopic.p ... 14#p101714)
'La connexion avec ws://192.168.1.48:8002/ a été interrompue pendant le chargement de la page. dashboard.js:11'
No progress in the data incoming (no values showing in screens) but have the same browser console error i had when trying in Win7 : (https://cumulus.hosiene.co.uk/viewtopic.p ... 14#p101714)
'La connexion avec ws://192.168.1.48:8002/ a été interrompue pendant le chargement de la page. dashboard.js:11'
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Station settings
It may be something to do with this error:
Object reference not set to an instance of an object
I'll investigate.
Object reference not set to an instance of an object
I'll investigate.
Steve
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Station settings
Hi,
I've updated to last 3005 build with Logging=1.
No changes!
CMX from Pi attached.
I've updated to last 3005 build with Logging=1.
No changes!
CMX from Pi attached.
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Station settings
The error message I quoted earlier is because it can't open the com port /dev/ttyUSB0, so there's some kind of problem with that. Wrong device name?
Steve
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Station settings
Hi,
This morning i build a ttl to rs232 converter(based on MAX232) to use the Pi debug port. (to be sure my rs232 to Usb is not involved)
I disabled the debug feature in inittab and cmdline.txt followed by a sudo reboot.
Started CMX on the Pi (configured with en-GB locals only)
Changed the port to /dev/ttyAMA0
Resarted CMX withe the same issue :
It seems that values are incoming (not readable because it's hex displayed in ascii )
I do the same before with the serial to usb convertor with the same incomings.
This morning i build a ttl to rs232 converter(based on MAX232) to use the Pi debug port. (to be sure my rs232 to Usb is not involved)
I disabled the debug feature in inittab and cmdline.txt followed by a sudo reboot.
Started CMX on the Pi (configured with en-GB locals only)
Changed the port to /dev/ttyAMA0
Resarted CMX withe the same issue :
- 2015-01-10 12:14:31.190 Station type = WMR928
2015-01-10 12:14:31.198 Opening com port /dev/ttyAMA0
2015-01-10 12:14:31.240 Loading last N hour data from data logs: 10/01/2015 12:14:30
2015-01-10 12:14:31.267 Loaded 0 entries to last hour data list
2015-01-10 12:14:31.304 Loaded 0 entries to last 3 hour data list
2015-01-10 12:14:31.350 Loaded 0 entries to last 24 hour data list
2015-01-10 12:14:31.388 Loaded 0 entries to recent data list
2015-01-10 12:14:31.430 Start Timers
2015-01-10 12:14:31.430 Starting 1-minute timer
Object reference not set to an instance of an object
It seems that values are incoming (not readable because it's hex displayed in ascii )
I do the same before with the serial to usb convertor with the same incomings.