Davis WeatherLink Live plugin

Posted on
Sat Dec 05, 2020 2:14 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Davis WeatherLink Live plugin

I will do that in the next day or so. :)

Posted on
Sat Dec 05, 2020 8:58 pm
Eagleye offline
Posts: 83
Joined: Jan 14, 2019

Re: Davis WeatherLink Live plugin

Thanks guys,

I will keep an eye out. It would also be nice (not trying to push the friendship) to convert the wind speed to km/h. please let me know if this is possible.

John

Posted on
Sat Dec 05, 2020 9:16 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Davis WeatherLink Live plugin

Well, if Jon adds the basic infrastructure in his fork, then I can certainly add things as needed.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 06, 2020 10:25 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Davis WeatherLink Live plugin

Hi Joe,
I have created a pull-request. The first one I have done; so hope it is OK. :)

Posted on
Sun Dec 06, 2020 11:03 am
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Davis WeatherLink Live plugin

I'll take a look. I have not dealt with them much either. Good learning experience.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 06, 2020 11:33 am
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Davis WeatherLink Live plugin

https://github.com/FlyingDiver/Indigo-W ... /tag/0.2.0

Also pushed to Plugin Store.

Has the temperature conversion changes, and also allows selection of absolute or sea leave barometer for weather service uploads.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 06, 2020 12:14 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Davis WeatherLink Live plugin

New plugin version installed - thanks. :)

Today has been a bit of a Davis Weather Station day. Having yesterday setup my weather station in the back garden at ground level to check it all out, I have this afternoon re-installed it on top of my roof. So the weather readings should now be more accurate.

My various Indigo Control pages are now updated to pick up the values being returned to Indigo via Joe's plugin. :D

Posted on
Sun Dec 06, 2020 12:15 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Davis WeatherLink Live plugin

Mine's installed on my dock. No way I'm getting up on my roof.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 06, 2020 3:20 pm
Eagleye offline
Posts: 83
Joined: Jan 14, 2019

Re: Davis WeatherLink Live plugin

Guys,

I have downloaded & installed the new release, but I don't seem to get any options to change the unit of measurement, maybe I'm just looking in the wrong place. Can you provide some guidance here.

Posted on
Sun Dec 06, 2020 3:32 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Davis WeatherLink Live plugin

Plugin configuration menu.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Dec 07, 2020 12:29 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Davis WeatherLink Live plugin

Hi Joe,
I have taken it upon myself to do another small change to the plugin which I am happy to do a pull request for if you want.
I deleted my previous Github fork and created another one based on V0.2.0.

I wanted the option for the polling of the weatherLink to happen rounded on the frequency.
So for example, if the frequency was 10 minutes then the polling would occur at 0, 10, 20, 30, 40 and 50 past the hour.
Likewise if the frequency was 15 minutes then polling would occur at 0, 15, 30,45 past the hour.

I think this will potentially make it better for displaying the captured data in graph (a task I have yet to do).

A checkbox Polling Frequency Rounding is set in the WeatherLink Live Base Station settings to enable this feature.
So when the plugin starts and this feature is set, the first polling will occur on the next frequency boundary (can't think of a better term).

Let me know what you think. :)

Posted on
Sat Dec 12, 2020 7:19 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Davis WeatherLink Live plugin

I have something odd happening with SQL Logger. :?

AFAICS, none of my Indigo WeatherLink devices are having their updates logged by the SQL Logger and recorded in the indigo_history tables in the PostgreSQL database.
There is no device_history_nnnnnn table for any of the Indigo WeatherLink devices.
However, if I look at the custom states I can see them changing in real time.

I know the SQL Logger is working as other devices are being logged and their device_history tables updated.

Any ideas before I spend more time trying to figure out what the issue is; quite possibly PEBCAK :wink:.

Posted on
Sat Dec 12, 2020 7:22 am
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Davis WeatherLink Live plugin

I have no idea why that would be happening. There's nothing special about the state definitions for this plugin.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Dec 12, 2020 7:58 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Davis WeatherLink Live plugin

Hi Joe,
FlyingDiver wrote:
I have no idea why that would be happening. There's nothing special about the state definitions for this plugin.

As I suspected, it was PEBCAK. :oops:

I turned on SQL Logger debugging and could see the updates being successfully inserted into the db as far as Indigo was concerned.

I am using Valentina Studio Pro to query the PostgreSQL database. Despite, starting the App, and newly connecting to the indigo_history DB,I couldn't see theWeatherLink tables.
I resolved the problem by clicking the database refresh button and then the WeatherLink indigo_history tables magically appeared!

Lesson learnt but will it be remembered next time this happens; maybe this post will help. ;)

Posted on
Thu Apr 01, 2021 10:40 am
P15-D24 offline
User avatar
Posts: 110
Joined: Jun 25, 2005
Location: Santa Barbara, CA

WeatherLink plugin suddenly not correctly recognized...

My. temperature reporting via Siri suddenly started using the default weather service, not the data from the weather station. So I deleted the it and reimported it via HKB. However I now get this error:
Mar 31, 2021 at 10:54:37 PM
HomeKit Bridge Warning Outside Temperature is defaulting to a HomeKit switch because the device type cannot be determined but does not support On/Off and likely won't do anything in HomeKit

I uploaded the latest version of Weatherlink plugin but still get the same error. In Indigo I can see it is receiving the correct data from the weather station.

Any ideas?

Running OS X 12.2.1 on 2018 Mac Mini, Indigo 2022.2
http://www.p15-d24.com

Who is online

Users browsing this forum: No registered users and 4 guests