@chris@Bruce_Osborne to try and do some more debugging I quick installed Zwave JS. Figured it would be a good way to confirm that the devices aren’t the issue. They work flawlessly there.
So I suppose that means either there’s an issue with the device in the db or in the binding itself. Not really sure where to go from here though.
ZWave JS is a much newer project. These devices have been used by many users without major issue over the 5+ years of this binding. The issue is likely something unique to your environment, either configuration or device related. ZWave JS also uses a completely different database, Ours is community maintained based on actual devices used in the binding,
Are you defining your Thing in a file or automatically? File-based Things are very error-prone and discouraged. The binding has changed over the years so a file-based Thing may not work with the same definition in newer bindings.
EDIT: I just looked and ZWave JS device database just has the configuration parameters, not the Endpoint(s) from the device firmware. Perhaps posting your device xml file from userdata/zwave could provide a clue.
It’s database, not file based config. Nothing particularly interesting about the thing or item setup. And as I noted, they receive the commands without issue.
And again, I should note, these previously worked flawlessly. As Chris said, they send a command and then you poll them. But as of right now, even if I send a REFRESH command they aren’t updating.
Sorry - I’m not really sure. There’s very little here to understand what’s happening. The log doesn’t show any reports, so clearly if it’s not receiving anything, then the binding will not do anything.
@chris this is definitely the most frustrated I’ve been with OH in the many years I’ve used it. I setup an OH2 instance on the old Pi I used to run it on. Plugged in the USB stick, allowed all of noise on the Zwave network die down, added the thing/ & item for one of the GE dimmers, and it worked fine. Here’s the log:
So obviously something is different between OH2 and OH3. Considering I got it up and running on Zwave JS without any issues, I’m going to guess OH3 (as in the OH3 version of the binding) is the bad apple here. Unless the database is different between OH2 and OH3. But I’m assuming that’s not the case.
If there’s anything more I can do to debug I’m happy to do it…but I’m really hoping to avoid having to spin up a Java dev environment here and throw a bunch of debugging into the binding to get more info.
I was looking through the binding code, specifically the polling code. I noticed in my two sets of logs that the difference was that in OH2, it polled for that channel…in OH3, it just started the “Polling…” process and then did nothing. In the code I noticed that polling had a heavy requirement on the channel linking. I was staring at my OH3 channel item, and the link was there, but I paid some more attention to the “Profile” section, which is new in OH3 and I’ve never used before. Saw this:
and thought: “what’s the difference between (No Profile) and Default?” So I switched it to Default, and voila!
I’m guessing that’s because all of my links/items were created from a OH2 upgrade, and that doesn’t set it as Default. I imagine none of my Zwave items are polling properly because of this, but it’s only the GE ones that require polling to work.
@feens - Glad to see you managed to get this sorted! I wanted to chime in and say I have a bunch of (mix of ~30 different GE/Honeywell/Jasco models) in-wall Z-Wave devices and they all work perfectly fine using ‘No Profile’ on the latest stable OH 3.x branch. Their statuses when changed directly at the switch or otherwise via the App stay in sync as expected. This is on a clean install of OH3 - didn’t upgrade; rather just rebuilt from scratch.
I am still pecking away at this other issue below effecting only the Scene_Number channel for only one older device… And in my case switching the Profile didn’t help either - simply nothing gets captured or logged (in DEBUG mode) when attempting to change scenes. And this particular model does support Association Groups in case anyone here was wondering - this one is setup for the Associate Group #1 being the Controller:)
@d0t the newer GE devices don’t require polling, so if you have anything other than the really old ones, you wouldn’t need to worry. The ones I have are older than the scene support as well, so I can’t really comment there. I gave up on GE after these ones started failing badly (about 50% of them).
It’s also possible that changing the profile wasn’t the direct fix, but the side-effect of it causing an item to unlink and relink.
@feens - all point taken there - I’ve started to question if I made a bad decision with buying many of these devices on clearance earlier this year So far so good, but time will tell what the failure rate is.
@chris or @Bruce_Osborne i am curious, is the profile required to be set, or is it just that maybe the links on the items didn’t register? I feel like somewhere there’s definitely an underlying bug, maybe in the OH2 → OH3 migration script/flow
What version are you using? There was a change introduced in OH3 to not send the binding linking information during startup. This required a change to bindings - it was requested a couple of days before OH3 was released and was not done in a number of bindings (including the ZWave). If you are using OH3.0 release, then it will have this issue still.
I have not worked with OH3 in a while. I do not change whatever profile is automatically set by the system. That is the plain English definition of default.