Hi, I’ve got a Shelly Plus 1PM connected to an extract fan circuit. The end game is I want to be able to turn the fan on/off when my Sonoff humidity sensor goes >70% (the sensor is already set up). For now I’m just trying to get the Shelly to connect. Ive got as far as setting up the Shelly in the Shelly web app and it turns on and off from there with no issues. Next I added a virtual device to hubitat and chose the Shelly WiFi switch and added the IP address under the preferences, but now I’m drawing a blank. None of the commands seem to work. If I send a ‘1’ to any of the switch states (push/hold/release), nothing happens.
No, I don’t get an on/off or configure option. I have tried adding the device both as a virtual device and by selecting from the list of manufacturers and I get the same outcome.
Perhaps the wifi switch is not interactive both ways with hubitat and I actually need a zwave version?
Yes I have done this (added the IP address only, the device has got no username/password protection at the moment). When I save I get the log notifications below.
@user6330 One other thing to check, did it happen to make any "Child" device below it? There would be a > next to it in the device list and when you click it child devices would open it. Not sure if the switch will be created as a child maybe?
@bertabcd1234 Is this driver actually supposed to work for the 1PM? Compatibility list screenshot above.
I would start with that driver. Do you know how to install and select user drivers? There is another even more advanced one but I dont think you will need it.
Thanks I’ve added that custom driver and added the IP. it must have connected to it because it’s reading back the Shelly device parameters, but on/off isn’t working yet. It’s now probably just a case of setting it up properly. Thanks for your help, I’ll have a look through the notes.
Awesome, that's about as far as I can take you. I don't have any Shelly devices myself, I have just picked up a few things here and there from reading other posts.
I'm not sure. Any idea when this product was released? That driver was written in 2020 for whatever Wi-Fi API they were using at the time. Is the 1PM the same as the Plus 1 PM? If not, they might have different APIs, and that one may be the 1PM only. I don't have or use any of these devices myself, so I'm not sure. (But more drivers for more of these are coming at some point if this isn't already one...)
Not only did I miss that the user said they had a Plus and the List does not say plus, but I also thought the "P" in the PM meant it was a plus. Shelly device names are very confusing indeed, not having any myself.
So that clears it up, the built in driver does not work on the PLUS devices, you need either the Shelly USA driver or the driver by @dmitry.rozovik. I am glad you chimed in because my next move was to tag you anyway!
Aside from the main shelly device thread (Shelly Device Handlers for Hubitat) these threads might help (they still will contain links to different posts in the shelly device thread)