<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.huw.moenkeberg.ch/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://www.huw.moenkeberg.ch/feed.php">
        <title>HousAutomation Pi</title>
        <description></description>
        <link>https://www.huw.moenkeberg.ch/</link>
        <image rdf:resource="https://www.huw.moenkeberg.ch/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-07-05T18:46:05+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=433_funksteckdosen&amp;rev=1641735666&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=433_mhz&amp;rev=1641735666&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=433_receiver_sender&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=analog-digital_wandler&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=bash&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=development&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=distanz_sensor_sharp_2y0a_familie&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=dokumentation&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=ds20b18_kalibrierung&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=e-ink_display&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=efh2_heizung&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=elektronic_basics&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=epaper&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=gio_belegung&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=gpio_basics&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=graphic&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=gsm_mobile&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=heizung_monitor_via_pi&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=home_automation_projects&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=html_code&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=i2c&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=ip_addresses&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=konfiguration_at_home&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=led&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=literatur&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=mail&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=meg_heizung&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=mqtt&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=multiplexer&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=mysql&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=nas&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=online_shops&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=photo_viewer&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pifacedigitalio&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pihome_basics_framework&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pilight_config.json&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pilight_configuration_obfelden&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pilight_crontab&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pilight_debug&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pilight_doku&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pilight_problems&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pilight_script&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=pilight&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=python_basics&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=python_good_code_examples_and_solutions&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=python_huw_code&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=python_optokopf&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=python_stype&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=raspberry_board&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=remote_ssh_based_gui&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=sensor_install_at_pi&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=sensor_link_overview&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=shell_commands&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=sqlite&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=temperatur_sensor&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=testsensor_status&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=time&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=transistor&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=win7_share_files&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=zentrale_heizung&amp;rev=1641735664&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.huw.moenkeberg.ch/doku.php?id=zentrale_rmeg_outer&amp;rev=1641735664&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.huw.moenkeberg.ch/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>HousAutomation Pi</title>
        <link>https://www.huw.moenkeberg.ch/</link>
        <url>https://www.huw.moenkeberg.ch/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=433_funksteckdosen&amp;rev=1641735666&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>433_funksteckdosen</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=433_funksteckdosen&amp;rev=1641735666&amp;do=diff</link>
        <description>433 Funksteckdosen

&lt;http://www.sweetpi.de/blog/258/funksteckdosen-mit-dem-raspberry-pi-und-pilight-schalten&gt;

EMW100R &lt;http://e.asaxen.com/index.php/recycling/item/28-re-use-am-radio-in-remote-power-control&gt;

GT-FSI-04d

Die Taktfrequenz beträgt 1.5 kHz. Ein Bit dauert 3 Takte.


    1-Bit: 2 Takte aus 1 Takt ein.
    0-Bit: 1 Takt aus 2 Takte ein.



Die Sequenz besteht aus einer 1 als Startbit gefolgt von 12 Bit Hauscode und 8 Bit Funktionscode:</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=433_mhz&amp;rev=1641735666&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>433_mhz</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=433_mhz&amp;rev=1641735666&amp;do=diff</link>
        <description>433 MHz Module

Useful links 

Signal Codierung &lt;http://en.m.wikipedia.org/wiki/Manchester_code&gt;

Python Code kompatibel zur arduino Virtual wird lib &lt;http://www.raspberrypi.org/forums/viewtopic.php?t=84596&amp;p=598087&gt;

Code

Pigio &lt;http://abyz.co.uk/rpi/pigpio/python.html&gt;

Elropi.py &lt;http://pastebin.com/aRipYrZ6&gt;

Anwendungsbeispiel &lt;http://chriskrz.selfhost.bz/index.php/haengenden-router-automatisch-rebooten/&gt;

Python

Example 1


from quick2wire.gpio import pi_header_1, In, Out, Rising, Fallin…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=433_receiver_sender&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>433_receiver_sender</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=433_receiver_sender&amp;rev=1641735664&amp;do=diff</link>
        <description>433 Mhz

Receiver</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=analog-digital_wandler&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>analog-digital_wandler</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=analog-digital_wandler&amp;rev=1641735664&amp;do=diff</link>
        <description>Analog-digital Wandler

&lt;http://raspberry.io/projects/view/reading-from-a-mcp3002-analog-to-digital-converter/&gt;

&lt;http://www.learningaboutelectronics.com/Articles/MCP3002-analog-to-digital-converter-ADC-to-Raspberry-Pi.php&gt;</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=bash&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=bash&amp;rev=1641735664&amp;do=diff</link>
        <description>Bash Obfelden


