Improved MQTT connection handling; change dmotor default settings
This commit is contained in:
3
mos.yml
3
mos.yml
@@ -33,11 +33,12 @@ config_schema:
|
||||
- ["i2c.scl_gpio", 5] # D1
|
||||
- ["flashLight", "o", {title: "Flash light / alarm light settings"}]
|
||||
- ["flashLight.address", "i", 0x30, {title: "i2c address of motor controller TB6612 (e.g. WEMOS)"}]
|
||||
- ["flashLight.motorFrequency", "i", 100, {title: "Frequency of PWM in kHz"}]
|
||||
- ["flashLight.mqttCtrlTopic", "s", "flashLight/%s/ctrl", {title: "MQTT channel to subscribe to receive commands; %s is replaced by clientId"}]
|
||||
- ["flashLight.mqttStatusTopic", "s", "flashLight/%s/status", {title: "MQTT channel to publish to send status change infos; %s is replaced by clientId"}]
|
||||
|
||||
- ["mqtt.enable", true]
|
||||
- ["mqtt.server", "mqtt.pmpark.de:41883"]
|
||||
- ["mqtt.server", "mqtt.pmpark.de:1883"]
|
||||
- ["mqtt.user", "default"]
|
||||
- ["mqtt.pass", "12345678"]
|
||||
- ["mqtt.will_message", "offline"]
|
||||
|
||||
Reference in New Issue
Block a user