{"id":3046,"date":"2019-07-24T08:51:00","date_gmt":"2019-07-24T08:51:00","guid":{"rendered":"http:\/\/the-codest.localhost\/blog\/automatic-cat-feeder\/"},"modified":"2026-04-24T11:35:57","modified_gmt":"2026-04-24T11:35:57","slug":"sjalfvirkur-kattamatur","status":"publish","type":"post","link":"https:\/\/thecodest.co\/is\/blog\/automatic-cat-feeder\/","title":{"rendered":"Sj\u00e1lfvirkur kattamatur"},"content":{"rendered":"<p><strong>\u00cdmynda\u00f0u \u00fe\u00e9r svona a\u00f0st\u00e6\u00f0ur: klukkan er sex um morguninn \u00e1 laugardegi, \u00fe\u00fa liggur \u00fe\u00e6gilega \u00ed r\u00faminu og sefur enn dj\u00fapt. Skyndilega heyrir \u00fe\u00fa k\u00f6ttinn \u00feinn kl\u00f3ra \u00ed hur\u00f0ina, h\u00e1u mj\u00e1lmin hans ver\u00f0a \u00f3b\u00e6rileg og k\u00f6tturinn \u00feinn hefur allan t\u00edmann \u00ed heiminum til a\u00f0 l\u00e1ta \u00feig vita hva\u00f0 hann \u00fearfnast. Veistu hva\u00f0 hann \u00fearfnast \u00ed raun? \u00c9g veit \u2013 k\u00f6tturinn \u00feinn vill f\u00e1 mat n\u00fana! Akkurat n\u00fana! Hvernig veit \u00e9g \u00fea\u00f0? Vegna \u00feess a\u00f0 \u00e9g byrja\u00f0i einhvern t\u00edma a\u00f0 gefa k\u00f6ttinum m\u00ednum mat \u00e1 \u00feeim t\u00edma\u2026 Og au\u00f0vita\u00f0 var\u00f0 \u00fea\u00f0 n\u00fd venjulegur t\u00edmi til a\u00f0 f\u00e1 mat.<\/strong><\/p>\n<p>\u00deetta senario hvatti mig til a\u00f0 sm\u00ed\u00f0a sj\u00e1lfvirkan kattamatskei\u00f0, sem myndi fjarl\u00e6gja vandam\u00e1lin vi\u00f0 morgunmatgjaf fyrir ketti og halda k\u00f6ttnum gla\u00f0an.<\/p>\n<h2>Fyrsta kynsl\u00f3\u00f0<\/h2>\n<p>Fyrsta kynsl\u00f3\u00f0 kettarmatsins var einf\u00f6ld <a href=\"https:\/\/thecodest.co\/is\/dictionary\/how-to-build-an-mvp\/\">Mest ver\u00f0m\u00e6ti leikma\u00f0urinn<\/a> Ger\u00f0 \u00far pappa, einf\u00f6ldum serv\u00f3 og ESP WeMos. \u00dea\u00f0 nota\u00f0i serv\u00f3 til a\u00f0 sn\u00faa efri \u00edl\u00e1ti um 180 gr\u00e1\u00f0ur til a\u00f0 \u00fathluta matnum.<\/p>\n<p><iframe loading=\"lazy\" title=\"Google Home kettamaturshafi\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/XM9isy4HUUo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>\u00d6rst\u00fdrit\u00e6ki var tengt vi\u00f0 sta\u00f0bundna Wi-Fi-tengingu m\u00edna og haf\u00f0i samskipti vi\u00f0 Smart Home-\u00fej\u00f3ninn sem keyr\u00f0i HomeAssistant yfir MQTT-samskiptareglunni. \u00de\u00f6kk s\u00e9 \u00fev\u00ed gat \u00e9g nota\u00f0 sj\u00e1lfvirknikerfi HomeAssistant til a\u00f0 forrita f\u00f3\u00f0run og dreifingu f\u00e6\u00f0is me\u00f0 Google Home-skipunum. Hver f\u00f3\u00f0run var skilgreind sem s\u00e9rstakur vi\u00f0bur\u00f0ur \u00ed Google Calendar. \u00deetta ger\u00f0i m\u00e9r kleift a\u00f0 stj\u00f3rna f\u00f3\u00f0runart\u00edma kattarins au\u00f0veldlega og breyta honum \u00feegar \u00fe\u00f6rf krefur.<\/p>\n<p>Au\u00f0vita\u00f0 lenti \u00feessi kynsl\u00f3\u00f0 \u00ed nokkrum vandam\u00e1lum:<\/p>\n<ul>\n<li>Efri \u00edl\u00e1ti\u00f0 losna\u00f0i stundum af servo-handfanginu og hellti \u00fat \u00f6llu f\u00f3\u00f0rinu (\u00e9g kalla\u00f0i \u00fea\u00f0 \u201cJackpot-\u00e1hrifin\u201d),<\/li>\n<li>h\u00f6nnunin var ekki s\u00fa besta,<\/li>\n<li>Pappa byrja\u00f0i a\u00f0 versna.<\/li>\n<\/ul>\n<p>Eins og me\u00f0 flesta MVP-a var \u00fea\u00f0 nota\u00f0 \u00ed a\u00f0eins tv\u00f6 \u00e1r \u00fear til \u00fea\u00f0 bila\u00f0i.<\/p>\n<h2><strong>\u00d6nnur kynsl\u00f3\u00f0<\/strong><a href=\"https:\/\/macbury.github.io\/SmartHouse\/DIY\/CatFeeder\/#second-generation\"><\/a><\/h2>\n<p>\u00c9g \u00e1kva\u00f0 a\u00f0 n\u00e6sti kattarf\u00f3\u00f0urari \u00e6tti a\u00f0:<\/p>\n<ul>\n<li>ver\u00f0i sm\u00ed\u00f0a\u00f0 \u00far 3D-prentu\u00f0um hlutum,<\/li>\n<li>Nota\u00f0u Raspberry Pi 3,<\/li>\n<li>\u00c1ttu sm\u00e1 myndav\u00e9l til a\u00f0 fylgjast me\u00f0 k\u00f6ttinum reacted og hva\u00f0 d\u00fdri\u00f0 var a\u00f0 gera.<\/li>\n<\/ul>\n<p>\u00c9g h\u00f3f allan ferilinn me\u00f0 \u00fev\u00ed a\u00f0 hanna grunn\u00fe\u00e6tti til a\u00f0 skipta mat. \u00deegar h\u00f6nnunin var tilb\u00fain voru allir \u00fe\u00e6ttir prenta\u00f0ir me\u00f0 Creality Ender-3 og PLA.<\/p>\n<p><iframe loading=\"lazy\" title=\"Pr\u00f3fun hugmyndar um 3D-prenta\u00f0an kattamatskip\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/3vbX-7o-h1c?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h3>Varahlutar<\/h3>\n<p>Eftir a\u00f0 hafa gerst viss um a\u00f0 allt virka\u00f0i h\u00e9lt \u00e9g \u00e1fram a\u00f0 hanna og prenta restina af hlutunum:<\/p>\n<h4>Undirsta\u00f0a fyrir RaspberryPi (Stig 0)<\/h4>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/Cat-Feeder-1024x484-1.jpg\" alt=\"\" \/><\/p>\n<p>\u00dea\u00f0 er me\u00f0 s\u00e9rstaka festipunkta fyrir skr\u00fafur til a\u00f0 au\u00f0velda uppsetningu Raspberry Pi. A\u00f0 auki er \u00e1 framhli\u00f0inni l\u00edti\u00f0 gat sem au\u00f0veldar a\u00f0gengi a\u00f0 SD-korti Raspberry Pi.<\/p>\n<h4>Bollahaldari<\/h4>\n<p>\u00deessi plast\u00edhlutur er nota\u00f0ur til a\u00f0 setja m\u00e1lmf\u00f3\u00f0urbol (au\u00f0vita\u00f0 prenta\u00f0ur me\u00f0 gull\u00fer\u00e1\u00f0um, til fr\u00e6g\u00f0ar og d\u00fdr\u00f0ar minnar kettar). Hann er festur vi\u00f0 botninn me\u00f0 tveimur neod\u00fdmmagnetum.<\/p>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/Codest-1024x485-1.jpg\" alt=\"\" \/><\/p>\n<h4>Servohaldari (stig 1)<\/h4>\n<p>\u00deetta stig er nota\u00f0 til a\u00f0 halda serv\u00f3inu \u00e1 me\u00f0an \u00fea\u00f0 sn\u00fdr hlutanum \u00e1 n\u00e6sta stigi. \u00dea\u00f0 er einnig me\u00f0 l\u00edtinn halla til a\u00f0 au\u00f0velda framrei\u00f0slu matar.<\/p>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/servo-holder-1024x484-1.jpg\" alt=\"\" \/><\/p>\n<h4>Ration-v\u00e9lb\u00fana\u00f0ur (stig 2)<\/h4>\n<p>\u00deetta er einf\u00f6ld almenn eining sem skiptir mat \u00far \u00edl\u00e1ti sem er sta\u00f0sett a\u00f0 ofan. H\u00fan er sn\u00fain af servo.<\/p>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/ration-container-1024x484-1.jpg\" alt=\"\" \/><\/p>\n<h4>Haldari fyrir matarkassa (stig 3)<\/h4>\n<p>\u00deessi hluti er nota\u00f0ur til a\u00f0 halda matarsk\u00e1linni. Hann er eini plasthlutinn sem ekki var 3D-prenta\u00f0ur. \u00c9g vildi l\u00e1gmarka snertingu matar vi\u00f0 3D-prenta\u00f0a hluti. Fr\u00e6\u00f0ilega s\u00e9\u00f0 inniheldur gegns\u00e6tt PLA-plast engin eiturefni, en \u00e9g keypti \u00f3d\u00fdrasta morgunkornsd\u00f3sina og t\u00f3k matarsk\u00e1lshlutinn \u00far henni, bara til \u00f6ryggis. A\u00f0 auki l\u00edtur \u00fea\u00f0 mj\u00f6g flott \u00fat.<\/p>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/fc-484x1024-1.jpg\" alt=\"\" \/><\/p>\n<h4>H\u00fasn\u00e6\u00f0i og loki<\/h4>\n<p>S\u00ed\u00f0ustu tveir hlutirnir voru h\u00fasi\u00f0 og loki\u00f0. Ekkert s\u00e9rstakt h\u00e9r, nema meira gull til a\u00f0 l\u00e1ta \u00fea\u00f0 l\u00edta betur \u00fat og vinna a\u00f0d\u00e1un kattarins.<\/p>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/codest-dev-757x1024-1.jpg\" alt=\"\" \/><\/p>\n<h4>Allir hlutar<\/h4>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/parts-1024x484-1.jpg\" alt=\"\" \/><\/p>\n<h4>Endanleg samsetning<\/h4>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/final-556x1024-1.jpg\" alt=\"\" \/><\/p>\n<h3>Hugb\u00fana\u00f0ur<\/h3>\n<p>Raspberry Pi keyrir Raspbian sem er \u00fatvega\u00f0 me\u00f0 \u00fev\u00ed a\u00f0 nota <a href=\"https:\/\/github.com\/macbury\/SmartHouse\/blob\/master\/provision\/playbooks\/cat_feeder\/cat.yaml\">Ansible leikb\u00f3k<\/a> til a\u00f0 keyra \u00feessar \u00fej\u00f3nustur:<\/p>\n<h4>Hreyfiauga<\/h4>\n<p>MotionEye er opinn hugb\u00fana\u00f0ur til a\u00f0 b\u00faa til \u00feitt eigi\u00f0 einkarekst eftirlit. Hann greinir allar myndav\u00e9lar sem tengdar eru vi\u00f0 Raspberry Pi. Auk \u00feess f\u00e6r\u00f0u beint \u00far kassanum hreyfiskynjun, mi\u00f0lunarpunkt til a\u00f0 deila \u00fatsendingunni og stu\u00f0ning vi\u00f0 webhooks.<\/p>\n<h4>Servo-\u00fej\u00f3nusta<\/h4>\n<p>\u00deessi \u00fej\u00f3nusta st\u00fdrir sn\u00faningi serv\u00f3sins. H\u00fan er einf\u00f6ld <a href=\"https:\/\/thecodest.co\/is\/blog\/hire-django-developers\/\">Python<\/a> skrift sem tengist MQTT-\u00fej\u00f3ninum sem keyrir Smart House-hugb\u00fana\u00f0inn minn og b\u00ed\u00f0ur eftir skilabo\u00f0um til a\u00f0 kveikja \u00e1 sn\u00faningshreyfingu.<\/p>\n<h4>Lei\u00f0tog\u00fej\u00f3nusta<\/h4>\n<p>R\u00e9tt eins og servo-\u00fej\u00f3nustan innlei\u00f0ir h\u00fan samskiptareglur fyrir lj\u00f3sgjafa sem st\u00fdrt er af MQTT \u00ed <a href=\"https:\/\/www.home-assistant.io\/integrations\/light.mqtt\/\">Heimasa\u00f0sto\u00f0arma\u00f0ur<\/a>.<\/p>\n<h4>Heimasa\u00f0sto\u00f0ar sj\u00e1lfvirkni<\/h4>\n<p>Og loks HomeAssistant-sj\u00e1lfvirknin sem kveikir \u00e1 f\u00f3\u00f0run.<\/p>\n<p>\u00dea\u00f0 kveikir \u00e1 f\u00f3\u00f0urgj\u00f6f \u00ed tveimur a\u00f0st\u00e6\u00f0um:<\/p>\n<ul>\n<li>\u00feegar f\u00f3\u00f0runart\u00edminn birtist \u00ed dagatalinu,<\/li>\n<li>\u00deegar Al\u00fej\u00f3\u00f0legu geimst\u00f6\u00f0in er yfir heimasta\u00f0num m\u00ednum.<\/li>\n<\/ul>\n<p>\u00deessi sj\u00e1lfvirkni <a href=\"https:\/\/thecodest.co\/is\/dictionary\/what-is-code-refactoring\/\">k\u00f3\u00f0i<\/a> l\u00edtur svona \u00fat:<\/p>\n<p>\u2013 einnig \u00feekkt sem: F\u00f3\u00f0ra k\u00f6ttinn<br \/>\n  kveikja:<br \/>\n    \u2013 vettvangur: r\u00edki<br \/>\n      entity_id: \u2018binary_sensor.iss\u2019<br \/>\n      fr\u00e1: \u2018af\u2019<br \/>\n      til: \u2018\u00e1\u2019<br \/>\n    \u2013 vettvangur: r\u00edki<br \/>\n      au\u00f0kenni_einingar: dagatal.kat_feed_\u00e1\u00e6tlun<br \/>\n      fr\u00e1: \u2018af\u2019<br \/>\n      til: \u2018\u00e1\u2019<br \/>\n  a\u00f0ger\u00f0:<br \/>\n    \u2013 \u00fej\u00f3nusta: script.feed_the_cat<\/p>\n<h2>Yfirlit<\/h2>\n<p>Auglj\u00f3slega er \u00feessi \u00fatg\u00e1fa ekki s\u00fa s\u00ed\u00f0asta. En h\u00fan \u00fej\u00f3nar tilgangi s\u00ednum \u2013 kisan er vel f\u00f3\u00f0ru\u00f0 og \u00e9g hef m\u00edn letilegu morgna \ud83d\ude42<\/p>\n<p><iframe loading=\"lazy\" title=\"Pr\u00f3funarf\u00f3\u00f0ur\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/UsKsxxO5i4k?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><strong>Lesa meira:<\/strong><\/p>\n<p>\u2013 <a href=\"https:\/\/thecodest.co\/blog\/e-commerce-new-state-of-the-game-2020-report\/\">E-commerce: N\u00fd sta\u00f0a leiksins 2020 (sk\u00fdrsla)<\/a><\/p>\n<p>\u2013 <a href=\"https:\/\/thecodest.co\/blog\/how-to-run-a-business-during-the-crisis\/\">Hvernig \u00e1 a\u00f0 reka fyrirt\u00e6ki \u00e1 kreppunni?<\/a><\/p>\n<p>\u2013 <a href=\"https:\/\/thecodest.co\/blog\/ruby-programming-beginners-terminal-part-2\/\">Ruby-forritun. Byrjendat\u00e6ki \u2013 hluti 2<\/a><\/p>\n<p><article-software-consulting><\/article-software-consulting><\/p>","protected":false},"excerpt":{"rendered":"<p>\u00cdmynda\u00f0u \u00fe\u00e9r svona a\u00f0st\u00e6\u00f0ur: klukkan er sex um morguninn \u00e1 laugardegi, \u00fe\u00fa liggur \u00fe\u00e6gilega \u00ed r\u00faminu og sefur enn dj\u00fapt. Skyndilega heyrir \u00fe\u00fa k\u00f6ttinn \u00feinn kl\u00f3ra \u00ed hur\u00f0ina, h\u00e1v\u00e6rar mj\u00e1lm hans ver\u00f0a \u00f3b\u00e6rilegar og k\u00f6tturinn \u00feinn hefur allan t\u00edmann \u00ed heiminum til a\u00f0 l\u00e1ta \u00feig vita hva\u00f0 hann \u00fearfnast. Veistu hva\u00f0 hann \u00fearfnast \u00ed raun?<\/p>","protected":false},"author":2,"featured_media":3047,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-3046","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-codest"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Automatic Cat Feeder - The Codest<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thecodest.co\/is\/blogg\/sjalfvirkur-kattamatur\/\" \/>\n<meta property=\"og:locale\" content=\"is_IS\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatic Cat Feeder\" \/>\n<meta property=\"og:description\" content=\"Imagine such a situation: it is 6:00 AM on a Saturday morning, you are laying comfortably in your bed, still sleeping soundly. Suddenly, you hear your cat scratching on the door, its loud meows become unbearable and your cat has all the time in the world to let you know what its needs. Do you know what it really needs?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecodest.co\/is\/blogg\/sjalfvirkur-kattamatur\/\" \/>\n<meta property=\"og:site_name\" content=\"The Codest\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-24T08:51:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-24T11:35:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/cover-image-17.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"thecodest\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"thecodest\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/\"},\"author\":{\"name\":\"thecodest\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\"},\"headline\":\"Automatic Cat Feeder\",\"datePublished\":\"2019-07-24T08:51:00+00:00\",\"dateModified\":\"2026-04-24T11:35:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/\"},\"wordCount\":851,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/cover-image-17.jpg\",\"articleSection\":[\"The Codest\"],\"inLanguage\":\"is\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/\",\"name\":\"Automatic Cat Feeder - The Codest\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/cover-image-17.jpg\",\"datePublished\":\"2019-07-24T08:51:00+00:00\",\"dateModified\":\"2026-04-24T11:35:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/#breadcrumb\"},\"inLanguage\":\"is\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"is\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/#primaryimage\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/cover-image-17.jpg\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/cover-image-17.jpg\",\"width\":1080,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/automatic-cat-feeder\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thecodest.co\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatic Cat Feeder\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"name\":\"The Codest\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/thecodest.co\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"is\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"is\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"width\":144,\"height\":36,\"caption\":\"The Codest\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/pl.linkedin.com\\\/company\\\/codest\",\"https:\\\/\\\/clutch.co\\\/profile\\\/codest\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\",\"name\":\"thecodest\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"is\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"caption\":\"thecodest\"},\"url\":\"https:\\\/\\\/thecodest.co\\\/is\\\/author\\\/thecodest\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Sj\u00e1lfvirkur kattamatur - The Codest","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thecodest.co\/is\/blogg\/sjalfvirkur-kattamatur\/","og_locale":"is_IS","og_type":"article","og_title":"Automatic Cat Feeder","og_description":"Imagine such a situation: it is 6:00 AM on a Saturday morning, you are laying comfortably in your bed, still sleeping soundly. Suddenly, you hear your cat scratching on the door, its loud meows become unbearable and your cat has all the time in the world to let you know what its needs. Do you know what it really needs?","og_url":"https:\/\/thecodest.co\/is\/blogg\/sjalfvirkur-kattamatur\/","og_site_name":"The Codest","article_published_time":"2019-07-24T08:51:00+00:00","article_modified_time":"2026-04-24T11:35:57+00:00","og_image":[{"width":1080,"height":512,"url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/cover-image-17.jpg","type":"image\/jpeg"}],"author":"thecodest","twitter_card":"summary_large_image","twitter_misc":{"Written by":"thecodest","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/#article","isPartOf":{"@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/"},"author":{"name":"thecodest","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76"},"headline":"Automatic Cat Feeder","datePublished":"2019-07-24T08:51:00+00:00","dateModified":"2026-04-24T11:35:57+00:00","mainEntityOfPage":{"@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/"},"wordCount":851,"commentCount":0,"publisher":{"@id":"https:\/\/thecodest.co\/#organization"},"image":{"@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/cover-image-17.jpg","articleSection":["The Codest"],"inLanguage":"is","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/","url":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/","name":"Sj\u00e1lfvirkur kattamatur - The Codest","isPartOf":{"@id":"https:\/\/thecodest.co\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/#primaryimage"},"image":{"@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/cover-image-17.jpg","datePublished":"2019-07-24T08:51:00+00:00","dateModified":"2026-04-24T11:35:57+00:00","breadcrumb":{"@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/#breadcrumb"},"inLanguage":"is","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/"]}]},{"@type":"ImageObject","inLanguage":"is","@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/#primaryimage","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/cover-image-17.jpg","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/cover-image-17.jpg","width":1080,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/thecodest.co\/blog\/automatic-cat-feeder\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thecodest.co\/"},{"@type":"ListItem","position":2,"name":"Automatic Cat Feeder"}]},{"@type":"WebSite","@id":"https:\/\/thecodest.co\/#website","url":"https:\/\/thecodest.co\/","name":"The Codest","description":"","publisher":{"@id":"https:\/\/thecodest.co\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thecodest.co\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"is"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"The Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"is","@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","width":144,"height":36,"caption":"The Codest"},"image":{"@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/pl.linkedin.com\/company\/codest","https:\/\/clutch.co\/profile\/codest"]},{"@type":"Person","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76","name":"thecodest","image":{"@type":"ImageObject","inLanguage":"is","@id":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","caption":"thecodest"},"url":"https:\/\/thecodest.co\/is\/author\/thecodest\/"}]}},"_links":{"self":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/posts\/3046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/comments?post=3046"}],"version-history":[{"count":5,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/posts\/3046\/revisions"}],"predecessor-version":[{"id":7722,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/posts\/3046\/revisions\/7722"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/media\/3047"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/media?parent=3046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/categories?post=3046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecodest.co\/is\/wp-json\/wp\/v2\/tags?post=3046"}],"curies":[{"name":"vp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}