Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Davis AirLink setup

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Tattynure
Posts: 20
Joined: Sun 19 Dec 2010 9:45 pm
Weather Station: Davis Pro2
Operating System: Win 10 - 64 bit
Location: Omagh, N Ireland

Davis AirLink setup

Post by Tattynure »

I am having trouble seeing my AirLink data in CMX (b.3117). The fields are blank when I access the AirLink Sensors page, but I can see a file in the data folder called AirLink202103log.txt which contains the values reported by the sensor. I can also see the sensor data via the WeatherLink app.

I have configured the AirLink in Extra Sensor settings and added the API key and secret, as well as the IP Address, Hostname and Station ID. Is there anything else that I need to do?

Thanks,
Peter
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Davis AirLink setup

Post by ConligWX »

Hi there NI Neighbour.

can you zip up the MXDiags folder and post in here?
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Davis AirLink setup

Post by mcrossley »

Have you selected it as your primary AQ sensor under Air Quality settings?
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Davis AirLink setup

Post by ConligWX »

mcrossley wrote: Thu 18 Mar 2021 12:08 pm Have you selected it as your primary AQ sensor under Air Quality settings?

Mark just seen a typo in the config.

Capture.PNG
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Davis AirLink setup

Post by mcrossley »

:thumbsup:
Tattynure
Posts: 20
Joined: Sun 19 Dec 2010 9:45 pm
Weather Station: Davis Pro2
Operating System: Win 10 - 64 bit
Location: Omagh, N Ireland

Re: Davis AirLink setup

Post by Tattynure »

I am using the AL as a standalone sensor, not through WLL, and have enabled it as Primary in the AQ settings.

How do I attach the MXdiags file?
Peter
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Davis AirLink setup

Post by ConligWX »

you select the attachments tab at the bottom od the editor box click add files


see attached image

Capture.PNG
You do not have the required permissions to view the files attached to this post.
Tattynure
Posts: 20
Joined: Sun 19 Dec 2010 9:45 pm
Weather Station: Davis Pro2
Operating System: Win 10 - 64 bit
Location: Omagh, N Ireland

Re: Davis AirLink setup

Post by Tattynure »

Ahh - now I see; the tab labelled 'Attachments'!
You do not have the required permissions to view the files attached to this post.
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Davis AirLink setup

Post by ConligWX »

looks like your airlink is detected as Indoors ok. this is a search for "AirLink"

Code: Select all

	Line 46: 2021-03-14 12:38:03.075 Primary AQ Sensor = Airlink Indoor
	Line 103: 2021-03-14 12:38:19.568 Extra Sensor = Davis AirLink (Indoor) - standalone=True
	Line 104: 2021-03-14 12:38:19.763 Attempting to find AirLink via zero-config...
	Line 105: 2021-03-14 12:38:20.288 ZeroConfig Service: AirLink found 'airlink-1009DF', reporting its IP address as: x.x.x.21
	Line 105: 2021-03-14 12:38:20.288 ZeroConfig Service: AirLink found 'airlink-1009DF', reporting its IP address as: x.x.x.21
	Line 106: 2021-03-14 12:38:20.775 Discovered a new IP address for the Indoor Airlink that does not match our current one
	Line 5821: 2021-03-14 12:42:14.558 AirLink Indoor Starting up
	Line 5822: 2021-03-14 12:42:14.617 AirLinkHealth: Missing AirLink WeatherLink API station Id in the cumulus.ini file
	Line 5822: 2021-03-14 12:42:14.617 AirLinkHealth: Missing AirLink WeatherLink API station Id in the cumulus.ini file
	Line 5827: 2021-03-14 12:42:16.407 AirLink Indoor Started
When viewing in the Admin Console can you do CTRL-F5 and refresh the page. you wont seen any Outdoor data but Indoor should have data values.

if you still not seeing anything I guess Mark will need to intervene.
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Davis AirLink setup

Post by ConligWX »

I did notice you do have some errors in that file too:

Code: Select all

2021-03-14 12:44:12.675 LOOP: 23 - Expected data not received, expected 99 bytes, got 0
2021-03-14 12:44:15.211 LOOP: Receive error - System.IO.IOException: Unable to read data from the transport connection: Operation on non-blocking socket would block. ---> System.Net.Sockets.SocketException: Operation on non-blocking socket would block
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <c5f4e317158343a5916a953327f92540>:0 
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <c5f4e317158343a5916a953327f92540>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <c5f4e317158343a5916a953327f92540>:0 
  at CumulusMX.DavisStation.GetAndProcessLoopData (System.Int32 number) [0x00313] in <c756646a62b04e588e35f821ae72abd7>:0 
any suggestions Mark?
Tattynure
Posts: 20
Joined: Sun 19 Dec 2010 9:45 pm
Weather Station: Davis Pro2
Operating System: Win 10 - 64 bit
Location: Omagh, N Ireland

Re: Davis AirLink setup

Post by Tattynure »

Thanks for your input, ConligWX.
When viewing in the Admin Console can you do CTRL-F5 and refresh the page
- how do I view the Admin Console?
Peter
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Davis AirLink setup

Post by ConligWX »

Tattynure wrote: Thu 18 Mar 2021 2:55 pm Thanks for your input, ConligWX.
When viewing in the Admin Console can you do CTRL-F5 and refresh the page
- how do I view the Admin Console?
Peter
http://localhost:8998

or

http://ipaddress-of-cumulus:8998
Tattynure
Posts: 20
Joined: Sun 19 Dec 2010 9:45 pm
Weather Station: Davis Pro2
Operating System: Win 10 - 64 bit
Location: Omagh, N Ireland

Re: Davis AirLink setup

Post by Tattynure »

Thanks, Simon.
I'm running CMX on a NAS as a service and then accessing via browser, so it is updating continuously.
Peter
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Davis AirLink setup

Post by ConligWX »

Tattynure wrote: Thu 18 Mar 2021 4:04 pm Thanks, Simon.
I'm running CMX on a NAS as a service and then accessing via browser, so it is updating continuously.
Peter

so is the Airlink data still not being shown to the AirLink Sensor page?
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Davis AirLink setup

Post by mcrossley »

Is this a Davis IP logger you are using?

I cannot see any issues in the log about the AirLink.

Can you switch on debug logging via the dashboard, leave it running for 20 minutes, then upload the log file again please.

Also:
CheckLoggerInterval: ** WARNING: Your station logger interval 30 mins does not match your Cumulus MX logging interval 10 mins
Which is causing the logger to send its entire contents every time MX starts = slow.
Post Reply