{"id":1884,"date":"2016-02-14T11:14:54","date_gmt":"2016-02-14T09:14:54","guid":{"rendered":"http:\/\/www.wittwer.nl\/?p=1884"},"modified":"2016-02-15T12:36:00","modified_gmt":"2016-02-15T10:36:00","slug":"cec-on-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.wittwer.nl\/?p=1884","title":{"rendered":"CEC on the Raspberry Pi"},"content":{"rendered":"<p>My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me to control the AVR (or even the connected PlayStation 3) with the TV&#8217;s remote.<\/p>\n<p>I also wanted to have this convenience when listening to music from the Raspberry Pi, i.e. at least turning the AVR on and off from the webinterface of <a href=\"http:\/\/www.wittwer.nl\/?p=1878\">Pi Musicbox<\/a>. Luckily, there&#8217;s a library called <a href=\"https:\/\/github.com\/Pulse-Eight\/libcec\">libcec<\/a> that lets you do this. Unfortunately, I could not get it compiled on Pi Musicbox, so I had to start off from a clean installation of Raspbian Jessie. These are the steps I followed:<\/p>\n<ul>\n<li>Download, installation and configuration of <a href=\"https:\/\/www.raspberrypi.org\/downloads\/raspbian\/\">Raspbian Jessie<\/a>.<\/li>\n<li>Download, compilation and installation of <a href=\"https:\/\/github.com\/Pulse-Eight\/libcec\">libcec<\/a>, I simply followed the instructions.<\/li>\n<li>You can then test CEC using <em>cec-client<\/em>. There&#8217;s plenty of information online on how to use it. On my system, <em>echo &#8220;on 5&#8221; | cec-client -s <\/em> turns on the AVR.<\/li>\n<li>Install and configure <a href=\"https:\/\/www.mopidy.com\/\">Mopidy<\/a> and the Musicbox webclient, following the instructions. I could not get avahi\/bonjour to work with my Windows computer, but at least my iOs devices can find the web interface at <em>http:\/\/raspberrypi.local:6680.<\/em><\/li>\n<\/ul>\n<p>So far so good, but how to call cec-client from the web interface? This would be easily done with PHP, but it took me a little longer to figure out. Here are the steps I undertook (once again not a full recipe):<\/p>\n<ul>\n<li>For use with Pi Musicbox, the Musicbox webclient has a menu item <em>System<\/em> that is not shown on regular Mopidy installations. This links to a page <em>system.html<\/em> that has the links for shutdown and reboot of the system. I added a menu item <em>CEC <\/em> to the navigation menu (in \/usr\/local\/lib\/python2.7\/dist-packages\/mopidy_musicbox_webclient\/static), copied system.html to cec.html, and edited this file. You can see that it calls two functions that are defined in js\/controls.js. I created two new function calls and added their definition in controls.js, linking to \/settings\/avron and \/settings\/avroff instead of the shutdown\/reboot links given there.<\/li>\n<li>These links only work if the Websettings extension is installed. How they are handled is defined in the __init__.py file that is contained in\u00a0 the websettings directory. I added new functions for the avron and avroff links.<\/li>\n<li>The system calls need to be changed to what you want to do, e.g. <em>os.system(&#8216;echo &#8220;standby 5&#8221; | \/usr\/local\/bin\/cec-client -s&#8217;).<\/em><\/li>\n<li>In order for this to work, user mopidy needs to be added to the audio and video user groups.<\/li>\n<\/ul>\n<p>You probably want to run multiple commands when turning on the receiver &#8211; also switching it to the Raspberry port, and maybe turning the tv off (on my system, it is turned on automatically by the AVR when I switch to the Raspberry port. This can be done via<br \/>\n<code><br \/>\nsubprocess.call('echo \"on 5\" | \/usr\/local\/bin\/cec-client',shell=True)<br \/>\ntime.sleep(5)<br \/>\nsubprocess.call('echo \"as\" | \/usr\/local\/bin\/cec-client',shell=True)<br \/>\ntime.sleep(5)<br \/>\nsubprocess.call('echo \"standby 0\" | \/usr\/local\/bin\/cec-client',shell=True)<br \/>\n<\/code><\/p>\n<p>You might have to do a\u00a0 <em>python -m compileall .<\/em> after changes to the Python script. <em>service mopidy restart<\/em> will then apply changes. Good luck!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1885,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_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},"jetpack_post_was_ever_published":false},"categories":[78],"tags":[87],"class_list":["post-1884","post","type-post","status-publish","format-standard","has-post-thumbnail","category-tech","tag-raspberry-pi","czr-hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.wittwer.nl\/?p=1884\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"wittwer.nl | The website of Tobias Wittwer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"CEC on the Raspberry Pi | wittwer.nl\" \/>\n\t\t<meta property=\"og:description\" content=\"My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.wittwer.nl\/?p=1884\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-02-14T09:14:54+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-02-15T10:36:00+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"CEC on the Raspberry Pi | wittwer.nl\" \/>\n\t\t<meta name=\"twitter:description\" content=\"My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#article\",\"name\":\"CEC on the Raspberry Pi | wittwer.nl\",\"headline\":\"CEC on the Raspberry Pi\",\"author\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.wittwer.nl\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/Raspi-PGB001.png\",\"width\":1000,\"height\":890},\"datePublished\":\"2016-02-14T11:14:54+02:00\",\"dateModified\":\"2016-02-15T12:36:00+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#webpage\"},\"articleSection\":\"Technology, Raspberry Pi\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wittwer.nl#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wittwer.nl\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?cat=78#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?cat=78#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.wittwer.nl\\\/?cat=78\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#listItem\",\"name\":\"CEC on the Raspberry Pi\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wittwer.nl#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#listItem\",\"position\":3,\"name\":\"CEC on the Raspberry Pi\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?cat=78#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/#organization\",\"name\":\"wittwer.nl\",\"description\":\"The website of Tobias Wittwer\",\"url\":\"https:\\\/\\\/www.wittwer.nl\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?author=1#author\",\"url\":\"https:\\\/\\\/www.wittwer.nl\\\/?author=1\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1800dc31a7ae6c14fe15c96ab908125ce0c09dc3ad87f0dbaad05f7370c1eecb?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#webpage\",\"url\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884\",\"name\":\"CEC on the Raspberry Pi | wittwer.nl\",\"description\":\"My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.wittwer.nl\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/Raspi-PGB001.png\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884\\\/#mainImage\",\"width\":1000,\"height\":890},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/?p=1884#mainImage\"},\"datePublished\":\"2016-02-14T11:14:54+02:00\",\"dateModified\":\"2016-02-15T12:36:00+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/#website\",\"url\":\"https:\\\/\\\/www.wittwer.nl\\\/\",\"name\":\"wittwer.nl\",\"description\":\"The website of Tobias Wittwer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wittwer.nl\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"CEC on the Raspberry Pi | wittwer.nl","description":"My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me","canonical_url":"https:\/\/www.wittwer.nl\/?p=1884","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wittwer.nl\/?p=1884#article","name":"CEC on the Raspberry Pi | wittwer.nl","headline":"CEC on the Raspberry Pi","author":{"@id":"https:\/\/www.wittwer.nl\/?author=1#author"},"publisher":{"@id":"https:\/\/www.wittwer.nl\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.wittwer.nl\/wp-content\/uploads\/2016\/02\/Raspi-PGB001.png","width":1000,"height":890},"datePublished":"2016-02-14T11:14:54+02:00","dateModified":"2016-02-15T12:36:00+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.wittwer.nl\/?p=1884#webpage"},"isPartOf":{"@id":"https:\/\/www.wittwer.nl\/?p=1884#webpage"},"articleSection":"Technology, Raspberry Pi"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wittwer.nl\/?p=1884#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.wittwer.nl#listItem","position":1,"name":"Home","item":"https:\/\/www.wittwer.nl","nextItem":{"@type":"ListItem","@id":"https:\/\/www.wittwer.nl\/?cat=78#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/www.wittwer.nl\/?cat=78#listItem","position":2,"name":"Technology","item":"https:\/\/www.wittwer.nl\/?cat=78","nextItem":{"@type":"ListItem","@id":"https:\/\/www.wittwer.nl\/?p=1884#listItem","name":"CEC on the Raspberry Pi"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.wittwer.nl#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.wittwer.nl\/?p=1884#listItem","position":3,"name":"CEC on the Raspberry Pi","previousItem":{"@type":"ListItem","@id":"https:\/\/www.wittwer.nl\/?cat=78#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/www.wittwer.nl\/#organization","name":"wittwer.nl","description":"The website of Tobias Wittwer","url":"https:\/\/www.wittwer.nl\/"},{"@type":"Person","@id":"https:\/\/www.wittwer.nl\/?author=1#author","url":"https:\/\/www.wittwer.nl\/?author=1","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.wittwer.nl\/?p=1884#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/1800dc31a7ae6c14fe15c96ab908125ce0c09dc3ad87f0dbaad05f7370c1eecb?s=96&d=mm&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"WebPage","@id":"https:\/\/www.wittwer.nl\/?p=1884#webpage","url":"https:\/\/www.wittwer.nl\/?p=1884","name":"CEC on the Raspberry Pi | wittwer.nl","description":"My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.wittwer.nl\/#website"},"breadcrumb":{"@id":"https:\/\/www.wittwer.nl\/?p=1884#breadcrumblist"},"author":{"@id":"https:\/\/www.wittwer.nl\/?author=1#author"},"creator":{"@id":"https:\/\/www.wittwer.nl\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.wittwer.nl\/wp-content\/uploads\/2016\/02\/Raspi-PGB001.png","@id":"https:\/\/www.wittwer.nl\/?p=1884\/#mainImage","width":1000,"height":890},"primaryImageOfPage":{"@id":"https:\/\/www.wittwer.nl\/?p=1884#mainImage"},"datePublished":"2016-02-14T11:14:54+02:00","dateModified":"2016-02-15T12:36:00+02:00"},{"@type":"WebSite","@id":"https:\/\/www.wittwer.nl\/#website","url":"https:\/\/www.wittwer.nl\/","name":"wittwer.nl","description":"The website of Tobias Wittwer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.wittwer.nl\/#organization"}}]},"og:locale":"en_US","og:site_name":"wittwer.nl | The website of Tobias Wittwer","og:type":"article","og:title":"CEC on the Raspberry Pi | wittwer.nl","og:description":"My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me","og:url":"https:\/\/www.wittwer.nl\/?p=1884","article:published_time":"2016-02-14T09:14:54+00:00","article:modified_time":"2016-02-15T10:36:00+00:00","twitter:card":"summary","twitter:title":"CEC on the Raspberry Pi | wittwer.nl","twitter:description":"My Raspberry Pi is hooked up to my AV Receiver using the HDMI port. My AV Receiver sits behind a cabinet door, so it cannot be controlled directly using the remote unless I open the door. This is not an issue when watching TV, as TV and AVR communicate using the HDMI-CEC protocol, allowing me"},"aioseo_meta_data":{"post_id":"1884","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-23 13:03:42","updated":"2025-06-04 00:58:38","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.wittwer.nl\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.wittwer.nl\/?cat=78\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCEC on the Raspberry Pi\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.wittwer.nl"},{"label":"Technology","link":"https:\/\/www.wittwer.nl\/?cat=78"},{"label":"CEC on the Raspberry Pi","link":"https:\/\/www.wittwer.nl\/?p=1884"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.wittwer.nl\/wp-content\/uploads\/2016\/02\/Raspi-PGB001.png","jetpack_shortlink":"https:\/\/wp.me\/plKIk-uo","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=\/wp\/v2\/posts\/1884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1884"}],"version-history":[{"count":7,"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=\/wp\/v2\/posts\/1884\/revisions"}],"predecessor-version":[{"id":1892,"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=\/wp\/v2\/posts\/1884\/revisions\/1892"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=\/wp\/v2\/media\/1885"}],"wp:attachment":[{"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wittwer.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}