• 2
    Flash NodeMCU with Tasmota firmware
  • 3
    Add home assistant light

    configuration.yaml: 

    light: 
    
    # LEW WS2812b
      - platform: mqtt
        name: "Pablo's SmartLight"
        retain: false
        state_topic: "stat/psl/POWER"
        command_topic: "cmnd/psl/POWER"
        availability_topic: "tele/psl/LWT"
        qos: 1
        payload_on: "ON"
        payload_off: "OFF"
        payload_available: "Online"
        payload_not_available: "Offline"
        optimistic: false
        brightness_state_topic: "stat/psl/Dimmer"
        brightness_command_topic: "cmnd/psl/Dimmer"
        brightness_value_template: "{{ value_json.Dimmer }}"
        brightness_scale: 100
        rgb_state_topic: "stat/psl/Color"
        rgb_command_topic: "cmnd/psl/Color2"
        rgb_command_mode: hex
        rgb_command_template: "{{ '%02x%02x%02x' | format(red, green, blue)}}"
        effect_state_topic: "stat/psl/Scheme"
        effect_command_topic: "cmnd/psl/Scheme"
        effect_value_template: "{{ value_json.Scheme }}"
        effect_list:
            - 0
            - 2
            - 8
            - 9
            - 11
            - 12

    Effect list from Tasmota Schemes: https://github.com/arendst/Sonoff-Tasmota/wiki/Commands