ls |  grep '20[1-2][0-9]-[0-1][0-9]-[0-3][0-9] * [0-2][0-9]:[0-5][0-9]' | awk '{print &quot;echo $(($(date --date=\&quot;&quot;$1&quot; &quot;$2 &quot;\&quot; +%s) - $(date -d now +%s) ))&quot;}' | bash</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=development&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=development&amp;rev=1641735664&amp;do=diff</link>
        <description>Development

Version Control (RCS)

 What is RCS : &lt;https://en.wikipedia.org/wiki/Revision_Control_System&gt;

Official Home Page: &lt;https://www.cs.purdue.edu/homes/trinkle/RCS/&gt;

How to: &lt;https://www.madboa.com/geek/rcs/&gt; &lt;http://www.yolinux.com/TUTORIALS/LinuxTutorialRCSintro.html&gt;

Configuration

	*  Download from &lt;https://www.cs.purdue.edu/homes/trinkle/RCS/&gt;
	*  Store binaries in: 
 C:\Program Files (x86)\rcs\bin\

	*  Copy rdir.bat 
 set TZ=GST-1GDT
 cd /d D:\CloudStation\python 

 into this b…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=distanz_sensor_sharp_2y0a_familie&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>distanz_sensor_sharp_2y0a_familie</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=distanz_sensor_sharp_2y0a_familie&amp;rev=1641735664&amp;do=diff</link>
        <description>Distanz Sensore Sharp 2Y0A Familie

see cpp code in Githup&lt;https://github.com/zoubworldArduino/ZSharpIR&gt;

Sharp 2Y0A710K0F 100-500cm

Python code at &lt;https://tutorials-raspberrypi.de/infrarot-abstandsmessung-mit-dem-raspberry-pi-sharp-gp2y0a02yk0f/&gt;

Model: „100500“ [100cm to 500cm]

Based on the SHARP datasheet we can calculate the linear function: 

 y = 137500x + 1125 which gives us: 1 / ((Volt - 1125) / 137500) = distance_in_cm (For distance &gt; 100cm)</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=dokumentation&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dokumentation</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=dokumentation&amp;rev=1641735664&amp;do=diff</link>
        <description>Dokumentation

Tools

Fritzing &lt;http://www.fritzing.org&gt;

Projekte

Obfelden Sensoren „Elektro/Sensoren UG 2015-01.odg“</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=ds20b18_kalibrierung&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ds20b18_kalibrierung</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=ds20b18_kalibrierung&amp;rev=1641735664&amp;do=diff</link>
        <description>DS18B20 Kalibrierung

Probleme

&lt;http://raspberrypi.stackexchange.com/questions/37157/ds18b20-no-longer-working&gt;

&lt;https://www.raspberrypi.org/forums/viewtopic.php?t=98407&gt;

&lt;https://www.raspberrypi.org/forums/viewtopic.php?t=97314&gt;

Auslesen


sudo modprobe w1-gpio pullup=1
sudo modprobe w1-therm strong_pullup=1
ls /sys/bus/w1/devices/
ls /sys/bus/w1/devices/28-*
cat /sys/bus/w1/devices/28-*/w1_slave
pwd



sudo modprobe w1-gpio 
sudo modprobe w1-therm 
ls /sys/bus/w1/devices/
ls /sys/bus/w1/de…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=e-ink_display&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>e-ink_display</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=e-ink_display&amp;rev=1641735664&amp;do=diff</link>
        <description>E-Ink Display

wiki: &lt;https://www.waveshare.com/wiki/2.13inch_e-Paper_HAT&gt;

Installation of required modules

Module ImageFont

 pip install pillow 





PIR Infrared Motion Detection

wkik: &lt;https://www.modmypi.com/blog/raspberry-pi-gpio-sensing-motion-detection&gt;</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=efh2_heizung&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>efh2_heizung</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=efh2_heizung&amp;rev=1641735664&amp;do=diff</link>
        <description>EFH 2 Heizung

Wiki:

	*  zentrale_heizung
	*  meg_heizung
	*  efh2_heizung

