openLuup: Dark Sky (formerly Forecast.io) weather plugin

Hi Chris,

There are some more parameters that may help. See http://forum.micasaverde.com/index.php/topic,40406.msg435773.html#msg435773

I have the updated LUA code if you like.

Cheers Rene.

I understand that…but altui is the only way I can get the device to appear/be seen. Something is missing - I’ve followed the exact steps at least 4 different times, it never installs properly or lets me get to the advanced menu. I can’t even get it to show up as a device in the Devices menu in the original Vera menu (non-altui).

I am modifying the plugin so it can supply data to the Virtual Rain Sensor plugin. I see that the code initially had provisions for an optional virtual rain sensor as well but can’t see where it went?

Hi Chris,

I have created a branch on github for logread to merge with this change. You can also get it from here if you want it now.
https://github.com/reneboer/DarkSkyWeather/tree/patch-1

Cheers Rene

2 Likes

Hi reneboer,

Would you mind adding my addition to the D_DarkSkyWeather.json allso to your Github branch?
I added the advanced tab to the device so that it can be used in Vera without AltUI.

http://forum.micasaverde.com/index.php/topic,40406.msg420817.html#msg420817

Have not done a pull request in Github in 3 years so I would be grateful if you could do it :blush:

I took a stab at Github afterall, not sure I got it right but it’s a start :smiley:

1 Like

Hi,

I exchanged some emails with Logread and he does not maintan this plugin anymore as he is no longer using Vera. I will take it up on me and do some updates including the one you made. It is now merged into the master branch at https://github.com/reneboer/DarkSkyWeather. I’ll also have a look at making it work with Vera better. Will need some time though.

Cheers Rene

2 Likes

Nice to hear that you will take on this plugin.
There is for sure room for improvement.
One thing that comes to mind is that the mandatory variables to configure the plugin are not show even under the advanced tab when you first create a device in Vera. I had to add each of them manually to get the plugin to work (I’m sure it works better under AltUI or OpenLuup but I’m currently not using those).
Maybe eventually even add it to the Vera Apps Store :wink:

That’s part of the plan :wink:

Cheers Rene

Chris,
Did you find a solution? I believe a device needs to be added somehow that you can push the “TodayConditions” can be pushed to, but I’m really unclear on how to do that. I think there are several members in the same boat that need that variable for PLEG or other logic actions.

Hi, I use Reactor plugin, very easy to use, give a try!

Just grabbed the 0.7 version from GitHub and deployed it in my VeraPlus.
All seems to be working just fine, thanks again @reneboer

btw, to where should I upload the icon files in a Vera device? I think I tried “/www/cmh/skins/default/icons/”.

For UI7 it’s:

/www/cmh/skins/default/img/devices/device_states/

Not obvious!

thanks @ak I will try this when I get home (does this also apply for the Netatmo plugin?).

@reneboer when you publish information about the 0.7 version maybe it would be a good idea to create a new Topic under “Plugins & Plugin Development” since the plugin is no longer only for OpenLuup?

Ah, no, my mistake. I lied. My answer was in the context of Vera. For openLuup, everything should go into /icons and the system maps the longer, UI5/6/7 firmware-dependent, location to that.

Excellent idea. If required, I can move bits of this to a new thread. It’s been non-openLuup for a while.

Hi,
I released the 0.7 version yesterday and you can install it from the ALTApp store. Due to the changes I had to make there are now two entries, but pick the one that is version 0.7. It now also supports Vera UI7 fully including scenes and notifications for many of the parameters. It is also on the Vera App market, but waiting for approval.

I’ll make a new topic later when I have some time.

Cheers Rene

Now I’m confused, as I use Vera UI7 and not openLuup do I use this path or something else and does the path apply for DarkSky weather only or also other plugins like Netatmo?

/www/cmh/skins/default/img/devices/device_states/

For most icons in UI7 on a Vera, icons go here.

Some built-in plugins use other locations. Some third-party plugins use URLs to access icons from the web.

1 Like

Hi,

The plugin is on the MiOS app market, only not yet published. You can already install it by using this url. It will do the images as well (for UI7). Put in your Vera’s IP address, you must be on the local LAN, does not work remotely.
http://VERA_IP/port_3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=9231&Version=37952

Cheers Rene

1 Like

Hi,

Created a new topic for this DarkSky Weather plugin discussions going forward.

Cheers Rene

1 Like