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. openLuup
  3. Zway Bridge
  4. Help with Z-Way plugin
full devices reset
DesTD

@akbooer

Since a couple of weeks/months, we are in the process to redo 5 rooms @ home (kids are moving from room to another room) and of course, I would need to redo a bunch of device name and room name in Zway..

Is there an easy way to tell openLuup to completely start over fresh without having to delete/rename them one by one in openLuup ?

Zway Bridge
Help with Z-Way plugin
J

I hope this is the correct forum – apologies if not!

I have a Raspberry Pi3 with a Razberry Z-Wave card installed. I have installed the Z-Way software and have successfully included a Fibaro Z-Wave switch on the Z-Wave network. I can toggle the switch on and off successfully from my laptop through port 8083 of the Raspberry Pi3.

On the same Raspberry Pi3 I have installed openLuup on which I have installed the Z-Way plugin. I can access this through port 3480 on the Raspberry Pi3 from my laptop.

Here is where I have come to a dead stop. How do I get access to the Fibaro Z-Wave switch from the openLuup application? I can find no documentation that tells me specifically how to do this.

Any help would be greatly appreciated.

_John.

Zway Bridge
openLuup Z-Way bridge: Version Log
akbooerA

Master Branch: 2020 Release 4.5

Roll-up of recent changes in development branch.

Zway Bridge
Fibaro Wall plug power metering
PerHP

I have an odd issue which seems to be only for Fibaro wall plugs. They come in to Z-Way with two "electric meter" entrys, one "Power" meter and a couple of alarm entrys. In addition to the switch that is.

One of the "electric meters" is KWh and the other one is seemingly Watts, but it stays at 0/-1w. The "Power" meter shows the Watts used right now.

When these come into openluup, the wrong electric meter is selected for displaying the Watts, is there any way to manipulate which one openLuup uses? I see that the sub channel for power also is transferred, but it isn't in the data Veraflux is transmitting to my influxdb..

Haven't used the watts reading for anything before now, now i want to estimate when my dryer is done based on power usage. 🙂

Zway Bridge
Renaming device name...
DesTD

@akbooer

What's the "logic" behind zway plugin about renaming ? Are you always renaming when starting openLuup ?

Zway Bridge
Fibaro TRV on ZWay/OpenLuup?
I

Having some trouble getting the Fibaro TRV device working with the ZWay bridge. The device works in the ZWay (Zwave.Me) Smart Home GUI, and creates a number of devices in OpenLuup, some of which appear to have the right variables in it. Changing the XML and JSON files makes no difference.