Screenshots des Steuerungmonitors 2016-04-24 (nach erfolgtem reboot der Zentrale, EFH2 und des MEGHZ-Pi


[&amp;500]
[&amp;500]</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=elektronic_basics&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>elektronic_basics</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=elektronic_basics&amp;rev=1641735664&amp;do=diff</link>
        <description>Elektronic Basics

Wiederstände

Werte

&lt;http://www.calculino.com/de/elektronik/ohmscher-widerstand_rechner.html&gt;

&lt;http://www.umrechnung.org/elektrischer-widerstand-farbcode/widerstand-farbcode-rechner-tabelle.htm&gt;

&lt;https://www.ph-ludwigsburg.de/html/2f-tech-s-01/studium/Veranstaltungsmaterial/Programme/Widerstand%20Farbcode%204%20und%205%20Ringe_DIN%2041429.htm&gt;

Symbole für Schaltkreise

&lt;https://de.m.wikipedia.org/wiki/Liste_der_Schaltzeichen_(Elektrik/Elektronik)&gt;</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=epaper&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>epaper</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=epaper&amp;rev=1641735664&amp;do=diff</link>
        <description>e-Ink - ePaper 2.13 Inch Screen

General instruction

	*  See also in this wiki: E-Ink Display

	*  &lt;https://www.waveshare.com/wiki/2.13inch_e-Paper_HAT#Raspberry_Pi&gt;
	*  Data sheet: see programming/...
	*  Overview of all GPIO connections Sensor Connection Overview

Hardware connection

If the board you get is the HAT version like 2.13inch e-Paper HAT, you can directly attach it on the 40PIN GPIO of Raspberry Pi. Or you can wire ti to Raspberry Pi with 8PIN cable.</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=gio_belegung&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gio_belegung</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=gio_belegung&amp;rev=1641735664&amp;do=diff</link>
        <description>GPIO Belegung

see also Sensor Connection Overview

Pi2



GPIO Belegung mit Legende



B+



B V 2



A



GPIO Ansteuerung mit python

Ansteuerung mit Python
Für die Programmierung der GPIO's mithilfe Python muss die Python-Entwicklungsungebung sowie die RPI.GPIO Bibliothek nachinstalliert werden. 
&lt;coe&gt;
pi@raspberrypi ~ $ sudo apt-get update
pi@raspberrypi ~ $ sudo apt-get install python-dev
pi@raspberrypi ~ $ sudo apt-get install python-rpi.gpio 
&lt;/code/&gt;
Das folgende Beispiel ist eine Porti…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=gpio_basics&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gpio_basics</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=gpio_basics&amp;rev=1641735664&amp;do=diff</link>
        <description>Headline

GPIO Basics

Basis Wissen &lt;http://elinux.org/RPi_Low-level_peripherals#Introduction&gt;

Basics inkl. Beispiele in C, C++, Perl, python, c#, Scratch &lt;http://elinux.org/RPi_Low-level_peripherals#Introduction&gt;

Basics &lt;http://sourceforge.net/p/raspberry-gpio-python/wiki/BasicUsage/&gt;

GUI on Pi

webiopi &lt;https://code.google.com/p/webiopi/&gt;

webiopi integrated devices &lt;https://code.google.com/p/webiopi/wiki/DEVICES&gt;

Help and instructions

Gute Beschreibung: &lt;http://raspberrypiguide.de/howtos…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=graphic&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>graphic</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=graphic&amp;rev=1641735664&amp;do=diff</link>
        <description>Plot graphs

Use matplotlib (Limitation python3, only)

 sudo apt-get install python3-matplotlib</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=gsm_mobile&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gsm_mobile</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=gsm_mobile&amp;rev=1641735664&amp;do=diff</link>
        <description>GSM Mobile

&lt;https://www.thefanclub.co.za/how-to/how-setup-usb-3g-modem-raspberry-pi-using-usbmodeswitch-and-wvdial&gt;

&lt;https://shkspr.mobi/blog/2012/07/3g-internet-on-raspberry-pi-success/&gt;

&lt;http://www.datenreise.de/raspberry-pi-sms-per-kommandozeile-versenden/&gt;

wvdial &lt;https://www.thefanclub.co.za/how-to/how-setup-usb-3g-modem-raspberry-pi-using-usbmodeswitch-and-wvdial&gt;

&lt;http://raspberry-at-home.com/installing-3g-modem/#more-138&gt;

Huawai E220 &lt;http://pikiosk.tumblr.com/post/39526392102/rasp…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=heizung_monitor_via_pi&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>heizung_monitor_via_pi</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=heizung_monitor_via_pi&amp;rev=1641735664&amp;do=diff</link>
        <description>Pi als Monitor für die Zentrale

Einsatz eines Pi als dauerhafter Monitor für die Heizungssteuerungssoftware

Virtual Console

	*  Installiere VNC auf Raspberry
	*  Installiere VNC Viewer auf PC oder Tablet
	*  Zugriff via IP-adresse:5901

Proxy Einrichten</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=home_automation_projects&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>home_automation_projects</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=home_automation_projects&amp;rev=1641735664&amp;do=diff</link>
        <description>Home automation projects

PiHome.IMG &lt;http://sourceforge.net/projects/pihome-img/&gt;

... Download GUI PiHome &lt;https://github.com/cerosx/pihome-GUI&gt;

... call WebIOPi on B+ &lt;http://192.168.1.90:8000/&gt;

Hakemedia (Anschluss Devices mit Fotos, App) &lt;http://pihome.harkemedia.de/&gt;

HomeGenie &lt;http://sourceforge.net/projects/homegenie/&gt;

PrivatEyePi &lt;http://www.privateeyepi.com&gt;

PiHome installation

WebIOPi is developed and tested on Raspbian. You only need Python, either 2.7 or 3.2. Download, then ex…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=html_code&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>html_code</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=html_code&amp;rev=1641735664&amp;do=diff</link>
        <description>HTML Code parsen und lesen

siehe  BeautifulSoup &lt;https://pypi.python.org/pypi/beautifulsoup4&gt;</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=i2c&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>i2c</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=i2c&amp;rev=1641735664&amp;do=diff</link>
        <description>I2C Bus

&lt;https://github.com/mc-b/microHOME/wiki/Raspberry-Pi-und-der-I2C-Bus&gt;

example

&lt;http://www.themagpi.com/issue/issue-13/article/introduction-to-pi-matrix/&gt;</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=ip_addresses&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ip_addresses</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=ip_addresses&amp;rev=1641735664&amp;do=diff</link>
        <description>IP Addresses

Static IP Address

Configure SD card without Pi

vi wpa_supplicant.conf

insert the following lines (adopted with correct ssid and pwd


country=CH
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
    ssid=&quot;NETWORK_NAME&quot;
    psk=&quot;PASSWORD&quot;
    key_mgmt=WPA-PSK
}</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=konfiguration_at_home&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>konfiguration_at_home</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=konfiguration_at_home&amp;rev=1641735664&amp;do=diff</link>
        <description>Netwerk Konfiguration

Fest IP Adressen

Raspberry PI

	*  Wasser PI (Abpumpschachtüberwachung): 192.168.1.52
	*  Hausautomation (pilight, OG): 192.168.1.44
	*  Sensorensteuerung (Keller): 192.168.1.48

Andere

	*  NAS: 192.168.1.21
	*  AccessPoint</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=led&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>led</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=led&amp;rev=1641735664&amp;do=diff</link>
        <description>LED Ansteuern

Gute Beschreibung: &lt;http://raspberrypiguide.de/howtos/raspberry-pi-gpio-how-to/&gt;
Beispiele 
Bild 

LED Details

LED 3mm (Boxtec 067013)

- Aufnahmespannung (IF) 10-30mA

- Vorwärtsspannung (VF) 2.2V

- Lichtstärke (IF=20mA): 80mcd

- Widerstand bei 3.5V: 220 ohm

- Widerstand bei 5V: 270 ohm

LED Rot/Grün zweifarbig (boxtec 48055)</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=literatur&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>literatur</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=literatur&amp;rev=1641735664&amp;do=diff</link>
        <description>Geschäftsmodel Internet

&lt;http://cocoa.ethz.ch/downloads/2014/11/None_HMD_IOT_Fleisch%20et%20al%20final.pdf&gt;</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=mail&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mail</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=mail&amp;rev=1641735664&amp;do=diff</link>
        <description>Mail command line

Installing


sudo apt-get install ssmtp
sudo apt-get install mailutils
sudo apt-get install mpack


Now edit the SSMTP configuration file


sudo nano /etc/ssmtp/ssmtp.conf


It needs to include this:


root=account datenlog.megheizung@gmail.com
mailhub=smtp.gmail.com:587
#rewriteDomain=gmail.com
AuthUser=datenlog.megheizung@gmail.com
AuthPass=Obfelden2011MEG
FromLineOverride=YES
UseSTARTTLS=YES
UseTLS=YES</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=meg_heizung&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>meg_heizung</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=meg_heizung&amp;rev=1641735664&amp;do=diff</link>
        <description>MEG Heizung Konfiguration

Wiki:

	*  zentrale_heizung
	*  meg_heizung
	*  efh2_heizung
	*  heizung_monitor_via_pi
	*  MySql

FTP

use vsftp as ftp server.
As the SPS uses port 1000, the code need to be modified to except this port. Ulirich Klein changed and compiled the code. Code  and configuration file is available in MEG\MEG Heizung\Software\pi</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=mqtt&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mqtt</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=mqtt&amp;rev=1641735664&amp;do=diff</link>
        <description>MQTT

Principle

Directory on broker is same structure as the mqtt listeing structure.
The &lt;operation&gt; file contains the sender id, the name, the timestamp

 
... myhome/sensor/&lt;sensor name&gt;/&lt;operation&gt;
... ...   /actor/&lt;actor name&gt;/&lt;operation&gt;


Mosquitto</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=multiplexer&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>multiplexer</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=multiplexer&amp;rev=1641735664&amp;do=diff</link>
        <description>Multiplexer



}

