![]() ![]() Sorry this took so long but I think we all got confused as to what you are actually doing :-) So, I believe you have a tuya wifi door sensor. If it were me I'd probably look into getting better sensors (zigbee?) and/or flashing Tasmota/ESPHome over the Tuya firmware on the sensors you have. You may be able to work around this using IFTTT or HomeBridge if either of those support your sensor, that's still a fairly hacky solution but at least it will give you the actual state of the sensor rather than its wifi-connected status. It's really useless if you care about anything other than the initial trigger, you can't depend on it too tell you the open/motion states at all, Opening and then immediately closing the door has the exact same result as leaving it open. I suppose this kind of setup could be tolerable for motion sensors, but even then I doubt it will stay connected the entire time there is motion so it's not really great for those either. Honestly I don't know who's idea this was but it's not a really great one. The sensor will connect to wifi momentarily after getting powered back on and give you an "open" state in your binary sensor. You will also get false positives if you remove the battery from the sensor and then replace it. Your binary sensor isn't actually reflecting the state of the sensor, it's just checking it's wifi connection status. It works as a band-aid to at least give you notice that the door was opened but it will only stay "open" for a few seconds because the sensor only connects to wifi for a few seconds to update its state. This is a side effect of the hacky way you are trying to use the sensor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |