Did you edit weewx.conf and specify the correct host (which could be an IP
address)?
[AirLink]
[[Sensor1]]
enable = True
hostname = airlink <<<< This needs to be a resolvable name or IP address
port = 80
timeout = 2
> On Sep 28, 2020, at 11:31 AM, [email protected] <[email protected]>
> wrote:
>
> Ive loaded John's weewx-airlink-master.zip but get the following
> Sep 28 13:02:57 raspberrypi weewx-weewx[25663] ERROR user.airlink: Could not
> get concentrations from any source.
> Sep 28 13:02:58 raspberrypi weewx-weewx[25663] ERROR user.airlink: Found no
> fresh concentrations to insert.
> Sep 28 13:03:00 raspberrypi weewx-weewx[25663] ERROR user.airlink: Found no
> fresh concentrations to insert.
> Sep 28 13:03:02 raspberrypi weewx-weewx[25663] ERROR user.airlink: Found no
> fresh concentrations to insert.
> Sep 28 13:03:02 raspberrypi weewx-weewx[25663] INFO user.airlink:
> collect_data: Attempt to fetch from: airlink failed:
> HTTPConnectionPool(host='airlink', port=80): Max retries exceeded with url:
> /v1/current_conditions (Caused by
> NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb1edef90>:
> Failed to establish a new connection: [Errno -2] Name or service not known')).
> The AirLink seems to be working OK on the Davis WeatherLink app
>
> Is there anything else I should have done
> Thanks Phil
>> On Monday, September 28, 2020 at 4:10:59 AM UTC+1 [email protected] wrote:
>> yes, john has already done the hard work. it’s just a case of wrapping the
>> AQI part differently (called from WXCalculate rather than ‘airlink’ PMx.x
>> collector) and positioning it as a process_service not data_service - that’s
>> what i meant by “pinching his code"
>>
>>>> On 28 Sep 2020, at 10:56 am, John Kline <[email protected]> wrote:
>>>>
>>>> Oh. So you already have a way to calculate AQI from the PM data?
>>>
>>> Yep. It’s there.
>>>
>>>>> On Sep 27, 2020, at 5:48 PM, Tom Keffer <[email protected]> wrote:
>>>>>
>>>>
>>>> Oh. So you already have a way to calculate AQI from the PM data?
>>>
>>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/7bb84d3a-b391-437a-acdb-315c84b40f5an%40googlegroups.com.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/5900A3BE-ABB7-4B8B-82F7-BE87D980B2BE%40johnkline.com.