SN74HC595N

	*  Hausautomation und Anschlüsse: Übersicht &lt;http://192.168.1.21/dokuwiki/doku.php?id=sensor_link_overview&gt;
	*  ERklärung &lt;https://lastminuteengineers.com/74hc595-shift-register-arduino-tutorial/&gt;
	*  Übersicht &lt;http://elektro.turanis.de/html/prj061/index.html&gt;
	*  LED Beispiel inkl. Python Code &lt;https://www.sunfounder.com/learn/Super_Kit_V2_for_RaspberryPi/lesson-10-driving-leds-by-74hc595-super-kit-for-raspberrypi.html&gt;

cd74hc4067

Datenblatt 

Tutorial 

Info &lt;…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=mysql&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mysql</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=mysql&amp;rev=1641735664&amp;do=diff</link>
        <description>MySql

stop server on windows boot

	*  cmd window as Administrator
	*  wmic service where started=true get  name, startname (see all names of services)
	*  sc config mysql80 start= disable (see other commands of sc config)
	*  reboot (server not running)</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=nas&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nas</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=nas&amp;rev=1641735664&amp;do=diff</link>
        <description>NAS Operationen

SSH login

	*  einloggen in NAS via web browser
	*  systemsteuerung SSH erlauben
	*  einloggen via PuTTY
	*  user admin PWD
	*  evtl sudo -i 
	*  pwd wieder eingeben
	*  danach SSH wieder verbieten</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=online_shops&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>online_shops</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=online_shops&amp;rev=1641735664&amp;do=diff</link>
        <description>On-line shops

