{"id":78,"date":"2021-11-21T23:27:48","date_gmt":"2021-11-21T23:27:48","guid":{"rendered":"https:\/\/blog.tehybug.com\/?p=78"},"modified":"2022-10-15T21:01:55","modified_gmt":"2022-10-15T21:01:55","slug":"add-a-scriptable-tehybug-widget-to-your-iphone-screen","status":"publish","type":"post","link":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/","title":{"rendered":"Add a Scriptable TeHyBug widget to your iPhone screen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A demo image with a link to scriptable code with detailed instructions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"1024\" src=\"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-985x1024.jpeg\" alt=\"\" class=\"wp-image-79\" srcset=\"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-985x1024.jpeg 985w, https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-600x624.jpeg 600w, https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-288x300.jpeg 288w, https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-768x799.jpeg 768w, https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1.jpeg 1125w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><figcaption>TeHyBug widget for iPhone<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Requirements<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>iOS 14 or higher<\/li><li>Scriptable version 1.5 (or higher)\u00a0<a href=\"https:\/\/apps.apple.com\/de\/app\/scriptable\/id1405459188\">https:\/\/apps.apple.com\/de\/app\/scriptable\/id1405459188<\/a><\/li><li>TeHyBug.com as the default data-serving platform for your TeHyBug device.\u00a0<a href=\"https:\/\/tehybug.com\/\">https:\/\/tehybug.com\/<\/a><\/li><\/ul>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Installation<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Variables used by Scriptable.\n\/\/ These must be at the very top of the file. Do not edit.\n\/\/ icon-color: teal; icon-glyph: magic;\n\/\/ These must be at the very top of the file. Do not edit.\n\/\/ icon-color: deep-blue; icon-glyph: magic;\n\/\/ replace tehybug key with yours\nlet tehybug_key = '1feae1a8-dbbd-49e5-9c61-cde6bf8e29e8'\n\/\/ replace locale with yours\nlet locale = 'de-DE'\nlet param = args.widgetParameter\nif (param != null &amp;&amp; param.length &gt; 0) {\n    tehybug_key = param\n}\n\nconst tehybug_data = await get_tehybug_data()\nconst widget = new ListWidget()\nawait createWidget()\n\n\/\/ used for debugging if script runs inside the app\nif (!config.runsInWidget) {\n    await widget.presentSmall()\n}\nScript.setWidget(widget)\nScript.complete()\n\n\/\/ build the content of the widget\nasync function createWidget() {\n\n    \n    const logoReq = new Request('https:\/\/tehybug.com\/site\/static\/images\/tehybug-logo-white.png')\n    const logoImg = await logoReq.loadImage()\n\n    widget.setPadding(5,5,5,5)\n    widget.url = \"https:\/\/tehybug.com\"\n    \n    const title_row = widget.addStack()\n    title_row.layoutHorizontally()\n    const title = title_row.addText(tehybug_data&#91;0].bug_title.toString())\n    title.font = Font.mediumRoundedSystemFont(20)\n    widget.addSpacer(5)\n    \n    \n    let row = widget.addStack()\n    row.layoutHorizontally()\n    \n   \n   const logoImageStack = row.addStack()\n   logoImageStack.layoutVertically()\n    logoImageStack.backgroundColor = new Color(\"#1fa67a\", 1.0)\n    logoImageStack.cornerRadius = 8\n    const wimg = logoImageStack.addImage(logoImg)\n    wimg.imageSize = new Size(40, 40) \n   logoImageStack.adds \n    \n    let column = row.addStack()\n    column.layoutVertically()\n   column.setPadding(0,10,0,0)\n    \n    let data_font_size = 14\n    if(Object.keys(tehybug_data&#91;0].data_details).length &lt; 6)\n    {\n        data_font_size = 16\n    }\n    \n    \n    if(tehybug_data&#91;0].data_details.t!=null)\n    {\n        let temp = column.addText(parseFloat(tehybug_data&#91;0].data_details.t).toFixed(1).toString()+' \u00b0C')\n        temp.font = Font.regularSystemFont(data_font_size)\n    }\n    if(tehybug_data&#91;0].data_details.h!=null)\n    {\n        let humi = column.addText(parseFloat(tehybug_data&#91;0].data_details.h).toFixed().toString()+' %RH')\n        humi.font = Font.regularSystemFont(data_font_size)\n    }\n    if(tehybug_data&#91;0].data_details.p!=null)\n    {\n        let press = column.addText(parseFloat(tehybug_data&#91;0].data_details.p).toFixed().toString()+' hPa')\n        press.font = Font.regularSystemFont(data_font_size)\n    }\n    if(tehybug_data&#91;0].data_details.a!=null)\n    {\n        let air = column.addText(parseFloat(tehybug_data&#91;0].data_details.a).toFixed().toString()+' kOhm')\n        air.font = Font.regularSystemFont(data_font_size)\n    }\n    if(tehybug_data&#91;0].data_details.u!=null)\n    {\n        let uv = column.addText(parseFloat(tehybug_data&#91;0].data_details.u).toFixed().toString()+' uv')\n        uv.font = Font.regularSystemFont(data_font_size)\n    }\n    if(tehybug_data&#91;0].data_details.l!=null)\n    {\n        let lux = column.addText(parseFloat(tehybug_data&#91;0].data_details.l).toFixed().toString()+' lux')\n        lux.font = Font.regularSystemFont(data_font_size)\n    }\n\n    widget.addSpacer(5)\n    \n    \n    const row2 = widget.addStack()\n    row2.layoutVertically()\n    row2.layoutVertically()\n    \n    \/\/ replace de-DE with your locale\n    let currentTime = new Date(tehybug_data&#91;0].data_time*1000).toLocaleTimeString(locale, { hour: \"numeric\", minute: \"numeric\" })\n    \n    let time = row2.addText(currentTime.toString())\n    time.font = Font.mediumRoundedSystemFont(10)\n    time.textColor = new Color(\"#dddddd\")\n\n   widget.addSpacer(5)\n}\n\n\/\/ get tehybug data\nasync function get_tehybug_data() {\n    const url = 'https:\/\/tehybug.com\/api?act=last&amp;bugs=' + tehybug_key\n    const req = new Request(url)\n    const apiResult = await req.loadJSON()\n    return apiResult\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Copy the source code from <a href=\"https:\/\/gist.github.com\/gumslone\/542ceb3afc6a9977123608f6982c59ad\">here<\/a> or above (click &#8220;raw&#8221; on the upper right)<\/li><li>Open the Scriptable app<\/li><li>Replace the TeHyBug key with a key of your TeHyBug<\/li><li>Click on the &#8220;+&#8221; symbol in the upper right and paste the script<\/li><li>Click on the title at the top and give it a name (i.e. TeHyBug)<\/li><li>Save it by clicking &#8220;done&#8221; in the upper left<\/li><li>Go to your homescreen, long press anywhere to enter the &#8220;wiggle mode&#8221;<\/li><li>Press the &#8220;+&#8221; sign on the upper left, scroll down to &#8220;Scriptable&#8221;, choose the first (small) size and press &#8220;Add widget&#8221; at the bottom<\/li><li>While still in wiggle mode, tap the widget to enter its setup screen<\/li><li>As a &#8220;Script&#8221; choose your saved script from above (TeHyBug)<\/li><li>As parameter insert the tehybug key of your desired sensor<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A demo image with a link to scriptable code with detailed instructions. Requirements iOS 14 or higher Scriptable version 1.5 (or higher)\u00a0https:\/\/apps.apple.com\/de\/app\/scriptable\/id1405459188 TeHyBug.com as the default data-serving platform for your TeHyBug device.\u00a0https:\/\/tehybug.com\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add a Scriptable TeHyBug widget to your iPhone screen - TeHyBug<\/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:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add a Scriptable TeHyBug widget to your iPhone screen - TeHyBug\" \/>\n<meta property=\"og:description\" content=\"A demo image with a link to scriptable code with detailed instructions. Requirements iOS 14 or higher Scriptable version 1.5 (or higher)\u00a0https:\/\/apps.apple.com\/de\/app\/scriptable\/id1405459188 TeHyBug.com as the default data-serving platform for your TeHyBug device.\u00a0https:\/\/tehybug.com\/\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/\" \/>\n<meta property=\"og:site_name\" content=\"TeHyBug\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-21T23:27:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-15T21:01:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-985x1024.jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/blog.tehybug.com\/#\/schema\/person\/28a0a4d33fc8f40b0b8384156417fb67\"},\"headline\":\"Add a Scriptable TeHyBug widget to your iPhone screen\",\"datePublished\":\"2021-11-21T23:27:48+00:00\",\"dateModified\":\"2022-10-15T21:01:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/\"},\"wordCount\":188,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.tehybug.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-985x1024.jpeg\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/\",\"url\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/\",\"name\":\"Add a Scriptable TeHyBug widget to your iPhone screen - TeHyBug\",\"isPartOf\":{\"@id\":\"https:\/\/blog.tehybug.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-985x1024.jpeg\",\"datePublished\":\"2021-11-21T23:27:48+00:00\",\"dateModified\":\"2022-10-15T21:01:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#primaryimage\",\"url\":\"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1.jpeg\",\"contentUrl\":\"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1.jpeg\",\"width\":1125,\"height\":1170},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.tehybug.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add a Scriptable TeHyBug widget to your iPhone screen\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.tehybug.com\/#website\",\"url\":\"https:\/\/blog.tehybug.com\/\",\"name\":\"TeHyBug\",\"description\":\"Blog about smarthome, environment data loggers and other electronics\",\"publisher\":{\"@id\":\"https:\/\/blog.tehybug.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.tehybug.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.tehybug.com\/#organization\",\"name\":\"TeHyBug\",\"url\":\"https:\/\/blog.tehybug.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.tehybug.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/Bildschirmfoto-2021-11-21-um-00.42.31-1.png\",\"contentUrl\":\"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/Bildschirmfoto-2021-11-21-um-00.42.31-1.png\",\"width\":852,\"height\":792,\"caption\":\"TeHyBug\"},\"image\":{\"@id\":\"https:\/\/blog.tehybug.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.tehybug.com\/#\/schema\/person\/28a0a4d33fc8f40b0b8384156417fb67\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.tehybug.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3a2d910f235de6c8277235cdb99b363e978d77c6f4bfa520144683a03158c2e5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3a2d910f235de6c8277235cdb99b363e978d77c6f4bfa520144683a03158c2e5?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/blog.tehybug.com\"],\"url\":\"https:\/\/blog.tehybug.com\/index.php\/author\/gumslone\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add a Scriptable TeHyBug widget to your iPhone screen - TeHyBug","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:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/","og_locale":"en_US","og_type":"article","og_title":"Add a Scriptable TeHyBug widget to your iPhone screen - TeHyBug","og_description":"A demo image with a link to scriptable code with detailed instructions. Requirements iOS 14 or higher Scriptable version 1.5 (or higher)\u00a0https:\/\/apps.apple.com\/de\/app\/scriptable\/id1405459188 TeHyBug.com as the default data-serving platform for your TeHyBug device.\u00a0https:\/\/tehybug.com\/","og_url":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/","og_site_name":"TeHyBug","article_published_time":"2021-11-21T23:27:48+00:00","article_modified_time":"2022-10-15T21:01:55+00:00","og_image":[{"url":"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-985x1024.jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#article","isPartOf":{"@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/"},"author":{"name":"admin","@id":"https:\/\/blog.tehybug.com\/#\/schema\/person\/28a0a4d33fc8f40b0b8384156417fb67"},"headline":"Add a Scriptable TeHyBug widget to your iPhone screen","datePublished":"2021-11-21T23:27:48+00:00","dateModified":"2022-10-15T21:01:55+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/"},"wordCount":188,"commentCount":0,"publisher":{"@id":"https:\/\/blog.tehybug.com\/#organization"},"image":{"@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-985x1024.jpeg","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/","url":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/","name":"Add a Scriptable TeHyBug widget to your iPhone screen - TeHyBug","isPartOf":{"@id":"https:\/\/blog.tehybug.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#primaryimage"},"image":{"@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1-985x1024.jpeg","datePublished":"2021-11-21T23:27:48+00:00","dateModified":"2022-10-15T21:01:55+00:00","breadcrumb":{"@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#primaryimage","url":"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1.jpeg","contentUrl":"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/IMG_171FA0212343-1.jpeg","width":1125,"height":1170},{"@type":"BreadcrumbList","@id":"https:\/\/blog.tehybug.com\/index.php\/2021\/11\/21\/add-a-scriptable-tehybug-widget-to-your-iphone-screen\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.tehybug.com\/"},{"@type":"ListItem","position":2,"name":"Add a Scriptable TeHyBug widget to your iPhone screen"}]},{"@type":"WebSite","@id":"https:\/\/blog.tehybug.com\/#website","url":"https:\/\/blog.tehybug.com\/","name":"TeHyBug","description":"Blog about smarthome, environment data loggers and other electronics","publisher":{"@id":"https:\/\/blog.tehybug.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.tehybug.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blog.tehybug.com\/#organization","name":"TeHyBug","url":"https:\/\/blog.tehybug.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.tehybug.com\/#\/schema\/logo\/image\/","url":"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/Bildschirmfoto-2021-11-21-um-00.42.31-1.png","contentUrl":"https:\/\/blog.tehybug.com\/wp-content\/uploads\/2021\/11\/Bildschirmfoto-2021-11-21-um-00.42.31-1.png","width":852,"height":792,"caption":"TeHyBug"},"image":{"@id":"https:\/\/blog.tehybug.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/blog.tehybug.com\/#\/schema\/person\/28a0a4d33fc8f40b0b8384156417fb67","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.tehybug.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3a2d910f235de6c8277235cdb99b363e978d77c6f4bfa520144683a03158c2e5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3a2d910f235de6c8277235cdb99b363e978d77c6f4bfa520144683a03158c2e5?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/blog.tehybug.com"],"url":"https:\/\/blog.tehybug.com\/index.php\/author\/gumslone\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":3,"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"predecessor-version":[{"id":233,"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions\/233"}],"wp:attachment":[{"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.tehybug.com\/index.php\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}