New Add-on: Open ZWave Control Panel (OZWCP)

Hi Jonathan
I’m running HA on Raspberry pi ver 0.90
I have tried to install you repository for open zwave, but nothing shows - after more than 1 hour waiting!
What am I missing?

Do you mean adding the repository to Hass.io (that should be more or less instant, unless you got the URL wrong) or clicking install from the OZWCP plugin page? If the latter, there should be something in the log on the Hass.io System tab that will give us an idea of what’s happening.

Same for me… had to reinstall hassio from the scratch and now tried to install ozwcp with no success. I can add repository to hassio configuration, but then it does not show on the list of addons available. E.g. only Offcial and Community add-on sections are listed. I tried few time to add/remove and also tried to reinstall hassion from the scratch. Same result. According to hassio documentation it indicates that some repo configuration .json file is not valid…
One more test I did was to add some other irrelevant repositories and same result. So seems there is something broken with custom repos in hassio 0.91.1 itself, perhaps… In each case error siimilar to one below is generated in log:
19-04-07 15:11:47 WARNING (MainThread) [hassio.addons.data] Can’t read /data/addons/git/13861ffc/ozwcp/config.json: required key not provided @ data[‘arch’]. Got None

This is exactly what happened to me
However, I’m still on 0.90, so is not the 0.91 version

The repositoy URL I’m using is:

The odd thing is I don’t see anything on the logs ( no errors no nothing)

Based on this, I’d say the recent issues people are having installing are due to a hassio update, not a Home Assistant update.

That does seem suspicious. Can someone try with Hass.io 154 and let us know? (I’m not in a good position to work on this right at the moment…)

Getting this. On hass.io v. 152

19-04-08 01:45:16 WARNING (MainThread) [hassio.addons.data] Can't read 

/data/addons/git/c9a934d2/ozwcp/config.json:
required key not provided @ data[‘arch’]. Got None

Upgraded to 154, same message

Ahhh, looks like the actual cause was https://github.com/home-assistant/hassio/pull/978, which made a previously-optional field of the config.json required as of Hass.io 151. I’ve added the field in v1.1.1 of the ozwcp add-on. Give it a go!

Is anyone else having issues installing this? I am on HA version 0.96.5, hass.io version 170 and it won’t install. System log:

19-08-09 17:19:34 ERROR (SyncWorker_5) [hassio.docker.addon] Can't build 13861ffc/amd64-addon-ozwcp:1.1.1: The command '/bin/ash -o pipefail -c apk --no-cache --virtual .build-dependencies add       coreutils       eudev-dev       g++       gcc       git       libmicrohttpd-dev       libusb-dev       linux-headers       make       openssl' returned a non-zero code: 74

Thanks for the report! I was able to reproduce and fix the issue. Refresh your add-on store and try again with v1.1.2 of the plugin.

Hi,

I just came across this post and I wanted to thank you for this wonderful add-on.
It helped me to debug an issue with a Neo coolcam motion sensor not reporting correctly in Ha.

thanks to OZWCP I could have a better view on how my Z-wave network works !

I am on Ha 0.97.2 and this works just flawlessly

This is superb! Thank you for your efforts.

I’ve installed it and when running it (adding Z-wave.me stick port and clicking Initialise) I can’t seem to see any nodes…what do I need to do to get the nodes to show?

The log is as follows and I’m not sure if it’s telling me there’s an issue. Is there something in there that’s stopping this working?

