<?xml version="1.0"?>
<rss version="2.0"><channel><title>The Pill by Shelly (Gen3) Latest Topics</title><link>https://community.shelly.cloud/forum/323-the-pill-by-shelly-gen3/</link><description>The Pill by Shelly (Gen3) Latest Topics</description><language>en</language><item><title>Use SSR and temperature sensor at the same time?</title><link>https://community.shelly.cloud/topic/13596-use-ssr-and-temperature-sensor-at-the-same-time/</link><description><![CDATA[<p>
	Hi, I think this is not possible, but just to make sure...
</p>

<p>
	I am looking for a way to measure temperature and control two 12v (3 pin, no PWM) fans with one device. I think the Pill could do each of the two things (fans via 5-Terminal Add-on/SSR Add-On, temp via DS18B20), but can it do both at the same time?
</p>
]]></description><guid isPermaLink="false">13596</guid><pubDate>Sat, 14 Feb 2026 17:59:06 +0000</pubDate></item><item><title>Shelly The Pill with Modbus RTU read SHT RS485 Modbus-RTU Temperature Humidity Sensor</title><link>https://community.shelly.cloud/topic/13883-shelly-the-pill-with-modbus-rtu-read-sht-rs485-modbus-rtu-temperature-humidity-sensor/</link><description><![CDATA[<p>
	I’ve just finished something pretty interesting. I used <strong>Shelly The Pill</strong> together with a <strong>TTL-to-RS485 module</strong> to communicate with a <strong>temperature and humidity sensor over Modbus</strong>.
</p>

<p>
	<strong>Wiring:</strong>
</p>

<p>
	<strong>Shelly =&gt; TTL to RS485 module</strong><br />
	Out 1 / TX =&gt; RX<br />
	Out 2 / RX =&gt; TX<br />
	5V =&gt; 5V<br />
	GND =&gt; GND
</p>

<p>
	<strong>TTL to RS485 =&gt; Sensor</strong><br />
	A =&gt; A<br />
	B =&gt; B
</p>

<p>
	After that, I used the code in the attached file <strong><code>The_Pill_Modbus.js</code></strong> to read the sensor values into the virtual components as follows:<br />
	<strong>Temp =&gt; Number:200</strong><br />
	<strong>Humidity =&gt; Number:201</strong>
</p>

<p>
	You can also refer to the attached file <strong>“SHT RS485 Modbus-RTU Temperature Humidity Sensor”</strong> for more information about the sensor.
</p>

<p>
	Next, I’m going to try writing a <strong>standard Modbus function for Shelly The Pill</strong> so it can be used with other <strong>Modbus RTU devices</strong> as well. At the same time, I hope Shelly can develop a <strong>Modbus add-on for The Pill</strong> — I think that would be an amazing product <span class="ipsEmoji">😄</span>
</p>
<p>
<a class="ipsAttachLink" href="https://community.shelly.cloud/applications/core/interface/file/attachment.php?id=14721&amp;key=eabb5db91c026aa774525f6a76a7f581" data-fileExt='js' data-fileid='14721' data-filekey='eabb5db91c026aa774525f6a76a7f581'>The_Pill_Modbus.js</a> 
<a class="ipsAttachLink" href="https://community.shelly.cloud/applications/core/interface/file/attachment.php?id=14722&amp;key=9d439c39f929cfcdc41d0586679f9272" data-fileExt='pdf' data-fileid='14722' data-filekey='9d439c39f929cfcdc41d0586679f9272'>SHT RS485 Modbus-RTU Temperature Humidity Sensor.pdf</a></p>]]></description><guid isPermaLink="false">13883</guid><pubDate>Mon, 16 Mar 2026 10:28:12 +0000</pubDate></item><item><title>[BETA] The Pill: Serial Communication (UART) Mode Now Available!</title><link>https://community.shelly.cloud/topic/12801-beta-the-pill-serial-communication-uart-mode-now-available/</link><description><![CDATA[<p>
	Greetings everyone,<br />
	<br />
	New early beta version is now available for <strong>The Pill<span><span>:</span></span>  <em>1.8.99-dev152568</em></strong>
</p>

<p>
	<span class="ipsEmoji">⚠️</span> Note: <strong>This is a <u>beta</u> firmware version.<em> </em>APIs may be subject to change before the final release.</strong><br />
	 
</p>

<p>
	<u><strong>Summary</strong></u><em><span><span><u><strong>:</strong></u></span></span></em><br />
	<span><span>This firmware update </span></span>unlocks<span><span> <strong>The Pill</strong> possibility to act as a <strong>compact bridge</strong> for connecting various third-party sensors and devices to your Home Automation setup!</span></span><br />
	<br />
	<span><span>The newly added <strong>Serial Communication (UART) mode</strong> allows you to communicate with external hardware using <em><strong>Scripts.  </strong></em>Send/receive data from different peripherals and visualize it using Virtual Components!</span></span>
</p>

<p>
	<span><span><u><b>Useful for:</b></u></span></span>
</p>

<ul>
	<li>
		<span><span><strong>Data gathering:</strong> Reading data from sensors and devices, which use UART Communication</span></span>
	</li>
	<li>
		<strong>External Control:</strong> Sending commands to external controllers and devices.
	</li>
	<li>
		<span><span><strong>DIY projects:</strong> </span></span>Bridging data from your Arduino, Raspberry Pi, or ESP32 projects directly into the Shelly Ecosystem and App.
	</li>
	<li>
		<span><span><strong>Visualization:</strong> Reading data into a Virtual Component to monitor status or trigger automations</span></span>
	</li>
	<li>
		<b>Statistics:</b> Use Virtual Devices in Shelly Smart Control for statistics visualization!
	</li>
</ul>

