Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Davis AirLink Professional Air Quality Sensor (7210UK)

Discussion specific to Davis weather stations
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by beteljuice »

It also shows the problem with these optical sensors and 'smoke' - the AQI is for grit and dust !
Image
......................Imagine, what you will KNOW tomorrow !
Mapantz
Posts: 1808
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by Mapantz »

beteljuice wrote: Thu 05 Nov 2020 6:27 pm It also shows the problem with these optical sensors and 'smoke' - the AQI is for grit and dust !
From what I have read, they are designed for smoke and similar particulates.
Image
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by Phil23 »

beteljuice wrote: Tue 13 Oct 2020 9:31 pm The beteljuice plaything (Davis version) now correctly labels "Nowcast" and uses that value for the "widget"

zip link at bottom of page for the adventurous ...
Looks great, hav it sitting here for a play.... http://weather.inverellit.com/al/davis_example.php

Just need a little help on replacing the URL for my own data.

Code: Select all

$useOwnJSON = "http://wareham-wx.ddns.net/v1/current_conditions"; // url of 'donor' json file
I presume I meed to poke the AirLink with a bit of code that gets the JSON strin & processes it for me to then upload?

Can't find mention of that in the thread.

Phil.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by beteljuice »

the beteljuice is totally ignorant of how to 'get at' the sensor.

Some discussion is half way down the previous page
Image
......................Imagine, what you will KNOW tomorrow !
BelloWeather
Posts: 6
Joined: Thu 11 Jun 2020 1:52 am
Weather Station: Davis VP2
Operating System: Windows 10
Location: Bellingen, NSW, Australia
Contact:

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by BelloWeather »

Have just received the Airlink and have it integrated easily into the Cumulus MX software - thanks to everyone responsible for making that happen. Very impressed so far. Wondering if there is any chance the air quality results will be integrated into the graphs at any point - would be good to see the changes in air quality in graphical form.
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by Phil23 »

SteveFitz1 wrote: Thu 22 Oct 2020 2:33 am
I was finally able to do this by using port 8080 as the incoming port to the router, then using port 80 as the outgoing port to the AirLink. This works great now. I'm guessing that perhaps my ISP was blocking incoming traffic on port 80 since 8080 works fine.
I've tried Betel's page with $useOwnJSON = "http://MyPublicIP:8086/v1/current_conditions" & I get "No Valid Data Found".

if I open http://MyPublicIP:8086/v1/current_condition in a browser I see this string,

Code: Select all

{ "data": { "did": "001D0A1001B0", "name": "Inverell", "ts": 1604710386, "conditions": [{ "lsid": 361501, "data_structure_type": 6, "temp": 76.3, "hum": 34.9, "dew_point": 46.6, "wet_bulb": 54.2, "heat_index": 74.9, "pm_1_last": 0, "pm_2p5_last": 0, "pm_10_last": 0, "pm_1": 0.00, "pm_2p5": 0.00, "pm_2p5_last_1_hour": 2.00, "pm_2p5_last_3_hours": 2.00, "pm_2p5_last_24_hours": 2.00, "pm_2p5_nowcast": 2.00, "pm_10": 0.00, "pm_10_last_1_hour": 2.58, "pm_10_last_3_hours": 2.58, "pm_10_last_24_hours": 2.58, "pm_10_nowcast": 2.58, "last_report_time": 1604710386, "pct_pm_data_last_1_hour": 36, "pct_pm_data_last_3_hours": 12, "pct_pm_data_nowcast": 3, "pct_pm_data_last_24_hours": 1 }] }, "error": null }
Presuming it needs more processing.

Phil.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by Phil23 »

Phil23 wrote: Sat 07 Nov 2020 12:54 am
SteveFitz1 wrote: Thu 22 Oct 2020 2:33 am
I was finally able to do this by using port 8080 as the incoming port to the router, then using port 80 as the outgoing port to the AirLink. This works great now. I'm guessing that perhaps my ISP was blocking incoming traffic on port 80 since 8080 works fine.
I've tried Betel's page with $useOwnJSON = "http://MyPublicIP:8086/v1/current_conditions" & I get "No Valid Data Found".

