{"id":2174,"date":"2022-02-21T19:24:03","date_gmt":"2022-02-22T03:24:03","guid":{"rendered":"https:\/\/partofthething.com\/thoughts\/?p=2174"},"modified":"2024-09-26T16:36:53","modified_gmt":"2024-09-26T23:36:53","slug":"a-lirc-config-file-for-the-peachtree-audio-decco-ir-remote-control","status":"publish","type":"post","link":"https:\/\/partofthething.com\/thoughts\/a-lirc-config-file-for-the-peachtree-audio-decco-ir-remote-control\/","title":{"rendered":"A LIRC config file for the Peachtree Audio Decco IR remote control"},"content":{"rendered":"\n<p>A family member upgraded his stereo and offered me his Peachtree Audio Decco as a hand-me-down. I couldn&#8217;t say no because my previous hand-me-down has recently become buzzy. But, in order for it to work with my home automation setup, I needed to be able to turn it on and off, switch inputs, and change volume from my Home Assistant home automation system via my Raspberry Pi. I <a href=\"https:\/\/partofthething.com\/thoughts\/controlling-a-fujitsu-heat-pump-air-conditioner-with-home-assistant-over-ir\/\" data-type=\"post\" data-id=\"2157\">use<\/a> <a href=\"https:\/\/www.lirc.org\/\">LIRC<\/a> for this but there is no remote config for the Decco. So I used the remote and recorded the pulses.<\/p>\n\n\n\n<p>Using <code>irrecord<\/code> didn&#8217;t go that well. The dots were coming in but very slowly. I&#8217;d have to sit there for 10 minutes pressing in order to get enough dots for it. So I used mode2 to record raw commands on my pi. Then I hand-edited it to have the right format for a conf file and then ran <code>irrecord -a<\/code> on it to convert it to actual codes. <\/p>\n\n\n\n<p>Since the LIRC remote DB hasn&#8217;t been updated since 2018 and has a few open merge requests, I figured it&#8217;d be easier to just post the file here for the next person who needs it. It works great. Here you go. <\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-3c46df84-5d25-40c8-8ebe-421436d7b057\" href=\"https:\/\/partofthething.com\/thoughts\/wp-content\/uploads\/decco-analyzed.conf_.txt\">decco-analyzed.conf_<\/a><a href=\"https:\/\/partofthething.com\/thoughts\/wp-content\/uploads\/decco-analyzed.conf_.txt\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-3c46df84-5d25-40c8-8ebe-421436d7b057\">decco lirc config file<\/a><\/div>\n\n\n\n<p>Fun times. <\/p>\n\n\n\n<p>UPDATE: 2024-09-26: This has been put to use with much more detail here: <a href=\"https:\/\/github.com\/druilaap\/Peachtree_Decco_hifiberry_IR\">https:\/\/github.com\/druilaap\/Peachtree_Decco_hifiberry_IR<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A family member upgraded his stereo and offered me his Peachtree Audio Decco as a hand-me-down. I couldn&#8217;t say no because my previous hand-me-down has recently become buzzy. But, in order for it to work with my home automation setup, I needed to be able to turn it on and off, switch inputs, and change &hellip; <a href=\"https:\/\/partofthething.com\/thoughts\/a-lirc-config-file-for-the-peachtree-audio-decco-ir-remote-control\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">A LIRC config file for the Peachtree Audio Decco IR remote control<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":""},"categories":[75],"tags":[],"class_list":["post-2174","post","type-post","status-publish","format-standard","hentry","category-home-automation"],"_links":{"self":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/2174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/comments?post=2174"}],"version-history":[{"count":5,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/2174\/revisions"}],"predecessor-version":[{"id":2516,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/2174\/revisions\/2516"}],"wp:attachment":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/media?parent=2174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/categories?post=2174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/tags?post=2174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}