Following your advice, I changed the driver, and now I can switch it on and off. I'm using a physical relay. However, I've noticed some peculiar behaviors:
When I click "on" from the dashboard app, it switches on directly. However, to switch it off, I have to click "off," then "on," and then "off" again.
When I click "on" from the physical relay button, it switches on directly. Then, when I click "off," it switches off directly.
If I mix "on" from the dashboard app and "off" from the physical button, or vice versa, it will always stay on.
I've read through some other threads in the forum, but nowhere was this issue of needing multiple clicks mentioned.
Is there anything I can do to resolve these issues and ensure proper functionality? I'm not overly concerned about the app-to-physical button switch-off issue, but the need for multiple clicks to toggle the switch is inconvenient.
Here is a screenshot of the log when I clicked on, off, on and then off to turn it off
You're controlling the ZBMINIL2 with a relay connected to the switch inputs? Can you clarify and maybe post a picture of the devices and wiring?
I'm not familiar with the ZBMINIL2, but i do have several ZBMINI devices. One thing to note is that the device's internal switch/relay is not "synchronized" with the state of the externally connected switch used for physical control. Toggling the external control switch causes the internal switch/relay to change state. There is no relationship between the ON or OFF states of the ZBMINIs internal relay and and the external control switch.
Also, if you toggle the external control switch from OFF to ON and back to OFF too quickly (two changes of state), the ZBMINI may only "see" the first one and react only once. This could also cause problems if your external control switch is a momentary contact (like a button) instead of a normal switch.
My only other thought would be to verify you have a strong mesh in the area of this device. It seems unlikely to be a mesh issue, but could be helpful to rule it out.
Which driver are you using.
I'm using 'Generic Zigbee Switch' and I'm not having any issues.
It's working great.
You mentioned you changed drivers, when you changed did you do a configure afterwards?
Here is another thought. Something looked unusual in your log entry so I checked the behavior of one of my ZBMINIs. Here is the log activity for two actions. First I turned the light on, then off, via dashboard (digital) and then from the switch on the wall (physical).
Your devices and logs are a bit different, but can you see where your "turned on [digital]" entry is followed by an "is on [physical]" entry? That may not be normal. Is it possible that your ZBMINIL2s output is somehow also connected to the switch input terminals? I think I would first start by disconnecting everything from the S1 and S2 terminals and see how it behaves when controlled from Hubitat.
When I have installed the ones in my house which are connected to a physical switch, S1 AND S2 are connected to the two terminals on the switch to allow for the on/off function.
I'm no expert and unfamiliar in your use case, just sharing my set up.
Is that a smart switch you are using along side the Sonoff? I don't think running multiple no neutral modules in series is a correct way of deployment.
This is not my picture, it's from @agapimmo.
Mine is wired as per manufacturers instructions above.
The switch turns on/off when the manual switch is toggled.