Hi,
I have this tuya device
the only thing I can control successfully is ON/OFF state.
Cannot read/write any other property, even battery state.
EDIT: just checked, I can also read linkquality property (its 23)
I would like to adjust upper and lower limits, as its pressing the button too strong and burning the battery too fast
THINGS:
Thing topic Fingerbot "Fingerbot" @ "Living Room"
{
Channels:
Type switch : state "state" [ stateTopic = "zigbee2mqtt/Fingerbot/state", commandTopic = "zigbee2mqtt/Fingerbot/set" ]
Type number : battery "battery" [ stateTopic = "zigbee2mqtt/Fingerbot/battery" ]
Type number : linkquality "linkquality" [ stateTopic = "zigbee2mqtt/Fingerbot/linkquality" ]
Type string : mode "mode" [ stateTopic = "zigbee2mqtt/Fingerbot/mode", commandTopic = "zigbee2mqtt/Fingerbot/set" ]
Type number : upper "Fingerbot Upper %d %%" [ stateTopic = "zigbee2mqtt/Fingerbot/upper", commandTopic = "zigbee2mqtt/Fingerbot/set", min=0, max=50, step=1 ]
Type number : lower "lower" [ stateTopic = "zigbee2mqtt/Fingerbot/lower", commandTopic = "zigbee2mqtt/Fingerbot/set", min=0, max=100, step=1 ]
}
ITEMS:
Switch Fingerbot "Fingerbot [%s]" <button> {channel="mqtt:topic:mosquitto:Fingerbot:state"}
Number FingerbotBattery "Fingerbot Battery [%.1f %%]" <battery> (gBattery) {channel="mqtt:topic:mosquitto:Fingerbot:battery"}
String FingerbotMode "Fingerbot Mode [%s]" <button> {channel="mqtt:topic:mosquitto:Fingerbot:mode"}
Number Fingerbot_Link "Fingerbot Link [%d %%]" {channel="mqtt:topic:mosquitto:Fingerbot:linkquality"}
Number FingerbotUpper "Fingerbot Upper [%d %%]" {channel="mqtt:topic:mosquitto:Fingerbot:upper"}
Number FingerbotLower "Fingerbot Lower1 [%d %%]" {channel="mqtt:topic:mosquitto:Fingerbot:lower"}
do you see any mistake in the config? thanks