From fa7b1681e3014d143e786ebc0fd41105be312525 Mon Sep 17 00:00:00 2001 From: luismalddonado <75176123+luismalddonado@users.noreply.github.com> Date: Mon, 30 Nov 2020 09:36:34 +0100 Subject: [PATCH] Update TS130F.md (#472) Calibration process described --- docs/devices/TS130F.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/devices/TS130F.md b/docs/devices/TS130F.md index 25093bed395c..2db7d85a08d2 100644 --- a/docs/devices/TS130F.md +++ b/docs/devices/TS130F.md @@ -23,6 +23,13 @@ description: "Integrate your TuYa TS130F via Zigbee2MQTT with whatever smart hom * `invert_cover`: By default the position/tilt values mean: open = 100, closed = 0. This can be inverted by setting this option to true (so open = 0, close = 100). +### Calibration + +* Open curtains completly +* Send calibration command to the switch: mosquitto_pub -d -m 'on' -t 'zigbee2mqtt/Living_Room_Sunblind_Switch/set/calibration' +* Press on close button on the switch, wait until curtains are fully closed +* Send calibration command to the switch: mosquitto_pub -d -m 'off' -t 'zigbee2mqtt/Living_Room_Sunblind_Switch/set/calibration' + ## Manual Home Assistant configuration Although Home Assistant integration through [MQTT discovery](../integration/home_assistant) is preferred,