I also tried creating a separate child device for Parameter 67 (using the gui for the ZWay bridge, see below), and setting the XML/JSON types for that device (like I've havd to do for a few other devices). This results in a device that correctly displays the TRV setpoint, but chaning the setpoint in the OpenLuup gui does not result in anything being transmitted to/by ZWay.

20490 49-0 D_ComboDevice1.xml zNode #49-0
49-0-113-8-12-A
49-0-113-8-13-A
49-0-113-8-14-A
49-0-113-8-15-A
49-0-113-9-3-A
49-0-64
49-0-67-1
20491 49-1 D_ComboDevice1.xml zNode #49-1
49-1-113-8-12-A
49-1-113-8-13-A
49-1-113-8-14-A
49-1-113-8-15-A
49-1-113-9-3-A
49-1-64
25031 49-1-67-1 D_Heater1.xml Radiator Bedroom
20492 49-2 D_ComboDevice1.xml multi #49-2
49-2-113-8-10-A
49-2-113-8-11-A
25030 49-2-49-1 D_TemperatureSensor1.xml Radiator Bedroom

Zway Bridge
Z-way token Expiration
rafale77R

@akbooer, I just woke up to a z-way bridge token expiration again forcing me to login again and reload openluup. It appears to happen once a week. It doesn't appear that the auto renewal of the token is working?

Zway Bridge
Why Migrate to Z-way from vera and how?
rafale77R

I expect this document to be dynamic based on inputs from people who try but did not want to completely rewrite it here:

Z-Way/README.md at master · rafale77/Z-Way Z-Way/README.md at master · rafale77/Z-Way

Zway plugin for openLuup . Contribute to rafale77/Z-Way development by creating an account on GitHub.

Zway Bridge
XMLs & jsons without vera
P

Nearly there with the migration ..

Is it ok to use older device files or do they get updated from time to time?

Now that a fresh openLuup is up and running and connected to Zway where's the best place to source device files without vera? I probably have them on another openLuup install but not 100% which ones to copy over.

Zway Bridge
Error after device delete
PerHP

One of my wall plugs died yesterday, so i had to delete it without exclusion. When I did this, the openluup device switched to this:
7d1a5d39-cfdd-4c25-b2a2-79311736615f-image.png

And some .js issues arrived at the bottom of the screen:
1935b845-ea64-4576-8d40-04489ae10fb8-image.png

What to do?

Zway Bridge
Device setup - organization strategy
PerHP

I've finally gotten the stuff to work together. Now - before I migrate all the vera devices, how do i use this?

How does the variables NameDevices and CloneRooms work? (is there a manual or description of the plugin?)
CloneRooms seems obvious, but is that the best way to go when I have more bridges?

Set up rooms and names in Z-way? No rooms in z-way, and distribute them in openluup?
Zway Bridge
Changing device type for wall controller
A

I have an old Z-wave.me wall controller that I still use for turning the espresso machine on and off. The controller controls an Aeotec Micro Switch that for the moment is still on my Vera.

The wall controller has always been a bit tricky to work with on Vera. On my old UI5 VeraLite I managed to get it associated to the switch.
On the UI7 Vera I never got that to work, instead I could use it as a trigger in Reactor to detect when sl_SceneActivated was 1 or 0.

I have moved the wall controller to Z-way and there it is included as it should.
a30b06dd-1f3c-4ca6-9966-b0a6f183de04-image.png Compared to when it was connected to the Vera it has proper on/off buttons so that it can be controlled from the Z-way GUI.

The command classes are the following:
68a54e6b-b240-40b2-95bb-9696bf7789cf-image.png In OpenLuup it still shows up as it did in the Vera, i.e. only showing battery.
985acfb7-6af9-4cf0-a426-79d4358baf6e-image.png Is it possible to change device type so that it get the right properties in OpenLuup?

At the moment it does not have any useful properties except for battery level. It e.g. lacks the sl_SceneActivated variable.

Another step would then be to move the Aeotec switch to Z-way and to then associate the wall controller to the switch in Z-way. It seems as if this can be done in the ExpertUI.

//ArcherS

Zway Bridge
Recreate Zway device in Openluup
R

If a zway device have been manually deleted in openluup, What would be the right way to recreate it, or re-sync with the z-way-server?

Zway Bridge
Changing Device type from dimmer to Shutter
R

Just finished migrating to Zway, Although there are some devices that are being detected as a dimmer when in fact are Shutters.

What would be the best route to properly change how this devices are being detected by the ZWay plugin on openluup?

2f2566ba-1bb8-436e-a107-363bb66a7436-image.png

1a188194-faed-4d5c-8dc8-7a21914209fb-image.png

55a457fe-101e-4cb7-bced-3693d9f280c4-image.png

e9deae5c-79f1-407b-adb7-718663ab0149-image.png

Zway Bridge
Child device undo failure
rafale77R

Hi AK,

I must be missing something but I am having now some devices fail on the bridge due to them running out of battery. Upon battery replacement, they function properly on z-way-server but the failure remains over the bridge. The failure shows up on the parent device and it says that a specific command class has failed. Looking at the return API json, it should not return any command class level failure however so I am not sure where the bridge gets its failed state from...

edit: Nevermind, I figured it out. It is a gap in data alignment between the different z-way APIs. The zwave and JS API got the update that the device recovered but not the smarthome API. Pausing and restarting the zwave app on z-way fixed it.

Zway Bridge
All Z-way devices "disabled" attribute is set to 1
K

I noticed the change when I switched from the RaZberry to UZB (During the switch all devices moved to the Room 101 briefly, maybe that had something to do with it). Any idea why this would have happened? Can I easily change them all back to enabled? Also, what exactly does this attribute do? I only noticed because none of my z-wave devices were showing up in Imperihome and when I set the "disabled" attribute back to 0, the device shows up. Thanks.

Zway Bridge
Z-Way electric meter devices not in openLuup
I

So I started experimenting by moving some of my wallplugs and power switch zwave devices over from VeraPlus to Z-Way.

In Z-Way this results in different elements for switching, Watts and kWh. Some even have Volts which I never saw on Vera.

But using the Z-Way plugin in openLuup only the Switch element is visible and all other elements of the zwave node are not.

I don't really know to much about Z-Way or the plugin, but am trying to learn on the run.

Maybe someone can give me some pointers what and where to look for to solve this?

Zway Bridge
z-way with home assistant
S

Just wanted to point out and start the topic of the following:

We are working on a project that will allow to use Z-Way library as the core of Z-Wave in Home Assistant. First releases will be around June/July I believe

Additionally there are ways to support Z-Way from HAss via HTTP requests. This is a community project and we have no deep knowledge about it.

С уважением,
Полторак Сергей
Z-Wave.Me

Apr 19, 2020 Official Z-way integration request Official Z-way integration request

Why would that make you reluctant? It doesn’t seem to be any different from any other local startup supporting funds in other countries.

Zway Bridge

Help with Z-Way plugin

Scheduled Pinned Locked Moved Zway Bridge
56 Posts 9 Posters 8.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JMK
    wrote on last edited by
    #31

    Yes, I can see the Fibaro switch and I am able to toggle it. The reason I am going through all this is I also have just about had enough of Vera. I had small configurations (10-15 devices) at two locations that had worked flawlessly for 6 years on Vera3s when it looked like support for the Vera3 would end because of EOL I decided to migrate to VeraPlus. Big mistake. Devices dropping offline, scenes behaving strangely (triggering when they shouldn't, not triggering when they should). At the remote location I had to spend over $200 dollars to replace devices that had worked perfectly on the Vera3, and so on...

    Because I cannot afford to loose the automation here locally I am transferring one device at a time from the VeraPlus to the openLuup system - that's my plan anyway.

    1 Reply Last reply
    2
    • A Offline
      A Offline
      ArcherS
      wrote on last edited by
      #32

      I updated my Z-way plugin to the latest Maser version (v20.4.5). In order to get the plugin to get updated I had to delete the existing Z-way plugin and start over. I had a really old v18.7.16, however it was working ok. I am on OpenLuup20.5.6, so that should be ok.

      I now have the latest version of the Z-way plugin, but I need to change IP from the default 127.0.0.1 to the right one (192.168.1.xx), on which my Z-way is running (not the same as my OpenLuup). However when I try to change IP via the "Variables" tab it does not stick, it reverts back to 127.0.0.1 after Luup reload. I have tried both via AltUI and via the OpenLuup (unsure where I should do this) but get no result either way.

      Any ideas?

      //ArcherS

      1 Reply Last reply
      0
      • akbooerA Offline
        akbooerA Offline
        akbooer
        wrote on last edited by akbooer
        #33

        Yes. You should not be using the variable to set the IP address, but, instead, the device attribute named ip.

        (The variable you were, I assume, trying to change is an AltUI Display variable, which reflects the IP actually assigned.)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          ArcherS
          wrote on last edited by
          #34

          Thank's for a really quick reply! That indeed did the trick, I knew it was something easy I missed.
          Now I just need to go through my Reactors and re-map my z-way devices. Not too much work.

          //ArcherS

          1 Reply Last reply
          2
          • J Offline
            J Offline
            JMK
            wrote on last edited by
            #35

            I had a disaster yesterday - my Raspberry Pi SD died and looking at it i think it may have been a Sandisk fake, the labeling and fonts just do not look right. Anyway, I had to re-install Z-Way, openLuup... and this time I decided to put cmh-ludl in etc rather than in my home directory. I noticed that in the manual it says "be careful with permissions". So what are the 'correct' permissions? As you can see I am not too familiar with Linux 🙂

            akbooerA 1 Reply Last reply
            0
            • J Offline
              J Offline
              JMK
              wrote on last edited by
              #36

              Sorry more... I also notice that when I execute openLuup_reload I get these messages...
              mkdir: cannot create directory ‘/www’: Permission denied
              rm: cannot remove '/www/altui/altui*': No such file or directory

              1 Reply Last reply
              0
              • CatmanV2C Offline
                CatmanV2C Offline
                CatmanV2
                wrote on last edited by
                #37

                I don't know what they should be but 755 would be a good place to start.

                How good are you with Linux? ls -l will show you the current user / group ownership. No idea what user Z-way will run as but you can
                chmod 777 -R /www is pretty much bound to work but has some possibly nasty security impacts. I doubt it's a huge issue here though

                C

                The Ex-Vera abuser know as CatmanV2.....

                1 Reply Last reply
                1
                • akbooerA Offline
                  akbooerA Offline
                  akbooer
                  replied to JMK on last edited by
                  #38

                  @JMK said in Help with Z-Way plugin:

                  I decided to put cmh-ludl in etc rather than in my home directory.

                  I originally suggest that location, in order to mimic Vera's files structure, but during openLuup's evolution it developed a virtual storage system and file aliases which means that it only needs to access folders within its own home directory tree. Even things like /www/cgi/ and /www/cgi-bin/cmh/ are handled that way.

                  So, really, I can't think of a good reason to put it in /etc/, indeed, I think you've found a good reason not to.

                  I think you'll find those two error messages come from AltUI, certainly the second one which I know to be benign.

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    JMK
                    wrote on last edited by
                    #39

                    Settled for 0755, seems to be OK. Thanks everyone.

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

                      Can't seem to get any devices in openluup!

                      Everything OK in Z-Way:
                      c7a82f7a-894b-466c-b5c6-6a9ad3fc23cf-image.png

                      4 devices working perfectly:
                      b251942e-716e-4a28-90d9-b9f6650199e0-image.png

                      Openluup versions:
                      e7597812-f4d1-431e-b3c7-fe512259fa08-image.png

                      Attributes:
                      da925acf-dab4-45c0-9042-f439d2ae3f1d-image.png

                      Log:

                      2020-11-04 13:49:44.303   openLuup.scheduler:: [197] Z-Way device startup
                      2020-11-04 13:49:44.303   luup_log:197: ZWay: v20.4.5
                      2020-11-04 13:49:44.336   luup_log:197: ZWay: HomeId: c84d9ef4
                      2020-11-04 13:49:44.336   luup.variable_set:: 197.urn:upnp-org:serviceId:altui1.DisplayLine1 was: 0 vDevs, 0 zNodes now:  #hooks:0
                      2020-11-04 13:49:44.336   luup.register_handler:: global_function_name=HTTP_Z-Way_197, request=z197
                      2020-11-04 13:49:44.361   luup.set_failure:: status = 0
                      2020-11-04 13:49:44.361   luup.variable_set:: 197.urn:micasaverde-com:serviceId:HaDevice1.CommFailure was: 0 now: 0 #hooks:0
                      2020-11-04 13:49:44.361   luup.variable_set:: 197.urn:micasaverde-com:serviceId:HaDevice1.CommFailureTime was: 0 now: 0 #hooks:0
                      2020-11-04 13:49:44.394   luup.variable_set:: 197.urn:upnp-org:serviceId:altui1.DisplayLine1 was:  now: 0 vDevs, 0 zNodes #hooks:0
                      2020-11-04 13:49:44.394   luup_log:197: ZWay: Asynchronous polling
                      2020-11-04 13:49:44.394   luup.set_failure:: status = 0
                      2020-11-04 13:49:44.394   luup.variable_set:: 197.urn:micasaverde-com:serviceId:HaDevice1.CommFailure was: 0 now: 0 #hooks:0
                      2020-11-04 13:49:44.394   luup.variable_set:: 197.urn:micasaverde-com:serviceId:HaDevice1.CommFailureTime was: 0 now: 0 #hooks:0
                      2020-11-04 13:49:44.395   openLuup.scheduler:: [197] Z-Way device startup completed: status=true, msg=OK, name=L_ZWay2
                      

                      result:
                      51c7fd41-777c-4eb0-9684-4e1c2fe4c010-image.png

                      Any ideas? 🙂

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

                        zway username and password set in the plugin variables?

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

                          Where?
                          a3233de3-5e24-4c59-96f5-7228db9cfc16-image.png

                          I used "Actions" - login, and set "no expire" on the emerging connection in z-way..?

                          rafale77R 1 Reply Last reply
                          0
                          • rafale77R Offline
                            rafale77R Offline
                            rafale77
                            replied to PerH on last edited by
                            #43

                            @PerH

                            Go to the openLuup console from your openLuup device you can see the access to the console interface:

                            Screen Shot 2020-11-04 at 6.24.19 AM.png

                            Then go into devices/z-way bridge and under actions, login
                            Screen Shot 2020-11-04 at 6.24.02 AM.png

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

                              Done, no difference..

                              Same entrys in the startuplog as before.. ?

                              Noticed that "file not found: cgi/zway_cgi.lua" comes up when i try the "Configure ZWay child devices" button, is that a clue of something?

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

                                that's not good. You need that file. seems like your plugin is not completely installed.
                                see that you have the files in this repo all installed:

                                GitHub - akbooer/Z-Way: Zway plugin for openLuup

                                GitHub - akbooer/Z-Way: Zway plugin for openLuup

                                Zway plugin for openLuup . Contribute to akbooer/Z-Way development by creating an account on GitHub.

                                the cgi file under the /cgi folder needs to be in the /cgi folder in openLuup.

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

                                  Fixed. all files are in place, still no devices..

                                  This is all that shows up when i try the "Configure ZWay child devices" :

                                  953bce58-2d30-4c29-a848-e3380f4d275c-image.png

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

                                    do you see username/password/session id in the plugin device variables?

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

                                      b6842216-5ef1-412d-883f-8dd9453a7075-image.png

                                      SessionID at the bottom there?

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

                                        yes, looks like your plugin works and is communicating with z-way. Now in your z-way automation UI/API, you may not have completed interviews? Not sure. Would wait for @akbooer here. A bit surprising that you are not seeing any nodes.

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

                                          All four connected devices have 100% interviews.
                                          Thanks for helping so far.

                                          1 Reply Last reply
                                          0

                                          Recent Topics

                                          • Disaster recovery and virtualisation
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            5
                                            565

                                          • Remote access of Zwave stick from Z-wave server
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            3
                                            284

                                          • Organizing/ structuring rule sets and rules
                                            G
                                            gwp1
                                            0
                                            5
                                            343

                                          • Moving MSR from a QNAP container to RP 5 - some issues
                                            G
                                            gwp1
                                            0
                                            5
                                            288

                                          • Widget deletion does not work and landing page (status) is empy
                                            G
                                            gwp1
                                            0
                                            4
                                            262

                                          • Need help reducing false positive notifications
                                            T
                                            tamorgen
                                            0
                                            7
                                            454

                                          • Reactor (Multi-System/Multi-Hub) Announcements
                                            toggledbitsT
                                            toggledbits
                                            5
                                            120
                                            35.1k

                                          • Deleting widgets
                                            toggledbitsT
                                            toggledbits
                                            0
                                            4
                                            437

                                          • MQTT configuration question
                                            tunnusT
                                            tunnus
                                            0
                                            11
                                            589

                                          • System Configuration Check - time is offset
                                            G
                                            gwp1
                                            0
                                            8
                                            576
                                          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