{"id":1324,"date":"2021-12-08T16:24:14","date_gmt":"2021-12-08T16:24:14","guid":{"rendered":"https:\/\/www.bjorn-meijer.nl\/?p=1324"},"modified":"2021-12-09T09:15:51","modified_gmt":"2021-12-09T09:15:51","slug":"automatisch-domoticz-herstarten","status":"publish","type":"post","link":"https:\/\/www.bjorn-meijer.nl\/en\/2021\/12\/08\/automatic-domoticz-restart\/","title":{"rendered":"Automatically restart Domoticz"},"content":{"rendered":"<p>The <a href=\"https:\/\/amzn.to\/3lMxxhK\" target=\"_blank\" rel=\"noreferrer noopener\">raspberry pi<\/a> is a very stable mini-computer that runs on Linux. It is also ideal to <a href=\"https:\/\/www.domoticz.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">domoticz<\/a> to run. However, it sometimes happens that Domoticz (for whatever reason) crashes. As a result, there is a risk of data loss or certain commands not being executed.<\/p>\n\n\n\n<p>To avoid this problem you can run a bash script in the background which checks if Domoticz is still online. As soon as this script detects that Domoticz is offline, it will be stopped and then restarted.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-wat-heb-je-hiervoor-nodig\">What do you need for this?<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>raspberry pi;<\/li><li>domoticz;<\/li><li>jq.<\/li><\/ul>\n\n\n\n<p>Let&#039;s assume that Domoticz is already installed on the Raspberry Pi and that everything is running fine.<\/p>\n\n\n\n<p>Open Nano or another text editor on the Raspberry Pi and copy and paste the script below. Fill for:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><code>domoticz_ip<\/code> the (internal) ip address of your Raspberry Pi.<\/li><li><code>domoticz_port<\/code> into the port on which your Domoticz runs.<\/li><li><code>device_id<\/code> the idx of a switch.<\/li><\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#!\/bin\/bash domoticz_ip=&quot;127.0.0.1&quot; domoticz_port=&quot;8080&quot; device_id=&quot;1&quot; DOMOTICZ=`curl -s --connect-timeout 2 --max-time 5 &quot;http:\/\/&quot;$domoticz_ip&quot;: &quot;$domoticz_port&quot;\/json.htm?type=devices&amp;rid=&quot;$device_id` STATUS=`echo $DOMOTICZ | jq -r &#039;.status&#039;` if [ &quot;$STATUS&quot; = &quot;OK&quot; ] ; then exit else sleep 5 DOMOTICZ=`curl -s --connect-timeout 2 --max-time 5 &quot;http:\/\/&quot;$domoticz_ip&quot;:&quot;$domoticz_port&quot;\/json.htm?type=devices&amp;rid=&quot;$device_id` STATUS2=` echo $DOMOTICZ | jq -r &#039;.status&#039;` if [ &quot;$STATUS2&quot; = &quot;OK&quot; ] ; then exit else sleep 5 DOMOTICZ=`curl -s --connect-timeout 2 --max-time 5 &quot;http:\/\/&quot;$domoticz_ip&quot;:&quot;$domoticz_port&quot;\/json.htm?type=devices&amp;rid=&quot;$device_id` STATUS3=` echo $DOMOTICZ | jq -r &#039;.status&#039;` if [ &quot;$STATUS3&quot; = &quot;OK&quot; ] ; then exit else echo &quot;domoticz offline... rebooting...&quot; sudo service domoticz.sh stop sleep 8 sudo kill $(sudo netstat -anp | awk &#039;\/LISTEN\/{if($4 ~ &quot;:&quot;$domoticz_port&quot;$&quot;) { gsub(&quot;\/.*&quot;,&quot;&quot;,$7); print $7; exit } }&#039;) sleep 8 echo &quot;domoticz stopped, now starting up...&quot; sudo service domoticz.sh start fi fi fi\n<\/pre><\/div>\n\n\n<p>Save the bash script as <code>domoticz_state_checker.sh<\/code> in the map <code>~\/domoticz\/scripts<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install jq<\/h2>\n\n\n\n<p>Because we get JSON data and want to filter it on the key(s) STATUS, STATUS2 or STATUS3 and want to check the value of this, we need a JSON processor.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/stedolan.github.io\/jq\/\" target=\"_blank\" rel=\"noreferrer noopener\">jq<\/a> is a command-line based JSON processor that allows to transform, filter, segment, map, or perform other operations on JSON data.<\/p>\n\n\n\n<p>Connect to your Raspberry Pi via SSH or enter the following commands directly in the terminal:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo apt update sudo apt install -y jq\n<\/pre><\/div>\n\n\n<p>After the installation procedure has been completed, we can perform a test whether jq is working correctly.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\necho &#039;{&quot;employees&quot;: {&quot;employee&quot;: [{&quot;id&quot;: &quot;1&quot;,&quot;firstName&quot;: &quot;Tom&quot;,&quot;lastName&quot;: &quot;Cruise&quot;},{&quot;id&quot;: &quot;2&quot;,&quot;firstName &quot;: &quot;Maria&quot;,&quot;lastName&quot;: &quot;Sharapova&quot;},{&quot;id&quot;: &quot;3&quot;,&quot;firstName&quot;: &quot;Robert&quot;,&quot;lastName&quot;: &quot;Downey Jr.&quot;}]}}&#039; &gt; test.json\n<\/pre><\/div>\n\n\n<p>The jq program has several filters to manipulate JSON data. The simplest filter is the dot <code>.<\/code>. This filter leaves the input unchanged and prints the output in JSON format.<\/p>\n\n\n\n<p>Enter the following command and the . filter returns the output in JSON format.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\njq&#039;.&#039; test.json\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{ &quot;employees&quot;: { &quot;employee&quot;: [ { &quot;id&quot;: &quot;1&quot;, &quot;firstName&quot;: &quot;Tom&quot;, &quot;lastName&quot;: &quot;Cruise&quot; }, { &quot;id&quot;: &quot;2&quot;, &quot;firstName&quot;: &quot;Maria&quot;, &quot;lastName&quot;: &quot;Sharapova&quot; }, { &quot;id&quot;: &quot;3&quot;, &quot;firstName&quot;: &quot;Robert&quot;, &quot;lastName&quot;: &quot;Downey Jr.&quot; } ] } }\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Testing the script<\/h2>\n\n\n\n<p>Go to the folder   <code>~\/domoticz\/scripts<\/code> and type in the command line the following command:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsh domoticz_state_checker.sh\n<\/pre><\/div>\n\n\n<p>If no messages are displayed in the command line, it seems that the script is working correctly. If we now temporarily stop Domoticz and run the script again, we will receive the following messages:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ndomoticz offline... rebooting... Usage: kill [options] [...] Options: [...] send signal to every listed - , -s, --signal specify the to be sent -l, --list=[ ] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). domoticz stopped, now starting up...\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-het-script-automatisch-uitvoeren\">Run the script automatically<\/h2>\n\n\n\n<p>We want this script to run automatically periodically. This is possible using a <code>cron job<\/code>. A Cron is a task scheduler within Unix systems for performing tasks on a fixed date or time. To perform such a task we can enter this task in a cron table. To open\/edit the cron table we run the following command in the command line:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncrontab -e\n<\/pre><\/div>\n\n\n<p>You will now see the following in your editor:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m ), hour (h), day of month (dom), month (mon), # and day of week (dow) or use &#039;*&#039; in these fields (for &#039;any&#039;). # # Notice that tasks will be started based on the cron&#039;s system # daemon&#039;s notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 am every week with: # 0 5 * * 1 tar -zcf \/var\/backups\/home.tgz \/home\/ # # For more information see the manual pages of crontab(5) and cron(8) # # mh dom mon dow command\n<\/pre><\/div>\n\n\n<p>Add the line below at the very bottom and save the file.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n*\/1 * * * * \/domoticz\/scripts\/domoticz_state_checker.sh\n<\/pre><\/div>\n\n\n<p>Now the script will run every minute.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"> How the script works<\/h2>\n\n\n\n<p>In the above script, the JSON response is retrieved from the chosen device. If the key STATUS, STATUS2 or STATUS3 returns the value \u201cOK\u201d, Domoticz is online and the script is terminated.<br>If the condition is not met, then Domoticz is not available and Domoticz will be stopped with the command <code>sudo service domoticz.sh stop<\/code>.<\/p>\n\n\n\n<p>Then the command <code>kill<\/code> in combination with other parameters the Domoticz process terminates.<\/p>\n\n\n\n<p>At the end of the script, the command <code>sudo service domoticz.sh start<\/code> Domoticz restarted.<\/p>","protected":false},"excerpt":{"rendered":"<p>The Raspberry Pi is a very stable mini computer that runs on Linux. It is also ideal to use Domoticz\u2026 <a class=\"read-more\" href=\"https:\/\/www.bjorn-meijer.nl\/en\/2021\/12\/08\/automatic-domoticz-restart\/\">Continue reading<\/a><\/p>","protected":false},"author":1,"featured_media":68,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[54,55,9],"class_list":["post-1324","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domoticz","tag-cron-tab","tag-cronjob","tag-domoticz"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.11 (Yoast SEO v23.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automatisch Domoticz herstarten - Bj\u00f6rn Meijer<\/title>\n<meta name=\"description\" content=\"Kun je Domoticz automatisch laten herstarten als deze vastloopt? Ja, dan kan! Met een eenvoudig script start Domoticz na een vastloper automatisch weer op.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bjorn-meijer.nl\/en\/2021\/12\/08\/automatischer-domoticz-neustart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatisch Domoticz herstarten\" \/>\n<meta property=\"og:description\" content=\"De Raspberry Pi is een zeer stabiele mini-computer wat draait op Linux. Tevens is het ideaal om Domoticz op te laten draaien. Toch wil het wel eens\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bjorn-meijer.nl\/en\/2021\/12\/08\/automatischer-domoticz-neustart\/\" \/>\n<meta property=\"og:site_name\" content=\"Bj\u00f6rn Meijer\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-08T16:24:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-09T09:15:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Bj\u00f6rn Meijer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bj\u00f6rn Meijer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/\"},\"author\":{\"name\":\"Bj\u00f6rn Meijer\",\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/3621be5a6ce9a9884a7b8b200cd52615\"},\"headline\":\"Automatisch Domoticz herstarten\",\"datePublished\":\"2021-12-08T16:24:14+00:00\",\"dateModified\":\"2021-12-09T09:15:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/\"},\"wordCount\":546,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/3621be5a6ce9a9884a7b8b200cd52615\"},\"image\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png\",\"keywords\":[\"cron tab\",\"cronjob\",\"Domoticz\"],\"articleSection\":[\"Domoticz\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/\",\"url\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/\",\"name\":\"Automatisch Domoticz herstarten - Bj\u00f6rn Meijer\",\"isPartOf\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png\",\"datePublished\":\"2021-12-08T16:24:14+00:00\",\"dateModified\":\"2021-12-09T09:15:51+00:00\",\"description\":\"Kun je Domoticz automatisch laten herstarten als deze vastloopt? Ja, dan kan! Met een eenvoudig script start Domoticz na een vastloper automatisch weer op.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#primaryimage\",\"url\":\"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png\",\"contentUrl\":\"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png\",\"width\":300,\"height\":300,\"caption\":\"Domoticz\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.bjorn-meijer.nl\/de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatisch Domoticz herstarten\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/#website\",\"url\":\"https:\/\/www.bjorn-meijer.nl\/de\/\",\"name\":\"Bj\u00f6rn Meijer\",\"description\":\"At My Playground\",\"publisher\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/3621be5a6ce9a9884a7b8b200cd52615\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bjorn-meijer.nl\/de\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/3621be5a6ce9a9884a7b8b200cd52615\",\"name\":\"Bj\u00f6rn Meijer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/11\/logo-orange.png?fit=165%2C165&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/11\/logo-orange.png?fit=165%2C165&ssl=1\",\"width\":165,\"height\":165,\"caption\":\"Bj\u00f6rn Meijer\"},\"logo\":{\"@id\":\"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/www.bjorn-meijer.nl\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Automatisch Domoticz herstarten - Bj\u00f6rn Meijer","description":"Kun je Domoticz automatisch laten herstarten als deze vastloopt? Ja, dan kan! Met een eenvoudig script start Domoticz na een vastloper automatisch weer op.","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:\/\/www.bjorn-meijer.nl\/en\/2021\/12\/08\/automatischer-domoticz-neustart\/","og_locale":"en_US","og_type":"article","og_title":"Automatisch Domoticz herstarten","og_description":"De Raspberry Pi is een zeer stabiele mini-computer wat draait op Linux. Tevens is het ideaal om Domoticz op te laten draaien. Toch wil het wel eens","og_url":"https:\/\/www.bjorn-meijer.nl\/en\/2021\/12\/08\/automatischer-domoticz-neustart\/","og_site_name":"Bj\u00f6rn Meijer","article_published_time":"2021-12-08T16:24:14+00:00","article_modified_time":"2021-12-09T09:15:51+00:00","og_image":[{"width":300,"height":300,"url":"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png","type":"image\/png"}],"author":"Bj\u00f6rn Meijer","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Bj\u00f6rn Meijer","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#article","isPartOf":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/"},"author":{"name":"Bj\u00f6rn Meijer","@id":"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/3621be5a6ce9a9884a7b8b200cd52615"},"headline":"Automatisch Domoticz herstarten","datePublished":"2021-12-08T16:24:14+00:00","dateModified":"2021-12-09T09:15:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/"},"wordCount":546,"commentCount":2,"publisher":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/3621be5a6ce9a9884a7b8b200cd52615"},"image":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png","keywords":["cron tab","cronjob","Domoticz"],"articleSection":["Domoticz"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/","url":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/","name":"Automatisch Domoticz herstarten - Bj\u00f6rn Meijer","isPartOf":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#primaryimage"},"image":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png","datePublished":"2021-12-08T16:24:14+00:00","dateModified":"2021-12-09T09:15:51+00:00","description":"Kun je Domoticz automatisch laten herstarten als deze vastloopt? Ja, dan kan! Met een eenvoudig script start Domoticz na een vastloper automatisch weer op.","breadcrumb":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#primaryimage","url":"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png","contentUrl":"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png","width":300,"height":300,"caption":"Domoticz"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bjorn-meijer.nl\/de\/2021\/12\/08\/automatischer-domoticz-neustart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bjorn-meijer.nl\/de\/"},{"@type":"ListItem","position":2,"name":"Automatisch Domoticz herstarten"}]},{"@type":"WebSite","@id":"https:\/\/www.bjorn-meijer.nl\/de\/#website","url":"https:\/\/www.bjorn-meijer.nl\/de\/","name":"Bj\u00f6rn Meijer","description":"At My Playground","publisher":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/3621be5a6ce9a9884a7b8b200cd52615"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bjorn-meijer.nl\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/3621be5a6ce9a9884a7b8b200cd52615","name":"Bj\u00f6rn Meijer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/11\/logo-orange.png?fit=165%2C165&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/11\/logo-orange.png?fit=165%2C165&ssl=1","width":165,"height":165,"caption":"Bj\u00f6rn Meijer"},"logo":{"@id":"https:\/\/www.bjorn-meijer.nl\/de\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/www.bjorn-meijer.nl"]}]}},"jetpack_featured_media_url":"https:\/\/www.bjorn-meijer.nl\/wp-content\/uploads\/2021\/05\/Domoticz.png","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/posts\/1324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/comments?post=1324"}],"version-history":[{"count":4,"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/posts\/1324\/revisions"}],"predecessor-version":[{"id":1329,"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/posts\/1324\/revisions\/1329"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/media\/68"}],"wp:attachment":[{"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/media?parent=1324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/categories?post=1324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bjorn-meijer.nl\/en\/wp-json\/wp\/v2\/tags?post=1324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}