Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

No response on MQTT "<HOSTNAME>/in" #480

Open
maxledfreak opened this issue Apr 13, 2020 · 1 comment
Open

No response on MQTT "<HOSTNAME>/in" #480

maxledfreak opened this issue Apr 13, 2020 · 1 comment

Comments

@maxledfreak
Copy link

Hello,

try to control LEDs over MQTT. If I chance parameter over web interface, messages on /out are published. Tested with MQTT.fx and iobroker. Message are like "OK %50". When I try to send on /in message like "%70" or other strings from API description, nothing hapens. Setup in code:
mclighting
Right know, I have no idea what is wrong with my setup, because receiving messages is no problem on 2 independent systems but not sending any commands.

Any idea what could be wrong with my setup?

greetings
max

@gitpower2017
Copy link

gitpower2017 commented Nov 30, 2020

Hello,

I had the same problem.
With the "homeassistant" path it works.

Set: home.HOSTNAME_ha.state.in
Answer: home.HOSTNAME_ha.state.out

in the answer you see the whole string:

{"state":"ON","segment":0,"color":{"r":255,"g":255,"b":0,"w":255,"r2":255,"g2":0,"b2":3,"w2":0,"r3":255,"g3": 179,"b3":0,"w3":0},"white_value":255,"brightness":255,"color_temp":327,"speed":100,"effect":"Static"}

You can set a subset: (for example)

{"color":{"r":255,"g":255,"b":0,"w":255},"brightness":"255","effect":"Static"}

I have the fork for the sk6812 and w: is the withe LED
or
{"brightness":8,"speed":10,"effect":"Rainbow Cycle"}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants