I am trying to make u.wave.me USB stick work in HomeAssistant in docker.
I have create docker compose for zjs server as follows:
services:
zwavejs:
container_name: zjs
image: kpine/zwave-js-server:latest
restart: unless-stopped
environment:
S2_ACCESS_CONTROL_KEY: "7764841BC794A54442E324682A550CEF"
S2_AUTHENTICATED_KEY: "66EA86F088FFD6D7497E0B32BC0C8B99"
S2_UNAUTHENTICATED_KEY: "2FAB1A27E19AE9C7CC6D18ACEB90C357"
S0_LEGACY_KEY: "17DFB0C1BED4CABFF54E4B5375E257B3"
LOGLEVEL: silly
devices:
- '/dev/ttyACM0:/dev/zwave'
volumes:
- ./cache:/cache
ports:
- '3000:3000'
docker is created and is running ok, log shows that stick is recognized and zjs can be accessed from HomeAssistant
2022-05-03T10:32:06.876Z CNTRLR [Node 001] The node is alive.
2022-05-03T10:32:06.877Z CNTRLR [Node 001] The node is ready to be used
2022-05-03T10:32:06.878Z CNTRLR All nodes are ready to be used
ZwaveJS server listening on 0.0.0.0:3000
DNS Service Discovery enabled
New client
Client disconnected
Code 1000:
New client
but I am unable to add any z-wave device, I trigger adding the device, USB stick starts to blink red, but when device is put in inclusion mode nothing happends:
2022-05-03T10:42:10.675Z CNTRLR Starting inclusion process with strategy Default...
2022-05-03T10:42:10.686Z SERIAL » 0x0105004ac10574 (7 bytes)
2022-05-03T10:42:10.687Z DRIVER » [REQ] [AddNodeToNetwork]
payload: 0xc105
2022-05-03T10:42:10.691Z SERIAL « [ACK] (0x06)
2022-05-03T10:42:10.693Z SERIAL « 0x0107004a05010000b6 (9 bytes)
2022-05-03T10:42:10.694Z SERIAL » [ACK] (0x06)
2022-05-03T10:42:10.695Z DRIVER « [REQ] [AddNodeToNetwork]
payload: 0x05010000
2022-05-03T10:42:10.700Z CNTRLR The controller is now ready to add nodes
2022-05-03T10:43:40.673Z CNTRLR stopping inclusion process...
Same device (tried 3 different devices) is correctly recognized and added to Zipato Zipabox, that I am trying to migrate from.
Any help please why stick is not recognizing any device?
Thanx,
D
Z-Wave JS in docker with USB stick not recognizing any z-wave devices
Re: Z-Wave JS in docker with USB stick not recognizing any z-wave devices
Just a quick question, did you exclude the devices when moving from Zipato?
Best regards
Nico
Best regards
Nico
Re: Z-Wave JS in docker with USB stick not recognizing any z-wave devices
Yes,
In zipato GUI I execute Add Device / Z-Wave which triggers exclusion process initially for device.
Device dissaperas from devices list so it was excluded and remobved from controller.
It is a bit strange as it looks like zipato execute exclusion / inclusion process always when adding new device.
looking on w-wave js log there in no acitivty triggered whatsover. stick is blinking blue, i trigger device inclusion on the device but nothing happends.
I excuted script to switch stick to EU but nothing changed
also I tried resetting the stick with "echo -ne "\x01\x04\x00\x42\x01\xB8" > /dev/ttyACM0" but no change
is there anythig special thazt stickl requires as USB 3.0 controller or cable ?
Regards,
Dino
In zipato GUI I execute Add Device / Z-Wave which triggers exclusion process initially for device.
Device dissaperas from devices list so it was excluded and remobved from controller.
It is a bit strange as it looks like zipato execute exclusion / inclusion process always when adding new device.
looking on w-wave js log there in no acitivty triggered whatsover. stick is blinking blue, i trigger device inclusion on the device but nothing happends.
I excuted script to switch stick to EU but nothing changed
also I tried resetting the stick with "echo -ne "\x01\x04\x00\x42\x01\xB8" > /dev/ttyACM0" but no change
is there anythig special thazt stickl requires as USB 3.0 controller or cable ?
Regards,
Dino
Re: Z-Wave JS in docker with USB stick not recognizing any z-wave devices
I tried multiple approaches but nothing seems to work.
i am doing it as follows. Start Add new device on Zipato GUI. this triggers first device exclusion, after exclusion is done, I stop the process and move to zwave JS (i installed ZWAVE JS MQTT version as it hase more detailed GUI)
I start device inclusion, USB stick starts blinking blue.
I execute inclusion on the device, and after a few seconds I am getting Inclusion failed error
this is the only log that i am getting:
2022-05-04T11:23:46.429Z CNTRLR Starting inclusion process with strategy Insecure...
2022-05-04T11:23:46.434Z SERIAL » 0x0105004ac10677 (7 bytes)
2022-05-04T11:23:46.435Z DRIVER » [REQ] [AddNodeToNetwork]
payload: 0xc106
2022-05-04T11:23:46.436Z SERIAL « [ACK] (0x06)
2022-05-04T11:23:46.438Z SERIAL « 0x0107004a06010000b5 (9 bytes)
2022-05-04T11:23:46.439Z SERIAL » [ACK] (0x06)
2022-05-04T11:23:46.439Z DRIVER « [REQ] [AddNodeToNetwork]
payload: 0x06010000
2022-05-04T11:23:46.443Z CNTRLR The controller is now ready to add nodes
2022-05-04T11:23:52.156Z SERIAL « 0x0107004a06020000b6 (9 bytes)
2022-05-04T11:23:52.157Z SERIAL » [ACK] (0x06)
2022-05-04T11:23:52.157Z DRIVER « [REQ] [AddNodeToNetwork]
payload: 0x06020000
2022-05-04T11:23:52.158Z DRIVER handling request AddNodeToNetwork (74)
2022-05-04T11:23:52.158Z DRIVER 1 handler registered!
2022-05-04T11:23:52.158Z DRIVER invoking handler #0
2022-05-04T11:23:52.159Z CNTRLR handling add node request (status = NodeFound)
2022-05-04T11:23:55.329Z SERIAL « 0x0107004a06070000b3 (9 bytes)
2022-05-04T11:23:55.330Z SERIAL » [ACK] (0x06)
2022-05-04T11:23:55.331Z DRIVER « [REQ] [AddNodeToNetwork]
payload: 0x06070000
2022-05-04T11:23:55.332Z DRIVER handling request AddNodeToNetwork (74)
2022-05-04T11:23:55.332Z DRIVER 1 handler registered!
2022-05-04T11:23:55.332Z DRIVER invoking handler #0
2022-05-04T11:23:55.332Z CNTRLR handling add node request (status = Failed)
2022-05-04T11:23:55.332Z CNTRLR Adding the node failed
2022-05-04T11:23:55.333Z CNTRLR stopping inclusion process...
i am doing it as follows. Start Add new device on Zipato GUI. this triggers first device exclusion, after exclusion is done, I stop the process and move to zwave JS (i installed ZWAVE JS MQTT version as it hase more detailed GUI)
I start device inclusion, USB stick starts blinking blue.
I execute inclusion on the device, and after a few seconds I am getting Inclusion failed error
this is the only log that i am getting:
2022-05-04T11:23:46.429Z CNTRLR Starting inclusion process with strategy Insecure...
2022-05-04T11:23:46.434Z SERIAL » 0x0105004ac10677 (7 bytes)
2022-05-04T11:23:46.435Z DRIVER » [REQ] [AddNodeToNetwork]
payload: 0xc106
2022-05-04T11:23:46.436Z SERIAL « [ACK] (0x06)
2022-05-04T11:23:46.438Z SERIAL « 0x0107004a06010000b5 (9 bytes)
2022-05-04T11:23:46.439Z SERIAL » [ACK] (0x06)
2022-05-04T11:23:46.439Z DRIVER « [REQ] [AddNodeToNetwork]
payload: 0x06010000
2022-05-04T11:23:46.443Z CNTRLR The controller is now ready to add nodes
2022-05-04T11:23:52.156Z SERIAL « 0x0107004a06020000b6 (9 bytes)
2022-05-04T11:23:52.157Z SERIAL » [ACK] (0x06)
2022-05-04T11:23:52.157Z DRIVER « [REQ] [AddNodeToNetwork]
payload: 0x06020000
2022-05-04T11:23:52.158Z DRIVER handling request AddNodeToNetwork (74)
2022-05-04T11:23:52.158Z DRIVER 1 handler registered!
2022-05-04T11:23:52.158Z DRIVER invoking handler #0
2022-05-04T11:23:52.159Z CNTRLR handling add node request (status = NodeFound)
2022-05-04T11:23:55.329Z SERIAL « 0x0107004a06070000b3 (9 bytes)
2022-05-04T11:23:55.330Z SERIAL » [ACK] (0x06)
2022-05-04T11:23:55.331Z DRIVER « [REQ] [AddNodeToNetwork]
payload: 0x06070000
2022-05-04T11:23:55.332Z DRIVER handling request AddNodeToNetwork (74)
2022-05-04T11:23:55.332Z DRIVER 1 handler registered!
2022-05-04T11:23:55.332Z DRIVER invoking handler #0
2022-05-04T11:23:55.332Z CNTRLR handling add node request (status = Failed)
2022-05-04T11:23:55.332Z CNTRLR Adding the node failed
2022-05-04T11:23:55.333Z CNTRLR stopping inclusion process...
Re: Z-Wave JS in docker with USB stick not recognizing any z-wave devices
Did you try to exclude it with HA?
Or use a new device?
Or use a new device?