Page 1 of 1

Luftdaten Data

Posted: Fri Nov 27, 2020 10:49 pm
by woolfg
Hi

I see that the latest Meteobridge Pro update adds support for the Luftdaten Air Quality sensor

I was just wondering how this is configured . I have my sensor connected to a Raspberry Pi - do I just enter the IP of the Pi or is there more to it

many thanks

Graham

Re: Luftdaten Data

Posted: Sat Nov 28, 2020 2:27 am
by admin
When you run SW that reports data in the defined JSON format when called with URL "http://x.x.x.x/data.json" you are fine, otherwise out of luck. Meteobridge cannot adapt to every individual home-brew approach.

Re: Luftdaten Data

Posted: Sat Nov 28, 2020 1:26 pm
by woolfg
Hi

Thanks - I have a file like that but when I add the station to Meteobridge it stops all uploads

Graham

Re: Luftdaten Data

Posted: Sat Nov 28, 2020 1:44 pm
by admin
woolfg wrote: Sat Nov 28, 2020 1:26 pm I have a file like that but when I add the station to Meteobridge it stops all uploads
FIle? Uploads? No idea what you mean. Could you please a bit more explicit and provide evidences?

Re: Luftdaten Data

Posted: Sat Nov 28, 2020 2:35 pm
by woolfg
Hi

I have a file at http://xxx.xxx.x.xxx/data.json

I have added the above ip as a new station into Meteobridge Pro
img.jpg
img.jpg (50.37 KiB) Viewed 2336 times
Then when I save the station after about 5 minutes the Meteobridge goes offline .This s the message
logger (28.11.2020 12:30:46): connect station 9 (System Data via Plug-in).
logger (28.11.2020 12:30:47): child process received termination signal (11) in functions: termination_handler < forward < chars_avail < process_data < handle_data < set_basic_timeout < forward < chars_avail < process_data < handle_data < set_basic_timeout < forward < chars_avail < process_data < handle_data < set_basic_timeout < forward < chars_avail < process_data < handle_data < set_b...

This is a sample of my data.json file

"time": "2020.11.26 19:00:35"}, {"pm10": 8.2, "pm25": 5.5, "time": "2020.11.26 19:30:34"}, {"pm25": 4.9, "pm10": 7.9, "time": "2020.11.26 20:00:35"}, {"pm10": 8.1, "pm25": 4.4, "time": "2020.11.26 20:30:35"}, {"pm25": 3.9, "pm10": 7.8, "time": "2020.11.26 21:00:34"}, {"pm10": 7.1, "pm25": 3.9, "time": "2020.11.26 22:00:35"}, {"pm25": 3.8, "pm10": 6.2, "time": "2020.11.26 22:30:35"}, {"pm10": 4.7, "pm25": 3.1, "time": "2020.11.26 23:00:35"}, {"pm25": 2.9, "pm10": 4.1, "time": "2020.11.26 23:30:34"}, {"pm10": 3.7, "pm25": 2.8, "time": "2020.11.27 00:00:35"}, {"pm25": 2.3, "pm10": 3.3, "time": "2020.11.27 01:00:35"}, {"pm10": 3.6, "pm25": 2.6, "time": "2020.11.27 01:30:35"}, {"pm25": 2.4, "pm10": 3.3, "time": "2020.11.27 02:00:34"}, {"pm10": 3.4, "pm25": 2.2, "time": "2020.11.27 03:00:35"}, {"pm25": 2.1, "pm10": 2.8, "time": "2020.11.27 03:30:35"}, {"pm10": 2.5, "pm25": 1.8, "time": "2020.11.27 04:00:34"}, {"pm25": 1.6, "pm10": 1.7, "time": "2020.11.27 05:00:35"}, {"pm10": 1.7, "pm25": 1.5, "time": "2020.11.27 05:30:35"}, {"pm25": 1.5, "pm10": 2.0, "time": "2020.11.27 06:30:34"}, {"pm10": 1.8, "pm25": 1.4, "time": "2020.11.27 07:00:35"}, {"pm25": 1.4, "pm10": 1.6, "time": "2020.11.27 07:30:35"}, {"pm10": 1.4, "pm25": 1.3, "time": "2020.11.27 08:00:35"}, {"pm25": 2.1, "pm10": 3.0, "time": "2020.11.27 08:30:35"}, {"pm10": 5.3, "pm25": 3.0, "time": "2020.11.27 09:30:35"}, {"pm25": 4.6, "pm10": 5.9, "time": "2020.11.27 10:00:35"}, {"pm10": 7.6, "pm25": 5.0, "time": "2020.11.27 10:30:35"}, {"pm25": 3.9, "pm10": 6.8, "time": "2020.11.27 11:00:34"}, {"pm10": 5.1, "pm25": 2.7, "time": "2020.11.27 12:00:35"}, {"pm25": 2.7, "pm10": 4.5, "time": "2020.11.27 12:30:35"}, {"pm10": 3.7, "pm25": 2.2, "time": "2020.11.27 13:00:34"}, {"pm25": 2.8, "pm10": 4.8, "time": "2020.11.27 14:00:35"}, {"pm10": 4.4, "pm25": 2.7, "time": "2020.11.27 14:30:35"}, {"pm25": 2.8, "pm10": 4.5, "time": "2020.11.27 15:00:34"}, {"pm10": 4.0, "pm25": 2.5, "time": "2020.11.27 15:30:35"}, {"pm25": 2.9, "pm10": 4.7, "time": "2020.11.27 16:00:35"}, {"pm10": 7.9, "pm25": 6.5, "time": "2020.11.27 19:00:35"}, {"pm25": 5.8, "pm10": 7.3, "time": "2020.11.27 19:30:34"}, {"pm10": 9.3, "pm25": 6.5, "time": "2020.11.27 20:30:35"}, {"pm25": 6.4, "pm10": 9.1, "time": "2020.11.27 21:00:35"}, {"pm10": 8.2, "pm25": 6.1, "time": "2020.11.27 21:30:34"}, {"pm25": 5.2, "pm10": 7.2, "time": "2020.11.27 22:30:35"}, {"pm10": 6.6, "pm25": 5.2, "time": "2020.11.27 23:00:35"}, {"pm25": 4.9, "pm10": 6.3,

Hope that helps

Regards

Graham

Re: Luftdaten Data

Posted: Sat Nov 28, 2020 2:44 pm
by admin
Thanks, this helps a lot. Could you please provide me a remote login, as I would like to get deeper into that.

Anyway the data is not what Meteobridge expects and is not in the Luftdaten format Wim did provide. Which software are you using that resonds with this json string?

Re: Luftdaten Data

Posted: Sat Nov 28, 2020 2:53 pm
by woolfg
Hi

I have sent a PM with login details

The json file is written by a python script

I actually have 3 AQ sensors a Purple Air and Davis for outside and a Luftdaten for inside

Regards

Graham

Re: Luftdaten Data

Posted: Tue Dec 01, 2020 4:27 pm
by admin
Thanks for providing me access. Currently I can't see a definition for a Luftdaten station. Can you please add to make me test?

Re: Luftdaten Data

Posted: Tue Dec 01, 2020 5:40 pm
by woolfg
Hi

I have done that

I dont want to leave it there too long though as my meteobridge will soon stop sending data

Willyou let me know when you are done

Thanks

Graham

Re: Luftdaten Data

Posted: Tue Dec 01, 2020 5:48 pm
by woolfg
Hi

You can delete the Luftdaten station when you have finished if you like

Then I will know you have finished

Regards

Graham