-
-
Notifications
You must be signed in to change notification settings - Fork 93
[bug] Struggling to migrate from HA #172
Comments
here is a full log https://paste.ubuntu.com/p/X535FtyJJB/ |
The secure flag is not properly working with all nodes, it rely on a command class that is not supported by all devices so don’t worry if you don’t see it to true.
About the error with nodes config, if you have paired them using a different version of openzwave there could be a configuration conflict, have you tried to remove and add a node to see if that is paired correctly? If so the only way to make them work is to remove and pair back all nodes in your network. Alternatively you can also try to send the action “Update node configuration” to see if it fix your problem
Daniel
… On 13 Dec 2019, at 20:06, Michal ***@***.***> wrote:
here is a full log https://paste.ubuntu.com/p/X535FtyJJB/
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hey Daniel and thanks for a quick reply.
I need to investigate this further, but Home Assistant was seeing most of my devices as secure.
After moving to Zwave2MQTT literally none of my nodes shows as secure in Z2M, not even a door lock.
I haven't moved zwcfg across, hoping it will OZW will regenerate configuration using the latest configs. Ive done this before in my mesh through HA and always all the devices were detected correctly. Also, im not sure if reinclusion of all the nodes should be necessary. If i take out the stick from my docker machine and stick it to a Windows computer with just Aeotec Zwave tool running, no configs, etc, it still sees and can talk to all the devices ive got in a mesh, with correct device type and models detected. Also its worth noting, that if i remove zwcfg generated by Z2M forcing it to regenerate configs, it starts detecting devices correctly until some point when suddenly all the devices which havent been detected yet are going "Unknown node" and errors in the log start showing up. Reinclusion of all the nodes would be problematic as many of my mains powered devices are inaccessible. |
Did you copy the network key over? If not that would be the reason. |
@Fishwaldo yes, i have and it is correct - changing it to incorrect key actually generates a lot of additional errors regarding encryption. I have started up from scratch with :latest docker instead of :2.0.6-dev and it works much better.
Unfortunately, :latest version is still on OZW 1.4 which doesnt have config for multiple of my devices. |
Just wanted to note something i just found out. When im generating config in OZW1.6 it detects few nodes and then stops detecting the rest, even with Refresh Node info. So i have run Refresh node info on a node which was detected correctly in the first running manually refresh node info it's no longer detected correctly. Original run, node detected correctly as EUR_SPIRITZ Wall Radiator Thermostat: https://paste.ubuntu.com/p/tRgsZWnvzp/ |
I have logged this issue upstream. |
with a help of you and people on OZW github im finally getting somewhere. |
Yes, that would be a good workaround. Alternatively maybe upgrading OZW to the latest build would actually fix this, as apparently the interview process (which is obviously failing here) in OZW has been recently enhanced? |
If you want you could make your custom docker image with it if you don't
want to wait next release, I'm a little bit busy until new year
Il giorno lun 16 dic 2019 alle ore 09:36 Michal <notifications@github.com>
ha scritto:
… Yes, that would be a good workaround. Alternatively maybe upgrading OZW to
the latest build would actually fix this, as apparently the interview
process (which is obviously failing here) in OZW has been recently enhanced?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#172?email_source=notifications&email_token=ACXYHH2I355S7OJQ43FN4NLQY44XVA5CNFSM4J2THRJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG55VLA#issuecomment-565959340>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXYHH4RENY7D6TR6NMLYADQY44XVANCNFSM4J2THRJA>
.
--
--
*Daniel Lando - Ufficio Tecnico R&D**daniel@innovation-system.it*
*Innovation System S.r.l. *
*Via Motton, 83 36061 Bassano del Grappa (VI)*
*Sede Operativa *
*Via San Giovanni bosco, 2 36022 Cassola (VI)*
La presente comunicazione, che potrebbe contenere informazioni riservate
e/o protette da segreto professionale, è indirizzata esclusivamente ai
destinatari della medesima qui indicati. Nel caso in cui abbiate ricevuto
per errore la presente comunicazione, vogliate cortesemente darcene
immediata notizia, rispondendo a questo stesso indirizzo di e-mail/fax, e
poi procedere alla cancellazione di questo messaggio dal Vostro sistema.
Grazie.
This communication, that may contain confidential and/or legally privileged
information, is intended solely for the use of the intended addressees. If
you have received this communication in error, please notify us immediately
by responding to this email /fax and then delete it from your system.
Thanks. *Rispetta l'ambiente: se non ti e' necessario, non stampare questa
mail. - Take care of the environment: do not print this mail if not
strengthly requested.*
|
That's fine @robertsLando, i will wait, im not really proficient with building own docker containers. |
@Dinth @Fishwaldo Could someone point me to latest stable commit of Openzwave for production env? Latest release on http://old.openzwave.com/downloads/ is outdated now |
@Dinth could you try latest commit? |
Yeah, build server issues (Justin is migrating stuff) - edit: only wiht pull requests, the releases are fine. I saw your issue about the zipped releases being old . Sorry about the delay, it is a busy time of year and I am only a volunteer... "[feat] Tag stable commits more frequently with OZW version" I think it is worth trying current master (edit: december 9), it has bugfixes and improvements (commit 76e21d80a "Add Kwikset Convert") Interesting commits on master are:
BTW I develop on macOS Catalina and I also tested the build(s) on Rpi 2 on a 10 node network. I occasionally develop and test on windows as well. As Justin said... http://old.openzwave.com/downloads/ is your be#t source and it is not outdated |
Hey. Thanks for all the help with this. The time it takes too properly find all the nodes (showing "Product" field in Z2M) has greatly increased after adding last 4 nodes, With a dozen of nodes it was taking just few seconds, after adding last 4 it increased to several minutes. But this is a minor one, i shouldnt restart Z2M very often in theory. |
@Fishwaldo Is this a known issue? @Dinth With latest version
I know that feel, I have made an entire building with 200+ zwave devices and I had to use 20 raspberry as gateways running z2m. The main reason I made this decision was the distance of devices but also because I noticed that a 10+ devices network was very slow and sometimes stops responding at all like you said. In my case I'm running OZW 1.4 on all raspberry so this may be fixed in 1.6 (?) but I will never update them as it would took me at least 3/4 days with the risk that stuff could stop working at all. |
Ah yes, I have already updated to 2.1.0 and enabled autoheal. |
Auto heal is possibly the worst thing todo. Please disable it and remove the option all together. You should only heal when adding/removing devices or physically moving a mains powered device. |
Sorry, i have just noticed that i never actually saved my config after enabling autoheal, so it was never enabled. I will keep it off as per @Fishwaldo advice. Autoheal shouldnt make much difference for me, as according to the below diagram, every node sees all other nodes anyway. |
@Dinth Love that mesh graph 😍 . Dunno why but on all my instances all devices only see the controller even if they are close (no battery devices). @Dinth would you mind to send a PR to update the mesh graph screenshot? Or just add it here and I will do it my own... Just send the same image with the entire interface |
Thanks @Fishwaldo. Could you please say little bit more about those extended statistics? Thanks sounds like something what could help me troubleshoot my issues and Z2M is already based on OZW1.6 so those should be accessible somehow? |
You have to have a fairly new stick (now 700 series and not the zstick S2). And you should see in the logs a message about TxStatus very often. The actual details are published as statistics for each node. (The route a packet took, speed, rssi levels etc). See http://www.openzwave.com/dev/classOpenZWave_1_1Manager.html#a588a7e060c0aa312b00082d5c2683f73 and http://www.openzwave.com/dev/structOpenZWave_1_1Node_1_1NodeData.html for details. I don’t know if Z2m exposes it, but it’s in your OZW logs. |
Should be already available from control panel, just send a node actuon “Node statistics“
Daniel
… On 18 Jan 2020, at 05:52, Justin Hammond ***@***.***> wrote:
You have to have a fairly new stick (now 700 series and not the zstick S2). And you should see in the logs a message about TxStatus very often. The actual details are published as statistics for each node. (The route a packet took, speed, rssi levels etc).
See http://www.openzwave.com/dev/classOpenZWave_1_1Manager.html#a588a7e060c0aa312b00082d5c2683f73 and http://www.openzwave.com/dev/structOpenZWave_1_1Node_1_1NodeData.html for details.
I don’t know if Z2m exposes it, but it’s in your OZW logs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks for all your help @robertsLando @Fishwaldo. I think this issue can be closed, i have completed migration from HA, after rebuilding my network it works decently. To carry on with troubleshooting my networks stability problems i need to wait for Aeotec to release a new 700 series controller and i have opened separate issues for bugs i have encountered. |
Regarding nodes showing Regarding secure nodes not showing as such, instead, "Refresh node info" didn't help at all. |
Hopefully this will no more happen after the transition to the new lib |
Version
Build/Run method
Zwave2Mqtt version: 2.0.6-dev
Openzwave Version: 1.6-962
Describe the bug
I decided that i will try change my Zwave controller from Home Assistant to Zwave2Mqtt docker version 2.0.6-dev. I didnt want to migrate zwcfg, as one of the main reasons i wanted to change the controller is that half of my devices dont have or have incorrect config in OZW1.4. I assumed that Zwave2Mqtt will detect the devices included in the mesh and fetch their latest OZW1.6 configs anyway.
Unfortunately, half of my devices are not detected at all, just showing "Unknown: type=0000, id=0000 (Unknown: id=0000)", sometimes with a correct "Device type" field, sometimes with empty "Device type".
Its completely random, for example half of my radiator valves was detected correctly, but other half not. Some mains powered devices were not detected either.
Im also getting a lot of OZW errors in my log.
Additional context
Im not sure if this is relevant, but none of my nodes show up as Secure, although the majority of them was paired in a secure fashion. This being said, my secure key in Zwave2mqtt config is set correctly i believe - changing it creates even more errors related to encoding.
The text was updated successfully, but these errors were encountered: