@@ -13,45 +13,45 @@ mbmd run [flags]
1313### Options
1414
1515```
16- --api string REST API url. Use 127.0.0.1:8080 to limit to localhost. (default "0.0.0.0:8080")
17- -d, --devices strings MODBUS device type and ID to query, multiple devices separated by comma or by repeating the flag.
18- Example: -d SDM:1,SDM:2 -d DZG:1.
19- Valid types are:
20- RTU
21- ABB ABB A/B-Series meters
22- DZG DZG Metering GmbH DVH4013 meters
23- IEM3000 Schneider Electric iEM3000 series
24- INEPRO Inepro Metering Pro 380
25- JANITZA Janitza B-Series meters
26- MPM Bernecker Engineering MPM3PM meters
27- ORNO1P ORNO WE-514 & WE-515
28- ORNO3P ORNO WE-516 & WE-517
29- SBC Saia Burgess Controls ALE3 meters
30- SDM Eastron SDM630
31- SDM220 Eastron SDM220
32- SDM230 Eastron SDM230
33- SDM72 Eastron SDM72
34- TCP
35- SUNS Sunspec-compatible MODBUS TCP device (SMA, SolarEdge, KOSTAL, etc)
36- To use an adapter different from default, append RTU device or TCP address separated by @.
37- If the adapter is a TCP connection (identified by :port), the device type (SUNS) is ignored and
38- any type is considered valid.
39- Example: -d SDM:1@/dev/USB11 -d SMA:126@localhost:502
40- --influx-database string InfluxDB database
41- --influx-interval duration InfluxDB write interval (default 30s )
42- --influx-measurement string InfluxDB measurement (default "data")
43- --influx-password string InfluxDB password (optional)
44- --influx-precision string InfluxDB precision (default "s" )
45- -i, --influx-url string InfluxDB URL. ex: http://10.10.1.1:8086
46- --influx-user string InfluxDB user (optional)
47- -m, --mqtt-broker string MQTT broker URI. ex: tcp://10.10.1.1:1883
48- --mqtt-clientid string MQTT client id (default "mbmd")
49- --mqtt-homie string MQTT Homie IoT discovery base topic (homieiot.github.io). Set empty to disable. (default "homie")
50- --mqtt-password string MQTT password (optional)
51- --mqtt-qos int MQTT quality of service 0,1,2 (default 0)
52- --mqtt-topic string MQTT root topic. Set empty to disable publishing. (default "mbmd")
53- --mqtt-user string MQTT user (optional)
54- -r, --rate duration Rate limit. Devices will not be queried more often than rate limit. (default 1s)
16+ --api string REST API url. Use 127.0.0.1:8080 to limit to localhost. (default "0.0.0.0:8080")
17+ -d, --devices strings MODBUS device type and ID to query, multiple devices separated by comma or by repeating the flag.
18+ Example: -d SDM:1,SDM:2 -d DZG:1.
19+ Valid types are:
20+ RTU
21+ ABB ABB A/B-Series meters
22+ DZG DZG Metering GmbH DVH4013 meters
23+ IEM3000 Schneider Electric iEM3000 series
24+ INEPRO Inepro Metering Pro 380
25+ JANITZA Janitza B-Series meters
26+ MPM Bernecker Engineering MPM3PM meters
27+ ORNO1P ORNO WE-514 & WE-515
28+ ORNO3P ORNO WE-516 & WE-517
29+ SBC Saia Burgess Controls ALE3 meters
30+ SDM Eastron SDM630
31+ SDM220 Eastron SDM220
32+ SDM230 Eastron SDM230
33+ SDM72 Eastron SDM72
34+ TCP
35+ SUNS Sunspec-compatible MODBUS TCP device (SMA, SolarEdge, KOSTAL, etc)
36+ To use an adapter different from default, append RTU device or TCP address separated by @.
37+ If the adapter is a TCP connection (identified by :port), the device type (SUNS) is ignored and
38+ any type is considered valid.
39+ Example: -d SDM:1@/dev/USB11 -d SMA:126@localhost:502
40+ --influx-database string InfluxDB database
41+ --influx-measurement string InfluxDB measurement (default "data" )
42+ --influx-organization string InfluxDB organization
43+ --influx-password string InfluxDB password (optional)
44+ --influx-token string InfluxDB token (optional )
45+ -i, --influx-url string InfluxDB URL. ex: http://10.10.1.1:8086
46+ --influx-user string InfluxDB user (optional)
47+ -m, --mqtt-broker string MQTT broker URI. ex: tcp://10.10.1.1:1883
48+ --mqtt-clientid string MQTT client id (default "mbmd")
49+ --mqtt-homie string MQTT Homie IoT discovery base topic (homieiot.github.io). Set empty to disable. (default "homie")
50+ --mqtt-password string MQTT password (optional)
51+ --mqtt-qos int MQTT quality of service 0,1,2 (default 0)
52+ --mqtt-topic string MQTT root topic. Set empty to disable publishing. (default "mbmd")
53+ --mqtt-user string MQTT user (optional)
54+ -r, --rate duration Rate limit. Devices will not be queried more often than rate limit. (default 1s)
5555```
5656
5757### Options inherited from parent commands
0 commit comments