Indeed, 2 different UIDās, different wireless networksā¦ Reason is that Iāve got a house, and a studio, about 30m from each other, with very bad bricks for wireless signals. But for several years, this is working fine.
- Stick 1: 30038385
- Stick 2: 2f4ef5d0
After restarting/cleaning/ā¦ my setup from before (same hardware, just different virtual machine), 1 stick came online. I just now restarted openhab on this machine, and both sticks are back offline. grrrr, getting crazy about this, very unreliablyā¦
Trying the ser2net workaround:
cat /etc/ser2net.yaml
connection: &con0096
accepter: tcp,3001
enable: on
options:
kickolduser: true
connector: serialdev,/dev/ttyACM0,115200n81,local
connection: &con1096
accepter: tcp,3002
enable: on
options:
kickolduser: true
connector: serialdev,/dev/ttyACM1,115200n81,local
systemctl status ser2net
ā ser2net.service - Serial port to network proxy
Loaded: loaded (/lib/systemd/system/ser2net.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2021-07-22 08:11:05 CEST; 3s ago
Docs: man:ser2net(8)
Main PID: 6202 (ser2net)
Tasks: 1 (limit: 19105)
Memory: 1.0M
CGroup: /system.slice/ser2net.service
āā6202 /usr/sbin/ser2net -n -c /etc/ser2net.yaml -P /run/ser2net.pid
Jul 22 08:11:05 doornroosje systemd[1]: Starting Serial port to network proxy...
Jul 22 08:11:05 doornroosje systemd[1]: Started Serial port to network proxy.
netstat -apn | grep ser2net
tcp6 0 0 :::3001 :::* LISTEN 6202/ser2net
tcp6 0 0 :::3002 :::* LISTEN 6202/ser2net
unix 3 [ ] STREAM CONNECTED 1137419 6202/ser2net
unix 3 [ ] STREAM CONNECTED 1137417 6202/ser2net
telnet 127.0.0.1 3001
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
1"ļæ½
1"ļæ½
1"ļæ½
1"ļæ½
Configuration in paperUI for the serial port on stick 1:
rfc2217://127.0.0.1:3001
Configuration in paperUI for the serial port on stick 2:
rfc2217://127.0.0.1:3002
And the output of some logs:
2021-07-22 08:28:14.651 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Disposing receive thread
2021-07-22 08:28:14.652 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Receive thread dispose
2021-07-22 08:28:14.653 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Disposing serial connection
2021-07-22 08:28:14.656 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Serial connection disposed
2021-07-22 08:28:14.657 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler
2021-07-22 08:28:14.660 [DEBUG] [ve.internal.protocol.ZWaveController] - Shutting down ZWave controller
2021-07-22 08:28:14.661 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Shutting down transaction manager
2021-07-22 08:28:14.664 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Exiting ZWave Receive Thread
2021-07-22 08:28:14.665 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction manager shutdown
2021-07-22 08:28:14.666 [DEBUG] [ve.internal.protocol.ZWaveController] - ZWave controller shutdown
2021-07-22 08:28:14.667 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2021-07-22 08:28:14.668 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:30038385.
2021-07-22 08:28:14.885 [DEBUG] [g.zwave.internal.ZWaveConfigProvider] - No bridgeUID found in getConfigDescription thing:zwave:serial_zstick:30038385
2021-07-22 08:28:15.718 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 0C 00 04 00 49 06 31 05 01 22 00 EA 45
2021-07-22 08:28:15.724 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=ApplicationCommandHandler[4], type=Request[0], dest=73, callback=0, payload=00 49 06 31 05 01 22 00 EA
2021-07-22 08:28:15.727 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=ApplicationCommandHandler[4], type=Request[0], dest=73, callback=0, payload=00 49 06 31 05 01 22 00 EA
2021-07-22 08:28:15.728 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2021-07-22 08:28:15.729 [WARN ] [nal.protocol.ZWaveTransactionManager] - NODE 73: Not initialized (ie node unknown), ignoring message.
2021-07-22 08:28:15.729 [DEBUG] [nal.protocol.ZWaveTransactionManager] - ZWaveReceiveThread queue empty
PaperUI
Iāve also removed the sticks from paperUI, and recreated them with the same UID, but no luck.
Any suggestion is welcome.