<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Retrogaming on Marcello Barnaba</title>
		<link>https://sindro.me/tags/retrogaming/</link>
		<description>Recent content in Retrogaming on Marcello Barnaba</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 15 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://sindro.me/tags/retrogaming/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Batocera in Home Assistant</title>
				<link>https://sindro.me/posts/2026-11-15-batocera-in-home-assistant/</link>
				<pubDate>Sun, 15 Nov 2026 00:00:00 +0000</pubDate>
				<guid>https://sindro.me/posts/2026-11-15-batocera-in-home-assistant/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Before we start.&lt;/strong&gt; Batocera is a Linux distribution for retrogaming:&#xA;it boots a PC straight into EmulationStation, a gamepad-driven menu with&#xA;emulators for old consoles and home computers behind it. The games in the&#xA;screenshots are backup copies of originals I own. This post does not&#xA;endorse downloading games, and nothing described here downloads any.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Under our TV there&amp;rsquo;s &lt;strong&gt;joker&lt;/strong&gt;, a mini PC running Batocera 43: the kids&#39;&#xA;console. Now it&amp;rsquo;s also a device in Home Assistant, through an integration I&#xA;wrote with Claude Code: &lt;a href=&#34;https://github.com/vjt/ha-batocera&#34; target=&#34;_blank&#34;&gt;ha-batocera&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;why&#34; id=&#34;why&#34;&gt;Why&lt;a class=&#34;heading-anchor&#34; href=&#34;#why&#34; aria-label=&#34;Link to this section&#34;&gt;¶&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Search.&lt;/strong&gt; joker holds thousands of games, and searching them with a pad&#xA;means an on-screen keyboard, one letter at a time. On the phone I type&#xA;&amp;ldquo;mario&amp;rdquo;, get every Mario on every system, and one tap starts it on the TV.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;What the kids play, and for how long.&lt;/strong&gt; You want that data before&#xA;setting any limit. The limits came after.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Quitting a stuck game.&lt;/strong&gt; Sometimes the exit hotkey just doesn&amp;rsquo;t respond.&#xA;The stop button on the phone always does.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;how-it-works&#34; id=&#34;how-it-works&#34;&gt;How it works&lt;a class=&#34;heading-anchor&#34; href=&#34;#how-it-works&#34; aria-label=&#34;Link to this section&#34;&gt;¶&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;A small daemon on the box (Python, standard library only) hears about every&#xA;game start and stop from Batocera&amp;rsquo;s launch hook, reads the catalog from&#xA;EmulationStation&amp;rsquo;s local API, and talks to Home Assistant over MQTT. HACS&#xA;ships it together with the integration.&lt;/p&gt;&#xA;&#xA;&#xA;&lt;script src=&#34;https://sindro.me/js/mermaid.min.js&#34; defer&gt;&lt;/script&gt;&#xA;&lt;script&gt;&#xA;    document.addEventListener(&#34;DOMContentLoaded&#34;, function () {&#xA;        const lsTheme = localStorage.getItem(&#34;theme&#34;)&#xA;        const hugoTheme = document.body.classList.contains(&#34;dark-theme&#34;) ? &#34;dark&#34; : null&#xA;        const currTheme = lsTheme ? lsTheme : hugoTheme;&#xA;        const mermaidTheme = currTheme == &#34;light&#34; ? &#34;default&#34; : &#34;dark&#34;&#xA;&#xA;        mermaid.initialize({startOnLoad: false, theme: mermaidTheme});&#xA;        mermaid.run();&#xA;    });&#xA;&lt;/script&gt;&#xA;&#xA;&#xA;&lt;div class=&#34;mermaid&#34;&gt;graph LR&#xA;    launcher[Batocera launcher] --&gt;|start / stop| daemon[daemon]&#xA;    es[EmulationStation] &lt;--&gt;|catalog, launch| daemon&#xA;    daemon &lt;--&gt;|MQTT| ha[Home Assistant]&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;the-page&#34; id=&#34;the-page&#34;&gt;The page&lt;a class=&#34;heading-anchor&#34; href=&#34;#the-page&#34; aria-label=&#34;Link to this section&#34;&gt;¶&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The integration adds a &lt;strong&gt;Batocera&lt;/strong&gt; page to the sidebar: dark CRT look,&#xA;pixel font, because of course. Favourites, recently played, one tile per&#xA;system with its logo.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
