Skip to content

Commit e58f602

Browse files
committed
mqtt - update configs table
1 parent 0009a92 commit e58f602

File tree

2 files changed

+141
-4
lines changed

2 files changed

+141
-4
lines changed

mqtt/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ We recommend using X.509 client certificates, or at least MQTT `username`/`passw
7575
## Connect
7676

7777
| Project | With example model | Config
78-
| ------------- | ------------- | ----------
79-
| [OpenMQTTGateway](https://github.com/1technophile/OpenMQTTGateway) | [mqtt-omg](../.ric-models/mqtt-omg.ric-model.json) | -
80-
| [zigbee2mqtt](https://github.com/Koenkk/zigbee2mqtt) | [mqtt-zigbee2mqtt](../.ric-models/mqtt-zigbee2mqtt.ric-model.json) | -
81-
| [LoRa Server](https://github.com/brocaar/loraserver) | [mqtt-loraserver-td11](../.ric-models/mqtt-loraserver-td11.ric-model.json) | -
78+
| ------------- | ---------------------- | ----------
79+
| [OpenMQTTGateway](https://github.com/1technophile/OpenMQTTGateway) | [model.json](../.ric-models/mqtt-omg.ric-model.json) | -
80+
| [OctoPrint](https://octoprint.org/) | [model.json](./octoprint/model.json) | [config.yaml](./octoprint/config.yaml)
81+
| [zigbee2mqtt](https://github.com/Koenkk/zigbee2mqtt) | [model.json](./zigbee2mqtt/model.json) | [configuration.yaml](./zigbee2mqtt/configuration.yaml)
82+
| [LoRa Server](https://github.com/brocaar/loraserver) | [model.json](../.ric-models/mqtt-loraserver-td11.ric-model.json) | -

mqtt/zigbee2mqtt/model.json

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
{
2+
"id": "root",
3+
"base": "mqtt",
4+
"name": "zigbee2mqtt",
5+
"active": true,
6+
"type": "subsystem",
7+
"children": [
8+
{
9+
"id": "external-software-modules",
10+
"active": true,
11+
"copy": true,
12+
"type": "subsystem",
13+
"children": []
14+
},
15+
{
16+
"id": "params",
17+
"name": "Params",
18+
"active": true,
19+
"type": "subsystem",
20+
"children": [
21+
{
22+
"id": "temp",
23+
"name": "Temperature Sensor",
24+
"description": "WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor",
25+
"active": true,
26+
"type": "argument",
27+
"dataType": "object",
28+
"reference": "zigbee2mqtt/<Zigbree device IEEE addr here>",
29+
"source": "state",
30+
"children": [
31+
{
32+
"id": "temperature",
33+
"name": "Temperature",
34+
"active": true,
35+
"type": "argument",
36+
"source": "state",
37+
"dataType": "number",
38+
"unit": "temperature-celsius",
39+
"reference": "temp.temperature",
40+
"linear": true
41+
},
42+
{
43+
"id": "humidity",
44+
"name": "Humidity",
45+
"active": true,
46+
"type": "argument",
47+
"source": "state",
48+
"dataType": "number",
49+
"unit": "percent",
50+
"reference": "temp.humidity",
51+
"linear": true
52+
}
53+
]
54+
},
55+
{
56+
"id": "button",
57+
"name": "Button",
58+
"description": "WXKG01LM - Xiaomi MiJia wireless switch",
59+
"active": true,
60+
"type": "argument",
61+
"dataType": "object",
62+
"source": "state",
63+
"reference": "zigbee2mqtt/<Zigbree device IEEE addr here>",
64+
"children": [
65+
{
66+
"id": "click",
67+
"name": "Click",
68+
"active": true,
69+
"type": "argument",
70+
"dataType": "string",
71+
"reference": "button.click",
72+
"source": "state"
73+
}
74+
]
75+
},
76+
77+
78+
79+
80+
{
81+
"id": "server-info",
82+
"name": "Server information",
83+
"active": true,
84+
"type": "subsystem",
85+
"children": [
86+
{
87+
"id": "online",
88+
"name": "Online",
89+
"active": true,
90+
"type": "argument",
91+
"source": "state",
92+
"dataType": "boolean",
93+
"reference": "online"
94+
},
95+
{
96+
"id": "_ts",
97+
"name": "Time",
98+
"active": true,
99+
"type": "argument",
100+
"source": "state",
101+
"dataType": "number",
102+
"unit": "duration-microsecond",
103+
"reference": "_ts"
104+
}
105+
]
106+
},
107+
{
108+
"id": "mqtt-last",
109+
"name": "Last MQTT Publish",
110+
"active": true,
111+
"type": "subsystem",
112+
"children": [
113+
{
114+
"id": "topic",
115+
"name": "Topic",
116+
"active": true,
117+
"type": "argument",
118+
"source": "state",
119+
"dataType": "string",
120+
"reference": "topic"
121+
},
122+
{
123+
"id": "payload",
124+
"name": "Payload",
125+
"active": true,
126+
"type": "argument",
127+
"source": "state",
128+
"dataType": "string",
129+
"reference": "payload"
130+
}
131+
]
132+
}
133+
]
134+
}
135+
]
136+
}

0 commit comments

Comments
 (0)