<p>
	<br />
	<span><span><u><strong>Wiring The Pill to external devices<span><span>:</span></span></strong></u><br />
	- IO<strong>1</strong><em><strong><span>:</span> TX -&gt; </strong>External Device<strong> RX</strong></em><br />
	- IO<strong>2</strong><span>: </span><em><strong>RX -&gt; </strong>External Device <strong>TX</strong></em></span></span><br />
	- GND -&gt; <em>External device GND</em>
</p>

<p>
	<em>Note: The Pill uses 3.3V Logic-levels.</em>
</p>

<p>
	<em><strong>Quick-setup:</strong></em><br />
	1. Select Peripheral mode: Serial communication (UART)<br />
	2. Connect your external device (Ensure TX/RX are crossed and GND is connected)<br />
	3. Create a <em><strong>Shelly script</strong></em> on The Pill to process the data (<em>see example below</em>)<br />
	4. <em>(Optional)</em> Create Virtual components and Virtual Device to display your data in <em><strong>Shelly Smart Control, </strong>the WebUI<strong> </strong>or external systems</em><br />
	<br />
	<strong>Example: Minimal Script</strong>
</p>

<p>
	<em>Here is a basic script to get you started:</em>
</p>

<pre class="ipsCode prettyprint lang-javascript prettyprinted"><span class="kwd">const</span><span class="pln"> BAUD_RATE </span><span class="pun">=</span><span class="pln"> </span><span class="lit">9600</span><span class="pun">;</span><span class="pln"> </span><span class="com">//UART Baud rate: E.g.: 2000000; 1000000; 115200; </span><span class="pln">

</span><span class="com">// Obtain a handle to the peripheral </span><span class="pln">
</span><span class="kwd">const</span><span class="pln"> uart </span><span class="pun">=</span><span class="pln"> UART</span><span class="pun">.</span><span class="kwd">get</span><span class="pun">();</span><span class="pln"> 
</span><span class="com">// Configure </span><span class="pln">
</span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(!</span><span class="pln">uart</span><span class="pun">.</span><span class="pln">configure</span><span class="pun">({</span><span class="pln"> baud</span><span class="pun">:</span><span class="pln"> BAUD_RATE</span><span class="pun">,</span><span class="pln"> mode</span><span class="pun">:</span><span class="pln"> </span><span class="str">"8N1"</span><span class="pln"> </span><span class="pun">}))</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> 
    print</span><span class="pun">(</span><span class="str">"Unable to configure UART"</span><span class="pun">);</span><span class="pln"> 
    die</span><span class="pun">();</span><span class="pln"> 
</span><span class="pun">}</span><span class="pln"> 
 
</span><span class="com">// Subscribe for incoming data </span><span class="pln">
uart</span><span class="pun">.</span><span class="pln">recv</span><span class="pun">(</span><span class="kwd">function</span><span class="pln"> </span><span class="pun">(</span><span class="pln">data</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">   
    print</span><span class="pun">(</span><span class="str">"RX: "</span><span class="pun">+</span><span class="pln">data</span><span class="pun">)</span><span class="pln"> 
</span><span class="pun">});</span><span class="pln"> 

</span><span class="com">// Send message </span><span class="pln">
uart</span><span class="pun">.</span><span class="pln">write</span><span class="pun">(</span><span class="str">"Hello from The Pill!\n"</span><span class="pun">);</span><span class="pln"> </span></pre>

<p>
	<br />
	<strong>Showcase</strong><br />
	<em>Example configuration &amp; Virtual device visualization with Shelly Smart Control</em><br />
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="13162" href="//media.invisioncic.com/t323932/monthly_2025_12/image.png.90634bced5bf3400f1ef812310b767d6.png" rel=""><img alt="image.thumb.png.aa47af0adb3d9c453fd78506975e5443.png" class="ipsImage ipsImage_thumbnailed" data-fileid="13162" data-ratio="59.50" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t323932/monthly_2025_12/image.thumb.png.aa47af0adb3d9c453fd78506975e5443.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a><br />
	 
</p>

<p>
	 
</p>

<p>
	<strong>Whats next:<br />
	- </strong>Use the Virtual component data to trigger <strong>Automations</strong> via Cloud <strong>Scenes</strong>, Device <strong>Actions</strong> or Scripting<br />
	<strong>- Showcase your use-cases!</strong>
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink" data-fileext="js" data-fileid="13164" href="https://community.shelly.cloud/applications/core/interface/file/attachment.php?id=13164&amp;key=0719b51e16b3f47e83be28d532c2b242" rel="">ThePill-UART-minimal-example.js</a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t323932/monthly_2025_12/ThePill-UART-Wiring.png.99105b6c99a8a1bb278a483697082c5e.png" data-fileid="13163" data-fileext="png" rel=""><img alt="ThePill-UART-Wiring.png" class="ipsImage ipsImage_thumbnailed" data-fileid="13163" data-ratio="205.48" style="height:auto;" width="365" data-src="//media.invisioncic.com/t323932/monthly_2025_12/ThePill-UART-Wiring.thumb.png.2af41252ea91969db954c275bf7c49c5.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">12801</guid><pubDate>Wed, 24 Dec 2025 11:14:27 +0000</pubDate></item><item><title>BTHome Kopplung nicht m&#xF6;glich</title><link>https://community.shelly.cloud/topic/13025-bthome-kopplung-nicht-m%C3%B6glich/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	wollte einen neuen H&amp;T BT per BTHome einbinden. Leider klappt das mit der Stable/Beta für die Pill nicht.
</p>

<p>
	Es ist kein Scan möglich und auch kein Hinzufügen per Mac.
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="13436" data-ratio="59.48" width="802" alt="image.png.a916f7d003f6a9e26cb45762bf2b73cb.png" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.png.a916f7d003f6a9e26cb45762bf2b73cb.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" />
</p>

