Example of using DimmerBase

elmaya
Posts: 1260
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Wed Jul 21, 2021 9:14 am

Code: Select all

dim1->setRGBW(-1, -1, -1, -1, 0);
User avatar
klew
Posts: 2642
Joined: Thu Jun 27, 2019 12:16 pm

Wed Jul 21, 2021 11:47 am

Easiest way is to connect manual button to ESP8266 with Supla and it will send proper command to your dimmer controller.

What are the other external controllers?
RNash2000
Posts: 7
Joined: Mon Jun 28, 2021 2:15 am

Wed Jul 21, 2021 3:31 pm

X10 technology uses a manually operated light switch that incorporates a receiver that can also except encoded signals over the power line.  Each switch uses a unique code. Different controllers  are used to send the signals. Some switches are able to report their state back over the line, some are not. But I am using the ESP8266 to control a  transmitter that sends the signals  to a RF receiver that sends the signal over the power line. The RF is a one way signal and cannot know the state of a manually operated switch.

Supra allows me to use Alexa voice to control these lights, but it is not sending an off command to a light that was turned on manually.

I am simply using zero "brightness" to equal an off command, anything over zero is on, and dimming level is set by "brightness".

For more info on X10 see:
https://www.smarthome.com/pages/sc-what ... automation
Post Reply

Return to “Help”