[RELEASE] X-Sense SBS50 bridge driver

Hi Folks,

I just got a SBS50 bridge and (7) SC07-MR CO/Smoke detectors. I couldn't find any hubitat drivers for them, so I wrote something that seems to work fairly well (at least for my use case). Feel free to use it if you like - I don't have any other devices, so can't test what might not work, but if you have what I have, it should work pretty handily.

Under HPM, just search for "X-Sense".

Matt

I’ve been looking at these. Do you mind explaining your use case? So I can maybe figure out my use case?

My use case was very simple - I just wanted the smoke/CO detectors to show up as what they are in Hubitat so they could be included as part of the Hubitat Safety Monitor automations.

It's been working great.

Matt

Matt,

This is awesome. I have a bunch of water/leak detectors. Would you be able to help with adding those parameters/options as child devices? They are detected, but obviously the options/parameters aren't correct as the smoke/co2 detector names just applied. I have no idea how to go about it, but it looks like it could be relatively easy, for somebody with the know-how.....

Thanks, glad it's useful! I don't own any X-Sense water sensors, so I've built
support for them based on how the X-Sense app and the Home Assistant integration
read them. I need your help to confirm it works on real hardware.

I've just released version 2.0. Two big changes:

  1. The integration is now a proper Hubitat app instead of a virtual bridge
    device. You set it up under Apps, and the app page shows connection status,
    your devices, and a few action buttons.
  2. Water leak sensors get their own "X-Sense Water Leak Sensor" child driver
    (dry/wet, battery, signal, online status, mute status). They show up under
    HSM's Water section.

Because 2.0 is an app rather than a device, it's a different package, so don't
use Update in HPM. Instead:

  1. In Devices, open your old "X-Sense Bridge" device and click Remove Device. That also removes its child devices.
  2. In Hubitat Package Manager, choose Uninstall and remove the old X-Sense package. (If HPM errors because something was already deleted, use Package Manager Settings > Un-Match a Package, then delete any leftover X-Sense entries in Apps Code and Drivers Code by hand.)
  3. In HPM, choose Install > Search by Keywords > "X-Sense" and install X-Sense Integration.
  4. Go to Apps > Add User App > X-Sense Integration, enter your X-Sense email and password, click Done. New child devices are created for every sensor, each with the right driver for its type.
  5. Re-point any rules or HSM entries at the new child devices.

Then one favor so I can confirm the water sensor data mapping:

  1. Open the X-Sense Integration app, turn on "Log raw device shadow data on each poll", and click Done.
  2. Reopen the app and click "Refresh Device Status".
  3. Touch a wet finger across the probes on one leak sensor so it alarms, wait a minute, and click "Refresh Device Status" again.
  4. In Hubitat Logs, copy the lines starting with "Raw shadow for" for that sensor (one dry, one wet) and paste them in a reply. Feel free to blank out the serial numbers.
  5. Turn the raw logging option back off, as it logs every device on every poll.

If the wet state shows up correctly you're done. If it doesn't, those log lines will tell me exactly which field the sensor uses and I can fix it quickly.

First of all, thanks so much for looking into this. Amazing!! I can see the status change in the logs, but it's not reflected in the alarm status or wet/dry status. Here are the logs. There is a Thermo-Hygrometer device there also if you are interested in those data fields. :slight_smile:

**app:43**2026-10-03 11:00:28.368 am

info

[X-Sense] Polled 7 device(s)

**app:43**2026-10-03 11:00:28.358 am

info

[X-Sense] Raw shadow for 00000008: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260828212049","zoneName":""}}

**app:43**2026-10-03 11:00:28.347 am

info

[X-Sense] Raw shadow for 00000009: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260828212050","zoneName":""}}

**app:43**2026-10-03 11:00:28.335 am

info

[X-Sense] Raw shadow for 0000000A: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20261003145943","zoneName":""}}

**app:43**2026-10-03 11:00:28.324 am

info

[X-Sense] Raw shadow for 0000000B: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260828212051","zoneName":""}}

**app:43**2026-10-03 11:00:28.310 am

info

[X-Sense] Raw shadow for 0000000C: {"rfLevel":"3","online":"1","type":"STH0B","batInfo":"3","status":{"a":"0","b":"21.7","c":"55.4","d":"2","t":"20261002195804","e":[12.8,29.4],"f":[0,100],"g":"1","h":"0","zoneName":""}}

**app:43**2026-10-03 11:00:28.298 am

info

[X-Sense] Raw shadow for 0000000D: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260902153227","zoneName":""}}

**app:43**2026-10-03 11:00:28.285 am

info

[X-Sense] Raw shadow for 00000007: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260828212049","zoneName":""}}

**app:43**2026-10-03 10:59:26.828 am

info

[X-Sense] Polled 7 device(s)

**app:43**2026-10-03 10:59:26.816 am

info

[X-Sense] Raw shadow for 00000008: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260828212049","zoneName":""}}

**app:43**2026-10-03 10:59:26.806 am

info

[X-Sense] Raw shadow for 00000009: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260828212050","zoneName":""}}

**app:43**2026-10-03 10:59:26.795 am

info

[X-Sense] Raw shadow for 0000000A: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"1","muteStatus":"1","silenceTime":"0","time":"20261003145924","zoneName":""}}

**app:43**2026-10-03 10:59:26.784 am

info

[X-Sense] Raw shadow for 0000000B: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260828212051","zoneName":""}}