<p>
	Testweise wurde der H&amp;T an einem anderen Gerät erfolgreich gekoppelt.
</p>
]]></description><guid isPermaLink="false">13025</guid><pubDate>Thu, 08 Jan 2026 16:57:17 +0000</pubDate></item><item><title>THE PILL, Pushmessage when temp is to high.</title><link>https://community.shelly.cloud/topic/13586-the-pill-pushmessage-when-temp-is-to-high/</link><description><![CDATA[<p>
	Hi guys, <br />
	<br />
	i need the pill for a temp monitoring, and wanna have push when the temp is to high.<br />
	As I did not find any way in th eshelly pill it self to send push like at the shelly flood i tried with a script, but it did not work.<br />
	I see th etemo in the scrip put no message send.<br />
	<br />
	this  is the script:
</p>

<p>
	// ----------------------------------------------------------<br />
	// Shelly The Pill – Temperatur-Alarm (Cloud Push + Warnton)<br />
	// ----------------------------------------------------------
</p>

<p>
	let TEMP_LIMIT = 30.0;     // °C Grenzwert<br />
	let HYST = 1.0;            // Rückkehrschwelle<br />
	let CHECK_MS = 1500;       // Polling-Intervall
</p>

<p>
	let alarm = {};<br />
	let polling = false;
</p>

<p>
	// ---------- Notification Funktion ---------------------------<br />
	function notify(msg) {<br />
	  // Cloud Push mit Ton an alle verbundenen Geräte<br />
	  Shelly.call("Cloud.SendNotification", {<br />
	    title: "<span class="ipsEmoji">⚠️</span> Temperatur-Alarm",<br />
	    message: msg,<br />
	    sound: true<br />
	  });<br />
	}
</p>

<p>
	// ---------- Temperatur prüfen -------------------------------<br />
	function checkValue(id, t) {<br />
	  if (t === null || typeof t !== "number") return;
</p>

<p>
	  if (!alarm[id]) alarm[id] = false;
</p>

<p>
	  if (t &gt; TEMP_LIMIT &amp;&amp; !alarm[id]) {<br />
	    alarm[id] = true;<br />
	    notify("Temp-Alarm " + id + ": " + t.toFixed(2) + "°C");<br />
	    print("ALARM " + id + " = " + t.toFixed(2));<br />
	  }
</p>

<p>
	  if (t &lt; (TEMP_LIMIT - HYST) &amp;&amp; alarm[id]) {<br />
	    alarm[id] = false;<br />
	    print("ALARM AUS " + id + " = " + t.toFixed(2));<br />
	  }<br />
	}
</p>

<p>
	// ---------- Status-Events überwachen ------------------------<br />
	Shelly.addStatusHandler(function(e) {<br />
	  if (!e.component || e.component.indexOf("temperature:") !== 0) return;
</p>

<p>
	  let id = parseInt(e.component.split(":")[1]);<br />
	  let t = null;
</p>

<p>
	  if (e.delta &amp;&amp; typeof e.delta.tC === "number") t = e.delta.tC;<br />
	  if (e.status &amp;&amp; typeof e.status.tC === "number") t = e.status.tC;
</p>

<p>
	  if (t !== null) checkValue(id, t);<br />
	});
</p>

<p>
	// ---------- Polling (optional) -----------------------------<br />
	function pollSensor() {<br />
	  // Bei The Pill ist kein RPC-Sensor verfügbar, Polling hier optional<br />
	  // Kann Status-Events ergänzen, falls gewünscht<br />
	  if (polling) return;<br />
	  polling = true;
</p>

<p>
	  // Polling abbrechen nach 1 Durchlauf (nur Status-Events nutzen)<br />
	  Timer.set(CHECK_MS, false, function() { polling = false; });<br />
	}
</p>

<p>
	// ---------- Start --------------------------------------------<br />
	print("Shelly The Pill Temperatur-Alarm aktiv");<br />
	Timer.set(CHECK_MS, true, pollSensor)<br />
	<br />
	<br />
	<br />
	Can you please help me, thanks.<br />
	<br />
	<br />
	BR<br />
	KOAL
</p>
]]></description><guid isPermaLink="false">13586</guid><pubDate>Fri, 13 Feb 2026 12:28:15 +0000</pubDate></item><item><title>I need support for scripting with Pill(s)</title><link>https://community.shelly.cloud/topic/13542-i-need-support-for-scripting-with-pills/</link><description><![CDATA[<p>
	Hi There
</p>

<p>
	I created a quick script to better understand the data (json) structure managed by the Pill, but regardless of the way I call the functions, I got a few results.
</p>

<p>
	Clearly, I am doing something wrong. Any idea?
</p>

<p>
	Thanks for the support
</p>

<p>
	Franco
</p>

<p>
	 
</p>

<p>
	    let info =  Shelly.getDeviceInfo();<br />
	    print("INFO: ", info);  /* THIS WORKS */
</p>

<p>
	<br />
	    let InputStatus = Shelly.getComponentStatus("voltmeter:1"); /* THIS FAIL */<br />
	    print("VALORI: ", JSON.stringify(InputStatus)); <br />
	   
</p>

<p>
	   let InputStatus = Shelly.getComponentStatus("input:100"); /* THIS FAIL */<br />
	    print("VALORI: ", JSON.stringify(InputStatus)); <br />
	        <br />
	    Shelly.call("Input.GetStatus", {id: 1}, function (res) {                /* THIS FAIL */<br />
	    print("RISULTATI: ", JSON.stringify(res)); <br />
	    });
