Share Your Device! - Advanced Virtual Devices from Device Capabilities

Tuya (WiFi) Thermostat with flows [experimental]


Tuya Cloud app doesn’t support thermostats (yet), but it sends and receives text events.
This way, you can control the thermostat (for most parts), and, the thermostat can control Homey (for most parts).

Tile

Screenshot_20220928-130215_Homey

Device

Screenshot from 2022-09-28 02-33-49

Flow

Screenshot 2022-09-28 at 02-06-02 1.HomeyPro Peter



  • Import the device, by right-click > repair at your new AVD device
    Screenshot from 2022-09-28 03-04-03

  • Import flow preview
    Screenshot from 2022-09-28 13-01-28

  • After it is (should be) created, the Tuya Device ID (of the thermostat) has to be entered into the variable [Tuya Thermostat ID]
    Screenshot from 2022-09-28 02-56-03

Apps used:

NOTE: Experimental

Inspired by, and used for testing with:
https://community.homey.app/t/device-request-magnum-heating-mrc-wifi-thermostat/68610/10


TEF:

[TEF:AVD,FLOWS:H4sIAAAAAAACA+17iW7jSLblrxjGw2AGapa4LwYeBqRWaiMpUQtZXUhEkEGK4ioukqh+9U/9De/LJijLaVvpzFK/cnajgTESaYuMYNz13HODob89uugQOEh10uTx6XHIFqr8/NORqdWypgVoyGexvxxIQjQRvF1A+95iaTCjfdibVtt1mherrr3bL/oJ6KYHxl07WR4WqTjXFovhpsMMSUafw8iLoMesu10pWq/P+UqfdQ9rsVrLw8J1RfcUrblFK4qWq00icokWp0LX4de9nrJM62qynFXe4SS5q7GRzRedqQS8dStqHaIyCQElFqfDZjOLd9CttbWXCTDvp94uhSEgma7ILOqWj041dyjo2VLfWNFBbbc6HAOga/irRavaUHzVquNDvKacGtHpAh4UYZHTUwnKhyyS1tPJqr0vO6XB2eTGt0+7RZjUTqGtOieD6knH3lzq1SNHFxyXG6jacSImm91QEg+7XSuQaHM3Mkyhd+iezlG8SpZTNdPoWWj1p568W4cjjVklhzhaWDY6UvlRWEanWS+Uc6SVPWkRZtAZ62O+T524ScBwtcwU7QmzGuyCs3mYO+isInsVTnI7mGaDc8CrS/08St2ZIOymWmdhasFpHJllLS8HbtpaGv5+vtPmqto2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evZcX2vNO0OZxLorAV+Jzl84vvd3zzOb7MC+c8nLKIK6iMsiioLlCXb6bI4ieI3kYknGLhQuZgLCAIoUIxsH8SAQeLmTi+++v/NlA/PbbtF+cLUh85H783QfoSJiKYMM5DGpwlaEwVEGK8CBJM4JLYu7IXwgfI3AQAxCuyZjiESyNgwsILiAkUoCYeTou+opNz6qwf1aVy5cuv1z6l+98vYRkPRLxPE715gQC5DHMOhhrWYlDNEO7ELrPZPWugdeD5a+QcNf3SwqUuOb1u0Sd5zN7H/cyb89d/+lD4O/eqH094fG+oDy/EW6i8C4fv1ef/zfS/tuzsLeGeIOM92Tk09O3WfSyS+XwHi7iJOHRpNB8xw0zENflCZ6hOdKlPRoL+y4LaP5TsqBpLT9OAhe6gHI9nhAZCvcWJA8JwEGHwI/DerE4OXn2+Utq9wx8HwU0+++fBK+HSi7nXFjPxWjFE57ToFjzjg8wpEe4jIAgFDDJFJx3/uP+7K7X1V1f3pe3N+zgFpBZiAk7SxMkJeBHY8pCiAJGLddDHsXgph634d/ZZPygyf1Bgxs3tzHjvVaHC1Dcs/b7EOHof/8QeUuc7oiPp6fD267LBc12KSQQS2JZJOgSEEKRYESJZCWH5ZD7vsTz4j85oigHSaJD45rHYKBjRZohIMtRzSsj4LK4qjsc+EFEfbsT8INdgA+C6q7lb6rPv1P5eTXKD+Lqnih5G1e///7b7/8PYdWYQh5cAAA=]
1 Like

Debounce Example for Status Indicator Text Update every 3 seconds

This is an example of how to use the Debounce function of Advanced Triggers - Forum Topic.
It shows how you could use the Debounce function to keep the Status Text update from overloading the Homey App, by making sure the Status Text is only updated every 3000ms (you can set this yourself).

I used Simple LOG to write into a log, but you can replace that off course.


Apps used:


TEF:

[TEF:AVD,FLOWS:H4sIAAAAAAACA9VXa4+buhb9K1U+3auUjg0GTKT7Ie+EvN+TVNXINoYQHiE8JmGq/vdjSOf0zpy0J+q3BgmCvb2991pr2+ZrxeLPLuN9dgwrtUoPJf369des6+uVLB/paN4wlm7r4ThRl3V1k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