We have moved at community.getvera.com

Author Topic: Vera and an ISY994i  (Read 138719 times)

Offline PurdueGuy

  • Hero Member
  • *****
  • Posts: 1169
  • Karma: +21/-0
Re: Vera and an ISY994i
« Reply #60 on: December 10, 2013, 05:13:35 pm »
What devices?

I added a new Z-Wave switch to ISY, and a Vera LUUP restart brought it into Vera.
Vera3, Leviton, Intermatic, SQ Blaster, HomeWave, DSC 1832, Insteon/Altsteon

Offline Ds514

  • Full Member
  • ***
  • Posts: 189
  • Karma: +2/-0
  • Because automatic.
Re: Vera and an ISY994i
« Reply #61 on: December 10, 2013, 07:21:21 pm »
A dimmer, plugin module, and a couple KPLs. The dimmer has since surfaced in Vera, but the other devices remain MIA.

The most recent effort was to install the latest files from the repository (thanks), and then restart the luup engine.
« Last Edit: December 10, 2013, 07:33:46 pm by Ds514 »

Offline PurdueGuy

  • Hero Member
  • *****
  • Posts: 1169
  • Karma: +21/-0
Re: Vera and an ISY994i
« Reply #62 on: December 10, 2013, 07:27:57 pm »
I haven't added any new Insteon devices, just Z-Wave.   I have more Insteon to add, I'll see if I can test one out.

Did you by chance reload the Vera webpage?  My browser loves to sometimes show new devices with no buttons, or just am empty box, etc.   Refreshing it brings it up.
Vera3, Leviton, Intermatic, SQ Blaster, HomeWave, DSC 1832, Insteon/Altsteon

Offline Ds514

  • Full Member
  • ***
  • Posts: 189
  • Karma: +2/-0
  • Because automatic.
Re: Vera and an ISY994i
« Reply #63 on: December 10, 2013, 07:39:18 pm »
I did reload the browser and also clicked the Reload button in the UI.

I will continue to fiddle. There is no huge rush with this but any insight would be appreciated.

Offline Ds514

  • Full Member
  • ***
  • Posts: 189
  • Karma: +2/-0
  • Because automatic.
Re: Vera and an ISY994i
« Reply #64 on: December 10, 2013, 09:08:29 pm »
It seems like there may be a few issues with the current build or possibly as a result of adding new devices via the ISY:

1. Not sure if the earlier reported issue with new devices not appearing is part of this.
2. KPL presses that were earlier triggering Vera scenes are no longer responsive.
3. Device On buttons in the Vera UI never go fully to On, instead ending with either the Off or both the On and Off buttons highlighted. Pressing Off responds as normal. The devices respond as normal.

I have power cycled the Vera and the ISY without effect.

I am going to uninstall and reinstall the first build and start over.

Update: A Stop/Start may have resolved the On/Off button issue.
« Last Edit: December 10, 2013, 09:23:38 pm by Ds514 »

Offline garrettwp

  • Master Member
  • *******
  • Posts: 6371
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: Vera and an ISY994i
« Reply #65 on: December 11, 2013, 01:43:35 am »
The changes that PurdueGuy made should not effect the performance of the plugin, they are pretty minor changes. I would check to make sure that the daemon is running and connected to the ISY. This is most likely your performance issues.

- Garrett

Offline ttmetro

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +1/-0
Re: Vera and an ISY994i
« Reply #66 on: December 11, 2013, 02:36:30 am »
Sorry for the delay. I have attached the files for my plugin that communicates with the ISY controller. Right now it should work with Relays and Dimmers, and their Keypad linc variants. It will also work with the Fan Linc as well.

Instructions:  ...

Very interesting. Not knowing your work, I'd also written a (much simpler) rest interface from the Vera to the ISY. Probably I should upgrade to your code, but out of curiosity: how do you handle status updates? I keep polling the ISY's rest interface, which of course is clumsy and adds delay.