</p>
]]></description><guid isPermaLink="false">13542</guid><pubDate>Tue, 10 Feb 2026 11:01:56 +0000</pubDate></item><item><title><![CDATA[[INFO] The Pill Overview: Add-ons & Interfaces Map]]></title><link>https://community.shelly.cloud/topic/12892-info-the-pill-overview-add-ons-interfaces-map/</link><description><![CDATA[<p>
	Simplified overview of <b>The Pill</b> Add-on interfaces and expansion possibilities:
</p>

<p>
	<b>The Pill by Shelly</b> : <a href="https://pill.shelly.com" rel="external">SITE</a> | <a href="https://kb.shelly.cloud/knowledge-base/the-pill-by-shelly" rel="external">DOCS</a> <i>(incl. 3.5mm cable adapter)</i>
</p>

<p>
	<b>Plug'n'Play: Temperature sensing</b>
</p>

<ul>
	<li>
		<p>
			<b>Temperature sensor DS18B20 - 3.5mm jack</b> - <a href="https://www.shelly.com/products/temperature-sensor-ds18b20-3-5-mm-jack-1-m-cable" rel="external">LINK</a> | <a href="https://kb.shelly.cloud/knowledge-base/temperature-sensor-ds18b20-3-5mm-jack" rel="external">DOCS</a>
		</p>
	</li>
	<li>
		<p>
			<b>Splitter 1 to 5 - 3.5mm jack</b> - <a href="https://www.shelly.com/products/splitter-1-to-5-3-5-mm-jack-shelly-pill" rel="external">LINK</a> | <a href="https://kb.shelly.cloud/knowledge-base/splitter-1-to-5-3-5mm-jack" rel="external">DOCS</a>
		</p>
	</li>
</ul>

<p>
	<b>Peripheral expansion</b>
</p>

<ul>
	<li>
		<p>
			<b>5-Terminal Add-on</b> - <a href="https://www.shelly.com/products/micro-usb-to-5-terminal-add-shelly-pill" rel="external">LINK</a> | <a href="https://kb.shelly.cloud/knowledge-base/5-terminal-add-on" rel="external">DOCS</a>
		</p>
	</li>
	<li>
		<p>
			<b>SSR Add-on</b> - <a href="https://www.shelly.com/products/ssr-add-on-shelly-pill" rel="external">LINK</a> | <a href="https://kb.shelly.cloud/knowledge-base/ssr-add-on" rel="external">DOCS</a>
		</p>
	</li>
	<li>
		<p>
			<b>Analog 0-30V Add-on</b> - <a href="https://www.shelly.com/products/analog-0-30v-add-on-shelly-pill" rel="external">LINK</a> | <a href="https://kb.shelly.cloud/knowledge-base/analog-0-30v-add-on" rel="external">DOCS</a>
		</p>
	</li>
</ul>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t323932/monthly_2025_12/image.png.e32e50d3e0cb32df4bf42daaa7f888af.png" data-fileid="13236" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="13236" data-ratio="64.50" width="1000" alt="image.thumb.png.ab3f263de051a87dc88922a63dcb10fb.png" data-src="//media.invisioncic.com/t323932/monthly_2025_12/image.thumb.png.ab3f263de051a87dc88922a63dcb10fb.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
	</p><p>
		 
	</p>


<p>
	<a class="ipsAttachLink" data-fileext="pdf" data-fileid="13230" href="https://community.shelly.cloud/applications/core/interface/file/attachment.php?id=13230&amp;key=4026eb9f2f779074e92f0a3b3c9b43bc" rel="">The Pill_ Usage_Overview.pdf</a>
</p>
]]></description><guid isPermaLink="false">12892</guid><pubDate>Tue, 30 Dec 2025 10:07:18 +0000</pubDate></item><item><title>Matter</title><link>https://community.shelly.cloud/topic/12769-matter/</link><description><![CDATA[<p>
	Is there a reason why the Pill with firmware 1.6.0 or higher does not show the Matter functionality ?    How to integrate the Pill with Apple Homekit ?
</p>
]]></description><guid isPermaLink="false">12769</guid><pubDate>Mon, 22 Dec 2025 17:44:18 +0000</pubDate></item><item><title><![CDATA[[DIY] 3D Printed Accessories for The Pill: Holders, Mounts & Adapters]]></title><link>https://community.shelly.cloud/topic/12941-diy-3d-printed-accessories-for-the-pill-holders-mounts-adapters/</link><description><![CDATA[<p>
	Starting this topic to collect and share useful 3D-printed accessories for <b>The Pill</b> in a single place. Whether you need to mount it, organize it, or customize your setup, here are models created by the community or available online.<br />
	<br />
	<i>(Disclaimer: These are unofficial community models. Print and use at your own discretion!)</i><br />
	<br />
	<span style="font-size:20px;"><strong>Mounting</strong></span><br />
	<br />
	<b><span style="font-size:16px;">Simple Mount Holder</span></b><br />
	<span style="font-size:14px;"><em>Forum topic <a href="https://community.shelly.cloud/topic/12741-the-pill-simple-din-mounting-bracket-einfache-din-montagehalterung/" rel="">LINK</a></em></span>
</p>

<p>
	<a class="ipsAttachLink" data-fileext="stl" data-fileid="13326" href="https://community.shelly.cloud/applications/core/interface/file/attachment.php?id=13326&amp;key=022def1de309b495561814da8536bfc9" rel="">Pill_Mount_V1.stl</a>
</p>

<p>
	<b>Author: <a contenteditable="false" data-ipshover="" data-ipshover-target="https://community.shelly.cloud/profile/16-olsche/?do=hovercard" data-mentionid="16" href="https://community.shelly.cloud/profile/16-olsche/" rel="">@Olsche</a></b>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpeg" data-fileid="13325" href="//media.invisioncic.com/t323932/monthly_2026_01/image.jpeg.3684a04b18aa627c0e372fb0550dea1f.jpeg" rel=""><img alt="image.thumb.jpeg.59bb13b2db09214b15364acaf767a815.jpeg" class="ipsImage ipsImage_thumbnailed" data-fileid="13325" data-ratio="56.30" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.thumb.jpeg.59bb13b2db09214b15364acaf767a815.jpeg" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	<span style="font-size:16px;"><strong>DIN-Rail Mounts</strong></span>
