sidoh / esp8266_milight_hub

Replacement for a Milight/LimitlessLED hub hosted on an ESP8266

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTT setup example

axelrathey opened this issue · comments

commented

Hi,

Can you give a setup example to use it with mosquitto MQTT broker.
Are there wildcards in the mqtt pattern allowed?
What is the difference between "MQTT update topic pattern" and "MQTT status topic pattern" and "MQTT Client Status Topic"?

I tried different things but there ist nothing else as $SYS to bee seen on mosquitto MQTT broker. Other MQTT clients like instar camera works on my mosquitto.

I tried something like "milight/0x155C/#" for the pattern

Thanks Axel

Client Status => connected; ip etc

here is how it look in my broker:
image

and the settings:
image
image

Update = latest change
State = current state (eg on/off; brightnesd bulb_mode; color; device type

image

commented

Hi Linkenelis,
tanks a lot, now it works. The cmnd ist to switch the lamps from within mqtt?
Axel

Hi Linkenelis, tanks a lot, now it works. The cmnd ist to switch the lamps from within mqtt? Axel
Yes.
For me I use UDP for commands, but MQTT should work.