Howto
Zum Download mit der rechten Maustaste klicken auf: HowTo.rtf — 45.0 KB. Es handelt sich um einen Text von Stefan Kirchberg im Format reStructuredText.
HowTo.rtf
— 45.0 KB
Dateiinhalt
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600 {\fonttbl\f0\fnil\fcharset0 HelveticaNeue;\f1\fnil\fcharset0 LucidaGrande;\f2\fswiss\fcharset0 LucidaConsole; \f3\fnil\fcharset128 .HiraKakuInterface-W4;} {\colortbl;\red255\green255\blue255;\red53\green53\blue53;\red220\green161\blue13;} {\*\expandedcolortbl;;\cssrgb\c27059\c27059\c27059;\cssrgb\c89412\c68627\c3922;} {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid1\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid2\'01\'01;}{\levelnumbers\'01;}\fi-360\li1440\lin1440 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid3\'01\'02;}{\levelnumbers\'01;}\fi-360\li2160\lin2160 }{\listname ;}\listid1} {\list\listtemplateid2\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid101\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid102\'01\'01;}{\levelnumbers\'01;}\fi-360\li1440\lin1440 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid103\'01\'02;}{\levelnumbers\'01;}\fi-360\li2160\lin2160 }{\listname ;}\listid2} {\list\listtemplateid3\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid201\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid202\'01\'01;}{\levelnumbers\'01;}\fi-360\li1440\lin1440 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid203\'01\'02;}{\levelnumbers\'01;}\fi-360\li2160\lin2160 }{\listname ;}\listid3} {\list\listtemplateid4\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid301\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid4} {\list\listtemplateid5\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid401\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid5} {\list\listtemplateid6\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid501\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid502\'01\'01;}{\levelnumbers\'01;}\fi-360\li1440\lin1440 }{\listname ;}\listid6} {\list\listtemplateid7\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid601\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid602\'01\'01;}{\levelnumbers\'01;}\fi-360\li1440\lin1440 }{\listname ;}\listid7} {\list\listtemplateid8\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid701\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid702\'01\'01;}{\levelnumbers\'01;}\fi-360\li1440\lin1440 }{\listname ;}\listid8} {\list\listtemplateid9\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid801\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid9} {\list\listtemplateid10\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid901\'01\'00;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid902\'01\'01;}{\levelnumbers\'01;}\fi-360\li1440\lin1440 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid903\'01\'02;}{\levelnumbers\'01;}\fi-360\li2160\lin2160 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}}{\leveltext\leveltemplateid904\'01\'03;}{\levelnumbers\'01;}\fi-360\li2880\lin2880 }{\listname ;}\listid10}} {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}{\listoverride\listid4\listoverridecount0\ls4}{\listoverride\listid5\listoverridecount0\ls5}{\listoverride\listid6\listoverridecount0\ls6}{\listoverride\listid7\listoverridecount0\ls7}{\listoverride\listid8\listoverridecount0\ls8}{\listoverride\listid9\listoverridecount0\ls9}{\listoverride\listid10\listoverridecount0\ls10}} \paperw11900\paperh16840\margl1440\margr1440\vieww13480\viewh24300\viewkind0 \deftab720 \pard\pardeftab720\partightenfactor0 \f0\b\fs34 \cf2 \expnd0\expndtw0\kerning0 ELTN-Workshop \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\pardeftab720\partightenfactor0 \fs36 \cf2 Praxisteil: Dragino-Paket mit Sensoren, Nodes und Gateway \'84von 0 auf 100\'93\ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 Einrichtung TTN-Webseite: Account, Gateway, Application, Node \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls1\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Im Browser auf {\field{\*\fldinst{HYPERLINK "https://www.thethingsnetwork.org/"}}{\fldrslt \cf3 \ul \ulc3 https://www.thethingsnetwork.org}} gehen\cf3 \ \ls1\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Account einrichten\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls1\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Signup\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Username, Mailadresse, Passwort eingeben\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Create Account\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Validierungsmail abrufen, in der Mail Activate Account anklicken\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 5 } \f1 \expnd0\expndtw0\kerning0 \uc0\u8594 \f0 Webseite: Welcome back \'85\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls1\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Gateway einrichten\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls1\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 CONSOLE anklicken\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 register gateway anklicken, Formular REGISTER GATEWAY erscheint\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Seriennummer des Gateways ermitteln: Auf dem Typenschild steht als MAC-Adresse "wifi: A8:40:41:xx:xx:xx" \'96 die letzten sechs Hex-Ziffern sind die Seriennummer xxxxxx.\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 I'm using the legacy packet forwarder \f1 \uc0\u8594 \f0 aktivieren\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 dar\'fcber erscheint jetzt Gateway EUI \f1 \uc0\u8594 \f0 6 Bytes der WiFi-MAC-Adresse vom Typenschild + FF FF eingeben, also a84041xxxxxxffff\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Description \f1 \uc0\u8594 \f0 Beschreibung eingeben\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 Frequency Plan \f1 \uc0\u8594 \f0 Europe 868 MHz\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 8 }\expnd0\expndtw0\kerning0 Router \f1 \uc0\u8594 \f0 bleibt auf ttn-router-eu\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 9 }\expnd0\expndtw0\kerning0 Location \f1 \uc0\u8594 \f0 auf Karte ausw\'e4hlen\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 10 }\expnd0\expndtw0\kerning0 Antenna Placement \f1 \uc0\u8594 \f0 indoor\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 11 }\expnd0\expndtw0\kerning0 Register Gateway anklicken\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 12 }\expnd0\expndtw0\kerning0 Gateway Overview erscheint\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls1\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Application einrichten (falls nicht Zugriff auf eine vorhandene Application erteilt wurde)\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls1\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Applications anklicken\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 add application\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Application ID \f1 \uc0\u8594 \f0 Identifier nach Wahl\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Description \f1 \uc0\u8594 \f0 Beschreibung\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Handler \f1 \uc0\u8594 \f0 ttn-handler-eu\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Add application anklicken\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 \'dcbersicht APPLICATIONS erscheint, neue Applikation ist mit aufgelistet\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls1\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Nodes (Devices) einrichten\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls1\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 gew\'fcnschte Applikation anklicken, Overview erscheint\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 register device anklicken\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Device ID \f1 \uc0\u8594 \f0 Identifier nach Wahl, z.B. dragino-01-node0\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Device EUI \f1 \uc0\u8594 \f0 Pfeil-Icon anklicken, \'e4ndert sich zu Stift-Icon + this field will be generated\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Register anklicken\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Device Overview erscheint\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 Settings anklicken\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 8 }\expnd0\expndtw0\kerning0 Activation Method \f1 \uc0\u8594 \f0 auf ABP \'e4ndern (LG01 unterst\'fctzt kein OTAA!)\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 9 }\expnd0\expndtw0\kerning0 Frame Counter Checks \f1 \uc0\u8594 \f0 deaktivieren\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 10 }\expnd0\expndtw0\kerning0 Save anklicken\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 11 }\expnd0\expndtw0\kerning0 Device Overview erscheint\ \ls1\ilvl1\kerning1\expnd0\expndtw0 {\listtext 12 }\expnd0\expndtw0\kerning0 Werte notieren / speichern f\'fcr Sketch: Network Session Key, App Session Key, Device Address\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls1\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Augen-Icon anklicken, Key wird angezeigt\ \ls1\ilvl2\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 "<>"-Icon anklicken, Key wird als C-Datenstruktur (msb) angezeigt\ \ls1\ilvl2\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Copy-Icon anklicken, Key wird in Pastebuffer kopiert\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls1\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 13 }\expnd0\expndtw0\kerning0 Zweites Devices ebenso einrichten, z.B. dragino-01-node1\ \pard\pardeftab720\partightenfactor0 \cf2 \ \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 Einrichtung LoRaWAN-Gateway Dragino LG01 f\'fcr lokales WLAN \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls2\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Anschlie\'dfen:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls2\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 LoRa-Stummelantenne (Wichtig!!! LoRa-Ger\'e4te \b niemals \b0 ohne Antenne betreiben!)\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Netzteil\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls2\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Mit Computer ins WLAN-Netzwerk dragino-xxxxxx verbinden, kein Passwort oder Passwort \f2 dragino-dragino \f0 .\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Im Browser auf 10.130.1.1 oder dragino-xxxxxx.local gehen, Username root, Passwort dragino \f1 \uc0\u8594 \f0 Login\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Status\'fcbersicht erscheint\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Men\'fc Network\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Abschnitt Internet Access: Access Internet Via \f1 \uc0\u8594 \f0 WiFi Client\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 Ausf\'fcllen:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls2\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 SSID \f1 \uc0\u8594 \f0 Name des vorhandenen WLAN-Netzwerks (Freifunk)\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Encryption \f1 \uc0\u8594 \f0 z.B. WPA2 (None)\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Password \f1 \uc0\u8594 \f0 Passwort des WLAN-Netzwerks (leer lassen)\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Way to Get IP \f1 \uc0\u8594 \f0 DHCP\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Display Net Connection: nicht \'e4ndern\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls2\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 8 }\expnd0\expndtw0\kerning0 Save & Apply\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 9 }\expnd0\expndtw0\kerning0 "Applying changes"\'85\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 10 }\expnd0\expndtw0\kerning0 Mit Computer in das WLAN gehen, das soeben eingetragen wurde (Freifunk). Dragino-Router erscheint als Ger\'e4t \'84dragino-xxxxxx\'93.\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 11 }\expnd0\expndtw0\kerning0 Im Browser auf dragino-xxxxxx.local gehen, anmelden\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 12 }\expnd0\expndtw0\kerning0 Status\'fcbersicht erscheint, IPv4 WAN Status zeigt Verbindung ins WLAN.\ \ls2\ilvl0\kerning1\expnd0\expndtw0 {\listtext 13 }\expnd0\expndtw0\kerning0 Firmwareversion pr\'fcfen: 4.3.4 erforderlich, ggf. \ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls2\ilvl1\cf3 \kerning1\expnd0\expndtw0 {\listtext 1 }{\field{\*\fldinst{HYPERLINK "http://www.dragino.com/downloads/index.php?dir=motherboards/ms14/Firmware/IoT/"}}{\fldrslt \expnd0\expndtw0\kerning0 \ul http://www.dragino.com/downloads/index.php?dir=motherboards/ms14/Firmware/IoT/}}\expnd0\expndtw0\kerning0 \ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls2\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 2 } \f1 \expnd0\expndtw0\kerning0 \uc0\u8594 \f0 IoT\'96build-v4.3.4-\'85 herunterladen \f1 \uc0\u8594 \f0 .bin-Datei im Downloadordner\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Men\'fcoption System \f1 \uc0\u8594 \f0 Backup / Flash Firmware anklicken\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Flash new firmware image:\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls2\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Keep settings \f1 \uc0\u8594 \f0 aktiv lassen\ \ls2\ilvl2\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Image: Choose File anklicken \f1 \uc0\u8594 \f0 .bin-Datei aus dem Downloadordner ausw\'e4hlen\ \ls2\ilvl2\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Flash image\'85 anklicken (Datei wird hochgeladen, dauert eine Weile)\ \ls2\ilvl2\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Proceed anklicken (Update beginnt, dauert ebenfalls eine Weile)\ \ls2\ilvl2\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 W\'e4hrend des Updates blinkt die 1. LED, dann folgt ein Reset, bei dem alle LEDs kurz aufleuchten\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls2\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Im Browser neu verbinden + wieder anmelden\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Status\'fcbersicht erscheint, Firmwareversion entspricht jetzt der hochgeladenen Version.\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls2\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 14 }\expnd0\expndtw0\kerning0 Passwort \'e4ndern:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls2\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Men\'fcoption System \f1 \uc0\u8594 \f0 Administration\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Password + Confirmation: jeweils das neue Passwort angeben\ \ls2\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Save & Apply\ \pard\pardeftab720\partightenfactor0 \cf2 \ \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 Einrichtung TTN-Setup im Gateway \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls3\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Im Browser {\field{\*\fldinst{HYPERLINK "http://www.dragino.com/downloads/index.php?dir=motherboards/lg01/sketch/"}}{\fldrslt \cf3 \ul \ulc3 http://www.dragino.com/downloads/index.php?dir=motherboards/lg01/sketch/}} aufrufen\cf3 \ \ls3\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Download der Datei single_pkt_fwd_v003.ino.hex\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Im Browser Weboberfl\'e4che des Routers aufrufen\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Men\'fcoption Sensor \f1 \uc0\u8594 \f0 Flash MCU anklicken\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Upload Image to MCU:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls3\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 MCUImage: Choose File anklicken \f1 \uc0\u8594 \f0 Datei aus Downloadordner ausw\'e4hlen\ \ls3\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Flash Image\'85 anklicken (Programmierung beginnt, dauert eine Weile)\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls3\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Upload Result: \'85 Sketch uploaded successfully.\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 Reboot des Gateways (z.B. System \f1 \uc0\u8594 \f0 Reboot)\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 8 }\expnd0\expndtw0\kerning0 Nach Reboot: Weboberfl\'e4che aufrufen, anmelden\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 9 }\expnd0\expndtw0\kerning0 Men\'fcoption Sensor \f1 \uc0\u8594 \f0 MicroController\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 10 }\expnd0\expndtw0\kerning0 pr\'fcfen: MCU Version = Dateiname der hochgeladenen Datei\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 11 }\expnd0\expndtw0\kerning0 Men\'fcoption Sensor \f1 \uc0\u8594 \f0 LoRa / LoRaWAN anklicken\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 12 }\expnd0\expndtw0\kerning0 LoRa Gateway Settings:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls3\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Radio Settings:\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls3\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 TX Frequency \f1 \uc0\u8594 \f0 868100000 ( = 868.1 MHz)\ \ls3\ilvl2\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 RX Frequency \f1 \uc0\u8594 \f0 868100000 ( = 868.1 MHz)\ \ls3\ilvl2\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Rest bleibt\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls3\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 LoRaWAN Server Settings:\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls3\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Server Address \f1 \uc0\u8594 \f0 router.eu.thethings.network\ \ls3\ilvl2\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Server Port \f1 \uc0\u8594 \f0 bleibt auf 1700\ \ls3\ilvl2\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Gateway ID \f1 \uc0\u8594 \f0 Gateway EUI eintragen wie zuvor auf TTN registriert (\ul ohne\ulnone Pr\'e4fix EUI-)\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls3\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Save & Apply\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls3\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 13 }\expnd0\expndtw0\kerning0 Men\'fcoption Sensor \f1 \uc0\u8594 \f0 IoT Server anklicken\ \ls3\ilvl0\kerning1\expnd0\expndtw0 {\listtext 14 }\expnd0\expndtw0\kerning0 Select IoT Server:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls3\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 IoT Server \f1 \uc0\u8594 \f0 LoRaWAN\ \ls3\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Save & Apply\ \pard\pardeftab720\partightenfactor0 \cf2 \ \pard\pardeftab720\partightenfactor0 \f3 \cf2 \'81\'cb \f0 evtl. Problem? \'97 Status \f1 \uc0\u8594 \f0 System log: \ Sat Oct 13 12:40:39 2018 kern.notice syslog: [IoT]: Internet Connection Check: FAIL\ Sat Oct 13 12:40:40 2018 kern.notice syslog: [IoT]: DNS Resolve Check: FAIL\ \ Aber: auf TTN Console \f1 \uc0\u8594 \f0 Gateways \f1 \uc0\u8594 \f0 eui-a84041xxxxxxffff: Gateway Status "connected"\ \ \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 Einrichtung Arduino IDE \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls4\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Download von {\field{\*\fldinst{HYPERLINK "https://www.arduino.cc/en/Main/Software"}}{\fldrslt \cf3 \ul \ulc3 https://www.arduino.cc/en/Main/Software}} \'96 aktuell 1.8.7, rechts passende Hardwareplattform ausw\'e4hlen (Windows / macOS / Linux)\ \ls4\ilvl0\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Installieren\ \ls4\ilvl0\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Starten\ \ls4\ilvl0\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 (Windows:) Datei \f1 \uc0\u8594 \f0 Einstellungen, (macOS:) Cmd-Komma, (Linux:) \'85\ \ls4\ilvl0\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 In Feld "Additional Boards Manager URLs" folgenden String eintragen:\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls4\ilvl0\cf3 \kerning1\expnd0\expndtw0 {\listtext 6 }{\field{\*\fldinst{HYPERLINK "http://www.dragino.com/downloads/downloads/YunShield/package_dragino_yun_test_index.json"}}{\fldrslt \expnd0\expndtw0\kerning0 \ul http://www.dragino.com/downloads/downloads/YunShield/package_dragino_yun_test_index.json}}\cf2 \expnd0\expndtw0\kerning0 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls4\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 (falls dort schon etwas steht, mit Komma anh\'e4ngen)\ \ls4\ilvl0\kerning1\expnd0\expndtw0 {\listtext 8 }\expnd0\expndtw0\kerning0 Men\'fcoption Tools \f1 \uc0\u8594 \f0 Boards \f1 \uc0\u8594 \f0 Boards Manager aufrufen\ \ls4\ilvl0\kerning1\expnd0\expndtw0 {\listtext 9 }\expnd0\expndtw0\kerning0 ins Suchfeld eingeben: Dragino\ \ls4\ilvl0\kerning1\expnd0\expndtw0 {\listtext 10 }\expnd0\expndtw0\kerning0 Eintrag "Dragino Yun by Dragino Technology" anklicken, Button Install erscheint\ \ls4\ilvl0\kerning1\expnd0\expndtw0 {\listtext 11 }\expnd0\expndtw0\kerning0 Install anklicken, Installationsbalken erscheint und verschwindet dann\ \ls4\ilvl0\kerning1\expnd0\expndtw0 {\listtext 12 }\expnd0\expndtw0\kerning0 Close anklicken\ \pard\pardeftab720\partightenfactor0 \fs28 \cf2 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 Einfachnode \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls5\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Codebeispiel f\'fcr Einfachnode: Simple_Node.ino\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Sketch in Arduino IDE \'f6ffnen\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Wert u1_t NWKSKEY[16] ersetzen durch Network Session Key des ersten Devices (s.o.)\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Wert u1_t APPSKEY[16] ersetzen durch Network Session Key (s.o.)\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Wert u4_t DEVADDR ersetzen durch Device Address (s.o.)\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Ggf. Wert TX_INTERVAL auf k\'fcrzeres Intervall setzen (z.B. 10 statt 60 Sekunden)\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 Zeilen\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 8 }\expnd0\expndtw0\kerning0 LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI); \ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 9 }\expnd0\expndtw0\kerning0 mit Kanalnummern von 1 bis 8 auskommentieren, nur Kanal 0 bleibt stehen.\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 10 }\expnd0\expndtw0\kerning0 Darunter erg\'e4nzen:\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 11 }\expnd0\expndtw0\kerning0 for(int i=1; i<=8; i++) LMIC_disableChannel(i);\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 12 }\expnd0\expndtw0\kerning0 Zeile \ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 13 }\expnd0\expndtw0\kerning0 Serial.println(F("EV_TXCOMPLETE (includes waiting for RX windows)")); \ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 14 }\expnd0\expndtw0\kerning0 \'e4ndern zu\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 15 }\expnd0\expndtw0\kerning0 Serial.print(F("EV_TXCOMPLETE (includes waiting for RX windows); Frequency = ")); \ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 16 }\expnd0\expndtw0\kerning0 Serial.println(LMIC.freq);\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 17 }\expnd0\expndtw0\kerning0 Node mit einfachem LoRa-Shield (ohne GPS) per USB-Kabel anschlie\'dfen\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 18 }\expnd0\expndtw0\kerning0 Tools \f1 \uc0\u8594 \f0 Boards \f1 \uc0\u8594 \f0 Arduino/Genuino Uno anklicken\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 19 }\expnd0\expndtw0\kerning0 Tools \f1 \uc0\u8594 \f0 Port \f1 \uc0\u8594 \f0 passenden Port anklicken (macOS: /dev/cu.wchusbserial\'85)\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 20 }\expnd0\expndtw0\kerning0 Tools \f1 \uc0\u8594 \f0 Serial Monitor \'f6ffnen, 115200 Bd einstellen\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 21 }\expnd0\expndtw0\kerning0 Sketch \f1 \uc0\u8594 \f0 Upload anklicken\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 22 }\expnd0\expndtw0\kerning0 Node sendet Pakete\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 23 }\expnd0\expndtw0\kerning0 Kontrolle 1: Serial Monitor: Ausgabe: Packet queued \'85 EV_TXCOMPLETE (includes waiting for RX windows)\ \ls5\ilvl0\kerning1\expnd0\expndtw0 {\listtext 24 }\expnd0\expndtw0\kerning0 Kontrolle 2: TTN Console \f1 \uc0\u8594 \f0 Gateways \f1 \uc0\u8594 \f0 Gateway \'85 \f1 \uc0\u8594 \f0 Traffic zeigt Pakete\ \pard\pardeftab720\partightenfactor0 \cf2 \ Problem: Nicht alle Pakete werden empfangen (vgl. Sequenznummern)\ \ \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 Sensornode \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls6\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 DHT11-Bibliothek installieren:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls6\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 ZIPfile: DHTlib.zip\ \ls6\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 ZIPfile auspacken\ \ls6\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Verzeichnis DHTlib verschieben nach (macOS:) ~/Documents/Arduino/libraries\ \ls6\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 IDE neu starten\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls6\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Codebeispiel f\'fcr Sensornode: Temp_Node.ino\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Sketch in Arduino IDE \'f6ffnen\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Die beiden Schl\'fcssel und die Deviceadresse des \b ersten \b0 Devices eintragen\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Blauen Wettersensor DHT11 an den Node anschlie\'dfen:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls6\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Arduino GND \'96 schwarzes Kabel \'96 Sensor GND\ \ls6\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Arduino A1 \'96 wei\'dfes Kabel \'96 Sensor DATA\ \ls6\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Arduino 3V3 \'96 oranges Kabel \'96 Sensor VCC (Achtung, nicht an 5V anschlie\'dfen!)\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls6\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Node an USB anschlie\'dfen\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 Sketch \f1 \uc0\u8594 \f0 Upload anklicken\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 8 }\expnd0\expndtw0\kerning0 Node sendet Pakete\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 9 }\expnd0\expndtw0\kerning0 Kontrolle 1: Serial Monitor: Ausgabe: Packet queued \'85 EV_TXCOMPLETE (includes waiting for RX windows)\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 10 }\expnd0\expndtw0\kerning0 Kontrolle 2: TTN Console \f1 \uc0\u8594 \f0 Gateways \f1 \uc0\u8594 \f0 Gateway \'85 \f1 \uc0\u8594 \f0 Traffic zeigt Pakete\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 11 }\expnd0\expndtw0\kerning0 Payload Decoder einrichten: Auf der TTN Console zur Application gehen, Payload Formats anklicken\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 12 }\expnd0\expndtw0\kerning0 Payload Format \f1 \uc0\u8594 \f0 Zustrom (sollte voreingestellt sein)\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 13 }\expnd0\expndtw0\kerning0 Decoder anklicken\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 14 }\expnd0\expndtw0\kerning0 JavaScript-Code einf\'fcgen\ \ls6\ilvl0\kerning1\expnd0\expndtw0 {\listtext 15 }\expnd0\expndtw0\kerning0 save payload functions anklicken\ \pard\pardeftab720\partightenfactor0 \cf2 \ \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 Trackingnode \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls7\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 TinyGPS-Bibliothek in Arduino IDE installieren:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls7\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 ZIPfile: TinyGPS13.zip\ \ls7\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 ZIPfile auspacken\ \ls7\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Verzeichnis TinyGPS-13 verschieben nach (macOS:) ~/Documents/Arduino/libraries\ \ls7\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 IDE neu starten\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls7\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Codebeispiel f\'fcr Trackingnode: TempTrack_Node.ino\ \ls7\ilvl0\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Sketch in Arduino IDE \'f6ffnen\ \ls7\ilvl0\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Die beiden Schl\'fcssel und die Deviceadresse des \b zweiten \b0 Devices eintragen\ \ls7\ilvl0\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Blauen Wettersensor DHT11 an den Node anschlie\'dfen:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls7\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Arduino GND \'96 schwarzes Kabel \'96 Sensor GND\ \ls7\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Arduino A1 \'96 wei\'dfes Kabel \'96 Sensor DATA\ \ls7\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Arduino 3V3 \'96 oranges Kabel \'96 Sensor VCC (Achtung, nicht an 5V anschlie\'dfen!)\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls7\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Die beiden GPS-Jumper GPS_RX und GPS_TX umsetzen von rechts (.##) nach links (##.)\ \ls7\ilvl0\kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 GPS-Datenkabel verbinden:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls7\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Arduino-GPS-Shield GPS_RX (1.Pin) \'96 gr\'fcnes Kabel \'96 Arduino A2\ \ls7\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Arduino-GPS-Shield GPS_TX (1.Pin) \'96 gelbes Kabel \'96 Arduino A3\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls7\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 8 }\expnd0\expndtw0\kerning0 Node an USB anschlie\'dfen\ \ls7\ilvl0\kerning1\expnd0\expndtw0 {\listtext 9 }\expnd0\expndtw0\kerning0 Sketch \f1 \uc0\u8594 \f0 Upload anklicken\ \ls7\ilvl0\kerning1\expnd0\expndtw0 {\listtext 10 }\expnd0\expndtw0\kerning0 Node sendet Pakete; wenn die gr\'fcne LED im Sekundentakt blinkt, besteht GPS-Empfang\ \ls7\ilvl0\kerning1\expnd0\expndtw0 {\listtext 11 }\expnd0\expndtw0\kerning0 Kontrolle 1: Serial Monitor: Ausgabe: Packet queued \'85 EV_TXCOMPLETE (includes waiting for RX windows)\ \ls7\ilvl0\kerning1\expnd0\expndtw0 {\listtext 12 }\expnd0\expndtw0\kerning0 Kontrolle 2: TTN Console \f1 \uc0\u8594 \f0 Gateways \f1 \uc0\u8594 \f0 Gateway \'85 \f1 \uc0\u8594 \f0 Traffic zeigt Pakete, Payload Decoder liefert Koordinaten\ \pard\pardeftab720\partightenfactor0 \cf2 \ \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 TTN Mapper einrichten \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls8\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Console: Applikation aufrufen, Integrations\ \ls8\ilvl0\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Add Integration \f1 \uc0\u8594 \f0 TTN Mapper\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls8\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Process ID \f1 \uc0\u8594 \f0 z.B. maptest\ \ls8\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 E-mail address \f1 \uc0\u8594 \f0 (Mailadresse eingeben)\ \ls8\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Port filter \f1 \uc0\u8594 \f0 z.B. 3 f\'fcr den Beispielcode\ \ls8\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Experiment name \f1 \uc0\u8594 \f0 (leer lassen)\ \ls8\ilvl1\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Add integration anklicken\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls8\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Im Browser {\field{\*\fldinst{HYPERLINK "https://ttnmapper.org/special_maps.php"}}{\fldrslt \cf3 \ul \ulc3 https://ttnmapper.org/special_maps.php}} aufrufen\cf3 \ \ls8\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Device ID des Tracking-Nodes eintragen\ \ls8\ilvl0\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 View map anklicken\ \ls8\ilvl0\kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Karte mit Mapping-Daten wird aufgelegt\ \pard\pardeftab720\partightenfactor0 \cf2 \ \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 Tracking-Sensornode \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls9\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 DHT11-Sensor vom anderen Node umbauen auf den GPS-Node (gleiche Anschl\'fcsse)\ \ls9\ilvl0\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Code \'fcberpr\'fcfen und hochladen\ \ls9\ilvl0\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Kontrolle 1: Serial Monitor: Ausgaben mit Luftdaten und Koordinaten\ \ls9\ilvl0\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Kontrolle 2: TTN Console \f1 \uc0\u8594 \f0 Gateways \f1 \uc0\u8594 \f0 Gateway \'85 \f1 \uc0\u8594 \f0 Traffic zeigt Pakete, Payload Decoder liefert Luftdaten und Koordinaten\ \pard\pardeftab720\partightenfactor0 \cf2 \ \ \pard\pardeftab720\partightenfactor0 \b\fs28 \cf2 Datenauswertung \b0 \ \pard\pardeftab720\partightenfactor0 \fs24 \cf2 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls10\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Voraussetzung: Server mit Node-RED ist eingerichtet\ \ls10\ilvl0\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 TTN Console \f1 \uc0\u8594 \f0 Overview \f1 \uc0\u8594 \f0 ACCESS KEYS \f1 \uc0\u8594 \f0 default key: Kopier-Icon anklicken\ \ls10\ilvl0\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Kommandozeile:\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls10\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Aufruf\ \ls10\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 mosquitto_sub -v -h eu.thethings.network -t "eltn-test/devices/+/up" -u eltn-test -P (Access Key)\ \ls10\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Kontrolle: Aufgabe von Topic sowie Paketdaten (als JSON)\ \pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0 \ls10\ilvl0\cf2 \kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Node-RED\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls10\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Node-RED-Oberfl\'e4che im Browser aufrufen\ \ls10\ilvl1\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 ggf. neuen Flow-Tab anlegen\ \ls10\ilvl1\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Node input \f1 \uc0\u8594 \f0 mqtt auf Flow ziehen, doppelklicken\ \ls10\ilvl1\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Server \f1 \uc0\u8594 \f0 Add new mqtt broker\'85 \f1 \uc0\u8594 \f0 Stift-Icon\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls10\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Name \f1 \uc0\u8594 \f0 TTN - ELTN\ \ls10\ilvl2\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Connection\ \pard\tx2380\tx2880\pardeftab720\li2880\fi-2880\partightenfactor0 \ls10\ilvl3\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Server \f1 \uc0\u8594 \f0 eu.thethings.network\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls10\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Security\ \pard\tx2380\tx2880\pardeftab720\li2880\fi-2880\partightenfactor0 \ls10\ilvl3\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Username \f1 \uc0\u8594 \f0 eltn-test\ \ls10\ilvl3\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Password \f1 \uc0\u8594 \f0 default access key wie oben kopiert\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls10\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Add anklicken\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls10\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Topic \f1 \uc0\u8594 \f0 # oder eltn-test/devices/+/up\ \ls10\ilvl1\kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Done anklicken\ \ls10\ilvl1\kerning1\expnd0\expndtw0 {\listtext 7 }\expnd0\expndtw0\kerning0 Test (Debugausgabe)\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls10\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Node Output \f1 \uc0\u8594 \f0 debug auf Flow ziehen\ \ls10\ilvl2\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 mqtt-Node mit debug-Node verbinden\ \ls10\ilvl2\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Deploy anklicken\ \ls10\ilvl2\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Debug anklicken, auf n\'e4chste Message warten\ \ls10\ilvl2\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Kontrolle: JSON-Datensatz und alle einzelnen Felder (bei Topic #) werden ausgegeben\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\partightenfactor0 \ls10\ilvl1\cf2 \kerning1\expnd0\expndtw0 {\listtext 8 }\expnd0\expndtw0\kerning0 Kartendarstellung:\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls10\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Node function \f1 \uc0\u8594 \f0 json\ \pard\tx2380\tx2880\pardeftab720\li2880\fi-2880\partightenfactor0 \ls10\ilvl3\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Action \f1 \uc0\u8594 \f0 Always convert to JavaScript Object\ \ls10\ilvl3\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Property \f1 \uc0\u8594 \f0 msg.payload\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls10\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Node function \f1 \uc0\u8594 \f0 change, Regeln:\ \pard\tx2380\tx2880\pardeftab720\li2880\fi-2880\partightenfactor0 \ls10\ilvl3\cf2 \kerning1\expnd0\expndtw0 {\listtext 1 }\expnd0\expndtw0\kerning0 Set msg.dev_id to JSONata payload.dev_id\ \ls10\ilvl3\kerning1\expnd0\expndtw0 {\listtext 2 }\expnd0\expndtw0\kerning0 Set msg.payload to JSONata payload.payload_fields\ \ls10\ilvl3\kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Set msg.payload.lat to JSONata payload.latitude\ \ls10\ilvl3\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Set msg.payload.lon to JSONata payload.longitude\ \ls10\ilvl3\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Set msg.payload.name to JSONata dev_id\ \pard\tx1660\tx2160\pardeftab720\li2160\fi-2160\partightenfactor0 \ls10\ilvl2\cf2 \kerning1\expnd0\expndtw0 {\listtext 3 }\expnd0\expndtw0\kerning0 Node location \f1 \uc0\u8594 \f0 world map\ \ls10\ilvl2\kerning1\expnd0\expndtw0 {\listtext 4 }\expnd0\expndtw0\kerning0 Nodes verbinden: mqtt \f1 \uc0\u8594 \f0 json \f1 \uc0\u8594 \f0 change \f1 \uc0\u8594 \f0 world map\ \ls10\ilvl2\kerning1\expnd0\expndtw0 {\listtext 5 }\expnd0\expndtw0\kerning0 Deploy\ \ls10\ilvl2\kerning1\expnd0\expndtw0 {\listtext 6 }\expnd0\expndtw0\kerning0 Karte mit ctrl-shift-M aufrufen\ }