</p>

<p>
	<strong>Variant 1) Snap-on</strong>
</p>

<p>
	<a class="ipsAttachLink" data-fileext="stp" data-fileid="13318" href="https://community.shelly.cloud/applications/core/interface/file/attachment.php?id=13318&amp;key=15c880e90f019b06067868d485a2a687" rel="">Pill_DIN-Mount_V1 1.stp</a><br />
	<br />
	<strong>Variant 2) Base and clip</strong>
</p>

<p>
	<a class="ipsAttachLink" data-fileext="stp" data-fileid="13319" href="https://community.shelly.cloud/applications/core/interface/file/attachment.php?id=13319&amp;key=accae85651affc09657b0ac171653bfa" rel="">Pill_DIN-Mount_V2_Clip.stp</a><a class="ipsAttachLink" data-fileext="stp" data-fileid="13320" href="https://community.shelly.cloud/applications/core/interface/file/attachment.php?id=13320&amp;key=9efad38c418325ade61553dd3d3b8ee6" rel="">Pill_DIN-Mount_V2.stp</a>
</p>

<p>
	<br />
	Author: <a contenteditable="false" data-ipshover="" data-ipshover-target="https://community.shelly.cloud/profile/16-olsche/?do=hovercard" data-mentionid="16" href="https://community.shelly.cloud/profile/16-olsche/" rel="">@Olsche</a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpeg" data-fileid="13317" href="//media.invisioncic.com/t323932/monthly_2026_01/image.jpeg.3fc19f695782e0b69f1fec62c1bf0c8e.jpeg" rel=""><img alt="image.thumb.jpeg.8eadfbad99aa2b0c4f9f908025ed6f3d.jpeg" class="ipsImage ipsImage_thumbnailed" data-fileid="13317" data-ratio="100.00" style="height:auto;" width="750" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.thumb.jpeg.8eadfbad99aa2b0c4f9f908025ed6f3d.jpeg" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a><br />
	<br />
	<br />
	 
</p>

<p>
	<span style="font-size:20px;"><strong>Accessories</strong></span>
</p>

<p>
	<span style="font-size:16px;"><strong>Breadboard Attachment Cover</strong></span><br />
	<br />
	Exposes the 3x IOs of The Pill<span style="font-size:14px;">. Utilizes a generic microUSB pigtail and 400-points breadbord. </span>Perfect for building custom sensors (DHT22, voltage dividers) or interfacing dev kits (Arduino, esp32, dev modules).
</p>

<p>
	<span style="font-size:14px;"><strong>Download LINK: <a href="https://makerworld.com/en/models/2157442-breadboard-attachment-cover-for-the-pill-by-shelly" rel="external">MakerWorld</a></strong></span>
</p>

<p>
	<span style="font-size:14px;"><em>Author: </em></span><strong><em><a contenteditable="false" data-ipshover="" data-ipshover-target="https://community.shelly.cloud/profile/97-terae/?do=hovercard" data-mentionid="97" href="https://community.shelly.cloud/profile/97-terae/" rel="">@terae</a> / License: CC BY 4.0</em></strong><br />
	<img alt="image.png.dba508d9fc06837faebfac10de3fce7c.png" class="ipsImage ipsImage_thumbnailed" data-fileid="13316" data-ratio="75.24" style="height:auto;" width="626" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.png.dba508d9fc06837faebfac10de3fce7c.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" />
</p>

<p>
	 
</p>

<p>
	<strong><span style="font-size:16px;">Cable holder</span></strong>
</p>

<p>
	A generic cable holder that happens to fit the DS18B20 and official 5-Terminal Add-on cables perfectly.<br />
	Note: Found online, personally used for different setups.
</p>

<p>
	<strong>Download LINK</strong>: <a href="https://www.thingiverse.com/thing:2481258" rel="external">https://www.thingiverse.com/thing:2481258</a><br />
	<em>License: CC BY 4.0</em><br />
	<br />
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpeg" data-fileid="13327" href="//media.invisioncic.com/t323932/monthly_2026_01/image.jpeg.62d9f0dd41b8f9bfca240d16cbca9605.jpeg" rel=""><img alt="image.thumb.jpeg.4188152dce67219e80effb0d05a49b97.jpeg" class="ipsImage ipsImage_thumbnailed" data-fileid="13327" data-ratio="56.30" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.thumb.jpeg.4188152dce67219e80effb0d05a49b97.jpeg" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<b>Have you designed a custom case, mount or accessory?</b> Reply below with your STL/step files or links! Let’s build a library of custom accessories.
</p>
]]></description><guid isPermaLink="false">12941</guid><pubDate>Sat, 03 Jan 2026 11:35:39 +0000</pubDate></item><item><title>[How-To] Air Quality Monitor with "The Pill" (UART + SDS011)</title><link>https://community.shelly.cloud/topic/12959-how-to-air-quality-monitor-with-the-pill-uart-sds011/</link><description><![CDATA[<p>
	<span><span class="ipsEmoji">⚠️</span></span><b>Requirement:</b> This project uses <b>Beta Firmware 1.8.99-dev152568</b> (<a href="https://community.shelly.cloud/topic/12801-beta-the-pill-serial-communication-uart-mode-now-available/#findComment-49688" rel="">Details</a>). <i>To update: Settings -&gt; Firmware -&gt; Official updates -&gt; Beta</i><br />
	 
