| | 13 | == Gerätetyp einstellen |
| | 14 | |
| | 15 | === Yunshan 10A 7-30VDC Relay |
| | 16 | |
| | 17 | **Achtung:** Module 33 nicht verwenden, Input ist lokale Taste, kein Switch-Eingang |
| | 18 | |
| | 19 | {{{ |
| | 20 | Module 18 |
| | 21 | Template {"NAME":"Yunsh ETS4308i","GPIO":[0,148,158,149,21,9,0,0,255,255,255,0,255],"FLAG":15,"BASE":18} |
| | 22 | Module 0 |
| | 23 | }}} |
| | 24 | |
| | 25 | == Netzwerk-Konfiguration |
| | 26 | |
| | 27 | === WIFI-Config |
| | 28 | {{{ |
| | 29 | Backlog ssid1 IOS42backup; password1 strAveRAtICTInIsOdISCaPH; ssid2 bms21KXHUcWro4FU; password2 jjEmughekWKTbFtzLMLLviqzxtv9szX |
| | 30 | }}} |
| | 31 | |
| | 32 | === Hostname einstellen |
| | 33 | |
| | 34 | {{{ |
| | 35 | Backlog Hostname dev14.mqtt.p21.net; SetOption53 1 |
| | 36 | }}} |
| | 37 | |
| | 38 | === IP-Configuration |
| | 39 | {{{ |
| | 40 | Backlog IPAddress1 172.16.0.214; IPAddress2 172.16.0.22; IPAddress3 255.255.255.0; IPAddress4 172.16.0.22 |
| | 41 | }}} |
| | 42 | |
| | 43 | IP adresse:: `IPAddress1 172.16.0.214` |
| | 44 | GW:: `IPAddress2 172.16.0.22` |
| | 45 | Netmask:: `IPAddress3 255.255.255.0` |
| | 46 | DNS Server:: `IPAddress4 172.16.0.22` |
| | 47 | NTP-Server:: `Backlog TimeZone 0; NtpServer1 ntp.p21.net` |
| | 48 | |
| | 49 | === MQTT Konfiguration |
| | 50 | |
| | 51 | {{{ |
| | 52 | Backlog mqtthost <mqtt_broker_address>; mqttport <mqtt_broker_port>; mqttuser <username>; mqttpassword <password>; topic <device_topic> |
| | 53 | }}} |
| | 54 | |
| | 55 | ==== Telefon-Station ETS-4308i |
| | 56 | {{{ |
| | 57 | Topic ets4308i |
| | 58 | GroupTopic vQF7I8v6 |
| | 59 | MqttHost muecke.p21.net |
| | 60 | MqttClient ESP8266_%06X |
| | 61 | MqttUser ETS4308i-vdH4Lus5 |
| | 62 | MqttPassword skHSeuXrJkDR7VXu88XD3SKMszDs0QGS |
| | 63 | TelePeriod 60 |
| | 64 | SetOption2 1 |
| | 65 | SwitchTopic 0 |
| | 66 | Backlog Prefix1 cmd; Prefix2 feedback; Prefix3 log; FullTopic device/sonoff/%topic%/%prefix%/ |
| | 67 | Rule1 1 |
| | 68 | Rule1 on Mqtt#Connected do Backlog Subscribe door_bell1,actuator/device/ETS4308i/door-bell1; Subscribe door_bell2,actuator/device/ETS4308i/door-bell2; Subscribe alarm_call,actuator/device/ETS4308i/alarm-call endon |
| | 69 | }}} |