I would like to tap into the wealth of knowledge here and ask a question related to my current teensy project.
I have installed a pneumatically actuated dog door that for now is operated by a Sonoff relay using a virtual assistant. But my end goal is to use BLE and iBeacons to not only ID my dogs but to determine when to open/close the door based on their proximity to the door (RSSI). So to achieve this, I am using a T3.x with an XBee3 and an ext antenna. The system works great and is sensitive to the iBeacons.
My question is about the best way to mux the RSSI values together. For example, and to simplify the use case:
On the surface this seems simple, but I'm trying to find a good balance between these two states. Ideally, I think the execution of the opened/closed state should be weighted toward leaving the door open to prevent pinches, etc.
Any suggestions on an algorithm that is common in a scenario like this? I could go the infrared/ultrasonic route like the automatic doors at your favorite grocery store, but I like the simplicity of one central wireless sensing mechanism instead of installing two physical sensors, the wiring, etc.
I have installed a pneumatically actuated dog door that for now is operated by a Sonoff relay using a virtual assistant. But my end goal is to use BLE and iBeacons to not only ID my dogs but to determine when to open/close the door based on their proximity to the door (RSSI). So to achieve this, I am using a T3.x with an XBee3 and an ext antenna. The system works great and is sensitive to the iBeacons.
My question is about the best way to mux the RSSI values together. For example, and to simplify the use case:
- One beacon near, ignore all others and OPEN
- No beacons with RSSI below threshold or undetectable: CLOSE
On the surface this seems simple, but I'm trying to find a good balance between these two states. Ideally, I think the execution of the opened/closed state should be weighted toward leaving the door open to prevent pinches, etc.
Any suggestions on an algorithm that is common in a scenario like this? I could go the infrared/ultrasonic route like the automatic doors at your favorite grocery store, but I like the simplicity of one central wireless sensing mechanism instead of installing two physical sensors, the wiring, etc.