{"id":1090,"date":"2023-12-23T11:32:50","date_gmt":"2023-12-23T11:32:50","guid":{"rendered":"https:\/\/thomas.w-p.me.uk\/blog\/?p=1090"},"modified":"2024-03-18T15:45:12","modified_gmt":"2024-03-18T15:45:12","slug":"tasmota-auto-off","status":"publish","type":"post","link":"https:\/\/thomas.w-p.me.uk\/blog\/2023\/12\/tasmota-auto-off\/","title":{"rendered":"Tasmota Auto Off"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This took me a while the first time, then found I had to do it again and had to look it up once more. <a href=\"https:\/\/gist.github.com\/e-bits\/d013d4a796fac23b2525a0d10b107627\">One kind person had already worked this out <\/a> and it led me to this command in the tasmota console:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Rule1  ON Power1#state=1 DO RuleTimer1 1800 ENDON ON Rules#Timer=1 DO Power1 Off ENDON<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Rule1 1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To enable the rule.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This rule will turn off thetasmota socket 30 minutes after it is turned on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Of course, I should probably be doing that with Home Assistant now. Then I don&#8217;t have to go looking for the rule. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So that is what I did!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This took me a while the first time, then found I had to do it again and had to look it up once more. One kind person had already worked this out and it led me to this command in the tasmota console: Then To enable the rule. This rule will turn off thetasmota socket &hellip; <a href=\"https:\/\/thomas.w-p.me.uk\/blog\/2023\/12\/tasmota-auto-off\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Tasmota Auto Off<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,109],"tags":[],"class_list":["post-1090","post","type-post","status-publish","format-standard","hentry","category-geekiness","category-tasmota"],"_links":{"self":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/1090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/comments?post=1090"}],"version-history":[{"count":4,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/1090\/revisions"}],"predecessor-version":[{"id":1094,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/1090\/revisions\/1094"}],"wp:attachment":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/media?parent=1090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/categories?post=1090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/tags?post=1090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}