2020-02-11 10:28:46.922 Always, OpenZwave Version 1.4.3428 Starting Up
2020-02-11 10:29:11.321 Info, Setting Up Provided Network Key for Secure Communications
2020-02-11 10:29:11.322 Warning, Failed - Network Key Not Set
2020-02-11 10:29:11.322 Info, mgr,     Added driver for controller /dev/serial/by-id/usb-0658_0200-if00
2020-02-11 10:29:11.322 Info,   Opening controller /dev/serial/by-id/usb-0658_0200-if00
2020-02-11 10:29:11.322 Info, Trying to open serial port /dev/serial/by-id/usb-0658_0200-if00 (attempt 1)
2020-02-11 10:29:11.325 Info, Serial port /dev/serial/by-id/usb-0658_0200-if00 opened (attempt 1)
2020-02-11 10:29:11.326 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-02-11 10:29:11.326 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-02-11 10:29:11.326 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-02-11 10:29:11.326 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-02-11 10:29:11.326 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-02-11 10:29:11.326 Detail, 
2020-02-11 10:29:11.326 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-02-11 10:29:11.330 Detail, contrlr,   Received: 0x01, 0x10, 0x01, 0x15, 0x5a, 0x2d, 0x57, 0x61, 0x76, 0x65, 0x20, 0x34, 0x2e, 0x30, 0x35, 0x00, 0x01, 0x97
2020-02-11 10:29:11.330 Detail, 
2020-02-11 10:29:11.330 Info, contrlr, Received reply to FUNC_ID_ZW_GET_VERSION:
2020-02-11 10:29:11.330 Info, contrlr,     Static Controller library, version Z-Wave 4.05
2020-02-11 10:29:11.330 Detail, Node045,   Expected reply was received
2020-02-11 10:29:11.330 Detail, Node045,   Message transaction complete
2020-02-11 10:29:11.330 Detail, 
2020-02-11 10:29:11.330 Detail, contrlr, Removing current message
2020-02-11 10:29:11.331 Detail, 
2020-02-11 10:29:11.331 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-02-11 10:29:11.332 Detail, Unsolicited message received while waiting for ACK.
2020-02-11 10:29:11.334 Detail, contrlr,   Received: 0x01, 0x08, 0x01, 0x20, 0xde, 0xb1, 0x7c, 0x01, 0xf0, 0x01
2020-02-11 10:29:11.334 Warning, contrlr, WARNING: Checksum incorrect - sending NAK
2020-02-11 10:29:11.334 Detail, Unsolicited message received while waiting for ACK.
2020-02-11 10:29:11.835 Warning, WARNING: 500ms passed without reading the rest of the frame...aborting frame read
2020-02-11 10:29:11.835 Warning, WARNING: Out of frame flow! (0xb1).  Sending NAK.
2020-02-11 10:29:11.835 Detail, Unsolicited message received while waiting for ACK.
2020-02-11 10:29:11.836 Detail, contrlr,   Received: 0x01, 0x08, 0x01, 0x20, 0xde, 0xb1, 0x7c, 0x34, 0x01, 0xf0
2020-02-11 10:29:11.836 Detail, 
2020-02-11 10:29:11.836 Info, contrlr, Received reply to FUNC_ID_ZW_MEMORY_GET_ID. Home ID = 0xdeb17c34.  Our node ID = 1
2020-02-11 10:29:11.836 Detail, Node177,   Expected reply was received
2020-02-11 10:29:11.836 Detail, Node177,   Message transaction complete
2020-02-11 10:29:11.836 Detail, 
2020-02-11 10:29:11.836 Detail, contrlr, Removing current message
2020-02-11 10:29:11.836 Detail, 
2020-02-11 10:29:11.836 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-02-11 10:29:11.838 Detail, Unsolicited message received while waiting for ACK.
2020-02-11 10:29:11.838 Detail, contrlr,   Received: 0x01, 0x04, 0x01, 0x05, 0x08, 0xf7
2020-02-11 10:29:11.838 Detail, 
2020-02-11 10:29:11.838 Info, contrlr, Received reply to FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES:
2020-02-11 10:29:11.838 Info, contrlr,     There is no SUC ID Server (SIS) in this network.
2020-02-11 10:29:11.838 Info, contrlr,     The PC controller is a primary controller.
2020-02-11 10:29:11.838 Detail, Node247,   Expected reply was received
2020-02-11 10:29:11.839 Detail, Node247,   Message transaction complete
2020-02-11 10:29:11.839 Detail, 
2020-02-11 10:29:11.839 Detail, contrlr, Removing current message
2020-02-11 10:29:11.839 Detail, 
2020-02-11 10:29:11.839 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-02-11 10:29:11.840 Detail, Unsolicited message received while waiting for ACK.
2020-02-11 10:29:11.847 Detail, contrlr,   Received: 0x01, 0x2b, 0x01, 0x07, 0x05, 0x15, 0x04, 0x00, 0xcf, 0x1f, 0x00, 0x00, 0xfb, 0x9f, 0x7d, 0xa0, 0x67, 0x01, 0x2b, 0x01, 0x07, 0x05, 0x15, 0x04, 0x00, 0x00, 0x01, 0xfe, 0x9f, 0x7d, 0xa0, 0x67, 0x80, 0x00, 0x00, 0x00, 0x00, 0xe8, 0x73, 0x0e, 0x00, 0x1a, 0x00, 0x0d, 0x06
2020-02-11 10:29:11.847 Warning, contrlr, WARNING: Checksum incorrect - sending NAK
2020-02-11 10:29:11.847 Warning, WARNING: Out of frame flow! (0x88).  Sending NAK.
2020-02-11 10:29:11.847 Warning, WARNING: Out of frame flow! (0x88).  Sending NAK.
2020-02-11 10:29:11.848 Warning, WARNING: Out of frame flow! (0x80).  Sending NAK.
2020-02-11 10:29:11.848 Warning, WARNING: Out of frame flow! (0x00).  Sending NAK.
2020-02-11 10:29:11.848 Warning, WARNING: Out of frame flow! (0x00).  Sending NAK.
2020-02-11 10:29:11.849 Detail, Unsolicited message received while waiting for ACK.
2020-02-11 10:29:12.350 Warning, WARNING: 500ms passed without reading the rest of the frame...aborting frame read
2020-02-11 10:29:12.350 Detail, Unsolicited message received while waiting for ACK.
2020-02-11 10:29:12.350 Detail, contrlr,   Received: 0x01, 0x07, 0x05, 0x15, 0x04, 0xfe, 0x83, 0xff, 0x88
2020-02-11 10:29:12.350 Warning, contrlr, WARNING: Checksum incorrect - sending NAK
2020-02-11 10:29:13.350 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-02-11 10:29:13.351 Detail, contrlr, Removing current message
2020-02-11 10:29:13.351 Detail, contrlr, Notification: Notification - TimeOut
2020-02-11 10:29:13.351 Info, Notification: Notification home deb17c34 node 255 Timeout
2020-02-11 10:29:13.351 Detail, 
2020-02-11 10:29:13.351 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-02-11 10:29:13.353 Warning, WARNING: Out of frame flow! (0x00).  Sending NAK.
2020-02-11 10:29:13.354 Warning, WARNING: Out of frame flow! (0xac).  Sending NAK.
2020-02-11 10:29:13.855 Warning, WARNING: 500ms passed without reading the rest of the frame...aborting frame read
2020-02-11 10:29:13.855 Warning, WARNING: Out of frame flow! (0x00).  Sending NAK.
2020-02-11 10:29:23.352 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-02-11 10:29:23.353 Detail, contrlr, Removing current message
2020-02-11 10:29:23.353 Detail, contrlr, Notification: Notification - TimeOut
2020-02-11 10:29:23.353 Info, Notification: Notification home deb17c34 node 255 Timeout

