Supla relay x4 lc technology
"compatible with x2 and x1 on models that have the 2 buttons S1 and S2"
4-channel relay and a DS18B20 temperature channel on Gpio2 (needs pullup 4,7kohm)
The module must always be in mode2 (Red LED D7 on) and we shut not press S1 mode1 (Blue LED D5 on).
If it is in mode1 (Blue LED D5 on) we have to press and hold S2 while connecting it to the power supply (mode2 Red LED D7 on).
green LED D6 status:
flashing = not connected or connecting
on = connected (normal operation)
off = WiFiConfig.
S2 button = WiFiConfig.
Status memory for power outages: if there is an interuption in the module power when restarting it will be in the state before the cut.
To access the WiFi configuration mode, press S2.
When in WiFi configuration mode, the device enters WiFi access point mode and the green LED D6 turns off.
- Log in to https://cloud.supla.org (registration is free) and Activate registration for new device.
- Connect to the WiFi called "Supla_LC4" from any device with wireless network and an Internet browser.
- Open the Page: http://192.168.4.1
- Tap Configure WiFi.
- On the configuration page
- Select the Wi-Fi network at the top by pressing the appropriate one and then enter the password.
- enter the data to:
suplaServer (svrX.supla.org),
Email (registration email in supla),
Supla Device Name (name with which it will be seen in the cloud),
- To finish click on Save to save the configuration data.
Firmware update through the OTA web browser - http: // XX: 81 / update
xx = Device IP. For example http://192.168.1.22:81/update
User: admin
Password: pass
Supla lc technology relay
Added push button for local control on Gpio 0
Connect the button between Gpio 0 and Gnd
It allows toggle states of the 4 relays as follows:
click - relay 1
double click - relay 2
triple click - relay 3
long click - relay 4
Connect the button between Gpio 0 and Gnd
It allows toggle states of the 4 relays as follows:
click - relay 1
double click - relay 2
triple click - relay 3
long click - relay 4
Some improvements.
Click time has been increased to 800ms.
The time for long press has been increased 500ms.
1 click = relay 1
2 click = relay 2
3 click = reley 3
4 click = relay 4
Long press (more than 500 ms):
if any of the relays is active = turn off all.
if there is no active relay = turn on all.
Click time has been increased to 800ms.
The time for long press has been increased 500ms.
1 click = relay 1
2 click = relay 2
3 click = reley 3
4 click = relay 4
Long press (more than 500 ms):
if any of the relays is active = turn off all.
if there is no active relay = turn on all.
Hi elmaya,
i've recently gotten my hands on something similar (in attachment). The problem is, the primary chip governing the relays is a nuvoton n76e003at20, and as i understand it the ESP8266 on it provides just the wifi stuff.
Is it similar setup for the board you showed here? Can your firmware be somehow reused/adapted to cover my board too? I tried to figure out the pinology (:)), but looks like it's provided as-is without any additional data....
i've recently gotten my hands on something similar (in attachment). The problem is, the primary chip governing the relays is a nuvoton n76e003at20, and as i understand it the ESP8266 on it provides just the wifi stuff.
Is it similar setup for the board you showed here? Can your firmware be somehow reused/adapted to cover my board too? I tried to figure out the pinology (:)), but looks like it's provided as-is without any additional data....
- Attachments
-
- IMG_20200520_204221.jpg (4.77 MiB) Viewed 9887 times
- uchnast.michal
- Posts: 1074
- Joined: Tue Jun 04, 2019 11:37 am
Unfortunately work just once after flash. When i turn off and power again d6 led slowly blinking, relays doesn't respond.
e-talking............
Byłem tam - Supla Offline Party 2023
Byłem tam - Supla Offline Party 2023
Flashing D6 = conecting WiFi
for some reason it does not connect to the WiFi network.
Is the WiFi network within range?
have you cleaned the flash memory before uploading?
have you used the correct parameters to upload?
access WiFiConfig "press S2" and check the data.
In these modules it is also important that the power supply has sufficient power.
for some reason it does not connect to the WiFi network.
Is the WiFi network within range?
have you cleaned the flash memory before uploading?
have you used the correct parameters to upload?
access WiFiConfig "press S2" and check the data.
In these modules it is also important that the power supply has sufficient power.
As for the source code, since there isn't anything for supla yet, i just found this:
https://templates.blakadder.com/LC-ESP01-4R-5V.html
and a little bit better explained here:
https://community.home-assistant.io/t/4 ... ome/120594
Would be cool if it could be added to PrimaryGUI firmware, but i don't want to start new project atm![Sad :(](./images/smilies/icon_e_sad.gif)
https://templates.blakadder.com/LC-ESP01-4R-5V.html
and a little bit better explained here:
https://community.home-assistant.io/t/4 ... ome/120594
Would be cool if it could be added to PrimaryGUI firmware, but i don't want to start new project atm
![Sad :(](./images/smilies/icon_e_sad.gif)