</p>

<p>
	Create Air Quality monitor for your Home automation ecosystem! By combining <b>The Pill</b> with the popular <b>Nova SDS011 Sensor</b>, you can monitor PM2.5, PM10, and overall Air Quality.
</p>

<p>
	The newly released beta firmware for <b>The Pill</b> opens the possibility to gather data from external sensors via UART and visualize it natively in the Shelly ecosystem.
</p>

<p>
	<br />
	<span style="font-size:16px;"><strong>Hardware Required</strong></span>
</p>

<ul>
	<li>
		<strong>Device</strong>: <a href="https://pill.shelly.com" rel="external">The Pill by Shelly</a>
	</li>
	<li>
		<strong>Adapter: </strong> <b><a href="https://www.shelly.com/products/micro-usb-to-5-terminal-add-shelly-pill" rel="external">5-Terminal Add-on </a></b>(for quick wiring, alternative: custom wiring)
	</li>
	<li>
		<strong>Sensor</strong>: Nova PM Sensor SDS011
	</li>
	<li>
		<strong>Communication</strong>: Serial UART
	</li>
</ul>

<p>
	<br />
	<span style="font-size:18px;"><strong>Features</strong></span>
</p>

<ul>
	<li>
		<strong>Visualize</strong>: Display real-time <strong>PM2.5</strong> &amp; <strong>PM10 </strong>values in the App and WebUI, using Virtual Components
	</li>
	<li>
		<strong>Statistics: </strong>Get historical charts using the <b>Virtual Devices</b> feature in Shelly Smart Control and Shelly Cloud statistics.
	</li>
	<li>
		<b>Automation ready:</b> Use the collected values for in-device automations (Actions, Scripts) or Shelly Cloud Scenes
	</li>
	<li>
		<strong>Sensor Life: </strong>Enhanced communication logic (Measure &amp; Sleep periods) to extend the sensor's lifespan.
	</li>
	<li>
		<strong>Control:</strong> Manually trigger measurements or put the sensor to sleep via a Virtual Switch.
	</li>
</ul>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpeg" data-fileid="13347" href="//media.invisioncic.com/t323932/monthly_2026_01/image.jpeg.6dab033bac7cb5c1990c3594ed02887e.jpeg" rel=""><img alt="image.thumb.jpeg.bb60a37ac28a77420e81a3dae889b05a.jpeg" class="ipsImage ipsImage_thumbnailed" data-fileid="13347" data-ratio="56.30" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.thumb.jpeg.bb60a37ac28a77420e81a3dae889b05a.jpeg" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	<span style="font-size:18px;"><b>1. Wiring</b></span>
</p>

<p>
	<span style="font-size:14px;">Connect the 5-Terminal Add-on to the PM sensor as follows:</span>
</p>

<ul>
	<li>
		IO1 (TX) -&gt; Sensor RX
	</li>
	<li>
		IO2 (RX) -&gt; Sensor TX
	</li>
	<li>
		5V -&gt; Sensor 5V
	</li>
	<li>
		GND -&gt; Sensor GND
	</li>
</ul>

<p>
	<br />
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="13340" href="//media.invisioncic.com/t323932/monthly_2026_01/image.png.53f2d836413e146ff3e4a2a59c5d51c8.png" rel=""><img alt="image.thumb.png.aabd6a75ed7f851f0f4daa54c5d8f5ca.png" class="ipsImage ipsImage_thumbnailed" data-fileid="13340" data-ratio="100.00" style="height:auto;" width="750" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.thumb.png.aabd6a75ed7f851f0f4daa54c5d8f5ca.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	<span style="font-size:18px;"><b>2. Device Configuration</b></span>
</p>

<ul>
	<li>
		Open the WebUI of The Pill
	</li>
	<li>
		Select Pill Configuration
	</li>
	<li>
		Change the Peripheral setup -&gt; Serial Communication (UART)
	</li>
</ul>

<p>
	<span style="font-size:18px;"><b>3. Virtual Components &amp; Groups</b></span>
</p>

<p>
	<span style="font-size:14px;">Create the following <strong>Virtual Components</strong> from the device WebUI or using the App:</span>
</p>

<ul>
	<li>
		<strong>PM2.5 - </strong>Type:<strong> </strong><strong>Number</strong>, View: Label, Step: 0.1, Unit: µg/m³
	</li>
	<li>
		<strong>PM10 - </strong>Type:<strong> </strong><strong>Number</strong>, View: Label, Step: 0.1, Unit: µg/m³
	</li>
	<li>
		<strong>Last updated </strong>- Type: <strong>Text</strong>, View: Label<strong> </strong>
	</li>
	<li>
		<strong>Status </strong>- Type: <strong>Text</strong>, View: Label<strong> </strong>
	</li>
	<li>
		(Optional)<strong> Power - </strong>Type:<strong> Boolean</strong>, View: Toggle
	</li>
	<li>
		(Optional) <strong>Air Quality - </strong>Type: <strong>Enum; </strong>WIth the following options (Key/Title):
		<ul>
			<li>
				Key: <strong>n_a</strong>, Title:<strong> N/A</strong>
			</li>
			<li>
				Key: <strong>good</strong>, Title: <strong>Good</strong>
			</li>
			<li>
				Key:<strong> poor, </strong>Title: <strong>Poor</strong>
			</li>
			<li>
				Key:<strong> moderate, </strong>Title: <strong>Moderate</strong>
			</li>
			<li>
				Key:<strong> very_poor, </strong>Title: <strong>Very Poor</strong>
			</li>
			<li>
				Key:<strong> extremely_poor, </strong>Title: <strong>Extremely Poor</strong>
			</li>
		</ul>
	</li>
</ul>