boxtec &lt;http://shop.boxtec.ch&gt;

Conrad &lt;http://www.conrad.ch/ce/&gt;

play-zone &lt;http://www.play-zone.ch&gt;

Pusterla (ZH) &lt;http://www.pusterlacom.ch/&gt; (incl. Gebaüdetechnik, Schalter, ...)

Tobler &lt;http://wwww.tobler.ch&gt;

Monacor (auch HiFi) &lt;https://www.monacor.ch&gt;</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=photo_viewer&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>photo_viewer</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=photo_viewer&amp;rev=1641735664&amp;do=diff</link>
        <description>Photo viewer

feh

Create your Directories

From a terminal window, switch to the pi home directory and create a new directory called frame with subdirectory called photos.

mkdir -p /home/pi/frame/photos

The custom scripts will be stored in the /home/pi/frame</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pifacedigitalio&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pifacedigitalio</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pifacedigitalio&amp;rev=1641735664&amp;do=diff</link>
        <description>PiFace Digital IO

sudo apt-get install python3-pifacedigital-emulator

sudo reboot

Testing your PiFace

To test all your PiFace software has installed and your RaspberryPi is set up correctly, type one of the following commands into a Terminal:

Python3</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pihome_basics_framework&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pihome_basics_framework</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pihome_basics_framework&amp;rev=1641735664&amp;do=diff</link>
        <description>Tutorial : Framework basis

link &lt;https://code.google.com/p/webiopi/wiki/Tutorial_Basis&gt;

Python anstatt Browser

Using WebIOPi from the browser is easy, but using it from an application is now easy as well. Just like the Javascript library, you can use the Python and Java Client libraries to make anything-to-Pi or Pi-to-Pi communication. Python client library provides both HTTP and CoAP WebIOPi Clients, and also a Mixed one, which uses CoAP with a HTTP fallback.</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pilight_config.json&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pilight_config.json</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pilight_config.json&amp;rev=1641735664&amp;do=diff</link>
        <description>PiLight Konfiguration

Wiki-Seiten

	*  pilight_configuration_obfelden
	*  pilight
	*  pilight_config.json
	*  pilight_doku

json allgemein

Namensgebung

	*  SOG1: Schlater Obergeschoss 1
	*  DEG1: Dimmer Erdgeschoss 1
	*  FSD1: Funksteckdose mit Nr 1 (Id=0) der SerieGlobaltronics „GT-FSI-04a“
	*  FSD2: Funksteckdose mit Nr 2 (Id=1) der SerieGlobaltronics</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pilight_configuration_obfelden&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pilight_configuration_obfelden</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pilight_configuration_obfelden&amp;rev=1641735664&amp;do=diff</link>
        <description>PiLight Config Obfelden

