Sadly that does not work.
Stations with an old console upload use different names for their fields, more similar to the v1API.
Console v2API <=> newest stations v2API
[bar] <=> [bar_sea_level]
[temp_soil_1] <=> [temp_1]
To adept the script to cope with the newest consoles / sensor arrays I need a json file similar to yours.
I have to wait until a user of the PWS_Dashboard post questions. Only then I can add extra sensors a.s.o. to the live-data script. The 21 known users do not have any of those sensors or do not need them on their dashboard.
Wim
hello okay i’m going to concentrate and stay on v1 in these conditions… it’s more than enough for me… to return to the template for the blocks corresponding to the Soil_and_Extra(tmp) : how to modify the title of each sensor ?
thnx
You use the translation files for that
To check untranslated texts: . . . h57sgz.franceserv.com/pwsWD/_test.php
At the bottom you see the texts not yet in the translation file.
Example
|Max-Min Temperature|Max-Min Temperature| #PWS_blocks.php
|Timelapse|Timelapse| #PWS_blocks.php
|soil1|soil1| #soil_tmp_mst.php
|soil2|soil2| #soil_tmp_mst.php
All other texts are already in the . .eserv.com/pwsWD/languages/lang_fr.txt
Example
# extra sensors
|Extra block large|Extra block large|
|Extra block|Extra block|
|Extra sensors|Extra sensors|
|extra_hum1|extra_hum1|
Succes,
Wim