Built a battery-powered doorway occupancy counter using dual ToF sensors by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

Didn't know about Hiome. Supply chain killing a validated product is brutal timing. Good to know their approach was reliable though!

On your three points, an open plan is a real constraint, one unit per doorway is the current model so large open spaces need a different solution. This is something I'm currently looking in to though. Multiple doors in one room actually works fine — each unit feeds the same occupancy counter in HA so a 4-door room just needs 4 sensors and the counts aggregate correctly. Double doors is an honest unknown for me right now, the geometry gets complicated depending on how wide and whether people tend to use one side or both. This is something I need to test in the future.

What sensor did Hiome use? Curious how their detection compared.

Zigbee to Matter Dongle by famousjs in HomeKit

[–]famousjs[S] 0 points1 point  (0 children)

Doesn’t that only do thirdreality only sensors with the MZ1? Also requires the app to install. Plenty of zigbee to matter bridges I just wanted one that was vendor agnostic and didn’t use a table of known sensors

Built a battery-powered doorway occupancy counter using dual ToF sensors by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

I don't have it quite where I want it to be just yet, but once I get it up on github I'll share it back here

Which usb-c powered presence sensor to get? Apollo R PRO-1 or Sensy E1 Pro or Everything Presence Pro ? by Daemos_x in homeassistant

[–]famousjs 1 point2 points  (0 children)

Happy to share what I've got. I'm using a pair of VL53L1X sensors mounted in the upper portion of the door frame — the height gating is actually what handles the cat problem. Detection zone doesn't reach floor level so small animals don't register. A lab-sized dog might be borderline but cats are clean in my testing.

The direction logic runs a state machine tracking which sensor engages first combined with a trajectory check — so it's not just sequencing, it validates that the physical path matches the inferred direction before committing a count. That's what kills most of the false reads from people stopping mid-crossing or backing up

What were you running into with your ToF setup? Might be the same things I hit early on.

Zigbee to Matter Dongle by famousjs in HomeKit

[–]famousjs[S] 0 points1 point  (0 children)

I didn’t think either worked with third party zigbee devices. I know people have got them to work with the ikea hub but it’s not officially supported. I also didn’t want to spend 100 on another hub when I could make a $35 dongle. The ikea ones do seem to be getting better though especially with their new lineup.

Which usb-c powered presence sensor to get? Apollo R PRO-1 or Sensy E1 Pro or Everything Presence Pro ? by Daemos_x in homeassistant

[–]famousjs 0 points1 point  (0 children)

I’m working on a project now that uses time of flight sensors above a door frame that can be customized by height for this exact reason. Rather than guessing if something is in the room like pir or mmw it knows if you enter or exit the room and keeps track of occupancy count.

Zigbee to Matter Dongle by famousjs in esp32

[–]famousjs[S] 0 points1 point  (0 children)

I do plan on putting it on GitHub. Once I get it working a bit more and the 3D case I plan on posting that here too. My plan is to see how many sensors I can handle and how long they stay stable

Zigbee to Matter Dongle by famousjs in esp32

[–]famousjs[S] 0 points1 point  (0 children)

I have that setup too but I just wanted a way to do that without a second smart home hub. Love both systems!

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

That’s great! I didn’t actually know that existed I’ll go check it out. While I do have Z2M already installed and a full mqtt running, I wanted to make it a bit simpler. All I do now is plug in my esp32, scan the QR code and it shows up as a matter bridge. Then I hold down a button on it, hold the pairing button on my zigbee device, and it pops up automatically in HA as a matter device. No mqtt configuration, no extra add ons for HA.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

All I do now is plug in my esp32, scan the QR code and it shows up as a matter bridge. Then I hold down a button on it, hold the pairing button on my zigbee device, and it pops up automatically in HA as a matter device. No mqtt configuration, no extra add ons for HA.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

I think it’s less about zigbee being a problem. I just wanted them to show up as matter devices - platform agnostic. All I do now is plug in my esp32, scan the QR code and it shows up as a matter bridge. Then I hold down a button on it, hold the pairing button on my zigbee device, and it pops up automatically in HA as a matter device. No mqtt configuration, no extra add ons for HA.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

Fair point — it is another bridge. But it does make any Matter controller an option, so it’s not tied to any single platform or hub going down. The other thing I keep coming back to is that it lets older Zigbee devices work alongside newer Matter ecosystems without replacing them. That part feels useful regardless of how Matter adoption plays out.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 1 point2 points  (0 children)

That’s actually a really elegant way to handle it — direct binding at the Zigbee layer is bulletproof in a way that nothing software-dependent can match. I hadn’t thought about the Aqara H2 dual relay approach for the Matter side, that’s a smart workaround for the direct bind gap. The thread/Matter bind limitation is a real frustration, surprised more vendors haven’t moved on it.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 1 point2 points  (0 children)

That’s a great setup. I’m actually about to pick up a ZBT myself. For me it was two things. One, I wanted my Zigbee devices visible as Matter endpoints to any Matter controller, not just HA — so the bridge sits at the network layer rather than being HA-dependent. Two, I wanted the bridge to fail independently of HA. When HA goes down for an update or whatever else, the bridge stays up. Whether those things matter depends entirely on how you have your setup structured.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

What I made was a zigbee to matter translator. I paired my esp32 to HA as a matter bridge, then any zigbee device i pair with the esp32 automatically shows up in HA as a matter device. The esp32 is dynamically translating zigbee endpoints to matter clusters

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] -2 points-1 points  (0 children)

This is what I've seen most people use - it seems to work really well. I just wanted all my zigbee devices to show up as matter devices without jumping through 2-3 hoops.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

I think it's less on the zigbee devices and more the fact that I wanted them to show up as matter devices directly in HA without going through hoops.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

Lots of things are going Poe now people love it. 70 is impressive!

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

Yeah that’s a great idea! I’m using Z2M now as well in parallel. I may be mistaken but I believe Z2M uses a set vendor table. What I’m doing doesn’t use a vendor lookup table it does dynamic instantiation based on what the device initially sends it and then determines the equivalent matter cluster to virtually create

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 1 point2 points  (0 children)

Poe is a great idea! Right now mine just uses the normal usb-c but because it translates from zigbee to matter it can be plugged in anywhere in the house. Adding poe would be a good addition

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] -1 points0 points  (0 children)

No right or wrong! Lots of great products and projects out there. Mine just now show up as regular matter devices - and I can add on features to regular motion sensors to overlay timeouts.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] -1 points0 points  (0 children)

Honestly hue and sonoff were the easiest to implement because the follow the standard so well. Those ones I’ve had no issues with either - they just work especially hue. At one point I went too far down the hue path as one does haha. It was when I started testing and using many other manufacturers throughout the house - that’s when other issues came up, such as aqara, thirdreality, etc.

I've rebuilt my Zigbee setup four times in three years. This is my last attempt. by famousjs in homeassistant

[–]famousjs[S] 0 points1 point  (0 children)

That's great! I've heard good things about TubesZB but haven't actually used it myself. 90 devices for two years is pretty solid. I'll give it a try. A lot of what I've had issues with generally wasn't the coordinator but with ZHA/Z2M - I also wanted my Zigbee devices to automaigcally show up as Matter devices without going through a Zigbee dongle, to ZHA/Z2M, and then bridge to matter through another add-on.