External Link

Wiki-Seiten

	*  pilight
	*  pilight_config.json
	*  pilight_doku

Hardware



	*  Funkschalter: intertechno ITLM 1000
	*  Funkdimmer: Homeeasy HE876 (D1)

Intertechno Einbau

Achtung bei Schalter mit Steckdose!!!
Fellerschalter mit kombinierter Steckdose UNBEDINGT die Brücke der Phase von der Steckdose zum Schalter (schwarz) auf der Rückseite entfernen
Unbedingt den Schalter nur an den Kontakten des Schalters (Orange, Schwars, neben einander liegend)) ben…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pilight_crontab&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pilight_crontab</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pilight_crontab&amp;rev=1641735664&amp;do=diff</link>
        <description>pilight crontab


crontab -e

30,31,32 16 * * * /home/pi/pilight/FSD7_ON
15,16,17 22 * * * /home/pi/pilight/FSD7_OFF
&lt;code/&gt;

FSD7_ON
&lt;code&gt;for i in {0..20}
do
   echo &quot;switch on&quot;
   /usr/local/bin/pilight-send -p heitech -s 27 -u 4 -t
   sleep 1
done</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pilight_debug&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pilight_debug</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pilight_debug&amp;rev=1641735664&amp;do=diff</link>
        <description>Pilight debug


sudo pilight-daemon -D</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pilight_doku&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pilight_doku</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pilight_doku&amp;rev=1641735664&amp;do=diff</link>
        <description>PiLight Dokumentation

Wiki-Seiten

	*  pilight_configuration_obfelden
	*  pilight
	*  pilight_config.json
	*  pilight_doku

Pilight Manual: &lt;https://manual.pilight.org/pages/german/configuration-settings.pdf&gt;

&lt;https://wiki.pilight.org/doku.php/config&gt;

&lt;https://raspberry.tips/hausautomatisierung/raspberry-pi-pilight-mit-433mhz-modulen-zur-hausautomatisierung/&gt;

&lt;https://noltenet.de/2014/12/12/pilight-mein-einstieg-in-die-hausautomation/&gt;

&lt;http://www.reichelt.de/reicheltpedia/index.php5/1_Rasp…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pilight_problems&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pilight_problems</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pilight_problems&amp;rev=1641735664&amp;do=diff</link>
        <description>pilight problems

  no pilight ssdp connection found

Problem solved with 

sudo iptables -A INPUT -s 127.0.0.1 -j ACCEPT</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pilight_script&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pilight_script</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pilight_script&amp;rev=1641735664&amp;do=diff</link>
        <description>pilight script

pilightrestart


'date' &gt;&gt; /home/pi/pilight/restart.log
echo pilight stop
sudo service pilight stop
sudo iptables -A INPUT -s 127.0.0.1 -j ACCEPT
sleep 10
echo pilight start
sudo service pilight start
sudo service pilight status</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=pilight&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pilight</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=pilight&amp;rev=1641735664&amp;do=diff</link>
        <description>Pilight Overview

Pilight manuals &lt;http://manual.pilight.org/&gt;

Wiki-Seiten

	*  pilight problems
	*  pilight_debug
	*  pilight crontab
	*  pilight script
	*  pilight_configuration_obfelden
	*  pilight
	*  pilight_config.json
	*  pilight_doku

Configuration of switches

Schaltsteckdose

Button 1 &quot;On&quot;

pilight-send -t -i 2816 -u 0 -p quigg_gt7000


