{"id":689,"date":"2022-04-17T10:45:01","date_gmt":"2022-04-17T08:45:01","guid":{"rendered":"https:\/\/www.cipv6.de\/worp\/?p=689"},"modified":"2024-12-16T10:33:19","modified_gmt":"2024-12-16T09:33:19","slug":"fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0","status":"publish","type":"post","link":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/","title":{"rendered":"fix openhab error: Rule &#8216;[rulename]&#8217;: An error occurred during the script execution: index=0, size=0"},"content":{"rendered":"\n<p>My goal is to execute an python-script when the Battery-charge has reached 70%<\/p>\n\n\n\n<p>My rule was not executed, the error as shown above is seen in the log.<br>My faulty script:<\/p>\n\n\n\n<pre class=\"wp-block-code has-dark-gray-background-color has-background\"><code lang=\"bash\" class=\"language-bash\">rule \"BYD 70\"\n\nwhen\n     Item KOSTALPLENTICOREPlus70WithBattery_BatteryCharge received update\n\n\n\nthen\n\tvar BYDBat = (KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state as Number).floatValue\n\n\tif ((KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state as Number).floatValue = 70.0) {\n\n\n\tsendTelegram(\"bot1\",\n            \"BYD hat &gt; 70  % Ladung \" + BYDBat)\n\texecuteCommandLine(\"python3 \/etc\/openhab2\/scripts\/BYDI.py\")\n\tlogDebug(\"logtest\", \"BYDBat = \" + BYDBat)\n        logDebug(\"logtest\", \"state = \" + KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state)\n}\n\nend<\/code><\/pre>\n\n\n\n<p>Reason of the error: the if-statement is misleading, to check if the value is  equal it needs two &#8220;==&#8221;:<\/p>\n\n\n\n<pre class=\"wp-block-code has-dark-gray-background-color has-background\"><code lang=\"bash\" class=\"language-bash\">\n\tif ((KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state as Number).floatValue <strong>==<\/strong> 70.0) {\n<\/code><\/pre>\n\n\n\n<p>working-code:<\/p>\n\n\n\n<pre class=\"wp-block-code has-dark-gray-background-color has-background\"><code lang=\"bash\" class=\"language-bash\">rule \"BYD 70\"\n\nwhen\n     Item KOSTALPLENTICOREPlus70WithBattery_BatteryCharge received update\n\n\n\nthen\n\tvar BYDBat = (KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state as Number).floatValue\n\n\tif ((KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state as Number).floatValue == 70.0) {\n\n\n\tsendTelegram(\"bot1\",\n            \"BYD hat &gt; 70  % Ladung \" + BYDBat)\n\texecuteCommandLine(\"python3 \/etc\/openhab2\/scripts\/BYDI.py\")\n\tlogDebug(\"logtest\", \"BYDBat = \" + BYDBat)\n        logDebug(\"logtest\", \"state = \" + KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state)\n}\n\nend<\/code><\/pre>\n\n\n\n<p>to debug BYDBat\/KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state debugging needs to be enabled like shown at: <a href=\"https:\/\/www.cipv6.de\/worp\/index.php\/2019\/10\/23\/how-do-i-debug-tradfri-on-openhab\/\">https:\/\/www.cipv6.de\/worp\/index.php\/2019\/10\/23\/how-do-i-debug-tradfri-on-openhab\/<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code has-dark-gray-background-color has-background\"><code lang=\"bash\" class=\"language-bash\">openhab&gt; log:get org.eclipse.smarthome.model.script\nDEBUG\nopenhab&gt; log:set Info org.eclipse.smarthome.model.script\nopenhab&gt; log:get org.eclipse.smarthome.model.script\nINFO<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>My goal is to execute an python-script when the Battery-charge has reached 70% My rule was not executed, the error as shown above is seen in the log.My faulty script: Reason of the error: the if-statement is misleading, to check if the value is equal it needs two &#8220;==&#8221;: working-code: to debug BYDBat\/KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state debugging needs &hellip; <a href=\"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;fix openhab error: Rule &#8216;[rulename]&#8217;: An error occurred during the script execution: index=0, size=0&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[61],"tags":[31,30,29,32,59],"class_list":["post-689","post","type-post","status-publish","format-standard","hentry","category-linux","tag-error","tag-fix","tag-openhab","tag-rule","tag-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>fix openhab error: Rule &#039;[rulename]&#039;: An error occurred during the script execution: index=0, size=0 - cipv6.de<\/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:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"fix openhab error: Rule &#039;[rulename]&#039;: An error occurred during the script execution: index=0, size=0 - cipv6.de\" \/>\n<meta property=\"og:description\" content=\"My goal is to execute an python-script when the Battery-charge has reached 70% My rule was not executed, the error as shown above is seen in the log.My faulty script: Reason of the error: the if-statement is misleading, to check if the value is equal it needs two &#8220;==&#8221;: working-code: to debug BYDBat\/KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state debugging needs &hellip; Continue reading &quot;fix openhab error: Rule &#8216;[rulename]&#8217;: An error occurred during the script execution: index=0, size=0&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/\" \/>\n<meta property=\"og:site_name\" content=\"cipv6.de\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-17T08:45:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-16T09:33:19+00:00\" \/>\n<meta name=\"author\" content=\"ugu5ma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"fix openhab error: Rule &#039;[rulename]&#039;: An error occurred during the script execution: index=0, size=0\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-17-at-10.40.38%402x.png?fit=1690%2C450&ssl=1\" \/>\n<meta name=\"twitter:creator\" content=\"@ugu5ma\" \/>\n<meta name=\"twitter:site\" content=\"@ugu5ma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ugu5ma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/04\\\/17\\\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/04\\\/17\\\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\\\/\"},\"author\":{\"name\":\"ugu5ma\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\"},\"headline\":\"fix openhab error: Rule &#8216;[rulename]&#8217;: An error occurred during the script execution: index=0, size=0\",\"datePublished\":\"2022-04-17T08:45:01+00:00\",\"dateModified\":\"2024-12-16T09:33:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/04\\\/17\\\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\\\/\"},\"wordCount\":86,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\"},\"keywords\":[\"error\",\"fix\",\"openhab\",\"rule\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/04\\\/17\\\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/04\\\/17\\\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\\\/\",\"url\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/04\\\/17\\\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\\\/\",\"name\":\"fix openhab error: Rule '[rulename]': An error occurred during the script execution: index=0, size=0 - cipv6.de\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#website\"},\"datePublished\":\"2022-04-17T08:45:01+00:00\",\"dateModified\":\"2024-12-16T09:33:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/04\\\/17\\\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/04\\\/17\\\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/04\\\/17\\\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"fix openhab error: Rule &#8216;[rulename]&#8217;: An error occurred during the script execution: index=0, size=0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#website\",\"url\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/\",\"name\":\"cipv6.de\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\",\"name\":\"ugu5ma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\",\"caption\":\"ugu5ma\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\"},\"sameAs\":[\"https:\\\/\\\/cipv6.de\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"fix openhab error: Rule '[rulename]': An error occurred during the script execution: index=0, size=0 - cipv6.de","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.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/","og_locale":"en_US","og_type":"article","og_title":"fix openhab error: Rule '[rulename]': An error occurred during the script execution: index=0, size=0 - cipv6.de","og_description":"My goal is to execute an python-script when the Battery-charge has reached 70% My rule was not executed, the error as shown above is seen in the log.My faulty script: Reason of the error: the if-statement is misleading, to check if the value is equal it needs two &#8220;==&#8221;: working-code: to debug BYDBat\/KOSTALPLENTICOREPlus70WithBattery_BatteryCharge.state debugging needs &hellip; Continue reading \"fix openhab error: Rule &#8216;[rulename]&#8217;: An error occurred during the script execution: index=0, size=0\"","og_url":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/","og_site_name":"cipv6.de","article_published_time":"2022-04-17T08:45:01+00:00","article_modified_time":"2024-12-16T09:33:19+00:00","author":"ugu5ma","twitter_card":"summary_large_image","twitter_title":"fix openhab error: Rule '[rulename]': An error occurred during the script execution: index=0, size=0","twitter_image":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-17-at-10.40.38%402x.png?fit=1690%2C450&ssl=1","twitter_creator":"@ugu5ma","twitter_site":"@ugu5ma","twitter_misc":{"Written by":"ugu5ma","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/#article","isPartOf":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/"},"author":{"name":"ugu5ma","@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d"},"headline":"fix openhab error: Rule &#8216;[rulename]&#8217;: An error occurred during the script execution: index=0, size=0","datePublished":"2022-04-17T08:45:01+00:00","dateModified":"2024-12-16T09:33:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/"},"wordCount":86,"commentCount":0,"publisher":{"@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d"},"keywords":["error","fix","openhab","rule"],"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/","url":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/","name":"fix openhab error: Rule '[rulename]': An error occurred during the script execution: index=0, size=0 - cipv6.de","isPartOf":{"@id":"https:\/\/www.cipv6.de\/worp\/#website"},"datePublished":"2022-04-17T08:45:01+00:00","dateModified":"2024-12-16T09:33:19+00:00","breadcrumb":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/17\/fix-openhab-error-rule-rulename-an-error-occurred-during-the-script-execution-index0-size0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cipv6.de\/worp\/"},{"@type":"ListItem","position":2,"name":"fix openhab error: Rule &#8216;[rulename]&#8217;: An error occurred during the script execution: index=0, size=0"}]},{"@type":"WebSite","@id":"https:\/\/www.cipv6.de\/worp\/#website","url":"https:\/\/www.cipv6.de\/worp\/","name":"cipv6.de","description":"","publisher":{"@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cipv6.de\/worp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d","name":"ugu5ma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g","caption":"ugu5ma"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g"},"sameAs":["https:\/\/cipv6.de"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9uBTs-b7","jetpack-related-posts":[{"id":458,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2019\/10\/23\/error-when-adding-firebase-to-your-app\/","url_meta":{"origin":689,"position":0},"title":"Error when adding Firebase to your app","author":"ugu5ma","date":"October 23, 2019","format":false,"excerpt":"When you add Firebase to your app and get similar error-messages like: Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:26.1.0) Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:26.1.0) Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:26.1.0) Duplicate class android.support.v4.os.IResultReceiver found in\u2026","rel":"","context":"In \"Android\"","block_context":{"text":"Android","link":"https:\/\/www.cipv6.de\/worp\/index.php\/tag\/android\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":703,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2021\/08\/15\/influxd-systemd-start-shpid-failed-to-reach-influxdb-http-endpoint-at-http-localhost8086-health\/","url_meta":{"origin":689,"position":1},"title":"influxd-systemd-start.sh[PID]: Failed to reach influxdb http endpoint at http:\/\/localhost:8086\/health","author":"ugu5ma","date":"August 15, 2021","format":false,"excerpt":"on my Raspi4 the last installed influxd-package was no more able to start the service.CPU-load was at 100%, the \"systemctl start influxd\" routine was running in a loop.As the smarthome generates many data the service took longer to start as expected by the new startup-script influxd-systemd-start.sh . Fix:in .\/usr\/lib\/influxdb\/scripts\/influxd-systemd-start.sh: increase\u2026","rel":"","context":"In &quot;Influx&quot;","block_context":{"text":"Influx","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/influx\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":878,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/02\/03\/ipad-samba-file-transfer-fails\/","url_meta":{"origin":689,"position":2},"title":"iPad Samba file transfer fails","author":"ugu5ma","date":"February 3, 2024","format":false,"excerpt":"To be able to copy files over from iPad to Samba-shares the enhanced compatibility with Apple SMB clients and interoperability with Netatalk 3 AFP fileserver must be enabled.Vfs-module is typically missing if you see in tshark messages like: 310 Create Response, Error: STATUS_OBJECT_NAME_INVALID;Read Response, Error: STATUS_OBJECT_NAME_INVALID;Close Response, Error: STATUS_OBJECT_NAME_INVALID To\u2026","rel":"","context":"In &quot;MacOS\/IOS&quot;","block_context":{"text":"MacOS\/IOS","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/macos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1036,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/11\/24\/do-you-use-nftables-or-iptables-or-both\/","url_meta":{"origin":689,"position":3},"title":"Do you use NFTables or IPTables (or both) ?","author":"ugu5ma","date":"November 24, 2024","format":false,"excerpt":"Most major Linux distributions have adopted nftables as their default firewall framework, often using it under the hood for iptables commands. Here are some of the key distributions that support nftables: Debian: Starting with Debian Buster, nftables is the default backend for iptables. Ubuntu: From Ubuntu 20.10 (Groovy Gorilla) onwards,\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/11\/photo_2024-11-24-12.36.11.jpeg?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":434,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2019\/09\/28\/netatmo-api-how-do-i-get-the-access_token\/","url_meta":{"origin":689,"position":4},"title":"Netatmo API : How do I get the access_token ?","author":"ugu5ma","date":"September 28, 2019","format":false,"excerpt":"curl: curl --location --request POST \"https:\/\/api.netatmo.com\/oauth2\/token\" \\ --form \"grant_type=password\" \\ --form \"client_id=5a*******21175d8b45ec\" \\ --form \"client_secret=NR*******bYylIAigYvaO\" \\ --form \"username=be*******eb.de\" \\ --form \"password=***111***\" jQuery: var form = new FormData(); form.append(\"grant_type\", \"password\"); form.append(\"client_id\", \"5a*******21175d8b45ec\"); form.append(\"client_secret\", \"NR*******bYylIAigYvaO\"); form.append(\"username\", \"be*******eb.de\"); form.append(\"password\", \"***111***\"); var settings = { \"url\": \"https:\/\/api.netatmo.com\/oauth2\/token\", \"method\": \"POST\", \"timeout\": 0, \"processData\": false, \"mimeType\":\u2026","rel":"","context":"In \"Uncategorized\"","block_context":{"text":"Uncategorized","link":"https:\/\/www.cipv6.de\/worp\/index.php\/tag\/uncategorized\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":470,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2019\/10\/23\/how-do-i-debug-tradfri-on-openhab\/","url_meta":{"origin":689,"position":5},"title":"How do I debug Tradfri on Openhab ?","author":"ugu5ma","date":"October 23, 2019","format":false,"excerpt":"open the openhab-cli: root@rpi6:\/home\/pi# openhab-cli console Logging in as openhab __ _____ ____ ____ ____ ___ ____ \/ \/ \/ \/ | \/ __ ) \/ __ \\\/ __ \\\/ _ \\\/ __ \\\/ \/_\/ \/ \/| | \/ __ | \/ \/_\/ \/ \/_\/ \/ __\/ \/ \/ \/\u2026","rel":"","context":"In \"29\"","block_context":{"text":"29","link":"https:\/\/www.cipv6.de\/worp\/index.php\/tag\/29\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/posts\/689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/comments?post=689"}],"version-history":[{"count":0,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/posts\/689\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/media?parent=689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/categories?post=689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/tags?post=689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}