Page 2 of 4

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 12:16 pm
by mcrossley
It is still using the old file?

Code: Select all

// Last modified: 2021/05/09 17:10:51
Should be...

Code: Select all

// Last modified: 2023/03/09 11:01:43

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 12:27 pm
by The Dalek Hunter
Still not working for me either on the default website.**EDIT Not working on the dashboard either ** Sorry it IS working on the dashboard :bash:

I deleted the file on my website and uploaded the one you just posted here. Just a blank graph
Screenshot 2023-03-09 at 12.28.37 pm.png

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 12:35 pm
by broadstairs
mcrossley wrote: Thu 09 Mar 2023 12:16 pm It is still using the old file?

Code: Select all

// Last modified: 2021/05/09 17:10:51
Should be...

Code: Select all

// Last modified: 2023/03/09 11:01:43
Mine is dated today from the zip file and does not work on the dashboard and is in webfiles/js folder where the old one was. I don't use the CMX default website.

STuart

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 1:22 pm
by mcrossley
To be clear, the file above is for the default web site - not the dashboard.

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 1:26 pm
by The Dalek Hunter
Yes - I uploaded it to my website

And just to clarify (I edited my previous post) - it is working perfectly on the Dashboard just not the website

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 1:31 pm
by mcrossley
The Dalek Hunter wrote: Thu 09 Mar 2023 12:27 pm Still not working for me either on the default website. Not working on the dashboard either
Found the problem, it is when the sensors are renamed - it will need a new CMX build to fix this.

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 2:02 pm
by The Dalek Hunter
mcrossley wrote: Thu 09 Mar 2023 1:31 pm
Found the problem, it is when the sensors are renamed - it will need a new CMX build to fix this.
Many thanks

Should I put the default file back or leave the one you posted here?

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 2:54 pm
by broadstairs
Mark my Extra temp/hum sensors show on the Recent Charts page just fine but not on the Select-a-Chart page, I though they should show on both on the dashboard. As far as I remember I have not renamed any of these sensors, they just use the default.

Stuart

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 3:03 pm
by mcrossley
The Dalek Hunter wrote: Thu 09 Mar 2023 2:02 pm Should I put the default file back or leave the one you posted here?
You can leave it, neither of them works for renamed sensors, though the updated one should work it they are still called "sensor 1" etc.

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 3:13 pm
by The Dalek Hunter
Using the new file I have renamed the extra sensors back to Sensor 1, Sensor 2 etc but the problem remains

Also with the new file displaying of the chart for my CO2 sensor was not even an option - With the old file (reinstated) the CO2 option is back but a blank graph is present.

Another problem (sorry) is the each time I need to change the extra sensor name I need to edit strings.ini using nano from the command line - if I try to alter it from Settings > Locale Strings it reverts back to Sensor 1 etc after I click save

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 3:24 pm
by mcrossley
broadstairs wrote: Thu 09 Mar 2023 2:54 pm Mark my Extra temp/hum sensors show on the Recent Charts page just fine but not on the Select-a-Chart page, I though they should show on both on the dashboard. As far as I remember I have not renamed any of these sensors, they just use the default.
Hmm, not what I expected - they should work in the plain recent chart, it is just select-a-chart that has the issues.

I now have it all the graphs working both on the dashboard and default web site in the next build.

CO2 is not currently available on the select-a-chart. I'll see if I can squeeze it in to the next build or not.

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 3:34 pm
by The Dalek Hunter
Screenshot 2023-03-09 at 3.32.31 pm.png
It's an option in the my Select-a-Graph pulldown using the original file but not the new one.

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 3:41 pm
by mcrossley
Yes, but they wouldn't have done anything, there is no code to display co2 graphs.

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 3:48 pm
by The Dalek Hunter
:D :D :D :D :D

Re: Extra Sensors Not Showing With Latest Build

Posted: Thu 09 Mar 2023 7:41 pm
by Dador
Another thing.
I noticed that the created web->extradewdata.json file is empty.
Only shows

Code: Select all

{ }
On the dashboard, graphs are drawn, but nothing is written to this file. After uploading to the server, I am missing the extra dew point charts. Can you check if you have it too? I use the Davis VP2 station as the main station, I have additional sensors from Ecowitt.