Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ser2net not working works after like 10 to 20 minutes sometimes #7595

Open
3 tasks done
blair287 opened this issue Jan 28, 2025 · 6 comments
Open
3 tasks done

ser2net not working works after like 10 to 20 minutes sometimes #7595

blair287 opened this issue Jan 28, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@blair287
Copy link

blair287 commented Jan 28, 2025

Checklist

  • I am not using Home Assistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem is not mentioned there.

Deploy method

Home Assistant Add-on

Z-Wave JS UI version

9.29.1

ZwaveJS version

14.3.7

Describe the bug

I am using ser2net to host my zwave stick im also doing the same for zigbee.

zigbee is working fine HA ZHA connect to it everytime first time no 1 issue.

however zwave js ui will not connect but will sometimes after a long while.

port: con01
accepter: tcp,20108
enable state: on
timeout: 0
connected to: ipv6,::ffff:192.168.1.31,34080
bytes read from TCP: 26441
bytes written to TCP: 59188
device: serialdev, /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2151441-if00, 115200n81,nobreak,local
device config: 115200N81,CLOCAL
device controls: RTSHI,DTRHI
tcp to device state: waiting output
device to tcp state: waiting output
bytes read from device: 58990
bytes written to device: 26441
port: con02
accepter: tcp,20208
enable state: on
timeout: 0
device: serialdev, /dev/serial/by-id/usb-Zooz_800_Z-Wave_Stick_533D004242-if00, 115200n81,nobreak,local
device config: 115200N81,CLOCAL
tcp to device state: waiting input
device to tcp state: waiting input
bytes read from device: 0
bytes written to device: 0

this is ser2net you can see there is a connection made for the zigbee stick but no connection to the zwave stick

Image

zwave shows driver failed to initialize. Sometimes with random rebooting of zwave js ui and the ser2net pi or just waiting for a long while it will connect and then work ok until the connection is stopped again either by the pi with ser2net rebooting or zwave js ui addon restarting.

To Reproduce

connect zwave controller via ser2net

Expected behavior

to connect

Additional context

No response

@blair287 blair287 added the bug Something isn't working label Jan 28, 2025
@cofw2005
Copy link

cofw2005 commented Feb 1, 2025

I had similar issue. Also run zigbee and z-wave over ser2net.
But I used the Home Assistant add-on Z-wave JS UI. Since version 3.17.0 of the add-on, I could no longer initiate Z-Wave any more with ser2net. I see you said you only have problem sometimes, but for me completely cannot start.
I tried 3.18.0 and 3.19.0, all with same issue.

So today I gave up waiting, no one was working on the problem. I changed setup. I installed Z-Wave JS UI directly on my raspberry pi 4 which connected the USB stick and ran the ser2net. Z-wave JS UI with serial port directly connected has no problem.
And I removed the add-on from Home Assistant OS, let the Z-Wave integration directly access the 3000 port of my pi.
This is only possible work around.

@blair287
Copy link
Author

blair287 commented Feb 2, 2025

I had similar issue. Also run zigbee and z-wave over ser2net. But I used the Home Assistant add-on Z-wave JS UI. Since version 3.17.0 of the add-on, I could no longer initiate Z-Wave any more with ser2net. I see you said you only have problem sometimes, but for me completely cannot start. I tried 3.18.0 and 3.19.0, all with same issue.

So today I gave up waiting, no one was working on the problem. I changed setup. I installed Z-Wave JS UI directly on my raspberry pi 4 which connected the USB stick and ran the ser2net. Z-wave JS UI with serial port directly connected has no problem. And I removed the add-on from Home Assistant OS, let the Z-Wave integration directly access the 3000 port of my pi. This is only possible work around.

Downside is it won't get backed up in the HA backups this way. I'm glad it's not just me then with this issue.

I have no idea how to roll back to 3.17 to test if it solves my issue.

@blair287
Copy link
Author

blair287 commented Feb 2, 2025

I had similar issue. Also run zigbee and z-wave over ser2net. But I used the Home Assistant add-on Z-wave JS UI. Since version 3.17.0 of the add-on, I could no longer initiate Z-Wave any more with ser2net. I see you said you only have problem sometimes, but for me completely cannot start. I tried 3.18.0 and 3.19.0, all with same issue.

So today I gave up waiting, no one was working on the problem. I changed setup. I installed Z-Wave JS UI directly on my raspberry pi 4 which connected the USB stick and ran the ser2net. Z-wave JS UI with serial port directly connected has no problem. And I removed the add-on from Home Assistant OS, let the Z-Wave integration directly access the 3000 port of my pi. This is only possible work around.

Mines stopped working completely now.

When you moved it to the pi did you need to reset up the integration is got 38 devices and I don't want to have to rename them all will take ages but fed up with the lack of any support or acknowledgment on this issue I guess ser2net is no longer an option.

@cofw2005
Copy link

cofw2005 commented Feb 2, 2025

I had that worry too. Luckily after new Zwave js ui started, the integration ran without impact.

@cofw2005
Copy link

cofw2005 commented Feb 2, 2025

I had similar issue. Also run zigbee and z-wave over ser2net. But I used the Home Assistant add-on Z-wave JS UI. Since version 3.17.0 of the add-on, I could no longer initiate Z-Wave any more with ser2net. I see you said you only have problem sometimes, but for me completely cannot start. I tried 3.18.0 and 3.19.0, all with same issue.
So today I gave up waiting, no one was working on the problem. I changed setup. I installed Z-Wave JS UI directly on my raspberry pi 4 which connected the USB stick and ran the ser2net. Z-wave JS UI with serial port directly connected has no problem. And I removed the add-on from Home Assistant OS, let the Z-Wave integration directly access the 3000 port of my pi. This is only possible work around.

Downside is it won't get backed up in the HA backups this way. I'm glad it's not just me then with this issue.

I have no idea how to roll back to 3.17 to test if it solves my issue.

My last working version is 3.16.1. You can redownload add-on and select a specific version. But then the home assistant version must also be downgraded. I think 2024.10.x support z-wave 3.16.

@robertsLando robertsLando transferred this issue from zwave-js/zwave-js-ui Feb 3, 2025
@AlCalzone
Copy link
Member

Please make a driver log, loglevel debug and attach it here as a file (drag & drop into the text field).

Please also share your ser2net config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants