Improved MQTT connection handling; change dmotor default settings

This commit is contained in:
2018-03-18 23:16:02 +01:00
parent b9840e7882
commit dadab1d332
2 changed files with 39 additions and 20 deletions

View File

@@ -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"]