Luftdaten problem... ** Solved **

Hi,

I just installed the latest version

pwsWD-2020_12_16
of the dashboard. I have a Luftdaten-sensor which was working with the older version i was using, see here: http://www.akker.be/pws/, but in the new version it does not work anymore, it is downloading a textfile from Luftdaten but in the script i see that it should be a json? This is the new dashboard where it is not working: http://www.akker.be/pwsWD1/.Does someone has the same problem and solved it or is it something i did wrong?

Festive Holidays for all of you!

Staccermaccer AKA Marc;


luftdaten.txt (881 Bytes)

There are two luftdetan blocks.
You selected the second one, which uses sensors data as uploaded from the sensor directly.

In the old version you used the frist version which downloads the data from the luftdaten website.
Your sensor number is 24731 not 613120

Succes, Wim

Hi, Wim

I tried with that number too, that is not working also!

Marc,

This is the message:

Onze Luftdaten fijnstof sensor
Problem 54: Invalid / no JSON data
last_luft_data_esp8266-24731.json
Check settings and data

Please reread my previous post.
You should run easyweather and select the other luftdaten block.
You are now using AQ_luftdaten2_c_block.php but that needs an upload from the sensor to your website.
Select AQ_luftdaten_c_block.php (without the 2 inthe name).

Succes, Wim

Your current settings use the second Luftdaten script. You should change that to the first choice
See attached screenshot:


Wim,

I had that changed multiple times to test but neither of the two was working! That was just the last change, I am not ignorant, but i found the problem in the settings.php. There was still the second version active…I changed the line as you can see in the screenshot and “pop”, it started working!!

Marc,