Page 3 of 4
Re: Extra Sensors Not Showing With Latest Build
Posted: Thu 09 Mar 2023 8:22 pm
by mcrossley
Dador wrote: ↑Thu 09 Mar 2023 7:41 pm
Another thing.
I noticed that the created web->extradewdata.json file is empty.
Thanks, found and fixed (extra "t" in the filename

)
Re: Extra Sensors Not Showing With Latest Build
Posted: Fri 10 Mar 2023 11:03 am
by Dador
Mark,
I found another error. The <#stationpressure> tag
doesn't work. At the Ecowitt and Davis station they give me "0.0".
Tags
<#presstrendsigned>
<#temptrendsigned>
they work fine.
Sorry for posting this in the charts thread
Edit:
It doesn't work with Ecowitt, it works with Davis.
Re: Extra Sensors Not Showing With Latest Build
Posted: Fri 10 Mar 2023 11:07 am
by mcrossley
Davis VP2 only supports station pressure if LOOP 2 is enabled
Davis WLL fully supports station pressure.
Ecowitt does not support station pressure - though I can look into adding it where it is supplied.
Re: Extra Sensors Not Showing With Latest Build
Posted: Fri 10 Mar 2023 11:29 am
by Dador
I enabled the option just to be sure-> Enable use of the LOOP2 data packets (UseDavisLoop2) .
It didn't do anything.
My console connects via WL USB logger from Davis.
Re: Extra Sensors Not Showing With Latest Build
Posted: Fri 10 Mar 2023 11:31 am
by mcrossley
I just ran it against my VP2 with a Davis logger and the query:
http://[::1]:8998/api/tags/process.json?press&altimeterpressure&stationpressure
returned
Code: Select all
{"press":"1003.6","altimeterpressure":"1002.9","stationpressure":"994.9"}
Re: Extra Sensors Not Showing With Latest Build
Posted: Fri 10 Mar 2023 11:39 am
by broadstairs
mcrossley wrote: ↑Fri 10 Mar 2023 11:07 am
Ecowitt does not support station pressure - though I can look into adding it where it is supplied.
My gateways report absolute pressure and station pressure which my understand is relative and absolute (or station) respectively. At least in the live data string.
Stuart
PS I think I had those the wrong way round

gone down with covid today so make sure you check which is which

Re: Extra Sensors Not Showing With Latest Build
Posted: Fri 10 Mar 2023 11:42 am
by mcrossley
Yep, Ecowitt do supply the data, CMX didn't do anything with it though. I'll add it now as it is a simple addition.
Re: Extra Sensors Not Showing With Latest Build
Posted: Sat 11 Mar 2023 3:49 pm
by Dador
The new release of CMX solved all the problems I reported.
- recent charts and select-a-charts with extra sensors work,
- extradewdata.json is already written,
- <#stationpressure> tag works for Ecowitt.
Thanks a lot.

Re: Extra Sensors Not Showing With Latest Build
Posted: Sat 11 Mar 2023 3:53 pm
by mcrossley
Re: Extra Sensors Not Showing With Latest Build
Posted: Sat 11 Mar 2023 10:45 pm
by The Dalek Hunter
With the latest build it works fine with the GW2000 site
https://www.angteck.co.uk/
But not on the GW1000 site
https://longsutton-weather.co.uk/
On this the extra sensor is a WH 31 and I have changed this in strings.ini to Hall
In Charts the name is still Extra Temperature and Extra Humidity but in Select-a-Graph the name is Hall. In neither case does it load.
https://longsutton-weather.co.uk/selectachart.htm
https://longsutton-weather.co.uk/trends.htm#extratemp
Re: Extra Sensors Not Showing With Latest Build
Posted: Sun 12 Mar 2023 3:39 am
by HansR
The Dalek Hunter wrote: ↑Sat 11 Mar 2023 10:45 pm
But not on the GW1000 site
https://longsutton-weather.co.uk/
[...]
In Charts the name is still Extra Temperature and Extra Humidity but in Select-a-Graph the name is Hall. In neither case does it load.
The console says:
Code: Select all
04:34:58.886 extratempdata.json:1 Failed to load resource: the server responded with a status of 404 ()
Ypou have two instances? Right?
It does not find the datafile.
Did you configure CMX correctly both in selected datafiles as in selected data for that instance?
Re: Extra Sensors Not Showing With Latest Build
Posted: Sun 12 Mar 2023 6:36 am
by The Dalek Hunter
Both instances are running on separate Raspberry Pi
And on the GW1000 version neither extrahumdata.json or extratempdata.json are being produced
The Extra Sensor in question is a WH32 and it's data is appearing ok in the dashboard
The extra sensors on the GW2000 version are all WH31 devices and they appear ok now on the website (not sure if the WH31 v WH32 bit is relevant?)
Re: Extra Sensors Not Showing With Latest Build
Posted: Sun 12 Mar 2023 9:09 am
by mcrossley
A log file with debug enabled for the failing instance please.
Re: Extra Sensors Not Showing With Latest Build
Posted: Sun 12 Mar 2023 9:10 am
by Dador
The new version introduced changes to charts.js, chartscompare.js, extrasensors.js files. For the charts to work well on the website, you need to copy or edit the charts.js and chartscompare.js files in the js directory on the server. Then chart series works fine.
Re: Extra Sensors Not Showing With Latest Build
Posted: Sun 12 Mar 2023 2:38 pm
by The Dalek Hunter
Log as requested