if I open http://MyPublicIP:8086/v1/current_condition in a browser I see this string,
(Port 8086 forwarded to the Airlink's IP).

Code: Select all

{ "data": { "did": "001D0A1001B0", "name": "Inverell", "ts": 1604710386, "conditions": [{ "lsid": 361501, "data_structure_type": 6, "temp": 76.3, "hum": 34.9, "dew_point": 46.6, "wet_bulb": 54.2, "heat_index": 74.9, "pm_1_last": 0, "pm_2p5_last": 0, "pm_10_last": 0, "pm_1": 0.00, "pm_2p5": 0.00, "pm_2p5_last_1_hour": 2.00, "pm_2p5_last_3_hours": 2.00, "pm_2p5_last_24_hours": 2.00, "pm_2p5_nowcast": 2.00, "pm_10": 0.00, "pm_10_last_1_hour": 2.58, "pm_10_last_3_hours": 2.58, "pm_10_last_24_hours": 2.58, "pm_10_nowcast": 2.58, "last_report_time": 1604710386, "pct_pm_data_last_1_hour": 36, "pct_pm_data_last_3_hours": 12, "pct_pm_data_nowcast": 3, "pct_pm_data_last_24_hours": 1 }] }, "error": null }
Presuming it needs more processing.

Phil.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by beteljuice »

So good you said it twice ?

Prog says you've got an extra http:// in it - [ ur l ] => http://http://203.129
Image
......................Imagine, what you will KNOW tomorrow !
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by Phil23 »

beteljuice wrote: Sat 07 Nov 2020 1:04 am Prog says you've got an extra http:// in it - [ ur l ] => http://http://203.129
Opps,

Friday Arvo Itus,

Fixed that, but now see,

Code: Select all

ast_1_hour   sample size:
Notice: Undefined variable: haystack in /home/inv49478/public_html/weather/al/davis_example.php on line 117
%
last_3_hours   sample size:
Notice: Undefined variable: haystack in /home/inv49478/public_html/weather/al/davis_example.php on line 118
%
"Nowcast"   sample size:
Notice: Undefined variable: haystack in /home/inv49478/public_html/weather/al/davis_example.php on line 119
%
last_24_hours   sample size:
Notice: Undefined variable: haystack in /home/inv49478/public_html/weather/al/davis_example.php on line 120
%
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by beteljuice »

If you view-source, debug is 'on'

<!-- module betel_AQ_davis.php => ws_curl (715): Error codes:Failed to connect to 203.129.24.45 port 8086: Connection refused -->
Image
......................Imagine, what you will KNOW tomorrow !
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by Phil23 »

Can't see why the connection is refused.

Just tried the IP/Port from a remote site & I can see the data stream.
So it's not as if it's a maximum connections exceeded.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by beteljuice »

Works for me :) Using phil's data

Double check your entire url code line for errors ...
Image
......................Imagine, what you will KNOW tomorrow !
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by Phil23 »

BetelJuice Enjoys a good Taunt.... :lol:

I'm buggered if I can see it; & Can't even relate it to Aussie 4pm Saturday Beers; only one on the board so far....
Pasted straight out of NotePad++, & can't identify a single wrong character....
:groan: Must be loosing my mind.

Code: Select all

# ------------------------------------- SETTINGS
#

#$useOwnJSON = "http://wareham-wx.ddns.net/v1/current_conditions"; // url of 'donor' json file
$useOwnJSON = "http://203.129.24.45:8086/v1/current_conditions"; // url of 'donor' json file
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by beteljuice »

Not a taunt ...

I confirm your file is exactly as the one I have working :?

It needs someone with better knowledge than me I'm afraid .... :cry:
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Davis AirLink Professional Air Quality Sensor (7210UK)

Post by HansR »

I can see the AirLink data, no problem (http://203.129.24.45:8086/v1/current_conditions).
So I would suggest you check your IP routing @Phil. Somewhere on he way it is blocked inside your local net.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply