Giter Site home page Giter Site logo

iobroker.zwave's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iobroker.zwave's Issues

Feature Request: Schnittstelle zu iobroker.javascript u.a.

Es wäre sehr hilfreich, auf einige der Funktionalität des Adapters extern zugreifen zu können - insbesondere die Aktivierung des Inclusion/Exclusion-Modus, die aktuell manuell über das Admin-Interface ausgeführt werden kann.
Eine Schnittstelle (z.b. via setzen eines States) würde es erlauben, über eigene externe Software oder Scripts die Geräte im zWave-Netzwerk zu managen, ohne dem Benutzer Zugang zu ioBroker zu geben.

Confirmation for destructive action

I just clicked by accident on the hard reset button and was shocked that all my zwave devices where wiped out. While the function works as expected I would recommend a confirmation dialog.

MCOHome CO2 monitor returns zero values

The device was successfully added but it does not return CO2, temperature and humidity values. I see 0 all the time. The instructions suggest to associate a gateway with Group 2. The Group 2 is in the list on the association tab but disabled (cannot be edited).
I have no any other idea how to get it working.

Thank you.

endless loop while starting

After upgrade to node 10.16.3 and installation problem...the adapter is installed in version 1.6.0 (1.6.1 has same behavior - 1.5.1 isn't there any more..)

enviorment:
Ubuntu 18.10
libopenzwave1.6-dev_1.6.878
openzwave_1.6.878-0_amd64.deb

host.DaIOBroker 2019-09-22 11:15:45.531 info Restart adapter system.adapter.zwave.0 because enabled
host.DaIOBroker 2019-09-22 11:15:45.531 error instance system.adapter.zwave.0 terminated with code 127 ()
host.DaIOBroker 2019-09-22 11:15:45.531 error Caught by controller[0]: io.zwave.0: symbol lookup error: /opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/build/Release/openzwave_shared.node: undefined symbol: _ZN9OpenZWave7O
zwave.0 2019-09-22 11:15:45.485 info starting. Version 1.6.0 in /opt/iobroker/node_modules/iobroker.zwave, node: v10.16.3
host.DaIOBroker 2019-09-22 11:15:45.218 info instance system.adapter.zwave.0 started with pid 10012

any ideas?

Rauchmelder von Devolo

Hallo
Ich habe einen Rauchmelder von Devolo gekauft, und ich habe ein Problem mit der Verbindung. Ich habe 2 Mal gekauft, aber den Rauchmelder kann ich nicht mit iobroker verbinden
kann jemand mir helfen bitte
mit freundlichen grüßen
Tolas

Info aktualisieren löscht noch immer Node

Nach Abändern von zig Datenpunkten, muss ich leider mitteilen, dass „Info aktualisieren“ noch immer die Node löscht auch mit aktueller 1.5.1 Version. Neu hinzufügen der Node führt zum Absturz des Adapters.

Secure Connection to Danalock

Hi,
I tried to establish a secure Z-Wave connection to a Danalock. I've uncommented the according Opton NetworkKey in the options file before. When I try to connect the Dana first I see as type a Secure Door Lock Keypad, but after a few seconds that changes to Door Lock Keypad and I get only basic access to the lock.
Openzwave for sure supports secure connections and my java script knowledge is very, very basic, but other systems using openzwave do establish such a secure connection with another function (establish secure connection or so) and use a different extended command in openzwave. I haven't seen such in the current version of the iobroker adapter.
So do you support secure connections yet?
Thanks in advance
Uwe

Configuration changes not applied

I have some Aeotec multi sensor 6 devices which are battery powered.
If I am not mistaken I should be able to change settings in the admin, they are buffered and when the device wakes up they are stored. And I can accelerate that when I wake up the device manually.
However this doesn't work reliably. I have changed some settings and even woke up the devices but the changes stay in red in the admin and are not confirmed.

The problem with the libopenzwave of 1.6

When upgrading to version 1.5.0, an error occurs:

host.iobroker2-1 instance system.adapter.zwave.0 started with pid 25116
--
2019-07-11 13:59:11.154 - info: zwave.0 starting. Version 1.5.0 in /opt/iobroker/node_modules/iobroker.zwave, node: v8.16.0
2019-07-11 13:59:12.560 - info: zwave.0 scanning homeid=0xc6bdb0d0...
2019-07-11 13:59:12.561 - info: zwave.0 driver ready: homeid = 3334320336
2019-07-11 13:59:12.568 - info: zwave.0 Update zwave.0.NODE1
2019-07-11 13:59:12.580 - info: zwave.0 Update zwave.0.NODE1
2019-07-11 13:59:12.610 - error: Caught by controller[0]: io.zwave.0: symbol lookup error: /opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/build/Release/openzwave_shared.node: undefined symbol: _ZNK9OpenZWave7ValueID15GetTypeAsStringB5cxx11Ev
2019-07-11 13:59:12.610 - error: host.iobroker2-1 instance system.adapter.zwave.0 terminated with code 127 ()
2019-07-11 13:59:12.610 - info: host.iobroker2-1 Restart adapter system.adapter.zwave.0 because enabled

recommendations from "known issues" didn't help.

JavaScript selector fails

In my setup I am using selector: $('state[role=value.battery]) but it fails with error - can't find 'common' in undefined object.
After investigation I found that there are such id's in selector: zwave.0.NODE9.awake
And it appears that there is no object (getObject returns null) for such ids (*.awake)

Aeotec Wallmote Quad node does not update/create states

Hi,
I've recently ordered a Aeotec Wallmote Quad in order to switch a few things on/off using one smart switch to control several devices .
Unfortunately iobroker doesn't update any states when I push buttons from the switch.
There is a switch_binary folder as well as a switch_multilevel folder. There are way too few states available I guess.
iobroker_wallmote_quad

I've read something about central_scene_command class. Is it maybe not available in ioBroker yet?
What can be changed to make the switch work?

Thanks,
Kevin

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/ioBroker/ioBroker.zwave

  • [E605] No actual year found in copyright. Please add "Copyright (c) 2014-2020 bluefox [email protected]" at the end of README.md
  • [E816] file tsconfig.json found in repository, but not found in .npmignore

Thanks,
your automatic adapter checker.

Command failed

I am using the latest version with an Aeotec Stick. I have noticed that the following commands fail:

  • "Find neighbors": message unknown command
  • click on "update neighbors" for the device: message in the log is Command has failed

Manufacturer/Product missing on the MCO Home CO2 sensor

  1. Environment:
    1.1. ioBroker in Docker (buanet) on Synology
    1.2. node: v8.15.0
    1.3. npm: v6.4.1
    1.4. ioBroker.zwave: v1.5.1
  2. Sensor: MCO Home CO2 (MCOEMH9-CO2) Multilevel Sensor (link to docu)
  3. Pre-conditions:
    3.1. Update 1.4.2 -> 1.5.1
    3.2. Container stopped
    3.3. Host system restarted
    3.4. Container started
  4. Steps to reproduce:
    4.1. Open instance settings dialog ->Devices
    4.2. Check "Manufacturer" string for the MCO sensor
    4.3. Check "Product" string for the MCO sensor
    4.4. Call "Refresh Info" command
    4.5. Wait (check status by log)
    4.6. Check "Manufacturer" string for the MCO sensor
    4.7. Check "Product" string for the MCO sensor
  5. Actual results
    5.1. "Manufacturer" column contains "Unknown: id=015f"
    5.2. "Product" column contains "Unknown: type=0902, id=5102"
  6. Expected results:
    5.1. On 4.2 and 4.6 it should by real manufacturer description (like in version 1.4.2) - "MCO Home ..."
    5.2. On 4.3 and 4.7 it should by real product description (also missed in version 1.4.2)

vers 1.5 association add does not work

problem with ozw 1.6 and zwave 1.5 .. i can not add any node to association

getAllAssociationGroups or getAssociations does not work also.....

grafik

grafik

but does not work.. after restart i cant see the shortcut

Karte vom Netzwerk nicht leserlich

Hallo,

erst mal wieder Danke für das neue coole Feature. Aber bei mir kann ich auf der Karte leider nichts erkennen. Schaut aus wie ein riesen Wollkneul der sich ständig hin und her bewegt wie ein Schwarm Bienen oder Fliegen.

Getestet unter macOS mit Chrome und Safari. Jeweils aktuelle Versionen.

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/ioBroker/ioBroker.zwave

  • [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.zwave"
  • [E301] Tests on Travis-ci.org are broken. Please fix.

Thanks,
your automatic adapter checker.

Objects get lost after restart of adapter

Hello,

I made a fresh install of the 1.6 iobroker.zwave adapter (before deletion of 1.5.1 iobroker.zwave adapter). After all devices were recognized and included I renamed needed objects within iobroker objects page (column name) to have clear arragements wihin Blockly. Just for validation reasons I restarted the adpater. All zwave objects which were renamed before were deleted after adapter restart. It would be good to hold the renamed objects after a restart.

Thanks for support
Michael

Install Problem

$ ./iobroker url "https://github.com/ioBroker/ioBroker.zwave.git" install https://github.com/ioBroker/ioBroker.zwave/tarball/master npm install https://github.com/ioBroker/ioBroker.zwave/tarball/master --production --save --prefix "/opt/iobroker" (System call) find: ‘/tmp/systemd-private-274bcfdb90a64e5bb90c89a10a313fb3-redis-server.service-Gc20Qv’: Keine Berechtigungfind: ‘/tmp/systemd-private-274bcfdb90a64e5bb90c89a10a313fb3-fwupd.service-pmJVmQ’: Keine Berechtigung find: ‘/tmp/systemd-private-274bcfdb90a64e5bb90c89a10a313fb3-bolt.service-azBFEs’: Keine Berechtigung find: ‘/tmp/systemd-private-274bcfdb90a64e5bb90c89a10a313fb3-colord.service-o5llKv’: Keine Berechtigung find: ‘/tmp/systemd-private-274bcfdb90a64e5bb90c89a10a313fb3-rtkit-daemon.service-dQLIfs’: Keine Berechtigung find: ‘/tmp/systemd-private-274bcfdb90a64e5bb90c89a10a313fb3-systemd-resolved.service-Cb3UNP’: Keine Berechtigung find: ‘/tmp/systemd-private-274bcfdb90a64e5bb90c89a10a313fb3-systemd-timesyncd.service-WBylGI’: Keine Berechtigung find: ‘/tmp/ssh-ylh5EtJtkrjt’: Keine Berechtigung

USB Device Name

Is it possible to use the "com port ID" (/dev/serial/by-id/) at the "USB Device Name" like the Zigbee Adapter?

Z-Wave Secure Boiler Receiver HRT - doesnt update relay status

Device marked as supported, added to openzwave properly, shown as it should, i can control relay position, but cant see relay status if it change by thermostat.
With vera lite, relay status shown properly, so receiver send it to controller, but when i try to use it with openzwave - i can not see state, openzwave ignore state change

Restart of adapter after calling RefreshNode

  1. Environment:
    1.1. ioBroker in Docker (buanet v3) on Synology
    1.2. node: v8.15.0
    1.3. npm: v6.4.1
    1.4. ioBroker.zwave: v1.5.1
    1.5. openzwave-shared: v1.5.6
    1.5. openzwave: v1.6
    1.6. Actuator:
    1.6.1. Manufacturer: "FIBARO System"
    1.6.2. Product: "FGWPE/F Wall Plug Gen5"
    1.6.3. Type: "On/Off Power Switch"
  2. Steps to reproduce:
    2.1. Open z-wave instance settings dialog ->Devices
    2.2. Find device in list
    2.3. Open commands list ("Select operation")
    2.4. Select "Refresh info"
  3. Actual results
    3.1. Adapter restarted:

2019-08-28 23:01:33.248 - [32minfo[39m: zwave.0 Execute refreshNodeInfo for 23
2019-08-28 23:01:35.260 - [33mwarn[39m: host.iob instance system.adapter.zwave.0 terminated due to SIGSEGV
2019-08-28 23:01:35.260 - [31merror[39m: host.iob instance system.adapter.zwave.0 terminated with code null ()
2019-08-28 23:01:35.260 - [32minfo[39m: host.iob Restart adapter system.adapter.zwave.0 because enabled
2019-08-28 23:02:05.300 - [32minfo[39m: host.iob instance system.adapter.zwave.0 started with pid 6415
2019-08-28 23:02:05.989 - [32minfo[39m: zwave.0 starting. Version 1.5.1 in /opt/iobroker/node_modules/iobroker.zwave, node: v8.16.1

No feedback from the config UI in Admin 3

Buttons correctly set the controller in inclusion mode, etc. but no feedback reaches the admin UI and buttons don't get updated. Because of that, inclusion can only be stopped by restarting the adapter - which can take a long time on large networks.

Eversping SP814

Dear Elias,
I have trouble connecting ever spring sp814 motion sensor to iobroker control with a aeon labs z-stick s2. Here is the log:

zwave.0 2017-02-07 20:31:00.076 info controller command feedback: state: "The command has completed successfully", error: "No error", helpmsg: "ControllerCommand - Completed"
zwave.0 2017-02-07 20:31:00.023 info controller command feedback: state: "The command has failed", error: "No error", helpmsg: "ControllerCommand - Failed"
zwave.0 2017-02-07 20:30:59.362 info controller command feedback: state: "The controller is communicating with the other device to carry out the command", error: "No error", helpmsg: "ControllerCommand - InProgress"

Regards,
Ilya

Cannot delete devices which are not recognized properly

Hi
I have several problems with Nodon Wallswitches. The include process doesn't work properly but this is maybe more a Nodon problem. But now I have about 5 devices in my device list and when I choose delete device from the option list the OK message appears but nothing happens.
Zwave cannot delete device

I'm using a Aeotec ZW090 Gen5 Stick and it works perfect with all other devices and brands.
Zwave Stick

Is there some advice you can give me how to remove them devices?

Thanks and kind regards
Beat

Associations for group

is it possible to assign associations to groups? the fibaro relay has 2 groups of associations, in the adapter it turns out to bind only to the first group. Is there a way to do that would be to bind to the second?
if I run the script #17 . in response, I get this error message:
javascript.0 ReferenceError: group is not defined at Object.sendTo [as cb] (script.js.Z-Wave.associations:5:22) at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3666:71) at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30) at Socket.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20) at Socket.onevent (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:270:10) at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:228:12) at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15) at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20) at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:332:8) at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)

🚩 Certain Object Values Not Updating For Single Node

I've got several z-wave devices successfully included and working with this adapter.

  • Raspi 3
  • Node.js v10.16.3
  • NPM 6.9.0
  • zwave adapter 1.6.1
  • ozw 1.6
  • only one instance

Recently I added a Qubino (Goap) ZMNHDD1 Flush Dimmer

  • ZWave+_Version 1
  • Application_Version 3.01
  • Library_Version 3
  • Protocol_Version 4.24

✔ Inclusion went well
✔ Changing configuration objects in zwave.0.NODE15.CONFIGURATION work as expected
✔ Device can control the attached lamp correctly

For example, if I change dim level
zwave.0.NODE15.SWITCH_MULTILEVEL.Level_1
from 0 to 50, the lamp is getting turned on and dimmed to 50%.

⚠ But there is an issue when changing object values.
If I change object values from
zwave.0.NODE15.SWITCH_MULTILEVEL
the new values are correctly executed (example from above) but the newly entered values does not appear as new values. The object value stays unchanged until I change the object value again. Than the value becomes the number I entered first.

Again example from above:

  • I change zwave.0.NODE15.SWITCH_MULTILEVEL.Level_1 from 0 to 50
  • The lamp turns on and dims with 50%
  • But the value of zwave.0.NODE15.SWITCH_MULTILEVEL.Level_1 does not change to 50 as it should but stays on 0
  • Changing then zwave.0.NODE15.SWITCH_MULTILEVEL.Level_1 from 50 to 75
  • Lamp goes up from 50 to 75% brightness
  • Value of zwave.0.NODE15.SWITCH_MULTILEVEL.Level_1 now becomes 50 instead of expected 75
  • Now changing zwave.0.NODE15.SWITCH_MULTILEVEL.Level_1 from 75 to 0
  • Lamp turns off (75 to 0)
  • Value of zwave.0.NODE15.SWITCH_MULTILEVEL.Level_1 now becomes 75 instead of expected 0

ℹ with every change "last updated" becomes the current time (confirmed: true, quality: ok) even though there are no changes visible for this value

📌 The odd thing is, that this only happens for some objects and only for this one NODE.
Changing objects values from zwave.0.NODE15.CONFIGURATION works as expected and changes are instantly visible.
But some other values - that are read only -, like from zwave.0.NODE15.METER never update them self.

📢 To get the current values for those misbehaving objects, I need to restart the instance.
Only then, current values are pulled and stored in the object.
There is nothing to be found in the logs that would hint to an issue.

ℹ What I've tried:

  • I excluded/re-included the device
  • Completely removed/setup again adapter

ℹ The device works well in Domoticz and Home Assistant.

Any idea what could be wrong or how I could further debug this issue?

Installation geht nicht

Fehler in Konsole:

gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.18.11-v7+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared
gyp ERR! node -v v0.10.22
gyp ERR! node-gyp -v v0.11.0
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the openzwave-shared package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls openzwave-shared
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.18.11-v7+
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.zwave"
npm ERR! cwd /opt/iobroker
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/iobroker/npm-debug.log
npm ERR! not ok code 0

Duplicate entries

I just upgraded to version 1.4.2. As that version changes the regex to also exclude white space I now have lots of duplicate states.
Bildschirmfoto 2019-07-03 um 11 01 51

Do I have to delete the old ones with whitespace?

Adapter not working under Windows 2019

I want to use this Adapter under Windows Server 2019, in the device manager the USB Stick is recognized as COM3. As Devicename in the Adapter I tried COM3 and COM3:, but it isn't working.

Here is my log:

zwave.0 | 2019-09-09 23:03:43.852 | error | at Manager.<anonymous> (C:\Program Files\iobroker\SmartHome\node_modules\component-bind\index.js:21:15)
-- | -- | -- | --
zwave.0 | 2019-09-09 23:03:43.852 | error | at Socket.onpacket (C:\Program Files\iobroker\SmartHome\node_modules\socket.io-client\lib\socket.js:236:12)
zwave.0 | 2019-09-09 23:03:43.852 | error | at Socket.onack (C:\Program Files\iobroker\SmartHome\node_modules\socket.io-client\lib\socket.js:312:9)
zwave.0 | 2019-09-09 23:03:43.852 | error | at Socket.<anonymous> (C:\Program Files\iobroker\SmartHome\node_modules\iobroker.zwave\main.js:117:21)
zwave.0 | 2019-09-09 23:03:43.852 | error | at setAllNotReady (C:\Program Files\iobroker\SmartHome\node_modules\iobroker.zwave\main.js:594:9)
zwave.0 | 2019-09-09 23:03:43.852 | error | at main (C:\Program Files\iobroker\SmartHome\node_modules\iobroker.zwave\main.js:1051:15)
zwave.0 | 2019-09-09 23:03:43.852 | error | at require (internal/modules/cjs/helpers.js:25:18)
zwave.0 | 2019-09-09 23:03:43.852 | error | at Module.require (internal/modules/cjs/loader.js:692:17)
zwave.0 | 2019-09-09 23:03:43.852 | error | at Function.Module._load (internal/modules/cjs/loader.js:562:25)
zwave.0 | 2019-09-09 23:03:43.852 | error | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
zwave.0 | 2019-09-09 23:03:43.852 | error | Error: Cannot find module 'openzwave-shared'
zwave.0 | 2019-09-09 23:03:43.851 | error | uncaught exception: Cannot find module 'openzwave-shared'
zwave.0 | 2019-09-09 23:03:43.764 | info | starting. Version 1.4.2 in C:/Program Files/iobroker/SmartHome/node_modules/iobroker.zwave, node: v10.16.3

Verify Compact mode for your adapter

We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.

Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512

On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.

Thank you for your support.

Bewegungssensoren bleiben hängen

Hallo,

wie angedroht :-) Bei mir bleiben immer wieder einige Bewegungssensoren kleben/hängen. Sie aktualisieren den Status nicht und signalisieren weiter "Bewegung" oder "nicht Bewegung".
Netzwerk ist riesig, an Empfang kann es nicht liegen. Betroffen sind die Typen Aeon Multisensor 6 und das Fibaro Auge (FGMS001-ZW5 Motion Sensor). Fehler tritt aber nicht erst seit dieser Version auf. Weiß leider nicht mehr genau wann es anfing aber an den OZW Update liegt es denke ich nicht.

Adapter 1.6.0 Installation does not work

Hello, the Installation of the last Version 1.6.0. does not work.

`pi@ioBroker-slave:~ $ npm install https://github.com/ioBroker/ioBroker.zwave/tarball/master --production --save --prefix "/opt/iobroker"

[email protected] preinstall /opt/iobroker/node_modules/openzwave-shared
node lib/install-ozw.js

[email protected] preinstall /opt/iobroker/node_modules/iobroker.zwave
node lib/preinstall.js

[email protected] install /opt/iobroker/node_modules/openzwave-shared
node-gyp rebuild

make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird betreten
CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
../src/callbacks.cc: In function ‘void OZW::ozw_watcher_callback(const OpenZWave::Notification*, void*)’:
../src/callbacks.cc:94:26: error: ‘const class OpenZWave::Notification’ has no member named ‘GetCommand’; did you mean ‘GetHomeId’?
notif->command = cb->GetCommand();
^~~~~~~~~~
../src/callbacks.cc:99:8: error: ‘Type_UserAlerts’ is not a member of ‘OpenZWave::Notification’
case OpenZWave::Notification::Type_UserAlerts:
^~~~~~~~~
../src/callbacks.cc:100:31: error: ‘const class OpenZWave::Notification’ has no member named ‘GetUserAlertType’
notif->notification = cb->GetUserAlertType();
^~~~~~~~~~~~~~~~
../src/callbacks.cc: In function ‘void OZW::handleNotification(OZW::NotifInfo*)’:
../src/callbacks.cc:459:8: error: ‘Type_UserAlerts’ is not a member of ‘OpenZWave::Notification’
case OpenZWave::Notification::Type_UserAlerts: {
^~~~~~~~~
../src/callbacks.cc:468:8: error: ‘Type_ManufacturerSpecificDBReady’ is not a member of ‘OpenZWave::Notification’
case OpenZWave::Notification::Type_ManufacturerSpecificDBReady: {
^~~~~~~~~
openzwave_shared.target.mk:136: die Regel für Ziel „Release/obj.target/openzwave_shared/src/callbacks.o“ scheiterte
make: *** [Release/obj.target/openzwave_shared/src/callbacks.o] Fehler 1
make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.19.66-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
gyp ERR! node -v v8.16.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-09-11T09_07_09_214Z-debug.log
`

Installation process is buggy, slow and ineffective

  • installOpenZWave() is called twice: once for installing the iobroker module, and then again for adding a new instance
  • upon the 2nd invocation the 'unzip master.zip' is silently stalling the process (probably because it prompts for file overwriting?) and needs killing
  • we shouldn't need to compile OpenZWave if its already installed!
  • precompiled packages should be used when possible. It takes hours to compile OpenZWave on a Raspberry1 !

Please check ioBroker.zwave with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

ZWave is not working after 1.4 upgrade

After upgrade to version 1.4 ZWave adapter cannot start.
Here is what I see in the log:
host.iobroker 2019-05-06 17:18:06.721 warn instance system.adapter.zwave.0 terminated due to SIGABRT
Caught 2019-05-06 17:18:06.721 error by controller[1]: what(): Manager.cpp:1768 - InvalidValueIDError (101) Msg: Invalid ValueID passed to GetValueLabel
Caught 2019-05-06 17:18:06.720 error by controller[1]: terminate called after throwing an instance of 'OpenZWave::OZWException'
Caught 2019-05-06 17:18:06.719 error by controller[0]: Unhandled OpenZWave notification: 31
zwave.0 2019-05-06 17:18:06.481 info State created: zwave.0.NODE6.THERMOSTAT_MODE.Mode_1 = undefined, index = 0, comClass = 64, instance = 1
Also I noticed that /usr/local/lib/libopenzwave.so.1.6 is added to the lib directory. But it looks like this new library is not used.
pi@iobroker:~ $ ldd -r /opt/iobroker/node_modules/openzwave-shared/build/Release /openzwave_shared.node
says libopenzwave.so.1.4 => /usr/local/lib/libopenzwave.so.1.4

Thanks

libopenzwave.so.1.4 => /usr/local/lib/libopenzwave.so.1.4 (0x76e04000)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.