{
        &quot;message&quot;: {
                &quot;id&quot;: 2816,
                &quot;unit&quot;: 0,
                &quot;state&quot;: &quot;on&quot;
        },
        &quot;origin&quot;: &quot;receiver&quot;,
 …</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=python_basics&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python_basics</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=python_basics&amp;rev=1641735664&amp;do=diff</link>
        <description>Python Basics

debug python

linux

idle

idle &lt;https://en.wikipedia.org/wiki/IDLE&gt;

PUDB debug

	*  Doku &lt;https://documen.tician.de/pudb/&gt;
	*  Install pudb debug
	*  
 sudo pip install pudb 


	*  identity tty ID: 
 tty 

	*  call 
 PUDB_TTY=/dev/pts/0 pudb sensor.py 

	*  batch file
	*  

       pudebug
       PUBTTY=`tty` echo &quot;puDB- start in dir with source files&quot;
       echo &quot;Call with name of file to be debugged&quot;
       echo &quot;Call in window used for debugging&quot;
       PUDB_TTY=`tty`  pudb $…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=python_good_code_examples_and_solutions&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python_good_code_examples_and_solutions</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=python_good_code_examples_and_solutions&amp;rev=1641735664&amp;do=diff</link>
        <description>Very good implementation

GPIO based: &lt;http://abyz.co.uk/rpi/pigpio/python.html&gt;

Inculdes: I2C,</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=python_huw_code&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python_huw_code</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=python_huw_code&amp;rev=1641735664&amp;do=diff</link>
        <description>HUW code

Modules

Init

	*  init variables
	*  init classes
	*  calls all inits direct available
	*  init or open db

read parameter

	*  need file and db
	*  check availability of parameter file
	*  read file into classes
	*  log all read values into db</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=python_optokopf&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python_optokopf</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=python_optokopf&amp;rev=1641735664&amp;do=diff</link>
        <description>Optokopf Python

Links

* &lt;https://stackoverflow.com/questions/38836848/read-serial-python&gt;

* &lt;https://www.seventeenfour.com/index.php/iskra-mt-174-mit-raspberry-pi-auslesen/&gt;

* &lt;http://blog.bubux.de/raspberry-pi-ehz-auslesen/&gt;

* &lt;https://www.python-forum.de/viewtopic.php?t=32163&gt;

* Treiberquelle &lt;https://shop.weidmann-elektronik.de/index.php?page=product&amp;info=24&gt;

Code


#!/usr/bin/env python

import serial
import time

SERIALPORT = „/dev/ttyUSB0“
BAUDRATE = 300

ser = serial.Serial(SERIALP…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=python_stype&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python_stype</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=python_stype&amp;rev=1641735664&amp;do=diff</link>
        <description>Python style

&lt;https://www.python.org/dev/peps/pep-0008/&gt;</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=raspberry_board&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>raspberry_board</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=raspberry_board&amp;rev=1641735664&amp;do=diff</link>
        <description>Raspberry Board

Identify Revision of Board

The Model B+ has Revision (int) 16 : '0x10'

Easy to understand, but long version


# ------------- getRevision of Rasperry Board -------------
def getRevision():
  # Extract board revision from cpuinfo file
  # 16 = B+
  myrevision = 0
  try:
    f = open('/proc/cpuinfo','r')
    for line in f:
      if line[0:8]=='Revision':
        length=len(line)
        myrevision = str(int(line[11:length-1], 16))
    f.close()
  except:
    myrevision = 0
  ret…</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=remote_ssh_based_gui&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>remote_ssh_based_gui</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=remote_ssh_based_gui&amp;rev=1641735664&amp;do=diff</link>
        <description>GUI

Remote ssh based GUI

 export DISPLAY=:0.0 

Remote browser based GUI

Overview of html - mqtt - php - sh implemened GUI



simple HTML gui

color codes (see &lt;https://www.rapidtables.com/web/color/html-color-codes.html&gt;:

	*  green: rgb(127,255,0)
	*  yellow: rgb(255,255,0)
	*  cyan: rgb(0,255,255)
	*  skyblue: rgb(135,206,235)</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=sensor_install_at_pi&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sensor_install_at_pi</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=sensor_install_at_pi&amp;rev=1641735664&amp;do=diff</link>
        <description>Install sensor modules at pi

directories


/home/pi/sensor
/home/pi/sensor/bin
/home/pi/sensor/lib
/home/pi/sensor/pic


Database SQLite

Will be created, if not exists.

 /home/pi/sensor/sensor.db 

Modules


/home/pi/sensor/bin

sensorserver.py
sensoreinklib.py
sensordb.py
sensoropenweather.py
multiplexerhc595.py</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=sensor_link_overview&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sensor_link_overview</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=sensor_link_overview&amp;rev=1641735664&amp;do=diff</link>
        <description>Temperatur Senor DS18B20

DS18B20 Kalibrierung

Sensor Connection Overview

	*  Miniatur view   

	*  Link to high resolution figure 

Raspberry Pi Schema Übersicht

	*  Miniatur view   

	*  Link to high resolution figure 

Anschluss an GPIO

GPIO Belegung

DS18B20 GPIO

	*  Pin 1 (3.3 V) = VCC
	*  Pin 7 (GPIO 4) = DATA</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=shell_commands&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>shell_commands</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=shell_commands&amp;rev=1641735664&amp;do=diff</link>
        <description>Usefull shell commands


 dir /dev/disk/by-id/
 dir /dev/disk/by-label  
 dir /dev/disk/by-path
 dir /dev/disk/by-uuid


Boot configuration


sudo vi /boot/config.txt


Error Log


vi /var/log/dmesg


Modules activating


vi /etc/modules
add 
w1-gpio pullup=1
w1-therm</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=sqlite&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sqlite</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=sqlite&amp;rev=1641735664&amp;do=diff</link>
        <description>SQLite

Introduction

SQLite Home page &lt;http://www.sqlite.org/&gt;

Wikipedia &lt;http://de.wikipedia.org/wiki/SQLite&gt;

Dokumentation &lt;http://www.sqlite.org/docs.html&gt;

Tutorials &lt;http://www.tutorialspoint.com/sqlite&gt;

Install

 sudo apt-get install sqlite3


Schema for Sensors


table Log (
  Id       integer primary key autoincrement,
  DateI    integer, # Insert timestamp unix time
  Msg      text,    # Log message text
  LogLevel text,    # level of importance critical, important, info
  value    …</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=temperatur_sensor&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>temperatur_sensor</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=temperatur_sensor&amp;rev=1641735664&amp;do=diff</link>
        <description>Temperatur Senor DS18B20

DS18B20
see &lt;http://www.pihome.eu/2017/10/11/ds18b20-temperature-sensor-with-raspberry-pi/&gt;
see &lt;http://www.pihome.eu/2018/02/15/ds18b20-temperature-sensor-to-mysql-mariadb-database/&gt;

Prepare Pi


sudo apt-get install git-core

git clone git://git.drogon.net/wiringPi



cd wiringPi

git pull origin

./build


Test WiringPi


gpio -v

gpio readall


Init

load driver


sudo vi /boot/config.txt

#add line

dtoverlay=w1-gpio</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=testsensor_status&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>testsensor_status</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=testsensor_status&amp;rev=1641735664&amp;do=diff</link>
        <description>Status der Tests Sensoren Pi+ DS18B20

NotOK: sensor mit klinkenstecker und widerstand am Pi 
     Sensor nicht sichtbar (nutze skript ./w1-look-for-devices)
     
Geprüft: /boot/config.txt

NotOK : sensor 3 stück via verteilerbox
Ok direkt am Pi
Not ok via verteilbox</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=time&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>time</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=time&amp;rev=1641735664&amp;do=diff</link>
        <description>Time

import time
TAG  = 0
ZEIT = 1
TYP  = 2
WERT = 3

m = [[0 for x in xrange(WERT+1)] for x in xrange(1)]

def Tag():
  return repr(time.localtime()[2]) + &quot;.&quot;+repr(time.localtime()[1])+&quot;.&quot;+repr(time.localtime()[0])
# - Zeitpunkt auslesen und in CET ausgeben
#</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=transistor&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>transistor</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=transistor&amp;rev=1641735664&amp;do=diff</link>
        <description>Erklärung mit GPIO

&lt;http://www.tacticalcode.de/2012/12/transistor-simpler-schalter-mit-raspberry-pi-gpio.html&gt;

Einführung allgemein

&lt;http://www.elektronik-kompendium.de/sites/slt/0208031.htm&gt;</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=win7_share_files&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>win7_share_files</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=win7_share_files&amp;rev=1641735664&amp;do=diff</link>
        <description>Access files on NAS

Mounting A Windows Share As A Raspberry Pi Directory

There can be several reasons why you might need to connect a Windows share to your Pi. Here's how to do it, providing you already have a share created on your Windows PC or server and your Pi is connected to your</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=zentrale_heizung&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>zentrale_heizung</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=zentrale_heizung&amp;rev=1641735664&amp;do=diff</link>
        <description>Zentrale Heizung

Wiki:

	*  zentrale_heizung
	*  meg_heizung
	*  efh2_heizung
	*  heizung_monitor_via_pi

Restart der Heizungssteuerung

	*  Nach Stromausfall (echt oder simuliert) kann die Steuerung in den Modus „Boiler laden“ kommen
	*  Ersichtlich an dem Abschalten der Umwälzpumpen und der Boileranforderung auf</description>
    </item>
    <item rdf:about="https://www.huw.moenkeberg.ch/doku.php?id=zentrale_rmeg_outer&amp;rev=1641735664&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-09T13:41:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>zentrale_rmeg_outer</title>
        <link>https://www.huw.moenkeberg.ch/doku.php?id=zentrale_rmeg_outer&amp;rev=1641735664&amp;do=diff</link>
        <description>MEG Heizung Router



	*  eigenen IP Adresse 192.168.1.1
	*  Anschluss an Haus 5 via Switch - WWZ (via Pi, separater USB-Ethernet Adapter)
	*  Anschluss an Switch heizungsintern</description>
    </item>
</rdf:RDF>
