Author Topic: How to mirror DarkSky temp to Vera?  (Read 575 times)

Offline powisquare

  • Full Member
  • ***
  • Posts: 126
  • Karma: +1/-0
How to mirror DarkSky temp to Vera?
« on: June 09, 2018, 12:42:36 pm »
Just installed DarkSky on openLuup to replace WU on my veras and looking to mirror High & Low Temps.

On creating virtual device in vera I thought to use D_TemperatureSensor1.xml for the D_xxx.xml filename but do not know what I should do for I_xxx.xml filename? Would that even work?

As the watch sends to one vera should I try cloning DarkSky to mirror the same info to the other veras on the network or is there a way with just one instance?

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6053
  • Karma: +266/-69
  • "Less is more"
Re: How to mirror DarkSky temp to Vera?
« Reply #1 on: June 09, 2018, 02:31:52 pm »
Any device will do.  I generally use either D_ComboDevice1.xml or D_GenericSensor1.xml.  The VeraBridge mirror will simply create the right serviceId/variable.  No implementation file is needed.

Under AltUI, you can set up multiple device watches (in this case mirrors) for a single variable.  Each installed VeraBridge plugin creates its own unique Data Service Provider (named Vera@ipaddress) which you may select from the menu.

You will, of course, have to create the dummy device in each individual Vera manually.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline powisquare

  • Full Member
  • ***
  • Posts: 126
  • Karma: +1/-0
Re: How to mirror DarkSky temp to Vera?
« Reply #2 on: June 11, 2018, 04:47:36 am »
When I try to create the virtual device in altui I get 'Enter a valid Ixxx.xml file name'. Is there another method for creating a new device?

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6053
  • Karma: +266/-69
  • "Less is more"
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline powisquare

  • Full Member
  • ***
  • Posts: 126
  • Karma: +1/-0
Re: How to mirror DarkSky temp to Vera?
« Reply #4 on: June 13, 2018, 01:25:51 pm »
Thank you. Feel I am in the deep end now. Would I need to use ...

luup.create_device("", "testdevice", "Test Device", "D_GenericSensor1.xml", "", "", "", false, false, 0, 0, 0, ",manufacturer=MiOS", 0, "", "", true, false)

and if so where should I be entering this? I have manged to get two devices created using Create Device in Apps/Develop Apps on the vera but they exist without variables so I'm guessing that's why the mirror is not showing.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6053
  • Karma: +266/-69
  • "Less is more"
Re: How to mirror DarkSky temp to Vera?
« Reply #5 on: June 14, 2018, 03:11:53 am »
Sorry, but I've rather lost the plot as to what you're actually trying to do...
  • You have DarkSky running under openLuup.
  • you have made a dummy device of some sort on Vera(s)
So all you need is to mirror your required DarkSky variables to the Vera device numbers.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline powisquare

  • Full Member
  • ***
  • Posts: 126
  • Karma: +1/-0
Re: How to mirror DarkSky temp to Vera?
« Reply #6 on: June 15, 2018, 07:41:44 am »
Sorry, but I've rather lost the plot as to what you're actually trying to do...
  • You have DarkSky running under openLuup.
Yes - working nicely
  • you have made a dummy device of some sort on Vera(s)
Yes - Create Device in Apps/Develop Apps

So all you need is to mirror your required DarkSky variables to the Vera device numbers.

Yes - Enable Push to VeraIP and entered 0-18 as the dummy device number.


Not sure where I've gone wrong - don't know if I have created the dummy device correctly as I have not been able to find a concrete guide for this.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6053
  • Karma: +266/-69
  • "Less is more"
Re: How to mirror DarkSky temp to Vera?
« Reply #7 on: June 15, 2018, 08:10:52 am »
You need to enter just 18 as the device number (assuming that is the Vera device number you want to write to.)
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline powisquare

  • Full Member
  • ***
  • Posts: 126
  • Karma: +1/-0
Re: How to mirror DarkSky temp to Vera?
« Reply #8 on: June 15, 2018, 11:22:35 am »
No luck sadly. Have attached what I can see.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6053
  • Karma: +266/-69
  • "Less is more"
Re: How to mirror DarkSky temp to Vera?
« Reply #9 on: June 15, 2018, 11:32:16 am »
That's device number 20?
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline powisquare

  • Full Member
  • ***
  • Posts: 126
  • Karma: +1/-0
Re: How to mirror DarkSky temp to Vera?
« Reply #10 on: June 15, 2018, 02:11:23 pm »
Yes - I hope so. I have added two more dummy devices trying to crack this. NB I did remember to mirror to 20.

Offline powisquare

  • Full Member
  • ***
  • Posts: 126
  • Karma: +1/-0
Re: How to mirror DarkSky temp to Vera?
« Reply #11 on: June 15, 2018, 02:13:21 pm »
Sorry - thought I had attached log aswell. Can tell it's the end of the week

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6053
  • Karma: +266/-69
  • "Less is more"
Re: How to mirror DarkSky temp to Vera?
« Reply #12 on: June 15, 2018, 02:42:54 pm »
The variable won't be created until the value in openLuup changes.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline powisquare

  • Full Member
  • ***
  • Posts: 126
  • Karma: +1/-0
Re: How to mirror DarkSky temp to Vera?
« Reply #13 on: June 18, 2018, 05:07:40 am »
Sorry ak still nothing coming through.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6053
  • Karma: +266/-69
  • "Less is more"
Re: How to mirror DarkSky temp to Vera?
« Reply #14 on: June 18, 2018, 06:37:29 am »
  • let's see the latest log...
  • ...including when you change your local mirror variable, manually, to a new value

Also, a screen shot of the AltUI Variable page with the Push To (graph) menu open for that variable.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.