Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.
  1. Home
  2. Blogs
  3. Another transition from Vera to OpenLuup And now to HASS - PerH
Seeking Advice:
G
The locksmith is trying to persuade me to purchase the BE-TECH K35 touchscreen lock with both Wi-Fi and Bluetooth, claiming it's better than the Yale Assure Lock 2. What are your thoughts on this? Which one would you recommend? Here is the link to the Chinese brand BE-TECH: BE-TECH Smart Deadbolt K3S. The other smart lock I am considering is the Schlage Encode Plus. Thank you!
Blogs
15+ Smart Home Automation Ideas from Pros
L
Topic thumbnail image
Blogs
Finally gave up on my Ezlo Plus
CrilleC
The promise of "all available devices will be supported" gave me hope for including more Zigbee devices into to my home as Vera was not a good option for Zigbee devices. Despite the support for new devices is extremely slow, the implementation of Zigbee has a lot to wish for and it seems a low priority at Ezlo I managed to include 22 of my 23 Zigbee devices as generic. But after 2 years of devices still missing attributes and randomly/every controller reboot loosing connection to the controller and had to be power cycled to connect again, and some even dropping off the network completely without any reason, I decided to give up. The positive outcome of all this: I bought a Sonoff Zigbee 3.0 USB Dongle Plus and installed Zigbee2MQTT and never been happier. Suddenly the pairing were no pain and took a few seconds per device, all my devices were recognized, all capabilities of the devices were exposed and it never misses a signal to/from a device ever. I'm surprised how stable and configurable my new setup is. I can set device parameters, offsets, send messages handled by the bulbs them self like effects, broadcast for groups, transition time for power on/off. I can handle debounce for MQTT messages, do OTA firmware update on devices and much more! Most of this is probably standard for the common branded hubs like Hue etc but I never had one so this is new to me. A big plus for me is the MQTT part of Zigbee2MQTT as I'm migrating as much as possible to MQTT. My Ezlo Plus is now serving as a modified WiFi access point to my network and only have the VistaCam 1203 Doorbell still connected for evaluation. Time will tell if I ever move my Z-wave devices to it. Conclusion: I could really recommend both the Sonoff 3.0 USB Dongle Plus and Zigbee2MQTT to anyone going the same path!
Blogs
Another transition from Vera to OpenLuup And now to HASS - PerH
PerHP
Topic thumbnail image
Blogs
Half-way migration from Vera
therealdbT
In a quest to further stabilize my Vera before I'll move to Z-Way+openLuup or something else later this year (I'm tempted to go the Home Assistant route, since all my friends are here, apparently), I've spent a couple of days removing HTTP calls from the system and I'm now fully using the UDP sender @akbooer has written in the past, to push all variables (and custom events/request as well) to my MQTT broker, then to some code doing the actual work. Responsiveness seems to be at its maximum now, and stability has improved. There's still a lot of code locally on my Vera, but it's mainly doing variables comparison/scenes, while all notifications and heavy logic are now running in my linux box. So, maybe, not insisting on the sockets and just use the same UDP server is the way to go for me.
Blogs
My Home Automation Story
rafale77R
Share your blog or adventure here. Here is mine: https://rafale77.blogspot.com
Blogs
My migration from Vera, or what I did on my holidays
CatmanV2C
Well here we go. A slow, considered migration from Vera to something (I hope) more reliable. Hopefully we'll end up with a decent documented process for people as right now I'm still not quite clear Starting point: I have a 'mature' Mios set up running on an extrooted Vera Plus with roughly 100 devices, both physical and virtual Integration with Alexa both voice control and TTS iPhones for Geolocation Volumio devices for music playing around the house. I have no user defined scenes, all automation is run from Reactor. My impetus is final dissatisfaction with the quality of UI7 software delivery and operational rigour (for full disclosure I am a senior IT Operations leader with circa 20 years experience delivering properly stable systems, so I probably have un-realistic expectations ) So initial steps: Raspberry Pi 3 B+ (I think this is my 5, and 6th Pi in total. I may have a problem) Raspbian OpenLuup Verabridge That I think is stage 1 C
Blogs
Not so much a blog
CatmanV2C
...but I now only have house mode scenes left on Vera. All other automation is by Reactor and Switchboard / Alexa routines. WAF may be low tomorrow if it doesn't work C
Blogs
My Wandering
ElcidE
I am a Electrician. I installed hundreds of smart devices for others prior to having my own home automation. In 2013 I bought a new house and decided to make it smart. I did some homework and settled on Z-wave and VeraPlus. My installation comprises of 25 Z-wave dimmer/switch inserts 3 Z-wave door sensors 10 sonoff devices(basics,TH16 and Mini) , 4 Tuya(lamps and RGB strips) , 6 shellys(connected to motion sensors and 2 controlling dead DIY bolts ) 3 Amazon Dots(gen2) 2 Broadlink (RMPro's) 4 DIY RF Venetian Blinds 2 Multi button DIY remotes 1 NVR 1 Network drive/Media server/ftp server. 1 smart thermostat heating and hot water 4 wired 240v/battery Aico smoke and heat detectors (connect to zwave via Relays) 1 robot hover. 1 Siren Node-red server running on android. Testing openluup on android. Automate App running on andorid Boxes/phones. All tv's are connected to android boxes. No windows PC. Debian running on android box. Plugins Reactor, AlexaTTS, Switchboard and Virtual HTTP Switch. I can control all of my devices from anyone of these platforms Vera/OpenLuup, Node-red, Automate(phone/tv box) or Alexa. All devices have a standard/manual switch for anyone to control, and can be controlled even if my VeraPlus stopped working or internet out. My system is stable and may get a luup reload every couple of weeks. None of my sonoff's or tuya have been flashed. I found Shelly very late into game and will be using these more now i found them, as they offer local control. I have some coding knowledge from the 90's, but have never worked in the industry.
Blogs
This is me
CatmanV2C
Well, if I see further, it's because I stand of the shoulders of giants. I've got where I got because of the experts here. I started about 15 years ago with some really basic X10 stuff. When we moved in 2011 for some reason it simply would not work in the new house, so z-wave was the thing. Vera lite then Vera Plus. I'm a child of the 70s. I want the car on the drive to be KITT and my lounge a cross between the bridge of the enterprise and the Lars farm on Tattoine. Not there yet, but with about 250 devices (virtual and real) things are fun (when they work!) The absolute killer app for me is Alexa bi directional speech. To the extent that I've walked into hotel rooms and said 'Alexa turn the lights on....' I'm within a spit of never buying another control and doing everything via Alexa and Reactor (had to drop that in) So that's pretty much me. C
Blogs
My Home Automation Setup...
DesTD
Topic thumbnail image
Blogs

Another transition from Vera to OpenLuup And now to HASS - PerH

Scheduled Pinned Locked Moved Blogs
118 Posts 9 Posters 31.5k Views 10 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PerHP Offline
    PerHP Offline
    PerH
    wrote on last edited by PerH
    #21

    Ok, i'll try to specify more:

    The Vera is connected to AltUI using the bridge. The vera has a RFXTRX433 connected with more than 60 child devices.
    These are bridged to AltUI, with the 10000 numbers. RFX plugin on vera is device 10011 in AltUI.

    The Openluup ALTUI Chromebox that i want to migrate them to Also has a RFXTRX433 connected. This plugin device is AltUI device 72.

    If I go to the variables on one of the children of the Vera RFX - say device ID 10237 - and change ParentID from 10011 to 72, and at the same time changes the DeviceID from 10237 to - say 80 - this child device becomes a local device - Child of '72.
    When I remove the RFX 10011, all the children also disappears, but I still have the ones i changed, and they now work with the local RFX plugin.

    If I could run a script that changes DevID and ParentID, I would get all sensors over without having to set up the names and transfer codes for all devices. 🙂
    I however don't know the correct lua syntax to do it.

    1 Reply Last reply
    0
    • akbooerA Online
      akbooerA Online
      akbooer
      wrote on last edited by
      #22

      OK, much clearer as to what you're trying to do. Let me think a while on this.

      1 Reply Last reply
      1
      • PerHP PerH

        so - if i were to try something like this:

        for (all devices) do
           if device.IDparent = 11 then 
              device.IDparent = 72
              device.ID = (next free dev.ID number)
           end if
        end for
        

        How would that be done in lua with the openluup device list?

        akbooerA Online
        akbooerA Online
        akbooer
        wrote on last edited by
        #23

        @PerH said in Another transition from Vera to OpenLuup - PerH:

        so - if i were to try something like this:

        for (all devices) do
           if device.IDparent = 11 then 
              device.IDparent = 72
              device.ID = (next free dev.ID number)
           end if
        end for
        

        How would that be done in lua with the openluup device list?

        Backup first, of course, but let's try this:

        local oldparent = 23    -- *** CHANGE THESE ***
        local newparent = 315
        
        for i, d in pairs (luup.devices) do
          if d.device_num_parent == oldparent then
            local id = luup.create_device()       -- get a new device (number)
            print (i, d.device_num_parent, id)
            luup.devices[id] = d                  -- apply new device number
            luup.devices[i]  = nil                -- remove it from old one
            d.attributes.id_parent = newparent    -- give it a new parent
            d.device_num_parent = newparent
            d.attributes.room = 0                 -- and a new (no) room
            d.room_num = 0
          end
        end
        
        

        Follws by a restart.

        This may, or may not, work. It is trickier that you might suppose, and without a test plugin, I can't really tell...

        1 Reply Last reply
        1
        • PerHP Offline
          PerHP Offline
          PerH
          wrote on last edited by
          #24

          Thanks! I'll try later.. My system isn't doing anything important yet anyway. 🙂

          1 Reply Last reply
          0
          • PerHP Offline
            PerHP Offline
            PerH
            wrote on last edited by
            #25

            No success on first attempt.. i'll have a new stab at this later.
            Where does plugins store their tables? i see in the code that the plugin stores several tables somewhere?

            1 Reply Last reply
            0
            • akbooerA Online
              akbooerA Online
              akbooer
              wrote on last edited by
              #26

              Yes, it’s the plugins which are the real issue here.

              The multiple assignment in the above code, though, are entirely due to Vera’s very poor internal implementation of some features, which openLuup had to emulate.

              It would be possible to edit the user_data.json file where all the information is stored between reloads.

              1 Reply Last reply
              0
              • PerHP Offline
                PerHP Offline
                PerH
                wrote on last edited by
                #27

                Coming back to this, I found that the code actually did work! I didn't think so, as all the created devices was invisible, and said "no such device" in the device list in openluup.. 6 days later, all sensors are populated and functioning. 🙂

                The UZB has now arrived, so i guess the next step is getting the z-wave stuff over. 🙂

                1 Reply Last reply
                1
                • PerHP Offline
                  PerHP Offline
                  PerH
                  wrote on last edited by
                  #28

                  Ok, so Z-way is now installed and GUI is working, but before I buy the (hopefully one-time?) license:
                  Is there other Open-source alternatives to get z-wave to openluup?
                  Is the device compatibility list better than vera? (can't seem to find it anywhere!)
                  will the altUI mesh-map work with z-way integration?

                  I found the demo license button now, but can't update the vendor list.. and i can't find the two devices i tested..

                  1 Reply Last reply
                  0
                  • rafale77R Offline
                    rafale77R Offline
                    rafale77
                    wrote on last edited by
                    #29

                    Seems like I can help on this:

                    1. The only open source z-wave library that I know of is... openzwave. It is what home-assistant, openhab and domoticz uses. It honestly is much better now than vera but not as good as z-way but is also undergoing significant development.
                    2. There is no device compatibility list because it is just compatible with zwave. All zwave devices should work. There is no custom gizmoing around configurations the way vera has done it. So yes device compatibility is limitless.
                    3. The mesh map could be made to work but does not at the moment. It is built off of the neighbor's list property which the bridge is not publishing from z-way at the moment. z-way UI has it's own neighbor mesh visualization.

                    The license is attached to the uzb itself and it is something I don't like. Is the uzb fails, you lose the license. It has not happen to me yet but I am really not a fan of this method that's why I got a couple of razberries as backup but their antenna is not nearly as good as the uzb and require a rPi.

                    1 Reply Last reply
                    0
                    • PerHP Offline
                      PerHP Offline
                      PerH
                      wrote on last edited by
                      #30

                      Been busy with other projects, but as i'm quarantined, I got some time to play with this again:

                      Bought the lisence, to which the UZB status responded with "Device seems to be dead"... hmm..
                      After fiddling with some settings, I realized that it is working somewhat, I managed to add a NEO Coolcam switch to it.. At least 23% added..
                      I can actuate the switch, but the z-way UI can't seem to get that message for some reason?

                      So something is still wrong, where do I start?

                      The vendor list is still not updating in the "non-expert" UI, and the z-way bridge in openluup states 0 vdevs and 0 znodes..

                      Any help is appreciated!

                      1 Reply Last reply
                      0
                      • rafale77R Offline
                        rafale77R Offline
                        rafale77
                        wrote on last edited by
                        #31

                        For your switch it appears that you have not completed the interview (equivalent to the vera configuration). You probably want to go to the expertUI and finish that before you can see it in the automation UI.

                        The z-way bridge talks to the API corresponding to the automation UI so if you don't see the device there, you won't see it in openLuup either.

                        1 Reply Last reply
                        0
                        • PerHP Offline
                          PerHP Offline
                          PerH
                          wrote on last edited by
                          #32

                          I tried that several times, and can see that the switch responds in the job cue.. the last attempts ended in 0%, so i asume that the problem isn't with the switch?

                          09966246-f782-430b-bd2c-424f560ceb40-image.png

                          "Device is working properly"? with 0% on the interview?

                          8ace14c0-f8b9-48f2-a536-a3747dbbaccb-image.png

                          1 Reply Last reply
                          0
                          • PerHP Offline
                            PerHP Offline
                            PerH
                            wrote on last edited by
                            #33

                            It seems that the communication with the uzb stick is not correct, some things work, some things don't..

                            I'm leaning towards a full reset of this thing now, mabye it'll go smoother the second time..
                            is all openluup settings and data contained in the /cmh-ludl/?

                            Mabye ubuntu is a better core for this setup than Debian Buster?

                            1 Reply Last reply
                            0
                            • akbooerA Online
                              akbooerA Online
                              akbooer
                              wrote on last edited by
                              #34

                              Everything should be in the user_data.json file, but it will get rebuilt on restart from the ZWay API.

                              1 Reply Last reply
                              0
                              • rafale77R Offline
                                rafale77R Offline
                                rafale77
                                wrote on last edited by
                                #35

                                @PerH, Don't be too fast at resetting things. This is not a vera. It is possible that your device is not responding as expected. I often had to manually interview devices by calling the command classes one by one. Click on the "view interview result" and you should see the list of command classes. You can then see which ones are missing.

                                1 Reply Last reply
                                0
                                • PerHP Offline
                                  PerHP Offline
                                  PerH
                                  wrote on last edited by
                                  #36

                                  Hehe, OK.
                                  I'm still finding it odd that my system says that the Z-Way controller is reported as "Dead" in the device list though, that makes me think that the device or communication is not going well..
                                  e29834c1-0ccf-48b0-a4bd-4d6c93a49cda-image.png Despite of this, i can actuate the switch even if the expert panel says i'm not.

                                  some strange callback errors in the log:

                                  [2020-11-03 14:47:06.133] [I] [z-way] Job 0x13 (SwitchBinary Get): Delivered
                                  [2020-11-03 14:47:06.133] [D] [z-way] SendData Response with callback 0x13 received: received by recipient
                                  [2020-11-03 14:47:06.133] [D] [z-way] SETDATA devices.6.data.lastSendInternal = **********
                                  [2020-11-03 14:47:06.133] [D] [z-way] SETDATA devices.6.data.lastSend = 389830 (0x0005f2c6)
                                  [2020-11-03 14:47:06.133] [D] [z-way] Job 0x13 (SwitchBinary Get): success
                                  [2020-11-03 14:47:06.133] [I] [z-way] Waiting for job reply: SwitchBinary Get
                                  [2020-11-03 14:47:06.153] [D] [z-way] RECEIVED: ( 01 0C 00 A8 00 01 06 03 25 03 00 00 C9 B0 )
                                  [2020-11-03 14:47:06.153] [D] [z-way] SENT ACK
                                  [2020-11-03 14:47:06.153] [W] [z-way] No job of class 0xa8 is waiting for callback 0x00
                                  [2020-11-03 14:47:06.153] [I] [z-way] Unhandled callback for function 0x00
                                  [2020-11-03 14:47:06.153] [I] [z-way] Removing job: Unknown function class
                                  
                                  

                                  So, before I look at the devices, i need to find out why the server and stick communication is throwing errors..

                                  1 Reply Last reply
                                  0
                                  • PerHP Offline
                                    PerHP Offline
                                    PerH
                                    wrote on last edited by
                                    #37

                                    One other thing, sometimes (i think on some reset of something), the port address to the stick changes from "ttyACM0" to "ttyACM1" for some anoying reason.. any ideas?

                                    1 Reply Last reply
                                    0
                                    • PerHP Offline
                                      PerHP Offline
                                      PerH
                                      wrote on last edited by
                                      #38

                                      Result in the log of trying the "basic set" interview manually:

                                      [2020-11-03 15:18:46.829] [I] [z-way] Adding job: Basic Get
                                      [2020-11-03 15:18:46.830] [D] [z-way] SENDING (cb 0x3c): ( 01 09 00 13 06 02 20 02 25 3C DA )
                                      [2020-11-03 15:18:46.832] [D] [z-way] RECEIVED ACK
                                      [2020-11-03 15:18:46.840] [D] [z-way] RECEIVED: ( 01 04 01 13 01 E8 )
                                      [2020-11-03 15:18:46.840] [D] [z-way] SENT ACK
                                      [2020-11-03 15:18:46.840] [D] [z-way] Delivered to Z-Wave stack
                                      [2020-11-03 15:18:46.860] [D] [z-way] RECEIVED: ( 01 05 00 13 3C 00 D5 )
                                      [2020-11-03 15:18:46.860] [D] [z-way] SENT ACK
                                      [2020-11-03 15:18:46.861] [I] [z-way] Job 0x13 (Basic Get): Delivered
                                      [2020-11-03 15:18:46.861] [D] [z-way] SendData Response with callback 0x3c received: received by recipient
                                      [2020-11-03 15:18:46.861] [D] [z-way] SETDATA devices.6.data.lastSendInternal = **********
                                      [2020-11-03 15:18:46.861] [D] [z-way] SETDATA devices.6.data.lastSend = 56446 (0x0000dc7e)
                                      [2020-11-03 15:18:46.861] [D] [z-way] Job 0x13 (Basic Get): success
                                      [2020-11-03 15:18:46.861] [I] [z-way] Waiting for job reply: Basic Get
                                      [2020-11-03 15:18:46.874] [D] [z-way] RECEIVED: ( 01 0C 00 A8 00 01 06 03 20 03 00 00 C7 BB )
                                      [2020-11-03 15:18:46.874] [D] [z-way] SENT ACK
                                      [2020-11-03 15:18:46.874] [W] [z-way] No job of class 0xa8 is waiting for callback 0x00
                                      [2020-11-03 15:18:46.874] [I] [z-way] Unhandled callback for function 0x00
                                      [2020-11-03 15:18:46.874] [I] [z-way] Removing job: Unknown function class
                                      [2020-11-03 15:18:48.987] [W] [z-way] Reply not received before timeout for job (Basic Get)
                                      

                                      To me, it looks like the unit is responding, and the server is having a "senior moment".. ?

                                      1 Reply Last reply
                                      0
                                      • rafale77R Offline
                                        rafale77R Offline
                                        rafale77
                                        wrote on last edited by
                                        #39

                                        Hmm this is indeed a bit strange.
                                        On the port address changing... it is a common linux problem, widely reported for many devices.
                                        linux recreates and iterates another id for a usb device when it resets. I had this problem even with the vera when I ran it off of a usb dongle. The solution to this is to use another path to the port:

                                        run
                                        ls /dev/serial/by-id

                                        and find the id of the uzb. Mine looks like this:
                                        usb-0658_0200-if00 usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2211489-if00

                                        I have both a uzb and a conbee stick plugged into my mini PC. You can then use this port /dev/serial/by-id/usb-xxxx_xxxx-xxxx
                                        instead of /dev/ttyACMn.

                                        For your other issue, you might be right. Maybe reset then as I am have never seen this behavior before.

                                        1 Reply Last reply
                                        1
                                        • PerHP Offline
                                          PerHP Offline
                                          PerH
                                          wrote on last edited by
                                          #40

                                          Thanks, I did that now, so one issue less i guess. 🙂

                                          One thing i've read is that z-way needs a "V8 engine" called libv8 (3.24.37). This is as far as i've found not native in Debian buster, can this be whats missing here?

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Recent Topics

                                          • Errors after updating to MQTTController build 25139
                                            tunnusT
                                            tunnus
                                            0
                                            3
                                            29

                                          • 🎉 My very first MSR controller: OpenSprinkler
                                            therealdbT
                                            therealdb
                                            5
                                            13
                                            619

                                          • Set Reaction > Script Action
                                            toggledbitsT
                                            toggledbits
                                            0
                                            4
                                            39

                                          • Wiring Samotech SM308-S into light fitting
                                            F
                                            Freemanator
                                            0
                                            1
                                            17

                                          • Advice reqeusted to migrate MSR from Bare Metal to Container
                                            T
                                            tamorgen
                                            0
                                            5
                                            80

                                          • Reactor (Multi-System/Multi-Hub) Announcements
                                            toggledbitsT
                                            toggledbits
                                            5
                                            122
                                            37.3k

                                          • Z-Wave Future....
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            5
                                            165

                                          • Can´t restart or upgrade/deploy MSR
                                            toggledbitsT
                                            toggledbits
                                            0
                                            4
                                            117

                                          • [Solved] Limit HA Entity in MSR
                                            wmarcolinW
                                            wmarcolin
                                            0
                                            7
                                            243

                                          • Disaster recovery and virtualisation
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            5
                                            690

                                          • Remote access of Zwave stick from Z-wave server
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            3
                                            409
                                          Powered by NodeBB | Contributors
                                          Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Unsolved