Thanks, missed that. I enabled Health Check and I do see the status "Online" in the Current States in your driver.
However, kkossev's Health Status app can't seem to find healthStatus state in your driver for some reason, and doesn't include it in devices available to add to his app. So this probably is a question that I should ask kkossev about. I'll hit him up.
Defining this capability also adds a ping() command, which I find very useful for checking the online status of the mains-powered devices and measuring the round-trip time.
Should be a fairly easy fix. It does not harm your routing, just hampers your information. I'm working on a little project but I'll get in touch with you sometime next week to try out a fix.
That was line 968 for me. I commented it out and added the new line. Ran through the refresh process and no error on either device I have running this driver. I will check the logs again later to see if anything shows up. THANKS
I read through the thread and didn't see any mention of anyone using the switch capability of the driver.
Using ZMD 1.0.8 did not change any preferences (all default) but did save after initialize.
I am running into an issue and getting an error in the logs using the switch capability of the driver. I tried three different devices with all causing same issue. A Sonoff S40 Lite plug, Iris IL03-1 V3 and a MHCozy Zigbee 1Ch relay.
The issue is when I click the run button to turn on the switch. The right section changes to off and red and clicking either section does nothing and generates an error in the log
When I click the run button in the right/on section. The "on" section on the right side changes to red and off. See below. The switch on the device does turn on.
If I click either run button I get this error in the log, the device does not turn off
dev:912025-04-27 23:23:31.519errorgroovy.lang.MissingMethodException: No signature of method: user_driver_garyjmilne_Zigbee_Monitor_Driver_695.off() is applicable for argument types: (java.lang.String) values: [off]
If I refresh the browser, the top image is shown again and I can then click the left run to turn it off ( and the plug does turn off) but the right side changes to red and off again. Bottom image.
The plugs do respond to external control (Node-Red) and turn on/off when commanded. So it seems as this is just an interface issue. The switch status under current states updates properly also.
Thanks. I can reproduce the error. Seems to be two things going on. The first is that off() command is now being sent the value off so it causes the error because the function off() does not expect any parameters.
The second thing with the on/off interface toggling I don't really know. If I comment out the on and off commands so it only uses the inherent ones then it works O.K.
I will send out an update in the next few days using these two workarounds.