Inovelli LZW36 - Fan does not update on dashboard

I installed the switch yesterday using the Inovelli driver, all works well except that fan changes made from the switch itself do not update the status of the fan on the dashboards.

If i change the state of the fan from Hubitat the dashboard does update.

I can see the the button presses in the device event history.

We to HE community.

Sorry for the 20 questions but here goes.

If you turn the device on at the switch, then refresh your dashboard, does it pull in the new state?

What device are you running dashboards on?

Have you tried a second device (computer browser)?

Are you using the "switch" or "fan" template?

refreshing the dashboard does not update.
Android Chrome, Android App, and PC Firefox.
Same results from all of the above.
Using the Fan template.

Should I be using the switch or dimmer template instead?

I'm seeing a similar issue Inovelli 2-Channel Smart Plug NZW37. If I hit refresh it will update. however, you need to use the latest driver build from vendor. I haven't tested my w36 yet.

tagging @Eric_Inovelli are you aware of this issue?

I'm not aware of this, but I'll tag @ericm for visibility -- thanks for letting us know!

EDIT: Wait, I just searched our forum and there's this: LZW36 Fan + Switch Hubitat Child Driver - News, Updates & Roadmap - Inovelli Community

Maybe that helps? Sorry, I'm not as versed with Hubitat as I should be :confused:

1 Like

Ahh i see a new driver was released yesterday after I installed this :grinning:

Updated the driver and its now updating the dashboard, however when turn the fan off at the wall control it updates the dashboard with the value of "High"

I suspect this code is the culprit (around line 249)
if (childDevice) {
childDevice.sendEvent(name: "switch", value: cmd.value ? "on" : "off")
if (ep == 2) {
if (cmd.value == 1) {
childDevice.sendEvent(name: "speed", value: "auto")
} else if (cmd.value > 1 && cmd.value <= 33) {
childDevice.sendEvent(name: "speed", value: "low")
} else if (cmd.value > 33 && cmd.value <= 66) {
childDevice.sendEvent(name: "speed", value: "medium")
} else if (cmd.value > 66) {
childDevice.sendEvent(name: "speed", value: "high")
} else {
childDevice.sendEvent(name: "speed", value: "high")
}

changing else statement to set the value to "off" makes it work as expected.

2 Likes

I'm still running into this issue. I have added the commands the this still hasn't addressed my issue.

Does anyone have another suggestions or advice?

dev:1772020-07-12 06:10:14.023 pm debuginitialize()

dev:1772020-07-12 06:10:14.022 pm debugconfigure()

dev:1772020-07-12 06:10:11.020 pm errorjava.lang.NullPointerException: Cannot get property 'deviceNetworkId' on null object on line 281 (componentRefresh)

Thanks,

I'm seeing other issues too.

dev:1772020-07-12 06:23:14.012 pm errorjava.lang.NullPointerException: Cannot invoke method split() on null object on line 408 (childRefresh)

dev:1772020-07-12 06:23:13.986 pm debugchildRefresh(null)

dev:1772020-07-12 06:23:05.782 pm errorjava.lang.NullPointerException: Cannot invoke method split() on null object on line 408 (childRefresh)

dev:1772020-07-12 06:23:05.760 pm debugchildRefresh(null)

dev:1772020-07-12 06:22:44.854 pm errorjava.lang.NullPointerException: Cannot get property 'deviceNetworkId' on null object on line 271 (componentOn)

dev:1772020-07-12 06:22:32.987 pm errorjava.lang.NullPointerException: Cannot invoke method split() on null object on line 408 (childOff)

dev:1772020-07-12 06:22:32.961 pm debugchildOff(null)

dev:1772020-07-12 06:22:24.618 pm errorjava.lang.NullPointerException: Cannot invoke method split() on null object on line 408 (childOn)

If the child devices are turn on or off they work right away only the parent isn't working correctly as far as I can see.

Thanks.

Are you seeing this on the LZW36 or the NZW37?

Thank you for getting back to me. I'm seeing this on the Inovelli 2-Channel Smart Plug NZW37. I can open a new thread if you like.

I answered in the other thread.