Sonoff Motion Sensor [Working]

Can you confirm you can get both of them into pairing mode? And have you installed the oohlala drivers?

No, I didn't have that driver installed. I see I have to have HPM, so I have installed that but I get an error trying to run that, so I haven't gotten very far.

Is there a way to install Oohlala without using HPM?

Yes there is. I don't know why people rave over HPM, I find it annoying and prefer the old copy and paste way of installing drivers.

Go to this page

and just under where is says supported devices you'll see a list of the 5 different Sonoff devices. Select the link next to the device you have/require. Now COPY ALL THE CODE TEXT from that page.

Now open up your hubitat web interface. Select the hamburger menu top left and select Drivers Code. Now press New Driver.

Paste the code you just copied in the huge text box and press save.

Done. Driver installed.

When you pair the Sonoff device it should select the correct driver from the Device Type list (on the Device page). If not you can select it manually and press Configure afterwards.

1 Like

Agreed. We have quite a few of the Sonoff buttons, but there is one in particular that always seems to frequently unpair. I guess for their price you're bound to get the odd bad apple.

Interesting comment.
Personally I find it easier to get a notification that an update is available, going to the app and then hitting a couple of buttons. Job done.
Easier than following a thread and spotting that an update is available (hopefully), going to github, copying the code, going to apps/drivers in HE, opening the code, highlighting code, deleting code and then copying in new code.
Just me i suppose.

1 Like

Mainly because it's an absolute git to get running for newbies, it often times finds the wrong driver than what you're wanting, and from experience it's extremely buggy and confusing to use.

I've also found half the time the driver isn't even in the repo to start with and end up resorting to the old fashioned way, chopping and changing a working smartthings driver.

Just me I suppose...

You know that the HPM is a community built app not HE supported right?

The missing drivers are not the "fault" of HPM. It's the app/driver devs who have not added that capability to their repos for whatever reason (and that's okay too). I agree the UI is clunky but that's kind of what you get right now when developing interfaces in HE.

In terms of a complicated install - it's as difficult as importing app or driver code directly , something you'd be doing without HPM in the first place. HPM ultimately makes it easier to install/maintain community based apps and drivers.

Am grateful for @dman2306's work and @csteele's continuing efforts in supporting this important community function.

But that's just my opinion... :smile:

4 Likes

Sean, thank you very much. That did the trick and I have the Sonoff motion sensor paired. As for HPM, I can't get past the 1st page as it says that it can't login to do the match, and I have tried both Hub Login Security enabled and disabled.

You might want to post your issue over on this thread @csteele started.. to keep things organized in case others are experiencing issues etc.

Done, thanks!

1 Like