<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://tmade.de/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://tmade.de/wiki/feed.php">
        <title>IT Wiki - iot</title>
        <description></description>
        <link>https://tmade.de/wiki/</link>
        <image rdf:resource="https://tmade.de/wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-08-05T04:33:12+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://tmade.de/wiki/doku.php?id=iot:arduino&amp;rev=1604502676&amp;do=diff"/>
                <rdf:li rdf:resource="https://tmade.de/wiki/doku.php?id=iot:espeasy&amp;rev=1606254728&amp;do=diff"/>
                <rdf:li rdf:resource="https://tmade.de/wiki/doku.php?id=iot:esphome&amp;rev=1706220087&amp;do=diff"/>
                <rdf:li rdf:resource="https://tmade.de/wiki/doku.php?id=iot:mqtt&amp;rev=1709381976&amp;do=diff"/>
                <rdf:li rdf:resource="https://tmade.de/wiki/doku.php?id=iot:nodered&amp;rev=1732369535&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://tmade.de/wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>IT Wiki</title>
        <link>https://tmade.de/wiki/</link>
        <url>https://tmade.de/wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://tmade.de/wiki/doku.php?id=iot:arduino&amp;rev=1604502676&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-04T15:11:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>arduino</title>
        <link>https://tmade.de/wiki/doku.php?id=iot:arduino&amp;rev=1604502676&amp;do=diff</link>
        <description>Arduino

The Arduino IDE you can get here:

&lt;https://www.arduino.cc/en/Main/Software&gt;

esp8266

Setup esp8266:

&lt;https://dzone.com/articles/programming-the-esp8266-with-the-arduino-ide-in-3&gt;

esp32

&lt;https://www.az-delivery.de/blogs/azdelivery-blog-fur-arduino-und-raspberry-pi/esp32-jetzt-mit-boardverwalter-installieren&gt;

&lt;https://dl.espressif.com/dl/package_esp32_index.json&gt;

Irrigation System

Enhanced code to control a waterpump, a display and an “Capacitive Soil Moisture Sensor”.

The displa…</description>
    </item>
    <item rdf:about="https://tmade.de/wiki/doku.php?id=iot:espeasy&amp;rev=1606254728&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-24T21:52:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>espeasy</title>
        <link>https://tmade.de/wiki/doku.php?id=iot:espeasy&amp;rev=1606254728&amp;do=diff</link>
        <description>espeasy

&lt;https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules#IF.2FELSE&gt;

&lt;https://espeasy.readthedocs.io/en/latest/Reference/Command.html&gt;


On System#Boot do    //When the ESP boots, do
 Publish %sysname%/IP,%ip%
 gpio,2,1                       //pump / relay off
endon

On pumpon do                    //pump on
 gpio,2,0
Endon

On pumpoff do                   //pump off
 gpio,2,1
Endon

On Sensor1#Analog1 do 
// ((sensorValue &gt; 570) &amp;&amp; (SLEEP &lt; 2))
//if [test#a]=0 or [test#b]=0 or [tes…</description>
    </item>
    <item rdf:about="https://tmade.de/wiki/doku.php?id=iot:esphome&amp;rev=1706220087&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-01-25T22:01:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>esphome</title>
        <link>https://tmade.de/wiki/doku.php?id=iot:esphome&amp;rev=1706220087&amp;do=diff</link>
        <description>ESPHome

&lt;https://esphome.io/cookbook/index.html&gt;

TSL2591

To support TSL2591 run (inside container):
platformio lib --global install &quot;Adafruit TSL2591 Library&quot; &amp;&amp; platformio lib --global install &quot;Adafruit Unified Sensor&quot;
Commands
esphome example.yaml run

Logging

&lt;https://esphome.io/components/sensor/custom.html&gt;

Free disk space
pio system prune --dry-run                       #check and show available space
pio system prune                                 #free disk space</description>
    </item>
    <item rdf:about="https://tmade.de/wiki/doku.php?id=iot:mqtt&amp;rev=1709381976&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-02T12:19:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mqtt</title>
        <link>https://tmade.de/wiki/doku.php?id=iot:mqtt&amp;rev=1709381976&amp;do=diff</link>
        <description>MQTT

MQTT Broker:
mosquitto

Install:
apt install mosquitto mosquitto-clients
or
snap install mosquitto mosquitto-clients

Commands:
 mosquitto_pub -h 10.0.0.10 -t SENSOR3/+ -m &#039;123&#039; -d
 mosquitto -v -c /etc/mosquitto/mosquitto.conf
Trigger relay:
mosquitto_pub -t &lt;devicename&gt;/GPIO/2 -m 0                      #on
mosquitto_pub -t &lt;devicename&gt;/GPIO/2 -m 1                      #off</description>
    </item>
    <item rdf:about="https://tmade.de/wiki/doku.php?id=iot:nodered&amp;rev=1732369535&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-23T13:45:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nodered</title>
        <link>https://tmade.de/wiki/doku.php?id=iot:nodered&amp;rev=1732369535&amp;do=diff</link>
        <description>nodered

&lt;https://nodered.org/docs/getting-started/docker&gt;

Creating a nodered hash if runnning nodered on docker:
docker exec -it node-red npx node-red admin hash-pw

Quickstart:
docker run -it -p 1880:1880 --name mynodered nodered/node-red
docker run -d -p 1880:1880 -v /data/nodered:/data --name mynodered nodered/node-red         #run in daemon mode</description>
    </item>
</rdf:RDF>
