设置方法
https://bbs.hassbian.com/forum.php?mod=viewthread&tid=419&highlight=Tasmota
日志
Setup failed for light/switch: Component not found.
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]下午2:06 setup.py (ERROR)
Unable to find component light/switch
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]下午2:06 loader.py (ERROR)
Ended unfinished session (id=37 from 2018-03-24 05:55:23.149395)
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]下午2:05 components/recorder/__init__.py (WARNING)
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]
configuration.yaml
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]配置如下
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]
light/switch:
- platform: mqtt
name: "light1"
state_topic: "stat/S1/POWER"
command_topic: "cmnd/S1/POWER"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
复制代码
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]Mosquitto broker
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))][color=var(--paper-card-header-color, #000)]Log
starting version 3.2.21521871503: mosquitto version 1.4.12 (build date 2017-06-01 13:03:48+0000) starting1521871503: Config loaded from /etc/mosquitto.conf.1521871503: Opening ipv4 listen socket on port 1883.1521871503: Opening ipv6 listen socket on port 1883.1521871503: Warning: Mosquitto should not be run as root/administrator.1521871513: New connection from 192.168.70.8 on port 1883.1521871513: New client connected from 192.168.70.8 as DVES_86F8C3 (c1, k15, u'testuser').
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]请问哪里出了问题?
[color=var(--paper-item-body-secondary-color, var(--secondary-text-color))]