Page 1 of 2
Davis AirLink setup
Posted: Thu 18 Mar 2021 11:53 am
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
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 12:00 pm
by ConligWX
Hi there NI Neighbour.
can you zip up the MXDiags folder and post in here?
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 12:08 pm
by mcrossley
Have you selected it as your primary AQ sensor under Air Quality settings?
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 12:23 pm
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
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 12:45 pm
by mcrossley
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 1:06 pm
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
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 1:12 pm
by ConligWX
you select the attachments tab at the bottom od the editor box click add files
see attached image
Capture.PNG
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 1:18 pm
by Tattynure
Ahh - now I see; the tab labelled 'Attachments'!
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 2:31 pm
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.
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 2:34 pm
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?
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 2:55 pm
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
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 3:59 pm
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
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 4:04 pm
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
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 4:13 pm
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?
Re: Davis AirLink setup
Posted: Thu 18 Mar 2021 4:17 pm
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.