ME201WZ constantly loses settings parameters
What happened?
i have this water level meter but sometimes it just decides to reset itself thus having to put the tank width/depth parameters again
What did you expect to happen?
No response
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
2.10.1
Adapter firmware version
,
Adapter
zbt-2
Setup
ha green
Device database.db entry
No response
Debug log
No response
Notes
No response
I'm looking into this your issue. With my limited experience/knowledge I don't see anything wrong with the converter code. Sorry i'm unable to help here.
The only thing i notice is that some datapoints get converted, which might not be needed, I don't know if this might cause issues like you are experiencing.
I notice tha currently the depth is in meters, but might be better processed in centimeters.
[2, "liquid_depth", tuya.valueConverter.divideBy100],
e.numeric("liquid_depth", ea.STATE).withUnit("m").withDescription("Liquid Depth"),
Also "installation height" is being calculated in "meters" while "milimeters" would also be possible without the calculation:
[19, "installation_height", tuya.valueConverter.divideBy100],
e.numeric("installation_height", ea.STATE_SET).withUnit("m").withValueMin(0.1).withValueMax(4).withValueStep(0.01),
decides to reset itself
As in leaving the network, and going into pairing mode? Or just setting the values, to what?
no it stays in the network,it just sets the values to the default ones,this happens from a few hours to a few days after setting the size of my tank
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days