home:home-en
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | home:home-en [2019/08/08 23:59] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======@Home====== | ||
+ | [[: | ||
+ | [[: | ||
+ | * **[[: | ||
+ | {{: | ||
+ | \\ | ||
+ | |||
+ | =====Introduction===== | ||
+ | The @Home controller redirects output commands to an MQTT broker.\\ | ||
+ | The topics and commands are object specific.\\ | ||
+ | |||
+ | \\ | ||
+ | =====Setup===== | ||
+ | ====Host==== | ||
+ | Broker hostname or IP.\\ | ||
+ | ====Port==== | ||
+ | Broker port number; Default 1883.\\ | ||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | =====Output===== | ||
+ | {{: | ||
+ | ====Interface ID==== | ||
+ | The @Home Interface ID.\\ | ||
+ | |||
+ | ====Topic==== | ||
+ | The complete publish and subscribe topic.\\ | ||
+ | ====Parameter==== | ||
+ | The second ON/OFF fields represent the command string for ON and OFF. (User variables are supported.)\\ | ||
+ | On this screen shot " | ||
+ | |||
+ | ====Server Trace==== | ||
+ | < | ||
+ | 20190726.140121.294 r9999I 00C2D000 OHOME 0181 publish: [relais1/ | ||
+ | 20190726.140121.294 r9999B 00C2D000 OMQTT 0357 send PUBLISH: Topic=relais1/ | ||
+ | 20190726.140121.294 r0000B 00C2D000 OMQTT *trace dump( 0x51D0DAE0: length=22 ) | ||
+ | offset: | ||
+ | --------------------------------------------------------- |----------------| | ||
+ | 00000000: 33 14 00 0F 72 65 6C 61 69 73 31 2F 73 63 68 61 |3...relais1/ | ||
+ | 00000010: 6C 74 65 00 02 31 | ||
+ | |||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | =====Sensor===== | ||
+ | {{: | ||
+ | ====Interface ID==== | ||
+ | The @Home Interface ID.\\ | ||
+ | |||
+ | ====Address Topic==== | ||
+ | The complete subscribe topic.\\ | ||
+ | |||
+ | ====Type==== | ||
+ | Register.\\ | ||
+ | |||
+ | ====Generated variables==== | ||
+ | A variable will be generated for every reported register type.\\ | ||
+ | The variable name is formatted like this: | ||
+ | < | ||
+ | Example for sensor s47 humidity: | ||
+ | < | ||
+ | ^ Type ^ Description ^ Units ^ | ||
+ | | 0 | Default general value | Integer | | ||
+ | | 1 | Temperature | 0.01 °C | | ||
+ | | 2 | Light level | Lux | | ||
+ | | 3 | Button | Number | | ||
+ | | 4 | Humidity | 0.01 % | | ||
+ | | 5 | Pressure | mBar | | ||
+ | {{: | ||
+ | |||
+ | \\ | ||
+ | =====HTTP Output===== | ||
+ | As alternative to MQTT it is possible to address outputs directly by the HTTP protocol.\\ | ||
+ | ====Interface ID==== | ||
+ | The @Home Interface ID.\\ | ||
+ | ====Topic==== | ||
+ | The hostname prefixed with http: | ||
+ | < | ||
+ | http:// | ||
+ | </ | ||
+ | ====Parameter==== | ||
+ | {{ home: | ||
+ | The second ON/OFF fields represent the command string for ON and OFF. (User variables are supported.)\\ | ||
+ | ===Example=== | ||
+ | The Off command: | ||
+ | < | ||
+ | GET /30000/00 | ||
+ | </ | ||
+ | The On command: | ||
+ | < | ||
+ | GET /30000/01 | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | =====Links===== | ||
+ | * http:// | ||
+ | * https:// |
home/home-en.txt · Last modified: 2019/08/08 23:59 by 127.0.0.1