zwave-js-ui which security do i need

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
Gravityz
Posts: 587
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

zwave-js-ui which security do i need

Post by Gravityz »

Hello,
all my current devices at the moment do not use secure inclusion.
when i look in the aeotec stick i see a network key.

what do i need to fill in in zwave-js-ui because i see S0 S2 or do i not need to select anything when the current devices are not included secure

i get the error that a device is detected which supports S0 but that no network key is provided
User avatar
waltervl
Posts: 5735
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: zwave-js-ui which security do i need

Post by waltervl »

Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
eSbek
Posts: 20
Joined: Saturday 20 April 2019 14:03
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: zwave-js-ui which security do i need

Post by eSbek »

these manuals are not obvious, everythnig I did to set up my zwavejsui was trial and error...
(also the command to start zwavejsui didnt work on my Rpi, I had to modify the command I used for zwavejs2mqtt to have persistent configuration)

Get the key from Domoticz (mine was just "0102030405060708090A0B0C0D0E0F10") and enter as S2 Unauthenticated.
I'm not sure why it was so difficult to put it in the manual. For the remaining I just pressed the generation button fpr curiosity and left like that (I dont use them).
Gravityz
Posts: 587
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: zwave-js-ui which security do i need

Post by Gravityz »

thanks @eSbek

my zwave is running stable for years now.
i am playing around with zwave-js-ui until there is a vaild reason to switch over.(something in zwave breaks down or stops working)

i have a total of 18 domoticz devices(switches,watt,kWh, temperature,PIR)

i do not think firmware upgrades are working on fibaro/qubino devices which would be nice to have
dmtcaz
Posts: 5
Joined: Monday 02 October 2017 22:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Netherlands

Re: zwave-js-ui which security do i need

Post by dmtcaz »

eSbek wrote: Saturday 10 December 2022 10:08 these manuals are not obvious, everythnig I did to set up my zwavejsui was trial and error...
(also the command to start zwavejsui didnt work on my Rpi, I had to modify the command I used for zwavejs2mqtt to have persistent configuration)

Get the key from Domoticz (mine was just "0102030405060708090A0B0C0D0E0F10") and enter as S2 Unauthenticated.
I'm not sure why it was so difficult to put it in the manual. For the remaining I just pressed the generation button fpr curiosity and left like that (I dont use them).
It might be that I have a similar issue. Where can I find this security key?
I use Aeotec GEN5 Zwave stick, RPi3 Buster, updated Domoticz to 2022.2 and from OZW to Zwave-js-ui, this last one works (finally after many evenings of trial and error and fights with docker) and enables me to switch lights on/off for example through the web interface at port 8091. However I cannot do that from Domoticz: "Error sending switch command". I presume there is some authentication problem in the communication from Domoticz to Z-wave-JS-UI. The MQTT AD works and MQTT Client also. MQTT version is 1.5.7 and I have already added the mqtt conf with listener 1993 and allow_anonymous true. Suggestions?
I run Domoticz as a service on a RPi3B armv7 Buster
Z-wave (Aeotec GEN5 usb-stick), Hue, Mqtt, loads of switches, lights, and sensors.
Everspring, Fibaro, Qubino.
Gravityz
Posts: 587
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: zwave-js-ui which security do i need

Post by Gravityz »

regarding your MQTT config
i think 1.5.7 is still old version which should work without the listener and the allow anonymous

1993 is a typo right, this needs to be 1883

not sure if you have an MQTT problem.

my Toke MQTT config( 1 think 1.5.x)

Code: Select all

# Place your local configuration in /mqtt/config/conf.d/

pid_file /var/run/mosquitto.pid

persistence true
persistence_location /mqtt/data/
user mosquitto
# Port to use for the default listener.
port 1883
log_dest file /mqtt/log/mosquitto.log
log_dest stdout

#include_dir /mqtt/config/conf.d
my eclipse 1.6.9 config

Code: Select all

persistence true
persistence_location /mosquitto/data
log_dest file /mosquitto/log/mosquitto.log
#password_file /mosquitto/config/pwfile
allow_anonymous true
listener 1883 192.168.1.50
#protocol websockets
#log_dest stdout
#log_type all
my eclipse 2.0.15 config (2.x is a pain to get working)

Code: Select all

log_timestamp true
log_timestamp_format %d-%m-%YT%H:%M:%S
persistence true
persistence_location /mosquitto/data
log_dest file /mosquitto/log/mosquitto.log
#password_file /mosquitto/config/pwfile
allow_anonymous true
listener 1883 192.168.1.50
#protocol websockets
#log_dest stdout
#log_type all
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest