localtuya icon indicating copy to clipboard operation
localtuya copied to clipboard

Smoke detector not discovered

Open domerich opened this issue 1 year ago • 6 comments

my WIFIDS10WT smoke detector is not discovered.

domerich avatar Oct 11 '22 17:10 domerich

well its battery operated so... yeah. this is expected. same with other wifi based tuya device that is battery powered (eg, temperature, motion sensor etc...)

as always this is not a bug, its just that this device sleep a lot, and this device is only connected to wifi network for 10seconds or less, just enough to report something to the cloud.

that 10second is your main issue, after all you cant really discover a device that is already disconnected to the wifi in the first place.

remlei avatar Oct 14 '22 00:10 remlei

change the smoke detector with a Zigbee variant and the problem should be solved

leeyuentuen avatar Oct 16 '22 23:10 leeyuentuen

Unfortunately as it seems, battery powered wifi sensor is just bad.

The only forgivable wifi based tuya sensor is the mmwave presence sensor since theres no way you will be powering this using a battery.

Other else like PIR sensor, temperarure sensor, light sensor, door sensor, smoke sensor, water sensor etc... that are battery powered and uses wifi are pointless and basically a ewaste at this point.

Tl;dr just get a zwave/zigbee based sensor if your dealing with battery powered devices.

remlei avatar Oct 17 '22 05:10 remlei

when you configure it right it works - partly. the devices all show unknown status, however in case of fire or low battery they will show that status. When you press the test button the status will also show.

The clear status I only got in some cases and only one time when installing the battery.

image

domerich avatar Oct 28 '22 08:10 domerich

Even if you managed to add it, it will be finicky to make it work with localtuya, after all these tuya device can on push notification to cloud, and you can only do polling in local connection which localtuya is not specifically designed to persistently reconnect to a device that rarely only get connected to wifi and this will probably flood the logs.

My best advice for these devices is just add this devices via official tuya integration.

remlei avatar Oct 31 '22 06:10 remlei

Even if you managed to add it, it will be finicky to make it work with localtuya, after all these tuya device can on push notification to cloud, and you can only do polling in local connection which localtuya is not specifically designed to persistently reconnect to a device that rarely only get connected to wifi and this will probably flood the logs.

My best advice for these devices is just add this devices via official tuya integration.

with official Tuya they don't work at all this is why I flashed them with tasmota

domerich avatar Oct 31 '22 07:10 domerich