The other thing I am surprised by is the (unconditional?) enthusiasm on this track of the ISY programming "language". Aside from its reliability and the excellent support on the forum from Michel Kohanim - I find the ISY language very difficult to use for anything but simple stuff. For example, my sprinkler controller is very contorted (ok, written before variables were supported, perhaps now it's easier). By comparison Lua is very expressive (although I never really learned that language).

As an early adopter of ISY and recently getting a Vera (and now resigning to using both but with the Vera in command), it's interesting to see others go the other way. I guess both devices have shortcomings. E.g. on the Vera I am using Yale locks, Caddx security system, Sonos, and even an interface to my router - not sure any of this would be possible by the ISY. Of course in terms of documentation and polish the Vera is a pretty sad story.

Offline PurdueGuy

  • Hero Member
  • *****
  • Posts: 1169
  • Karma: +21/-0
Re: Vera and an ISY994i
« Reply #67 on: December 11, 2013, 02:55:24 am »
The plugin uses the SOAP API to subscribe to event changes to they are done in realtime.

As far as the programming, check out the variables.  They must make it easier.

One of the things I like best about the ISY is the easy program and conditional logic.  However, I am a computer engineer, so conditional logic is second nature for me.  I also like the fact that a change in status/variable/etc immediately halts execution of a program (at a wait/repeat/etc).  In Vera, once a "scene" starts, you can't stop it.  Also, there are no loops in Vera, aside from setting your own variables, tracking them, etc.  This eliminates the need for plugins like Vacation Ghost and Smart Switch.

I have the ISY network module, so I run two concurrent connections to an relay server, so both Vera (via the DSC plugin) and my ISY (via the DSCLink) can both immediately get notifications of DSC panel changes.  I also have the ISY commanding my SQBlaster directly.  The ISY also commands my Foscam cameras as needed (alerts, privacy modes, etc).

Also, ISY now has beta Z-Wave support, so I have moved my Kwikset locks to it.  I did lose the ability for codes and scheduling, but that is on the agenda to be added.

But I will reiterate, the Vera mobile apps win very easily.  That's why I keep Vera in the loop.
Vera3, Leviton, Intermatic, SQ Blaster, HomeWave, DSC 1832, Insteon/Altsteon

Offline Ds514

  • Full Member
  • ***
  • Posts: 189
  • Karma: +2/-0
  • Because automatic.
Re: Vera and an ISY994i
« Reply #68 on: December 11, 2013, 08:32:25 am »
The changes that PurdueGuy made should not effect the performance of the plugin, they are pretty minor changes. I would check to make sure that the daemon is running and connected to the ISY. This is most likely your performance issues.

- Garrett

I do have the Running and Connected indications in the plugin's dialogue. Also, the plugin continues to operate the devices that had been previously configured (other than that KPL issue). Also, one of the four devices installed yesterday did configure. I haven't gotten around to a full uninstall/reinstall, but will hopefully get that done today.

Offline Ds514

  • Full Member
  • ***
  • Posts: 189
  • Karma: +2/-0
  • Because automatic.
Re: Vera and an ISY994i
« Reply #69 on: December 11, 2013, 02:11:38 pm »
Ok, so I deleted the plugin, installed the most recent build, and everything is operating as expected.

It is possible this was not, as suggested, related to the code at all. The plugin module, although fully functional under the ISY, is reported as an unsupported module in that system's interface and one of the KPLs (6-button) that was not showing up today fried itself under its (light) load. I today added another dimmer and a motion sensor and those are appearing in the Vera interface.

So, the only issues remaining are the KPL response and an absent 8-button KPL, which is not propagating to the Vera. Is it possible that this KPL device is not supported (i.e., is anyone else using an 8-button)?
« Last Edit: December 11, 2013, 02:18:40 pm by Ds514 »

Offline Aaron

  • Hero Member
  • *****
  • Posts: 1985
  • Karma: +61/-193
Re: Vera and an ISY994i
« Reply #70 on: December 11, 2013, 02:38:17 pm »
ISY now has beta Z-Wave support, so I have moved my Kwikset locks to it.  I did lose the ability for codes and scheduling, but that is on the agenda to be added.

But I will reiterate, the Vera mobile apps win very easily.  That's why I keep Vera in the loop.

How are you using Zwave in the ISY? Is the Vera being used as the Zwave interface?

I agree, Authomation is the lifeblood of my HA mobility.  Maybe Garrett will add direct support for the ISY :-P




Offline garrettwp

  • Master Member
  • *******
  • Posts: 6371
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: Vera and an ISY994i
« Reply #71 on: December 11, 2013, 02:39:41 pm »
Ok, so I deleted the plugin, installed the most recent build, and everything is operating as expected.

It is possible this was not, as suggested, related to the code at all. The plugin module, although fully functional under the ISY, is reported as an unsupported module in that system's interface and one of the KPLs (6-button) that was not showing up today fried itself under its (light) load. I today added another dimmer and a motion sensor and those are appearing in the Vera interface.

So, the only issues remaining are the KPL response and an absent 8-button KPL, which is not propagating to the Vera. Is it possible that this KPL device is not supported (i.e., is anyone else using an 8-button)?

I have a mixture of 6 button and 8 button KPL's and are working without issue.

- Garrett

Offline garrettwp

  • Master Member
  • *******
  • Posts: 6371
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: Vera and an ISY994i
« Reply #72 on: December 11, 2013, 02:40:33 pm »
ISY now has beta Z-Wave support, so I have moved my Kwikset locks to it.  I did lose the ability for codes and scheduling, but that is on the agenda to be added.

But I will reiterate, the Vera mobile apps win very easily.  That's why I keep Vera in the loop.

How are you using Zwave in the ISY? Is the Vera being used as the Zwave interface?

I agree, Authomation is the lifeblood of my HA mobility.  Maybe Garrett will add direct support for the ISY :-P

Not any time soon! I already have too much on my plate as it is. : P

- Garrett

Offline PurdueGuy

  • Hero Member
  • *****
  • Posts: 1169
  • Karma: +21/-0
Re: Vera and an ISY994i
« Reply #73 on: December 11, 2013, 04:28:59 pm »
ISY now has beta Z-Wave support, so I have moved my Kwikset locks to it.  I did lose the ability for codes and scheduling, but that is on the agenda to be added.

But I will reiterate, the Vera mobile apps win very easily.  That's why I keep Vera in the loop.

How are you using Zwave in the ISY? Is the Vera being used as the Zwave interface?

I agree, Authomation is the lifeblood of my HA mobility.  Maybe Garrett will add direct support for the ISY :-P
No, the ISY now has a Z-Wave dongle in beta, for $100.  It is a daughter-board that goes inside the ISY.  I excluded some devices from Vera, and included them on the ISY.
Vera3, Leviton, Intermatic, SQ Blaster, HomeWave, DSC 1832, Insteon/Altsteon

Offline Ds514

  • Full Member
  • ***
  • Posts: 189
  • Karma: +2/-0
  • Because automatic.
Re: Vera and an ISY994i
« Reply #74 on: December 11, 2013, 04:55:08 pm »
Re KPL presses as Vera Triggers: Rolled back to Dec03 build, certain that presses would start working again. Does not trigger scenes any longer in any build. Hard to explain. Will see if I can get the PLEG method to work.

Re 8 button KPL: Buttons work fine in ISY but there is a peculiarity with the load on this device. I am not sure if that could be a factor. 

Update: Somehow, the native Insteon was still running, despite having clicked to remove support. This zombie service was possibly interfering as KPL presses seem functional now after killing it.
« Last Edit: December 11, 2013, 10:09:25 pm by Ds514 »