ST Presence Sensors

I see from the drivers section, SmartThings Presence Sensor V2 and V4 are supported. I'm having a real time of it trying to get the hub to add them. This is after a reset, and discover, including a hub reboot. Is there any knack to getting these seen?

One I've had for 18 months, the other is brand new.

Cheers

I had loads of trouble with st sensors until I changed the zigbee channel. Once I hit a channel that worked they paired instantly.

Thanks @cwwilson08 . I see my hub was on Channel 24 before I pulled the plug, where as I set my Hubitat to 26. Oh the joy I've had with Xiaomi devices over the past 5 days with being discovered and staying discovered. I'm almost reluctant to change it now, as I have them working very well.

But then reading here, many devices don't support 26. Oh dammit, I'm going to have to give it a go aren't I. Here comes Xiaomi hell again :sleepy::sob:

I've been stood in front of the hub for for seems like forever, without even a glimpse of either sensor.

You were bang on the money, updated to Channel 24, connected straight away. Thanks for the swift reply @cwwilson08 :+1:

Just re-paired the 20 Xiaomi devices, so fingers crossed that they stay connected again.

1 Like

If you still have issues with them staying paired, take a look at the channels your wifi network is running on and make sure they are not overlapping.

Mine is also running on Channel 24 which has very little overlap with my Eero setup. Wifi could interfere with them.

1 Like

Just did exactly this thanks @gavincampbell. My 2.4 was set to 11, so I've moved to 6. This could have also been the reason the Xiaomi devices dropped like flies over the weekend. Still odd that my ST hub and router are roughly 3 ft away from each other, yet I didn't have any issues with that (as long as ST was up, that is!!, at least thats one issue gone :wink:)

I've left all devices very close to the Hub, I'll make sure they're reporting every hour overnight, then check again in the morning, before placing them where they need to be (again, 3rd time lucky perhaps?).

Cheers

Here is another idea. If you use webCoRE you can setup a pison that will monitor the xiaomi devices for you.

They all are suppose to check in every hour. And the developer put in a lastCheckIn variable that can be polled to determine this.

I wrote a piston to monitor this and then send me a notification of any devices that haven't reported in in the last 3 hours. I noticed that some will skip a few checkins but will usually check in by the 3rd or 4th hour, yet they are still online. For the record, I also see this with other no xiaomi devices I monitor as well. My sengled light bulbs for example skip a number of checkins every now and then but still are online.

I can share this piston if you are interested in it.

1 Like

Thanks Gavin, I have one running too. Checks twice a day (or how many times I want). And SMS's me a list of any device setup which aren't "Active". Is yours similar, yours does sound a little more sophisticated TBH. Be glad to try if you'd like to share?

Cheers

@veeceeoh How can we do this with RM?

Sounds similar but you are checking the status. I believe the status in hubitat changes to inactive if a device hasn't had an event in 24 hours. This pison will use the actual lastCheckIn.

Here it is. You can modify it as needed, may probably want to change the notification section and maybe take out the poll/refresh section. I added that step because some devices (like my dining room zwave switch) that don't get used very frequently will get changed to Inactive even though they are still online, just polling them fixes it.

1 Like

Brilliant!! Many thanks Gavin. Once I can get them online, I'll give it a whirl. weCoRE is giving me a hard time due to devices taking part in Pistons, not being available. But as soon as I can, I'll be adding this!! Cheers again.

Working like a charm, thanks again @gavincampbell :+1:

1 Like

All of them still online :grin:

1 Like

How did you find out your st channel? I have one I'm trying to move over, I removed it but cant find it on HE? Will the sensor rotate through channels looking? Or if I leave it de powered will it cycle?

Its the zigbee channel on the hub's.
You have to physically change the channel yourself on the hub, the sensor won't rotate.

For ST,

log into the ide (SmartThings. Add a little smartness to your things.)
click on My Hubs, scroll down to find the ZigBee section

On the Hubitat hub, go to settings, then zigbee and it'll show you the channel you are currently on.

Hope that helps.

Thanks found it on ST

So my st is on 24 and he on 20, does the st sensors only run on 24 or can it change?

I have a couple on 20 and another one on 15.

1 Like

Does the previous channel make a difference when try to re pair?

Once they are paired you can then change the channel. Give the mesh a day or so to re-route and stabilize. Remember you are changing the channel for all zigbee devices. Usually it is good to go within a few hours but some have said it took longer.

Is there a way to change the sensor channel to match HE?