uspass / tuya-water-leak-sensor Goto Github PK
View Code? Open in Web Editor NEWTuya Water Leak Sensor 8266ex based
Tuya Water Leak Sensor 8266ex based
Hi, what i'm doing wrong?
not getting battery status and sensor always showing dry. no change.
Thanks in advance
EDIT:
Managed to work with instructions on: https://github.com/xcompass/Tuya-Water-Leak-Sensor as Mercury one, but PID shows its NEO. Nevermind, its working now :)
Hi,
In order to flash the Tashmota firmware, i had to:
Took a lot of time to figure this out, hope it helps others.
In README.md, there is an error in Rule2. There is a missing ENDON after the first ON condition for BATT Full. This prevented the BATT status being published to MQTT.
I have this device: https://templates.blakadder.com/nedis_WIFIDW10WT.html
There's no J1 pin block like on the schematics, the only thing that looks like test/debug/programming pins doesn't have anything that sounds like it could be connected to GPIO0.
hi,
I have similar module but rebranded to local brand called as Fonri. It is written Wifi_Flood_v6.0. 20171130 on it. I flashed tasmota successfully with different tools. When I run the module for configuration in serial monitor there is empty screen and nothing happens.
I checked if flash successfull by downloading the firmware in it but it seems tasmota was in it successfully. I also erased firmware and then flash it. Tried all of the tools but tasmota can not run on it. Also there is no wifi ap connection. It seems it doesnt boot the tasmota.
Any ideas?
Thanks,
Eyup
This worked for a BAZZ Smart WiFi Water Leak Sensor. I used Tasmotizer with latest Tasmota 12.0.2.
For easier rule setting, apply +3V directly to VM0, then you don't have to keep connecting probe tips to power up the ESP. For normal use and rule testing, connect power to the + battery terminal.
Can you Help me discover how to find and use the MCU serial data?
This is my Console Log:
00:00:00.001 HDW: ESP8266EX
00:00:00.049 CFG: Loaded from flash at F8, Count 180
00:00:00.054 SER: Set to 8N1 9600 bit/s
00:00:00.057 ROT: Mode 1
00:00:00.059 SRC: Restart
00:00:00.060 Project Tasmota - Water Leak Sensor Version 10.0.0.1(tasmota)-2_7_4_9(2021-10-25T22:18:05)
00:00:00.168 RUL: SYSTEM#INIT performs "baudrate 9600"
00:00:00.169 SRC: Rule
00:00:00.170 CMD: Grp 0, Cmnd 'BAUDRATE', Idx 1, Len 4, Data '9600'
00:00:00.172 RSL: RESULT = {"Baudrate":9600}
00:00:00.175 RSL: RESULT = {"SerialReceived":"FE"}
00:00:00.212 WIF: Checking connection...
00:00:00.213 WIF: Attempting connection...
00:00:00.550 WIF: Connecting to AP1 ASUS RT-AC87U Channel 6 BSSId 2C:FD:A1:3D:A4:C0 in mode 11n as Bathroom-Water-Leak...
00:00:01.753 WIF: Checking connection...
00:00:01.754 WIF: Connected
00:00:01.813 RUL: WIFI#CONNECTED performs "serialsend5 55AA000800010008"
00:00:01.813 SRC: Rule
00:00:01.815 CMD: Grp 0, Cmnd 'SERIALSEND', Idx 5, Len 16, Data '55AA000800010008'
00:00:01.817 RSL: RESULT = {"SerialSend":"Done"}
00:00:02.005 HTP: Web server active on Bathroom-Water-Leak with IP address 192.168.1.58
00:00:02.424 NTP: Synch time...
00:00:02.513 RTC: UTC 2022-05-29T12:27:56, DST 2022-03-27T02:00:00, STD 2022-10-30T03:00:00
13:27:56.000 NTP: Synched
13:27:57.016 MQT: Attempting connection...
13:27:57.028 MQT: Connected
13:27:57.031 MQT: tele/bathroom/water/leak/LWT = Online (retained)
13:27:57.033 MQT: cmnd/bathroom/water/leak/POWER =
13:27:57.035 MQT: Subscribe to cmnd/bathroom/water/leak/#
13:27:57.038 MQT: Subscribe to cmnd/tasmotas/#
13:27:57.039 MQT: Subscribe to cmnd/Bathroom_Water_Leak_fb/#
13:27:57.041 MQT: Unsubscribe from homeassistant/status
13:27:57.045 MQT: tele/bathroom/water/leak/INFO1 = {"Info1":{"Module":"Water Leak Sensor","Version":"10.0.0.1(tasmota)","FallbackTopic":"cmnd/Bathroom_Water_Leak_fb/","GroupTopic":"cmnd/tasmotas/"}}
13:27:57.052 MQT: tele/bathroom/water/leak/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"Bathroom-Water-Leak","IPAddress":"192.168.1.58"}}
13:27:57.059 MQT: tele/bathroom/water/leak/INFO3 = {"Info3":{"RestartReason":"Power On"}}
13:27:57.324 HTP: Console
13:28:01.398 MQT: tele/bathroom/water/leak/STATE = {"Time":"2022-05-29T13:28:01","Uptime":"0T00:00:09","UptimeSec":9,"Heap":29,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"ASUS RT-AC87U","BSSId":"2C:FD:A1:3D:A4:C0","Channel":6,"Mode":"11n","RSSI":82,"Signal":-59,"LinkCount":1,"Downtime":"0T00:00:03"}}
13:28:02.393 APP: Boot Count 150
13:28:02.615 CFG: Saved to flash at F7, Count 181, Bytes 4096
13:28:06.433 MQT: tasmota/discovery/BCDDC2A324C1/config = {"ip":"192.168.1.58","dn":"Water Leak Sensor","fn":["Water Leak Sensor",null,null,null,null,null,null,null],"hn":"Bathroom-Water-Leak","mac":"BCDDC2A324C1","md":"Water Leak Sensor","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"10.0.0.1","t":"bathroom/water/leak","ft":"%prefix%/%topic%/","tp":["cmnd","stat","tele"],"rl":[0,0,0,0,0,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":1,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0,"117":0},"lk":0,"lt_st":0,"sho":[0,0,0,0],"ver":1} (retained)
13:28:06.437 MQT: tasmota/discovery/BCDDC2A324C1/sensors = {"sn":{"Time":"2022-05-29T13:28:06"},"ver":1} (retained)
13:28:15.538 MQT: tele/bathroom/water/leak/RESULT = {"SerialReceived":"55AA0005000565010001017155AA00050008660200040000003CB4"}
13:28:15.780 WIF: Checking connection...
13:28:16.263 MQT: tele/bathroom/water/leak/RESULT = {"SerialReceived":"55AA0005000565010001007055AA00050008660200040000003CB4"}
13:28:35.796 WIF: Checking connection...
Thank you
Had been using the Merkury brand version with the Tuya app prior to flashing Tasmota. Once flashed when I insert the battery it very quickly overheats, any theories why this might be?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.