MQTT light dimmer with homeassistant

Hi

I have created an input_number in my home-assistant panel and it sends messages to my MQTT server successfully.And I can give this messages with my NodeMCU module.
But I dont have any idea that what should I do after recieving messages to dim a light.I mean what should I do after recieving messages

You need to create an automation that sets the lights brightness.
See my post here - this is my HA config for my esp8266 based dimmer.

Actually re-reading your post I think I misunderstood.
Are you asking how to implement an MQTT controlled dimmer to dim normal non-smart bulbs?

1 Like