Please Help, esp8266 with Rotary encoder and dimmer module. Any advice programming espeasy.
Posted: 13 Feb 2018, 00:52
Hi Everyone,
I have spent some time now researching the best method to achieve the results I would like from this project. Basically, I would like to use a esp8266 with espeasy software with a rotary encoder and dimmer module attached. The Idea is that the esp running espeasy is programmed in the rules that if I turn on the light switch or change the dimming settings. This is done through the esp8266 but also sends a message to my mqtt server which then relays the message to homeassisant. Espeasy also needs to be programmed to change the dimming or turn on off the light after receiving a message from the mqtt server.
So far I have flashed a esp8266 node mcu with easyesp. But after reading espeasy wiki page it says it supports rotary encoders but I can find the switch type.
If anyone could help get me started it would be a big help. Right now I can't even add a rotary encoder installed to espeasy. I still then need to make rules and figure out how I send the pwm settings in a mqtt message 2 ways as described above. I hoping the community might help me on my way
Parts
Node mcu v1 esp8266 (flashed with Espeasy v2.0)
Keyes Rotary encoder
240v - 5v Stepdown
RobotDyn AC Light Dimmer Module
I have spent some time now researching the best method to achieve the results I would like from this project. Basically, I would like to use a esp8266 with espeasy software with a rotary encoder and dimmer module attached. The Idea is that the esp running espeasy is programmed in the rules that if I turn on the light switch or change the dimming settings. This is done through the esp8266 but also sends a message to my mqtt server which then relays the message to homeassisant. Espeasy also needs to be programmed to change the dimming or turn on off the light after receiving a message from the mqtt server.
So far I have flashed a esp8266 node mcu with easyesp. But after reading espeasy wiki page it says it supports rotary encoders but I can find the switch type.
If anyone could help get me started it would be a big help. Right now I can't even add a rotary encoder installed to espeasy. I still then need to make rules and figure out how I send the pwm settings in a mqtt message 2 ways as described above. I hoping the community might help me on my way
Parts
Node mcu v1 esp8266 (flashed with Espeasy v2.0)
Keyes Rotary encoder
240v - 5v Stepdown
RobotDyn AC Light Dimmer Module