Many thanks

Error messge is self explaining…you did not setup network key for your network

Ah ok. Thank you for the clarification - I’m not too technical so the log isn’t easy to understand - I’ve never had a problem without a z-wave network key and I can’t find any instructions in this post saying that I need to set it (I may be mistaken). I’ll look around and work out what I need to do to set one and try again. Thanks again for your help.

I added a network key per the instructions at https://www.home-assistant.io/docs/z-wave/installation/, rebooted and tried again but I get the same message in the log saying that the network key is not set. Any guidance on what to try next would be much appreciated. Thanks.

U just set the network key in the add-on configuration not 8n configuration.yaml

Ok, but it’s just not obvious if you don’t know. I’ve added the below to the Config field (in the same way as the main z-wave instructions) in the add on but now it doesn’t even run. I can’t find any instructions to confirm where I’m putting the key and in what format so am feeling slightly lost. Your support is appreciated but you’re clearly a lot more knowledgeable than I am!

zwave:
  network_key: >-
    0x00, 0x40, 0x54, 0xaa, 0x58, 0xd3, 0x39, 0x5b, 0xb8, 0x78, 0x1d, 0xdd,
    0x64, 0xa2, 0x42, 0x86

I’ll install the add-on and test for you

When attempting to install the add-on with the latest version of Hass, I am getting the following error:

20-05-01 00:07:01 ERROR (SyncWorker_15) [supervisor.docker.addon] Can't build 13861ffc/amd64-addon-ozwcp:1.1.2: The command '/bin/ash -o pipefail -c git clone $OPENZWAVE_REPO open-zwave' returned a non-zero code: 128

Running Hass inside of a docker container on a Synology NAS