MQTT colour slider / chooser

Begonnen von andyclimb, 25 April 2015, 21:49:24

Vorheriges Thema - Nächstes Thema

andyclimb

I'd like to set up a slider or three sliders RGB.. and have an MQTT MSG sent in the form

LED=R,G,B to topic NODE-ESP......

I'm struggling... even to get a msg sent to a topic of my choosing.
Anyone have any experience with MQTT and this.....

A
AM

andyclimb

I've figured out how to get a colour picker working very nicely. 

What I've not figured out is how to send out an MQTT msg.

How do I configure a MQTT_DEVICE to send out the state of a dummy variable as a message with a particular topic?
AM