We have moved at community.getvera.com

Author Topic: Try to get ride of Vera...  (Read 2424 times)

Offline DesT

  • Sr. Member
  • ****
  • Posts: 364
  • Karma: +5/-1
Re: Try to get ride of Vera...
« Reply #15 on: October 25, 2017, 10:17:53 am »
The only main point why I keep Vera for now, it's also 'cause of the DSC plugins, as I don't want to have another thing in the picture except if z-way-server will have a plugin directly for that.
Vera Edge-UI7/Plus-UI7 (2), DSC Partition (5 ) + Zones Sensors(31), Nest thermostat (1) & Protect Fire/CO (3), GE Sw (8 ), GE Dimr (14), FGMS-001 (2), ZW100 (2), RZCS4 (1), AL-DSC11 (1), Aeon HEM 2nd Edition (1), Aeon SSE (5), YRD220-ZW (1), SONOS (6), MyQ Chamberlain (1)
PINE64/openLuup/ALTUI/Rules

Offline DesT

  • Sr. Member
  • ****
  • Posts: 364
  • Karma: +5/-1
Re: Try to get ride of Vera...
« Reply #16 on: October 25, 2017, 02:35:44 pm »
@AK,

One other thing that can be useful, it's to have the same name in openLuup as in zway
Vera Edge-UI7/Plus-UI7 (2), DSC Partition (5 ) + Zones Sensors(31), Nest thermostat (1) & Protect Fire/CO (3), GE Sw (8 ), GE Dimr (14), FGMS-001 (2), ZW100 (2), RZCS4 (1), AL-DSC11 (1), Aeon HEM 2nd Edition (1), Aeon SSE (5), YRD220-ZW (1), SONOS (6), MyQ Chamberlain (1)
PINE64/openLuup/ALTUI/Rules

Offline jswim788

  • Hero Member
  • *****
  • Posts: 809
  • Karma: +58/-2
Re: Try to get ride of Vera...
« Reply #17 on: November 17, 2017, 05:41:20 pm »
I dont know if @amg0 is going to get back and work on the RAZB plugin that we both had a hand in originally - that uses the more comprehensive API so could, in theory, do just about anything.
It would be great to have this because there are some significant capabilities that we can't get now with the Zway plugin.  For example, the double, triple, long press of a switch that is the central scene class.  You can see this in the Zway GUI interface.

Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Try to get ride of Vera...
« Reply #18 on: November 18, 2017, 03:48:02 pm »
I think mcv is leaving me no real choice at this point and I am sadly going to start to move on as well. iobroker, HAss, openluup and almost any open source platform is more stable and can be run on superior hardware. Definitely would looking to transfer everything to Openluup first.
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: Try to get ride of Vera...
« Reply #19 on: November 20, 2017, 05:24:27 am »
One other thing that can be useful, it's to have the same name in openLuup as in zway

I don't think that this can work, since there's not a one-to-one mapping between devices  in Zway and those in Vera (if we try to maintain the 'look' of compound devices in openLuup.)
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 DesT

  • Sr. Member
  • ****
  • Posts: 364
  • Karma: +5/-1
Re: Try to get ride of Vera...
« Reply #20 on: December 04, 2017, 01:50:35 pm »
I can confirm, that since last week... I'm using my Vera only for zwave/zigbee devices.  All plugins/logic/scenes are running on openLuup.

So, I really need to say thanks to @akbooer, @amg0 and @vosmont..

You are having all of you, a really nice piece of the whole puzzle.

Next thing will be to wait an update for the ZWay plugin so I can move all my zwave device to zway ;)
Vera Edge-UI7/Plus-UI7 (2), DSC Partition (5 ) + Zones Sensors(31), Nest thermostat (1) & Protect Fire/CO (3), GE Sw (8 ), GE Dimr (14), FGMS-001 (2), ZW100 (2), RZCS4 (1), AL-DSC11 (1), Aeon HEM 2nd Edition (1), Aeon SSE (5), YRD220-ZW (1), SONOS (6), MyQ Chamberlain (1)
PINE64/openLuup/ALTUI/Rules

Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Try to get ride of Vera...
« Reply #21 on: December 05, 2017, 04:43:31 pm »
and wish there was a zigbee interface too... 8)
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: Try to get ride of Vera...
« Reply #22 on: December 05, 2017, 05:04:38 pm »
and wish there was a zigbee interface too... 8)

Don't know if there's an equivalent board/USB for Zigbee on RPi?
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 rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Try to get ride of Vera...
« Reply #23 on: December 05, 2017, 06:02:15 pm »
There is a combo USB stick:

https://www.amazon.com/GoControl-CECOMINOD016164-Linear-HUSBZB-1/dp/B01GJ826F8

