@willelmes wrote:
Just starting out with HA. Using mosquitto for MQTT. I have two (more, but can’t get two going:( ) Feit bulbs flashed to Tasmota. basementLight1 and basementLight2. Both show up in the HA gui but the second one says it is unavailable. The config is identical. Both work with the Tasmota web interface. I am at a loss…any help greatly appreciated.
`# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
base_url: example.duckdns.org:8123
Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yamllight:
platform: mqtt
name: “Basement Light 1”
command_topic: “cmnd/basementLight1/POWER”
state_topic: “tele/basementLight1/STATE”
state_value_template: “{{value_json.POWER}}”
availability_topic: “tele/basementLight1/LWT”
brightness_command_topic: “cmnd/basementLight1/Dimmer”
brightness_state_topic: “tele/basementLight1/STATE”
brightness_scale: 100
on_command_type: “brightness”
brightness_value_template: “{{value_json.Dimmer}}”
color_temp_command_topic: “cmnd/basementLight1/CT”
color_temp_state_topic: “tele/basementLight1/STATE”
color_temp_value_template: “{{value_json.CT}}”
rgb_command_topic: “cmnd/basementLight1/Color2”
rgb_state_topic: “tele/basementLight1/STATE”
rgb_value_template: “{{value_json.Color.split(’,’)[0:3]|join(’,’)}}”
payload_on: “ON”
payload_off: “OFF”
payload_available: “Online”
payload_not_available: “Offline”
qos: 1
retain: falseplatform: mqtt
name: “Basement Light 2”
command_topic: “cmnd/basementLight2/POWER”
state_topic: “tele/basementLight2/STATE”
state_value_template: “{{value_json.POWER}}”
availability_topic: “tele/basementLight2/LWT”
brightness_command_topic: “cmnd/basementLight2/Dimmer”
brightness_state_topic: “tele/basementLight2/STATE”
brightness_scale: 100
on_command_type: “brightness”
brightness_value_template: “{{value_json.Dimmer}}”
color_temp_command_topic: “cmnd/basementLight2/CT”
color_temp_state_topic: “tele/basementLight2/STATE”
color_temp_value_template: “{{value_json.CT}}”
rgb_command_topic: “cmnd/basementLight2/Color2”
rgb_state_topic: “tele/basementLight2/STATE”
rgb_value_template: “{{value_json.Color.split(’,’)[0:3]|join(’,’)}}”
payload_on: “ON”
payload_off: “OFF”
payload_available: “Online”
payload_not_available: “Offline”
qos: 1
retain: false`
Posts: 1
Participants: 1