**app:43**2026-10-03 10:59:26.771 am

info

[X-Sense] Raw shadow for 0000000C: {"rfLevel":"3","online":"1","type":"STH0B","batInfo":"3","status":{"a":"0","b":"21.7","c":"55.4","d":"2","t":"20261002195804","e":[12.8,29.4],"f":[0,100],"g":"1","h":"0","zoneName":""}}

**app:43**2026-10-03 10:59:26.745 am

info

[X-Sense] Raw shadow for 0000000D: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260902153227","zoneName":""}}

**app:43**2026-10-03 10:59:26.731 am

info

[X-Sense] Raw shadow for 00000007: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"0","muteStatus":"1","silenceTime":"0","time":"20260828212049","zoneName":""}}

Perfect, that's exactly what I needed. Your logs showed two things:

  1. The water sensors report their alarm in a different field than I expected,
    which is why the wet test didn't show up. Fixed.
  2. You also have an STH0B temperature/humidity sensor, which was being created
    as a smoke detector. It now gets its own "X-Sense Temperature/Humidity
    Sensor" driver with temperature, humidity, and the alarm ranges you set in
    the X-Sense app.

Version 2.1.0 is out. To pick it up:

  1. Update in Hubitat Package Manager.
  2. Open the X-Sense Integration app and click "Recreate Child Devices". That
    swaps the temperature sensor over to the right driver. Your water sensors
    keep their existing devices.
  3. Click "Refresh Device Status" and check the sensor you wet earlier shows
    "dry" now, then repeat the wet-finger test and confirm it goes "wet".
  4. Turn off "Log raw device shadow data" if it's still on.

One open question: muteStatus reads 1 on all your sensors even when nothing
is alarming, so I'm not treating it as "muted" yet. If you ever silence a
water alarm from the sensor or the app, it would help to know whether the
muteCode attribute on that device changes.

Great! The water status shows as "wet" when it should, but the alarm status still shows as "idle".

Here is the log showing the alarm active:

[X-Sense] Raw shadow for 0000000A: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"1","muteStatus":"1","silenceTime":"0","time":"20261003160535","zoneName":""}}

Here is the log, showing the alarm active, but muted/silenced:

[X-Sense] Raw shadow for 0000000A: {"rfLevel":"3","online":"1","type":"SWS51","batInfo":"3","status":{"alarmStatus":"1","muteStatus":"0","silenceTime":"0","time":"20261003160540","zoneName":""}}

Also, got some more info for the Temp/Humidity Sensor:

This field appears to be the low & high temperature setpoints in Celsius "e":[12.8,29.4]

This field appears to be the low & high humidity setpoints as a percentage: "f":[0,100]

Here is a triggered alarm for low temperature:

[X-Sense] Raw shadow for 0000000C: {"rfLevel":"3","online":"1","type":"STH0B","batInfo":"3","status":{"a":"1","b":"21.8","c":"55.0","d":"2","t":"20261003161104","e":[32.8,45.6],"f":[0,100],"g":"1","h":"0","zoneName":""}}

And here is a triggered alarm for high temperature:

[X-Sense] Raw shadow for 0000000C: {"rfLevel":"3","online":"1","type":"STH0B","batInfo":"3","status":{"a":"1","b":"21.8","c":"55.4","d":"2","t":"20261003161304","e":[-2.2,5],"f":[0,100],"g":"1","h":"0","zoneName":""}}

Thanks! Three fixes in 2.1.1:

  1. The alarm state staying "idle" while water showed "wet" was a bug on my side. Fixed. alarmState now goes idle / water / muted.
  2. Your silenced-alarm log showed muteStatus works backwards from what the name suggests: 1 is normal, 0 means the alarm has been silenced. The muteStatus attribute now reports "muted" or "notMuted" correctly.
  3. For the temperature/humidity sensor, alarmState now tells you which limit was crossed: lowTemperature, highTemperature, lowHumidity, or highHumidity. Your low and high test cases both classify correctly.

Just update in Hubitat Package Manager. No need to recreate devices this time.
If you get a chance, re-run the wet test once and check that alarmState shows
"water", then "muted" after you silence it.

Thanks for the quick testing.

Matt

Hmm..... Water alarm still shows "idle" when "wet" and muteStatus shows "notmuted" whether muted or not. The Temp Alarm doesn't seem to register. Let me know if you need any additional logs and thank you so much for everything you've done so far. Amazing!

Thanks - hopefully found it! The alarm and mute logic was in place but never ran. The app checks whether a child device is one of its own drivers before handing it the full status, and that check always came back false on Hubitat. So the app fell back to sending only the bare wet/dry and temperature values, which matches what you saw: water worked, everything derived from it didn't.

2.1.2 fixes the check. Update in Hubitat Package Manager, then:

  1. Wet a sensor: water should show "wet" and alarmState "water".
  2. Silence it: muteStatus should flip to "muted" and alarmState to "muted".
  3. On the temperature sensor, set a range that triggers and alarmState should show lowTemperature or highTemperature.

serialNumber and deviceType should also now be filled in on every child.

If anything still looks off, send the same raw shadow lines plus the device's attribute list and I'll take it from there.

Thanks for the back and forth on the testing - a bit more difficult when I don't have hardware to iterate against!

Matt

Everything works as expected. Thank you so much!!!! Next step for me is to hook up a Z-Wave relay to my well pump and create the rule to shutoff the well pump if water is detected. Love this!!!!

Awesome - enjoy!

Matt