<p>
	* <strong>Statistic</strong>: Using Shelly Smart Control you can turn on Statistics for PM2.5 &amp; PM10 components to have nice historical charts of the values!
</p>

<p>
	<span style="font-size:18px;"><strong>Virtual Groups</strong> </span>
</p>

<p>
	The following Virtual Groups will help you to visually organize the measured values:<br />
	- <strong>Air quality: </strong>Select the components<strong>: Air quality, PM2.5, PM10, Last updated</strong><br />
	- (Optional) <strong>Sensor</strong>: Power, Status<br />
	<br />
	* <strong>Virtual Devices Tip</strong>: <strong>Virtual Groups</strong> can be Extracted as <strong>Virtual Devices </strong>in the Shelly Smart Control App<br />
	<br />
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="13341" href="//media.invisioncic.com/t323932/monthly_2026_01/image.png.5d268e7b2f99123e8274cd3472c453e0.png" rel=""><img alt="image.thumb.png.7166c784164e9b7a5ce6830ba32abae6.png" class="ipsImage ipsImage_thumbnailed" data-fileid="13341" data-ratio="60.00" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.thumb.png.7166c784164e9b7a5ce6830ba32abae6.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	<span style="font-size:18px;"><b>4. The Script</b></span>
</p>

<ul>
	<li>
		Go to Scripts -&gt; Create Script
	</li>
	<li>
		 Name it "The Pill: Air quality"
	</li>
	<li>
		Enter the code below
	</li>
	<li>
		Save
	</li>
	<li>
		Enable the script on startup.  
	</li>
</ul>

<p>
	<br />
	<b>Note:</b> The script assumes the Virtual Component IDs match the order created above. If your IDs differ (e.g., <code>number:200</code>), please adjust the configuration at the top of the script.<br />
	<br />
	<strong>JS Script Code:</strong><br />
	<a class="ipsAttachLink" data-fileext="js" data-fileid="13342" href="https://community.shelly.cloud/applications/core/interface/file/attachment.php?id=13342&amp;key=5412fef8802b84adefb8919212e4bcb7" rel="">thepill-nova-sds011.shelly.js</a>
</p>

<p>
	<em>(Huge Thanks to L. Milanov  from the FE team for crafting and advancing this scripts!)</em><br />
	<br />
	<br />
	<strong><span style="font-size:18px;">5. The Result: Visualization and Visual enhancements</span></strong>
</p>

<p>
	<strong><span style="font-size:18px;">WebUI</span></strong>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="13343" href="//media.invisioncic.com/t323932/monthly_2026_01/image.png.7cec6ce6e177f3d7353ff3ed411be15f.png" rel=""><img alt="image.thumb.png.8792ef43445eceacf987018bb4558c90.png" class="ipsImage ipsImage_thumbnailed" data-fileid="13343" data-ratio="96.15" style="height:auto;" width="780" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.thumb.png.8792ef43445eceacf987018bb4558c90.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<p>
	<strong><span style="font-size:18px;">Shelly Smart Control</span></strong>
</p>

<p>
	To get historical charts and a polished dashboard look:
</p>

<p>
	<strong>1. Enable Statistics </strong>for the Virtual Components
</p>

<ul>
	<li>
		<p>
			Virtual Components -&gt; Components
		</p>
	</li>
	<li>
		<p>
			Edit the already created <strong>PM2.5</strong> and <strong>PM10 </strong>components
		</p>
	</li>
	<li>
		<p>
			Choose type of statistics -&gt; "Measurement"
		</p>
	</li>
</ul>

<p>
	2. <b>Extract as Virtual Device:</b>
</p>

<ul>
	<li>
		 Virtual components -&gt; Groups -&gt; Edit the created group
	</li>
	<li>
		<p>
			Toggle "Extract virtual group as a <b>Virtual Device</b>"
		</p>
	</li>
	<li>
		<p>
			<i>Tip: The first Virtual Device on your account is available for free for all users.</i>
		</p>
	</li>
</ul>

<p>
	 
</p>

<p>
	<span style="font-size:14px;"><em>Example customization of the used Virtual Devices in Shelly Smart Control:</em></span><br />
	<br />
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="13345" href="//media.invisioncic.com/t323932/monthly_2026_01/image.png.b717afaa7520b6ac4dee9ce0e943eee8.png" rel=""><img alt="image.thumb.png.5a10b7d815da8f1cc4b403b8d00a2164.png" class="ipsImage ipsImage_thumbnailed" data-fileid="13345" data-ratio="71.30" style="height:auto;" width="1000" data-src="//media.invisioncic.com/t323932/monthly_2026_01/image.thumb.png.5a10b7d815da8f1cc4b403b8d00a2164.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" /></a>
</p>

<p>
	 
</p>

<h3>
	<b>6. What's next: Automation Ideas</b>
</h3>

<p>
	Unlock the full potential of your Air Quality Monitor by pairing it with other Shelly devices using <b>Shelly Cloud Scenes</b>:
</p>

<ul>
	<li>
		<p>
			<b>Smart Air Purifier:</b> Create a Shelly Cloud Scene to automate your Air Purifier using a <b>Shelly Plug S</b>, turning it on automatically when the levels rise.
		</p>
	</li>
	<li>
		<p>
			<b>Kitchen Ventilation:</b> Monitor air around the kitchen and automatically trigger your absorber/hood using a <b>Shelly 1</b> when cooking fumes are detected.
		</p>
	</li>
</ul>
]]></description><guid isPermaLink="false">12959</guid><pubDate>Sun, 04 Jan 2026 17:07:41 +0000</pubDate></item><item><title>API documentation?</title><link>https://community.shelly.cloud/topic/12645-api-documentation/</link><description><![CDATA[<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="48747" data-ipsquote-contentid="12312" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1765540528" data-ipsquote-userid="16" data-ipsquote-username="Olsche">
	<div class="ipsQuote_citation">
		On 12/12/2025 at 12:55 PM, Olsche said:
	</div>

	<div class="ipsQuote_contents">
		<p>
			is available
		</p>
	</div>
