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
[question] ZwaveJS2MQTT looses connection to controller #2081
Comments
I just found something about softreset that was implemented short time ago. And I see the new setting: Soft Reset. That can me disabled. The info there: |
I seem to be having the same issue and was about to open an issue myself. Devices just randomly stop responding, mostly some of the binary switches and locks. I haven't been able to find anything in the debug logs and a restart of the container seems to solve it. I did disable soft reset but just a bit ago I was having the issue again and notice it was re-enabled. I've been really dumbfounded by this issue the last week or so. |
@baahver What z stick do you have? I have the Aeotec Z-Stick 7, just looking for some sort of correlation. |
I have EXACT same issues, I have Aeotec Gen 5, this started occurring around the time the below update might have occurred, other notes: I can most often see neighbors but at some point they go away. |
@doug62 do you have soft reset enabled? |
@geekofweek - I have that enabled, the description for that feature is vague so not sure what it would acheive/affect - thoughts? |
Same issue here with Aeotec Z-Stick 7. Ready to diagnose if someone can tell me what to try. |
I have an Aeotec Gen 5, disabling SoftReset seems to work. This morning it was still working. |
@doug62 agreed what it does seems vague but I know it can cause issues within a container. I disabled it to see if I still have the issue. |
@geekofweek Did you forgot to hit the save button ;) |
Hi, yes there's an issue with the 700 series. There's a pinned post on it in the issue tracker of zwavejs. |
Are you sure this is related to: AEON Labs | Z‐Stick Gen5 USB Controller | ZW090 | Z-Stick Gen5 too? |
I think it could be due to soft reset, try to disable soft reset from zwave options |
That is what I said and have done already. Till now disabling SoftReset does work. |
Yeah that was for the other user :) Some sticks simply don't like the soft reset on startup (even if it's defined in specs), disabling it doesn't cause so much problems, in order to fix it you should check if you arte using serial by id path for the controller and not path like /dev/ttyACM0 |
I'm using /dev/serial/by-id/usb-0658_0200-if00 |
@baahver unfortunally I don't know, it also could be something docker related as docker does some things to map the devices to the container, the softreset causes a temporary disconnection from the device and this could be the reason why docker looses the reference to it and cannot connect again. |
Would it be a solution to start zwavejs2mqtt directly as packaged version? like:
I copied the content of my ealier config to store folder. And start zwavejs2mqtt. Everything runs well. |
@baahver I usually use pm2, but you could also create a custom systemd service --> https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6 Just use |
I use pkg version now. And will see of the problems exist when I enable SoftReset.
I've set a logrotate in this log file. |
Had the same problem occur even with Soft Reset disabled. Up until about 2 weeks ago it was pretty stable, never had this issue appear so it seems fairly recent that it started happening. Problem only seems to impact a handful of devices. Motion sensors don't seem impacted, it's primarily some of the switches and door locks impacted. I'm to the point of setting up a cron to restart the container every so many hours as that seems to solve it. |
I have exactly the same, it has driving me nuts. I did migrate from the old legacy 1.4 and I have fixed a few issues but this one I haven´t a clue. i have the z-stick gen5 and started with the fw 1.0 but have upgraded to 1.2. the soft reset doesn´t makes any different and the weird thing is that in the log it always state if it´s enabled that the stick doesn´t support it. 2021-12-19T23:25:01.238Z DRIVER Soft reset is enabled through config, but this stick does not support it. running enviroment: Virtualbox and HA operation system. And as others say, it seems to only affect switches but motion sensor is working. |
@Beinhard Can we clarify/revisit your statement "And as others say, it seems to only affect switches but motion sensor is working." - Can you try to manually change the state of a switch at the switch and then notice that it does update on HA? I'm noticing that devices can send to HA but that HA can't control them. |
Is it possible for anyone of you with a problem, to update to the release with |
In my case I can't control them via the ZwavejstoMQTT dashboard either, I can toggle the switch but nothing happens. Same via HA, although HA I toggle the switch and it will just toggle it back to the same position it was in. If it was On it will toggle back On, if Off toggle back Off. @jmgiaever I switched to the master branch a few mins ago and will test if that solves anything. |
It was a problem few version ago. I had the same. Needed to restart and sometimes unplug to get it to send commands. |
I was using: |
Have we got any verification if beta 3 fix the issue? As I using the HA addon with zwave-js: 8.9.0-beta.1 I have problem to test master branch. what I can say is that my setup was working now for around 26h until it breaked so pretty random when it’s happen. |
@Beinhard so far mine has been stable for 2 days since going to beta-3. I can't say 100% but it looks promising thus far. |
No it is not stable. But much better than beta1. Mine was okay for almost 24 hours, but I just noticed that it was not working any
SoftReset setting disabled in Z2M - settings - Zwave. Because this switch was earlier enabled and the switched 'hanged' then too, it probably has nothing to do with this setting? Home assistant:
These light switches are updated in home assistant when I push the 'real life' button, but I can not control the light from HA, nor from Zwavejs2mqtt. |
No. Check out the link in my previous comment. |
Oh sorry about that. I' ll have to wait till another hang! |
On my system with many nodes
8.9.0-beta3 --> KO Regards |
Ok I found something else that stalls the driver. I'm not sure yet why, but that shouldn't be too hard to reproduce: zwave-js/node-zwave-js#3951 |
AlCalzone : if needed , and you can tell me how to reproduce the issue, I can switch back again on :master to prove your findings. |
I think it is pretty hard to reproduce outside of a test environment. The driver must send a command and while it is being sent, the target node must wake up. |
@AlCalzone This night another hanging zwave. Now I have a log file: |
v8.9.1 should fix the remaining issue |
@AlCalzone Thank you! I am looking forward to that. |
@AlCalzone great work, will verify when out (HA-OS) |
Since one week ago I started to have the issues detailed here with latest versions of HA OS and zwaveJSUI .... using AEOTEC gen5 ... network got crazy random... with devices getting available/unavailable in loop..... |
Please make a driver log, loglevel |
Hi, I hope this helps.. Let me know if it´s correctly uploaded |
Hi @hughc-hub , So please consider this as a possible solution (backup nvm + restore). |
Thank you so much for the info. I was considering that.. but as I heard
that some users claim instability issues with v7 I stay here...
but yes, I'm having constant issues with unavailable devices that need a
re-interview, or slow response... :(
what version of v7 is better?
…On Thu, Dec 7, 2023 at 11:18 AM candrea77 ***@***.***> wrote:
Hi @hughc-hub <https://github.com/hughc-hub> ,
i want to let you know that I succesfully moved from Aeotec Gen 5 to
Aeotec Ztick 7 .
This change solved some problem on my network ... now the network responde
more quickly and soft reset work as expected.
So please consider this as a possible solution (backup nvm + restore).
It is also a step forward in network availability.
—
Reply to this email directly, view it on GitHub
<#2081 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARLLDJJ5SV5ATIWRCC72WLTYIGJWHAVCNFSM5KMKDXUKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBUGUYDMNJUGIZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I've got this : 0x0000 0x0004-0x0004 (Silicon Labs - USB Controller - 700 Series) |
thank you!
I've just ordered a stick 7. I'll move from gen5 to this trying to avoid
serious unstability issues I have right now...
but the truth is that if I read the future of the versions after the one
you tell me about, if it is not one thing, it is another the problem!
seriously... there is no "confident" stick/fw? OMG!!!
->Controller firmwares based on Z-Wave SDK *7.19.1 have a bug* that causes
the controller to randomly restart. It is strongly* recommended to update
to a firmware based on version 7.19.2,* but not later since those firmwares
have another bug causing the controller to become unresponsive.
->Controller firmwares based on Z-Wave SDK *7.19.3* *have a bug t*hat
causes the controller to randomly hang during transmission until it is
restarted. It is currently unclear if this bug is fixed in a later firmware
version.
…On Thu, Dec 7, 2023 at 1:06 PM candrea77 ***@***.***> wrote:
I've got this : 0x0000 0x0004-0x0004
<https://devices.zwave-js.io/?jumpTo=0x0000:0x0004:0x0004:0.0> (Silicon
Labs - USB Controller - 700 Series)
Firmware version : 7.17.2 (updated using zwavejs)
NOTE : before update (don't remeber the fw version i've got after
received) I wasn't able to do restore.
—
Reply to this email directly, view it on GitHub
<#2081 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARLLDJPCZ2N4LE3NVS52KD3YIGWMDAVCNFSM5KMKDXUKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBUGUZDENJZGIYQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Mine is : So is the best I can have wth this stick. |
Thank you again. Let´s see if it helps....
In any case... I was ok with GEN5 until latest releases... As I uploaded
with my logs.. there is something around that is make it unstable... I've
"disable" SOFT reset in the meantime trying to make my network more usable.
…On Thu, Dec 7, 2023 at 2:09 PM candrea77 ***@***.***> wrote:
Mine is :
FW: v7.17.2
SDK: v7.17.2
So is the best I can have wth this stick.
https://aeotec.freshdesk.com/support/solutions/articles/6000263744
—
Reply to this email directly, view it on GitHub
<#2081 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARLLDJIS6OGYBLH6PDR7AV3YIG5ZDAVCNFSM5KMKDXUKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBUGUZTCNZTGE4A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I've just received my new v7 stick. I backup NVM with Gen5... then I plugged new stick 7 and restore NVM. I can see the network and switch on/off some devices.. but it´s like I'm having problems gathering info as I had before. |
Depending on where you're located, the 700 series range can be much worse than 500 series. Allegedly, this is a firmware issue, so an update in the (hopefully not too distant) future should be able to fix that. |
I made a full restore and a complete reboot and now it seems to work again but from the stick 700 series. I'll observe it for a few days.. but I still don't know what could be the cause the issue I related (the log I've uploaded), so I'm not sure if this movement will be to the better... (I hope so) Do you have any idea about the root problem that could cause the instability? |
Seems like almost all Z-Wave controller firmwares have some issues. Z-Wave JS now tries to recover when it detects the controller hanging, but this sometimes requires soft-reset to be enabled, which doesn't play well with some combinations of hardware/OS/software. |
thank you for your answer and the info. Sadly I don´t know why I started to have the issue. I didn´t add any new zwave device during last months and this issue came just two weeks ago. I don´t know if because of a HA or zwaveJS update ... Honestly I don't have enough knowledge to look for a solution reading my logs. Now I'm using v7.17.2 fw of aeotec stick 7. Chris from aeotec told me to check logs and try to re-route red lines to working routes if at all possible. But I think I'm not doing that right because everytime I try to set a manual route, my communication gets slower... I didn´t find a good tutorial about how to do that properly (in case that could be something "root of my issue") |
zwavejs2mqtt: 6.1.1
zwave-js: 8.9.0-beta.1
running in docker on Ubuntu 21.04
I have a strange problem since an earlier update of the docker container.
ZWaveJS2MQTT looses its connection to the controller.
I can not switch any device in ZwaveJS2MQTT web interface nor in HomeAssistant.
I can´t find anything in the docker log, nor in the ZWaveJS2mqtt log. It just looks like everything is running.
When I open the zwave settings in the webinterface and save the page with the device: /dev/serial/by-id/usb-0658_0200-if00
without changing anything, the connection is made again.
Another way to solve this is by: docker stop zwavejs2mqtt, docker start zwavejs2mqtt.
I'm not sure if it really is a connection lost to the controller, but it has that effect to me.
Does this sound familiar to someone? How do I solve that?
The text was updated successfully, but these errors were encountered: