I am doing a home automation project in which I should be able to control the lights on/off but more than that, the brightness of the lights.
I am using Home Assistant (not hassbian) and Node-Red along with MQTT.
I am using a normal bulb I purchased from a hardware store connected to a Sonoff ESP8266 and am able to use Node-RED to trigger a on and off state but am unsure how to trigger the specific brightness level.
Is it possible to control the brightness of any normal light that is made into a 'smart light' through the use of Sonoff? Or must they be devices that have that functionality made into the light itself.
(same for any other appliances, such as things such like a normal portable fan made into a smart fan through ESP8266 and controlling its speed.)