</blockquote>

<p>
	Unfortunately are not available the documentation (in the api site) so there are a few questions:
</p>

<ul>
	<li>
		It has three programmable i/o : do all the three ones be programmed either as analogue or a digital input [i would see an app where two analugue ones would be perfect]? (edit: i read the specifications and says that only inpout one is usable as 1wire or analogue. I see this as an artificial limitation that would forbide the use of the pill in many applications where the UNI was used, so a very negative point)
	</li>
	<li>
		You are shipping the device with an adapter to a 3pin jack, and offer the DS18B20 with jack pin. I would see better to offer the DS18B20 with a 5pin [looks as USB B-micro] and offer by default the device with a wire with just a 5 pin female dupont connector (even better a 4+4 pin one, with 3 GND and 2 5V pins). in case you use [the most frequent case] with a temperature sensor, you would not have to add another connector, that is another source of problems, while if you use for other purpose you would have a more versatile connection.
	</li>
	<li>
		One thing that i see: the position of connector and the supplied accessory one make the device extremely long. I would have supplied connectors of the "180° bent  version that does not occupy much space in length and allows the output on the same side of input after passing below the device.
	</li>
	<li>
		The button is very prominent, it would be useful that after one minute from boot it becomes a normal input. no reengineering necessary, just a code patch.
	</li>
	<li>
		The putting on assortment of the Pill has not to be a reason to not issue a Gen3 UNI, retaining its original features. It could also be a PIll with on the output side a USB3.0-B connector, that would retain the compatibility with the pill, and using the extra 4 pins for the 2 outputs and the counter input that now are not available to the pill (so a 6+6 pin on the other end of cable) [I second to have the output MOS or relay unit separate, since it is one field where one size does not fit all]
	</li>
	<li>
		 
	</li>
</ul>

<p>
	 
</p>
]]></description><guid isPermaLink="false">12645</guid><pubDate>Sat, 13 Dec 2025 13:53:36 +0000</pubDate></item><item><title>Counter input like on Uni Plus</title><link>https://community.shelly.cloud/topic/12863-counter-input-like-on-uni-plus/</link><description><![CDATA[<p>
	Hi Folks,
</p>

<p>
	I am wondering if The Pill could get the pulse counter feature like the Uni Plus. This is unique for any kinds of meters. But Uni is still some kind of a DIY PCB and The Pill is already a real product.
</p>

<p>
	Is Uni really the only Shelly device for this area of home automation solutions?
</p>

<p>
	Thanks!
</p>

<p>
	Alex
</p>
]]></description><guid isPermaLink="false">12863</guid><pubDate>Sun, 28 Dec 2025 13:57:52 +0000</pubDate></item><item><title>Digital output inversions of logic option</title><link>https://community.shelly.cloud/topic/12792-digital-output-inversions-of-logic-option/</link><description><![CDATA[<p>
	I am doing my first pill.
</p>

<p>
	I am using the unit to control some accessories on my fish tank with two temperature sensors (one for air and one for water) one digital output via an off the shelf optically isolated relay board to control some low voltage feature lights and an air pump and a second digital output to control a feeding system via an off the shelf optically isolated relay board.
</p>

<p>
	I have staged this and it seems to be working but the logic between the pill and the relays is inverted. When the Shelly digital output is off the relays are on. I was hoping there would be an option to Invert the output state on the pill to fix this but I am unable to find an option for this.
</p>

<p>
	Would this be something that could be added to the firmware in the future? 
</p>
]]></description><guid isPermaLink="false">12792</guid><pubDate>Wed, 24 Dec 2025 06:38:54 +0000</pubDate></item><item><title>IOBROKER Integration</title><link>https://community.shelly.cloud/topic/12798-iobroker-integration/</link><description><![CDATA[<p>
	Guten Morgen,
</p>

<p>
	ich habe nach einer alternativen Temperaturauswertung gesucht und bin auf die Pille Von Shelly gestoßen und gekauft. Leider ist diese Im Adapter von IOBROKER noch nicht hinzugefügt worden. Wann kann man mit einem aktualisierten Adapter rechnen ?
</p>

<p>
	 
</p>

<p>
	Liebe Grüße in die Runde
</p>

<p>
	Mathias Vorwerg
</p>
]]></description><guid isPermaLink="false">12798</guid><pubDate>Wed, 24 Dec 2025 09:14:10 +0000</pubDate></item><item><title>IR command with Shelly pill</title><link>https://community.shelly.cloud/topic/11207-ir-command-with-shelly-pill/</link><description><![CDATA[<p>
	I have seen the Shelly pill in new products and it's a great product very versatile. So why not create an add on infra red sensor and led to learn and execute commands for example an air conditioner! 
</p>
]]></description><guid isPermaLink="false">11207</guid><pubDate>Sat, 06 Sep 2025 09:42:42 +0000</pubDate></item><item><title>is ThePill available soon ?</title><link>https://community.shelly.cloud/topic/12312-is-thepill-available-soon/</link><description><![CDATA[<p>
	I'm willing to test in many creative way ! 
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="12449" data-ratio="18.05" width="820" alt="image.png.bb2b27753f5a3507ab2b311c2187d25d.png" data-src="//media.invisioncic.com/t323932/monthly_2025_11/image.png.bb2b27753f5a3507ab2b311c2187d25d.png" src="https://community.shelly.cloud/applications/core/interface/js/spacer.png" />
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">12312</guid><pubDate>Wed, 26 Nov 2025 20:48:36 +0000</pubDate></item></channel></rss>
