Finally got my hands on one of these new Gen 4 Plugs, so I could iron out some issues and get it working. Has a preference toggle to enable/disable the creation of a child RGB device. When enabled, the child device works in Hubitat like any other RGB device does.
There's no point to the "night mode" stuff with this, since all that does is set a time range for the LED to dim. If you want that, Hubitat already provides a million ways to dim a light on a schedule. It would need 3 preferences to implement it in setting to enable the Shelly Night mode thing, one pref for start time, one for stop time, and one to enable/disable it. That's a lot of clutter on the preferences page for something you can already do in Hubitat natively.
I just have what I get shipped for testing, and it's in black. It's a nice plug, for sure. Quite easily the best smart plug I've ever used. Then again, pretty much all of Shelly's line is top-notch hardware.
Plug discovery worked when I tried it again this morning! App & driver updates process wasn't completely smooth, but once done Shelly plug device was created.
Both app and driver were set to auto-update in the app, but the driver part didn't auto-update for some reason. Clicked "Update All" on Drivers line and driver did not update. Clicked Update in the Driver section below and that did update the device driver.
Then clicked on + symbol in Discovery section, and the plug was added along w/additional Autoconf driver. The "Update All" action is still showing under the Action column in the App and Driver Updates section:
@daniel.winks I have loaded your app and get errors when I try to turn a Shelly device on. Itβs a Shelly 1 gen4 connected to my garage door. Thanks for any help. Cheers, Tim
After a bit of thinking. I started again with Shelly and removed all devices (2) and app. I then added your app and all seems to work perfectly now. Thank you @daniel.winks
Just posting an update here. Been short on time here lately, and wiring up a bunch of Shelly devices on my test platform, fully testing them, and switching them out is really time consuming.
I think most of this works, but I haven't had a chance to personally test it. Hopefully here in the next few weeks I'll be able to get some devices wired up and move this from pre-release to beta status.
It's still definitely in development, and will be released "soon", but it'll be a bit longer before I get a chance to make sure the various drivers and devices work properly.
I can say for sure the Gen 4 plug works VERY nicely with this. It creates a child RGB device that behaves like any other RGB light, and controls the plug's LEDs exactly as you'd expect it would.
Added a few more devices for preliminary support, including the Gen 4 mmWave Presence sensor. I don't have one of these on hand, so it's been put together using documentation only. Please let me know if there's issues with it so I can get them fixed.
Also added support for the BLU distance sensor. Same thing here, I don't have one of these, so anyone with one that wants to provide feedback, it would be appreciated.