{"id":11516,"date":"2026-05-31T13:26:42","date_gmt":"2026-05-31T11:26:42","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=11516"},"modified":"2026-05-31T13:42:12","modified_gmt":"2026-05-31T11:42:12","slug":"je-coupe-mon-dernier-tuya-du-cloud-pour-le-garder-en-local","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/je-coupe-mon-dernier-tuya-du-cloud-pour-le-garder-en-local","title":{"rendered":"I cut my last Tuya from the cloud to keep it local"},"content":{"rendered":"<h1><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11517\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113248.jpg\" alt=\"\" width=\"705\" height=\"140\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113248.jpg 705w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113248-300x60.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113248-600x119.jpg 600w\" sizes=\"auto, (max-width: 705px) 100vw, 705px\" \/><\/h1>\n<p>This is the last Tuya equipment I have left in my entire home automation ecosystem, and it is not just any: It feeds the grip of the straightener and the hairdresser of my wife. In other words, I never took it lightly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11518\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/inter.jpg\" alt=\"\" width=\"168\" height=\"145\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/inter.jpg 987w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/inter-300x259.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/inter-768x662.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/inter-600x517.jpg 600w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/p>\n<p>I don\u2019t like Tuya, and I say it bluntly: too many unpredictable behaviours, too many small malfunctions that happen without warning, and, on some Zigbee equipment, a way of doing things that often leads me to think that they are interpreting the protocol a bit to their liking.<\/p>\n<p>For years, this switch has done its job without flinching.<\/p>\n<p>Then one day, nothing on the Home Assistant side. Smart Life, on the other hand, continued to drive it without worry. No clear error, no big alert message, just a device that seemed to ignore me in the wrong place.<\/p>\n<h2>\ud83d\udd0e I see the concern<\/h2>\n<p>The first clue is that the Smart Life app was still working. I could turn on, turn off, test, check: Everything answered. On the other hand, in Home Assistant, nothing. No obvious mistake, no clear message, just a switch that seemed to go on vacation while the rest of the house continued to live.<\/p>\n<p>I tried the classics: reload the integration, delete and repair, start over cleanly. Nothing was done about it.<\/p>\n<p>On Tuya\u2019s Dev platform, the equipment was offline while it was online on my smartphone.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11520\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-105526.png\" alt=\"\" width=\"964\" height=\"131\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-105526.png 964w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-105526-300x41.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-105526-768x104.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-105526-600x82.png 600w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/p>\n<p>The most frustrating thing is that you feel like you are dealing with a blurred bug, when in reality the problem was elsewhere.<\/p>\n<h2>\ud83e\udde0 I understand why it's blocking<\/h2>\n<p>When I looked more closely, I came to understand why. I had just reorganised my local network and split my IP ranges: one party could go out on the internet, the other could not.<\/p>\n<p>The switch had just landed in the blocked slice. Result: more connection to the Tuya cloud, and therefore more correct visibility in Home Assistant.<\/p>\n<p>The decisive test was simple. From my smartphone, while I was on Wi\u2011Fi, I could still control the switch. As soon as I cut Wi\u2011Fi and switched to 4G, it became inaccessible.<\/p>\n<p>There, I had the click: Local piloting worked well, but cloud addiction sabotaged everything else.<\/p>\n<h2>\ud83d\udd0c I switch to Tuya Local<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11517\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113248.jpg\" alt=\"\" width=\"363\" height=\"72\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113248.jpg 705w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113248-300x60.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113248-600x119.jpg 600w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/p>\n<p>From then on, the decision was immediate: This last Tuya device was going to come out of the cloud. I no longer wanted to rely on an external service for such sensitive equipment in the house, especially when it directly touches my wife\u2019s hairdresser and straightener.<\/p>\n<p>When a device is used every day, we want it to be simple, stable and, above all, predictable.<\/p>\n<p>So I decided to move permanently out of the traditional Tuya integration to move on to <a href=\"https:\/\/github.com\/make-all\/tuya-local\" target=\"_blank\" rel=\"noopener\">Tuya Local<\/a>, so that Home Assistant speaks directly to the switch, without going through the Tuya servers for each order.<\/p>\n<h2>\u2699  I configure the integration<\/h2>\n<p>I have installed <a href=\"https:\/\/github.com\/make-all\/tuya-local\" target=\"_blank\" rel=\"noopener\">Tuya Local<\/a> in Home Assistant, then I launched the Add wizard. And this is where I found the approach rather pleasant: the integration offers a configuration supported by the Smart Life cloud, or manual input if you prefer to control everything yourself.<\/p>\n<p>Installation is very simple, the custom repository of https:\/\/github.com\/make-all\/tuya-local is added via HACS<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11521\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-111823.png\" alt=\"\" width=\"353\" height=\"171\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-111823.png 590w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-111823-300x145.png 300w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><\/p>\n<p>I then chose Tuya Local integration and let the assistant guide me. I took the first choice that does the job for me.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11526\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-111840.png\" alt=\"\" width=\"558\" height=\"385\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-111840.png 558w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-111840-300x207.png 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/p>\n<p>For my model, Home Assistant automatically proposed a type profile <em>Dual switch with timers<\/em>, which fit perfectly with the functions of the device.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11527\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-112214.png\" alt=\"\" width=\"590\" height=\"317\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-112214.png 590w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-112214-300x161.png 300w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/p>\n<p>Just that reassured me: we were not facing a mysterious device, but a double switch with a timer, well understood by the integration.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11528\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-112935.png\" alt=\"\" width=\"584\" height=\"748\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-112935.png 584w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-112935-234x300.png 234w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/p>\n<p>Next, the technical information had to be checked: the <strong>device ID<\/strong>, l\u2019<strong>IP address<\/strong>, the <strong>local key<\/strong> and the <strong>Protocol version<\/strong>.<\/p>\n<p>The assistant did everything, he recovered everything and it took me 2 minutes. I went step by step, and once the fields were filled in, all that remained was to validate.<\/p>\n<h2>\u2705 I turn the switch back on<\/h2>\n<p>The result was immediate: the device is reassembled correctly in Home Assistant. The two switches are there, the timers too, and the whole thing finally responds as I expected.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11522\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113032.png\" alt=\"\" width=\"403\" height=\"333\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113032.png 670w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113032-300x248.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-113032-600x495.png 600w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/p>\n<p>I must say that it feels good to see Tuya equipment finally live its life in my local network, without having to ask for permission from an external cloud for each action.<\/p>\n<p>This is even more satisfying when we know that the latter device was also the most sensitive in the house, the one that we do not want to see become capricious at the wrong time.<\/p>\n<p>Obviously, I am removing the Tuya integration which no longer serves any purpose.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11523\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-105819.png\" alt=\"\" width=\"665\" height=\"238\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-105819.png 665w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-105819-300x107.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-31-105819-600x215.png 600w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/p>\n<h2>\ud83e\udde9 I learn from history<\/h2>\n<p>In essence, this story confirmed to me what I have been thinking for a while: I prefer by far local, simple and predictable solutions.<\/p>\n<p>With Tuya, I have always been wary, because too often I have seen integrations that fail, states that go wrong, or Zigbee devices that load the network instead of serving it.<\/p>\n<p>I am not saying that everything is bad at Tuya, but in my house I have clearly made my choice.<\/p>\n<p>This last switch is now in Home Assistant, locally, under control, and especially far from the whims of the cloud. It was the last Tuya in the house. He held on, but he ended up losing the cloud battle but stays alive locally.<\/p>","protected":false},"excerpt":{"rendered":"<p>This is the last Tuya equipment I have left in my entire home automation ecosystem, and it is not just any: It feeds the grip of the straightener and the hairdresser of my wife. In other words, I never took it lightly. I don\u2019t like Tuya, and I say it bluntly: [\u2026]<\/p>","protected":false},"author":1,"featured_media":11525,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,53],"tags":[],"class_list":["post-11516","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotique","category-home-assistant"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/11516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/comments?post=11516"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/11516\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media\/11525"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=11516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=11516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=11516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}