Not sure what driver it runs.
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline RichardTSchaefer

  • Community Beta
  • Master Member
  • ******
  • Posts: 10091
  • Karma: +764/-143
Re: Try to get ride of Vera...
« Reply #24 on: December 05, 2017, 06:05:44 pm »
When you start putting more device inputs into openLuup you might run into deadlock problems because of the single threaded nature of openLuup.

Just having a ZWave input on openLuup may not be the panacea you think!

Vera went through a tough cycle in UI4 with implementation changes that reduced the chance of deadlocks. Early versions of Vera were single threaded.


Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Try to get ride of Vera...
« Reply #25 on: December 05, 2017, 06:22:57 pm »
When you start putting more device inputs into openLuup you might run into deadlock problems because of the single threaded nature of openLuup.

Just having a ZWave input on openLuup may not be the panacea you think!

Vera went through a tough cycle in UI4 with implementation changes that reduced the chance of deadlocks. Early versions of Vera were single threaded.

I actually thought that UI7 was single threaded. I am having Zigbee deadlock issues related to how busy the vera Luup engine appears to be. Openluup in spite of single threaded is offering a second much faster thread. Since I have unloaded the vera, even the remaining scenes on the vera run faster, the zwave commands also all run much faster. I will see how this goes but the main purpose of moving things to openluup for me was to circumvent the dreadful speed and crash happiness of the vera.
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline RichardTSchaefer

  • Community Beta
  • Master Member
  • ******
  • Posts: 10091
  • Karma: +764/-143
Re: Try to get ride of Vera...
« Reply #26 on: December 05, 2017, 08:40:31 pm »
There are still things that are not designed properly for multi-thread operation.
This is typically plugins. But camera's on Vera have the same problem.
There are no design guidelines for this.
But plugins that need to be aware of this .. are plugins that:
1) Have side effects that use network services (i.e. send messages to other device, i.e. Vera Alerts, Nest, IFTTT. ...)
2) Call luup.call_action, in particular on another device or plugin.  (i.e. PLEG)
3) Have any computation intensive code ... or calls luup.delay

I have had to learn a lot about this because of (1) and (2), but as I said, things are not documented.
Vera's solution is to use Jobs, and Jobs are on another thread and can run concurrently.
But this is still a limited number of threads (two per device/plugin).


Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: Try to get ride of Vera...
« Reply #27 on: December 06, 2017, 02:45:07 am »
When you start putting more device inputs into openLuup you might run into deadlock problems because of the single threaded nature of openLuup.

Blocking IO, or an infinite computational loop could do this. I haven't run across this as an issue in my system linked to 4 Veras and ZWay and MySensors...

I know of one huge system that we had to tweak because it was running many videos (something I wouldn't recommend!)

Quote
Vera went through a tough cycle in UI4 with implementation changes that reduced the chance of deadlocks.

I'm suspecting that this is one reason why it uses SO much memory, another thing which it frequently runs out of.


...I do believe that there are many more ways to bring a Vera to its knees, than an openLuup system, which, by the way, doesn't restart randomly.  Most of mine have been up for over 100 days, and then only taken down for system updates.
« Last Edit: December 06, 2017, 05:55:58 am by akbooer »
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 DesT

  • Sr. Member
  • ****
  • Posts: 364
  • Karma: +5/-1
Re: Try to get ride of Vera...
« Reply #28 on: December 06, 2017, 11:21:13 am »
AK,

I confirm too, using openLuup for everything and I never have a crash like with Vera!  No reboot/no restart... nothing.

And my Veraplus is running more smootly too without all the plugin like Smartswitch that runs on openLuup since a week now!

Maybe that my crazy hardware setup help too as I'm running everything (openLuup / influx / grafana and node-sonos) in different Linux container under proxmox using a cluster with 2 nodes ;)

I'm using a bunch of Raspberry PI 3 and also the new Zero W around the house that feed some data to openLuup or control some "monitor" around the house!
« Last Edit: December 06, 2017, 11:23:27 am by DesT »
Vera Edge-UI7/Plus-UI7 (2), DSC Partition (5 ) + Zones Sensors(31), Nest thermostat (1) & Protect Fire/CO (3), GE Sw (8 ), GE Dimr (14), FGMS-001 (2), ZW100 (2), RZCS4 (1), AL-DSC11 (1), Aeon HEM 2nd Edition (1), Aeon SSE (5), YRD220-ZW (1), SONOS (6), MyQ Chamberlain (1)
PINE64/openLuup/ALTUI/Rules

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: Try to get ride of Vera...
« Reply #29 on: December 06, 2017, 11:47:46 am »
Quote
Maybe that my crazy hardware setup help too

Good Grief!  I'd hate to think that people thought that hardware like that was necessary!

No, certainly not necessary... but nice!!
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.