MQTT Topic trouble with ESPixelStick

Hello,

I am trying to set up a NodeMCU running ESPixelStick code by forkineye (https://github.com/forkineye). According to the instructions the state_topic can be set up as “porch/esps” for example and the command_topic: would be “porch/esps/set”. I have followed the instructions but without any luck. Just curious if anybody else might have had a similar issue and figured out how to add ESPixelStick to HA. Thanks.

you’ll need to post the code you used in HA for anyone to help you.

hi,

I am trying to go an mqtt.publish service using the below and it does not work.

{
  "topic": "pixel04/esps/set",
  "payload_template":{"state":"ON","color":{"r":255,"g":128,"b":64},"brightness":255,"effect":"solid","reverse":false,"mirror":false}
}

what does that mean?

I get the error

“Failed to call service mqtt/publish”

Where are you tryingto call the publish service from? The services tool or in an automation/script/?

The service tool… trying to use that to get the format for automation actually

Can someone help me with this

The way I setup one is like this:

On the pixelstick’s setup page I have the topic set as:

    diy/esps/greenthing

And in Hass’s config I have:

  - platform: mqtt
    schema: json
    name: "Front TV Greenary Thing"
    state_topic: "diy/esps/greenthing"
    command_topic: "diy/esps/greenthing/set"
    brightness: true
    rgb: true
    effect: true
    effect_list:
      - Solid
      - Blink
      - Flash
      - Rainbow
      - Chase
      - Fire flicker
      - Lightning
      - Breathe    

Hope this example helps.

My setup is the same. I am trying to get the syntax for automation to work where i can set different effects for different triggers as well as control brightness… all i can do now from HA is turn the strips on and off…

has no one been successful in this