My guess since you do not see the device in weatherlink.com is that it is
not reporting correctly on the network.


1.  First see if you can open your web browser to the api of the airlink
device.

for example: http://xxx.xxx.xxx.xxx/v1/current_conditions
You should see JSON data returned.

2. Also check the APi Documentation from Davis (Introduction | AirLink
Local API (weatherlink.github.io)
<https://weatherlink.github.io/airlink-local-api/> about how the
device works on a network. From their documentation, AirLink devices
advertise their presence on the local network using DNS Service Discovery
<https://tools.ietf.org/html/rfc6763> over multicast DNS (mDNS)
<https://tools.ietf.org/html/rfc6762>. These technologies are also known as
Zeroconf or Bonjour or Avahi.

I have a weewx-airlink device and I followed this guide using the driver
with success. Please let me know if you have any questions.



if not,

On Wed, May 25, 2022 at 11:24 AM anc...@gmail.com <ance...@gmail.com> wrote:

> Hi guys,
> I just installed for the first time a Davis Airlink and I want to
> integrate it in WeeWX with which my Davis VP2 already works. I followed the
> instructions on the weewx-airlink page
> <https://github.com/chaunceygardiner/weewx-airlink>, but for some reason
> it is not working . Here is some log:
>
> May 25 16:11:01 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Could not get concentrations from any source.
> May 25 16:11:01 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:03 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:05 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:07 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink:
> last_report_time must be time since boot: 85441 seconds.  Record: {'data':
> {'did': '001D0A100829', 'name': 'IIS Ceccano', 'ts': 85441, 'conditions':
> [{'lsid': 522424, 'data_structure_type': 6, 'temp': 92.0, 'hum': 26.5,
> 'dew_point': 52.7, 'wet_bulb': 60.0, 'heat_index': 89.8, 'pm_1_last': 4,
> 'pm_2p5_last': 5, 'pm_10_last': 5, 'pm_1': None, 'pm_2p5': None,
> 'pm_2p5_last_1_hour': None, 'pm_2p5_last_3_hours': None,
> 'pm_2p5_last_24_hours': None, 'pm_2p5_nowcast': None, 'pm_10': None,
> 'pm_10_last_1_hour': None, 'pm_10_last_3_hours': None,
> 'pm_10_last_24_hours': None, 'pm_10_nowcast': None, 'last_report_time':
> 85441, 'pct_pm_data_last_1_hour': None, 'pct_pm_data_last_3_hours': None,
> 'pct_pm_data_nowcast': None, 'pct_pm_data_last_24_hours': None}]}, 'error':
> None}
> May 25 16:11:07 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Could not get concentrations from any source.
> May 25 16:11:07 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:09 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:11 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:12 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink:
> last_report_time must be time since boot: 85446 seconds.  Record: {'data':
> {'did': '001D0A100829', 'name': 'IIS Ceccano', 'ts': 85446, 'conditions':
> [{'lsid': 522424, 'data_structure_type': 6, 'temp': 92.1, 'hum': 26.7,
> 'dew_point': 53.0, 'wet_bulb': 60.3, 'heat_index': 89.9, 'pm_1_last': 4,
> 'pm_2p5_last': 4, 'pm_10_last': 4, 'pm_1': None, 'pm_2p5': None,
> 'pm_2p5_last_1_hour': None, 'pm_2p5_last_3_hours': None,
> 'pm_2p5_last_24_hours': None, 'pm_2p5_nowcast': None, 'pm_10': None,
> 'pm_10_last_1_hour': None, 'pm_10_last_3_hours': None,
> 'pm_10_last_24_hours': None, 'pm_10_nowcast': None, 'last_report_time':
> 85446, 'pct_pm_data_last_1_hour': None, 'pct_pm_data_last_3_hours': None,
> 'pct_pm_data_nowcast': None, 'pct_pm_data_last_24_hours': None}]}, 'error':
> None}
> May 25 16:11:12 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Could not get concentrations from any source.
> May 25 16:11:13 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:15 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:16 StazioneMeteoiisCeccano weewx[32034] INFO weewx.manager:
> Added record 2022-05-25 16:11:00 CEST (1653487860) to database 'weewx.sdb'
> May 25 16:11:16 StazioneMeteoiisCeccano weewx[32034] INFO weewx.manager:
> Added record 2022-05-25 16:11:00 CEST (1653487860) to daily summary in
> 'weewx.sdb'
> May 25 16:11:16 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:17 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:19 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink:
> collect_data: Attempt to fetch from: 192.168.0.196 failed:
> HTTPConnectionPool(host='192.168.0.196', port=80): Max retries exceeded
> with url: /v1/current_conditions (Caused by
> ConnectTimeoutError(<urllib3.connection.HTTPConnection object at
> 0xb4c62350>, 'Connection to 192.168.0.196 timed out. (connect timeout=2)')).
> May 25 16:11:19 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Could not get concentrations from any source.
> May 25 16:11:19 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:21 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:23 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:25 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:26 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink:
> last_report_time must be time since boot: 85460 seconds.  Record: {'data':
> {'did': '001D0A100829', 'name': 'IIS Ceccano', 'ts': 85460, 'conditions':
> [{'lsid': 522424, 'data_structure_type': 6, 'temp': 92.2, 'hum': 26.8,
> 'dew_point': 53.2, 'wet_bulb': 60.4, 'heat_index': 90.1, 'pm_1_last': 4,
> 'pm_2p5_last': 7, 'pm_10_last': 7, 'pm_1': None, 'pm_2p5': None,
> 'pm_2p5_last_1_hour': None, 'pm_2p5_last_3_hours': None,
> 'pm_2p5_last_24_hours': None, 'pm_2p5_nowcast': None, 'pm_10': None,
> 'pm_10_last_1_hour': None, 'pm_10_last_3_hours': None,
> 'pm_10_last_24_hours': None, 'pm_10_nowcast': None, 'last_report_time':
> 85460, 'pct_pm_data_last_1_hour': None, 'pct_pm_data_last_3_hours': None,
> 'pct_pm_data_nowcast': None, 'pct_pm_data_last_24_hours': None}]}, 'error':
> None}
> May 25 16:11:26 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Could not get concentrations from any source.
> May 25 16:11:27 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:29 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:31 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:32 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink:
> last_report_time must be time since boot: 85466 seconds.  Record: {'data':
> {'did': '001D0A100829', 'name': 'IIS Ceccano', 'ts': 85466, 'conditions':
> [{'lsid': 522424, 'data_structure_type': 6, 'temp': 92.0, 'hum': 26.8,
> 'dew_point': 53.1, 'wet_bulb': 60.3, 'heat_index': 89.8, 'pm_1_last': 5,
> 'pm_2p5_last': 8, 'pm_10_last': 10, 'pm_1': None, 'pm_2p5': None,
> 'pm_2p5_last_1_hour': None, 'pm_2p5_last_3_hours': None,
> 'pm_2p5_last_24_hours': None, 'pm_2p5_nowcast': None, 'pm_10': None,
> 'pm_10_last_1_hour': None, 'pm_10_last_3_hours': None,
> 'pm_10_last_24_hours': None, 'pm_10_nowcast': None, 'last_report_time':
> 85466, 'pct_pm_data_last_1_hour': None, 'pct_pm_data_last_3_hours': None,
> 'pct_pm_data_nowcast': None, 'pct_pm_data_last_24_hours': None}]}, 'error':
> None}
> May 25 16:11:32 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Could not get concentrations from any source.
> May 25 16:11:33 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:35 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:36 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink:
> get_scalar called where record does not contain pm2_5.  This is unexpected.
> May 25 16:11:36 StazioneMeteoiisCeccano weewx[32034] INFO
> weewx.cheetahgenerator: Generated 16 files for report StandardReport in
> 18.41 seconds
> May 25 16:11:37 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:39 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink:
> collect_data: Attempt to fetch from: 192.168.0.196 failed:
> HTTPConnectionPool(host='192.168.0.196', port=80): Max retries exceeded
> with url: /v1/current_conditions (Caused by
> ConnectTimeoutError(<urllib3.connection.HTTPConnection object at
> 0xb3d97710>, 'Connection to 192.168.0.196 timed out. (connect timeout=2)')).
> May 25 16:11:39 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Could not get concentrations from any source.
> May 25 16:11:39 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:41 StazioneMeteoiisCeccano weewx[32034] INFO
> weewx.imagegenerator: Generated 15 images for report StandardReport in 5.33
> seconds
> May 25 16:11:41 StazioneMeteoiisCeccano weewx[32034] INFO
> weewx.reportengine: Copied 14 files to /home/weewx/public_html
> May 25 16:11:41 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:42 StazioneMeteoiisCeccano /weewxd: historygenerator.py: No
> bootstrap specific labels found
> May 25 16:11:42 StazioneMeteoiisCeccano /weewxd: historygenerator.py:
> Generated 8 tables in 0.34 seconds
> May 25 16:11:43 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:45 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:46 StazioneMeteoiisCeccano weewx[32034] INFO user.airlink:
> collect_data: Attempt to fetch from: 192.168.0.196 failed:
> HTTPConnectionPool(host='192.168.0.196', port=80): Max retries exceeded
> with url: /v1/current_conditions (Caused by
> ConnectTimeoutError(<urllib3.connection.HTTPConnection object at
> 0xb3cb5910>, 'Connection to 192.168.0.196 timed out. (connect timeout=2)')).
> May 25 16:11:46 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Could not get concentrations from any source.
> May 25 16:11:47 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:49 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
> May 25 16:11:51 StazioneMeteoiisCeccano weewx[32034] ERROR user.airlink:
> Found no concentrations to insert.
>
> As you can see, it seems to get some data packets with the values inside
> to be different each time, but in practice it does not put anything inside
> the database (I checked that the columns pm1_0, pm2_5 etc. are present with
> only null values). It is also curious that the Airlink is not working on
> Weatherlink.com, but somehow it is connected to the network because I can
> find it with a net scanner, and it seems that WeeWX can see it in some way
> with these packets you can see within the log.
>
> Can anybody help me? Thank you!
> Andrea
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/c78cce53-57c1-41aa-a9da-acbe15c6b274n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/c78cce53-57c1-41aa-a9da-acbe15c6b274n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CACC0i0yLWXFNmyiuVq3ZLKxbA1Q4MdO6-G5%2B1EPJiKC1dqZdxw%40mail.gmail.com.

Reply via email to