<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://entorb.net//wiki/index.php?action=history&amp;feed=atom&amp;title=Shelly</id>
	<title>Shelly - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://entorb.net//wiki/index.php?action=history&amp;feed=atom&amp;title=Shelly"/>
	<link rel="alternate" type="text/html" href="https://entorb.net//wiki/index.php?title=Shelly&amp;action=history"/>
	<updated>2026-07-17T23:44:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://entorb.net//wiki/index.php?title=Shelly&amp;diff=4960&amp;oldid=prev</id>
		<title>Torben at 21:06, 30 October 2024</title>
		<link rel="alternate" type="text/html" href="https://entorb.net//wiki/index.php?title=Shelly&amp;diff=4960&amp;oldid=prev"/>
		<updated>2024-10-30T21:06:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Energy]][[Category:Hardware]]&lt;br /&gt;
==Shelly Plug S==&lt;br /&gt;
&lt;br /&gt;
===Web Gui Settings===&lt;br /&gt;
* http://&amp;lt;IP&amp;gt;/&lt;br /&gt;
* Settings&lt;br /&gt;
** Device Name&lt;br /&gt;
** Power on default mode -&amp;gt; On&lt;br /&gt;
** Time Zone and Geolocation -&amp;gt; set GPS coordinates (for sunrise and sunset event triggers)&lt;br /&gt;
** Eco mode -&amp;gt; On&lt;br /&gt;
* Internet &amp;amp; Security &lt;br /&gt;
** Wifi Client Backup -&amp;gt; Off&lt;br /&gt;
** Restrict login -&amp;gt; set password&lt;br /&gt;
&lt;br /&gt;
===API===&lt;br /&gt;
See API documentation at [https://shelly-api-docs.shelly.cloud/gen1/#shelly-plug-plugs-settings]&lt;br /&gt;
&lt;br /&gt;
See my example code at https://github.com/entorb/shelly-api&lt;br /&gt;
&lt;br /&gt;
Read settings&lt;br /&gt;
 http://&amp;lt;IP&amp;gt;/settings&lt;br /&gt;
&lt;br /&gt;
==Shelly Plus Plug S==&lt;br /&gt;
===Web Gui Settings===&lt;br /&gt;
* http://&amp;lt;IP&amp;gt;/&lt;br /&gt;
* Access Point -&amp;gt; Off&lt;br /&gt;
* Bluetooth -&amp;gt; Off&lt;br /&gt;
* Device info -&amp;gt; Device Name&lt;br /&gt;
* Location and Timezone -&amp;gt; set GPS coordinates (for sunrise and sunset event triggers) (Erlangen = 49.583333, 11.016667)&lt;br /&gt;
* Eco mode -&amp;gt; On&lt;br /&gt;
* Firmware -&amp;gt; Update&lt;br /&gt;
* Authentication -&amp;gt; Set Password&lt;br /&gt;
* MQTT&lt;br /&gt;
** Enable&lt;br /&gt;
** only &amp;quot;Generic status update over MQTT&amp;quot; needed&lt;br /&gt;
** set MQTT prefix and Username to devicename&lt;br /&gt;
** Credentials (provide password whenever changing settings)&lt;br /&gt;
** (only needed when sending switch commands via MQTT:) Enable MQTT Control&lt;br /&gt;
** not needed: Enable RPC over MQTT&lt;br /&gt;
** not needed: RPC status notifications over MQTT&lt;br /&gt;
* Home -&amp;gt; Settings -&amp;gt; LED -&amp;gt; Switch state, on=green, off=black, on=5%&lt;br /&gt;
&lt;br /&gt;
===API===&lt;br /&gt;
See API documentation at [https://shelly-api-docs.shelly.cloud/gen2/]&lt;br /&gt;
&lt;br /&gt;
Simple cURL example for password protected Shelly:&lt;br /&gt;
 curl -s --digest -u admin:myPwd &amp;quot;http://192.168.178.123/rpc/Switch.Toggle?id=0&amp;quot;&lt;br /&gt;
 or&lt;br /&gt;
 curl -s --digest -u admin:myPwd &amp;quot;http://192.168.178.123/rpc/Switch.Set?id=0&amp;amp;on=true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
See my example code at https://github.com/entorb/shelly-api&lt;br /&gt;
&lt;br /&gt;
Read Config&lt;br /&gt;
 http://&amp;lt;IP&amp;gt;/rpc/PLUGS_UI.GetConfig&lt;br /&gt;
Disable LEDs (not working if Authentication is activated)&lt;br /&gt;
 http://&amp;lt;IP&amp;gt;/rpc/PLUGS_UI.SetConfig?config={%22leds%22:{%22mode%22:%22off%22}}&lt;br /&gt;
&lt;br /&gt;
===MQTT===&lt;br /&gt;
Switch on/off/toggle via MQTT&lt;br /&gt;
 mosquitto_pub -u mqtt_user -P mqtt_pass -t &amp;quot;myPlugName/command/switch:0&amp;quot; -m &amp;quot;on&amp;quot;&lt;br /&gt;
 mosquitto_pub -u mqtt_user -P mqtt_pass -t &amp;quot;myPlugName/command/switch:0&amp;quot; -m &amp;quot;off&amp;quot;&lt;br /&gt;
 mosquitto_pub -u mqtt_user -P mqtt_pass -t &amp;quot;myPlugName/command/switch:0&amp;quot; -m &amp;quot;toggle&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==InfluxDB and Graphana==&lt;br /&gt;
see https://github.com/entorb/raspi-sensorics/blob/main/mqtt_influx.py&lt;/div&gt;</summary>
		<author><name>Torben</name></author>
	</entry>
</feed>