<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">

  <channel>
    <title>MQTT on </title>
    <link>https://priyatham.in/en/tags/mqtt/</link>
    <description>Recent Posts in MQTT on </description>
    <generator>Hugo 0.161.1</generator>
    <language>en-GB</language>
    <managingEditor>Priyatham</managingEditor>
    
      <webMaster>Priyatham</webMaster>
    <lastBuildDate>Tue, 14 Jul 2026 21:34:34 -0700</lastBuildDate>
    <atom:link href="https://priyatham.in/en/tags/mqtt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>DDC MQTT</title>
      <link>https://priyatham.in/en/post/ddc-mqtt/</link>
      <pubDate>Tue, 02 Sep 2025 00:00:00 +0000</pubDate>
      <author>Priyatham</author>
      <guid>https://priyatham.in/en/post/ddc-mqtt/</guid>
      <description>What is DDC ? I always wanted a way to switch between the display but couldn&amp;amp;rsquo;t find any easier way to switch. It was sad that I only looked into this in much deeper after buying a Samsung Odyssey g8 monitor. The monitor doesn&amp;amp;rsquo;t have an inbuilt KVM. Then I thought maybe an IR sensor on the TV can be used to control it. With the understanding of DDC, I researched, and it only works with the HDMI output and not the DisplayPorts.
</description><content:encoded>&lt;h2 id=&#34;what-is-ddc-&#34;&gt;What is DDC ?&lt;/h2&gt;
&lt;p&gt;I always wanted a way to switch between the display but couldn&#39;t find any easier way to switch. It was sad that I only looked into this in much deeper after buying a Samsung Odyssey g8 monitor. The monitor doesn&#39;t have an inbuilt KVM. Then I thought maybe an IR sensor on the TV can be used to control it. With the understanding of DDC, I researched, and it only works with the HDMI output and not the DisplayPorts.&lt;/p&gt;

&lt;figure &gt;
			&lt;input id=&#34;fig-0e5080d3b436ba1cd6d8911bbca8e262-0&#34; class=&#34;marginpar-ctrl&#34; type=&#34;checkbox&#34; aria-controls=&#34;the-fig-0e5080d3b436ba1cd6d8911bbca8e262-0&#34; hidden&gt;&lt;/input&gt;
    &lt;label for=&#34;fig-0e5080d3b436ba1cd6d8911bbca8e262-0&#34;&gt;&lt;/label&gt;
        &lt;span id=&#34;the-fig-0e5080d3b436ba1cd6d8911bbca8e262-0&#34; class=&#34;marginpar abs&#34;&gt;
    
    Home assistant widget with three different inputs
    
    &lt;/span&gt;
    

&lt;img src=&#34;https://priyatham.in/images/ddc-mqtt-1.png&#34;
  aria-describedby=&#34;fig-0e5080d3b436ba1cd6d8911bbca8e262-0&#34;
  loading=&#34;lazy&#34; /&gt;
    &lt;/figure&gt;

&lt;p&gt;This uses simpleddc library with python. MQTT is implemented on top of it. There are different endpoints giving out the status, and one queue for each of the inputs. All of which were determined using a software.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://code.priyatham.in/priyatham/ddc-mqtt&#34; target=&#34;_blank&#34; rel=&#34;external noopener noreferrer nofollow&#34;&gt;Code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How I made this lxc container inside my self hosted server is in this &lt;a href=&#34;https://priyatham.in/en/post/self-host/&#34;&gt;self host&lt;/a&gt;.&lt;/p&gt;
</content:encoded>
      <enclosure url="/images/ddc-mqtt-1.png" length="0" type="image/jpeg" />
    </item>
  </channel>
</rss>
