{"id":1159,"date":"2024-12-14T13:54:14","date_gmt":"2024-12-14T13:54:14","guid":{"rendered":"https:\/\/homeycornelisse.nl\/flow\/?p=1159"},"modified":"2024-12-14T13:54:42","modified_gmt":"2024-12-14T13:54:42","slug":"huis-status-met-homey","status":"publish","type":"post","link":"https:\/\/homeycornelisse.nl\/flow\/2024\/12\/14\/huis-status-met-homey\/","title":{"rendered":"Huis status met Homey"},"content":{"rendered":"\n<p>Om ervoor te zorgen dat mijn huis in een bepaalde modus komt zodra ik het huis verlaat of thuiskom, maak ik gebruik van geofencing. Op mijn telefoon gebruik ik de app Locative (alleen beschikbaar voor Apple-gebruikers) die mijn locatie bijhoudt. Zodra ik buiten of binnen het opgegeven gebied kom, stuurt Locative een webhook. In Homey wordt dan een flow gestart die controleert of de webhook aangeeft dat ik thuis of weg ben. Op basis daarvan wordt de status van mijn huis ingesteld.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"272\" src=\"https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-11-1024x272.png\" alt=\"\" class=\"wp-image-553\" srcset=\"https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-11-1024x272.png 1024w, https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-11-300x80.png 300w, https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-11-768x204.png 768w, https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-11.png 1303w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Zodra de status \u201cThuis\u201d op \u201cJa\u201d wordt gezet, wordt direct het volgende deel van de flow gestart. Hierin wordt gecontroleerd of de waarde van de variabele \u201cThuis\u201d op \u201cJa\u201d staat. Als dit het geval is, wordt de status naar \u201cThuis\u201d gezet. Vervolgens wordt gecontroleerd of er verlichting nodig is. Indien nodig wordt de verlichting ook ingeschakeld.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"143\" src=\"https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-12-1024x143.png\" alt=\"\" class=\"wp-image-554\" srcset=\"https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-12-1024x143.png 1024w, https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-12-300x42.png 300w, https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-12-768x107.png 768w, https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-12-1536x214.png 1536w, https:\/\/homeycornelisse.nl\/flow\/wp-content\/uploads\/sites\/4\/2024\/04\/afbeelding-12.png 1823w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Om ervoor te zorgen dat mijn huis in een bepaalde modus komt zodra ik het&hellip;<\/p>\n","protected":false},"author":1,"featured_media":555,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[89,90],"tags":[],"class_list":["post-1159","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced-flow","category-algemeen"],"_links":{"self":[{"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/posts\/1159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/comments?post=1159"}],"version-history":[{"count":1,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/posts\/1159\/revisions"}],"predecessor-version":[{"id":1160,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/posts\/1159\/revisions\/1160"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/media\/555"}],"wp:attachment":[{"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/media?parent=1159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/categories?post=1159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/homeycornelisse.nl\/flow\/wp-json\/wp\/v2\/tags?post=1159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}