Supla lc technology relay

Post Reply
elmaya
Posts: 813
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Sat Feb 29, 2020 1:05 pm

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.
LC4x.jpeg
LC4x.jpeg (87.22 KiB) Viewed 1226 times
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_4x_DOUT_8Mbit.rar
(409.5 KiB) Downloaded 19 times
elmaya
Posts: 813
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Tue Mar 03, 2020 1:07 pm

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

Supla_LC_4x_Button_DOUT_8Mbit.rar
(410.19 KiB) Downloaded 29 times
User avatar
klew
Posts: 824
Joined: Thu Jun 27, 2019 12:16 pm

Wed Mar 04, 2020 12:19 pm

Where can I find sources?
elmaya
Posts: 813
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Fri Mar 06, 2020 2:21 pm

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.


Supla_LC_4x_Bu4_DOUT_8Mbit.rar
(410.36 KiB) Downloaded 16 times
Maxio
Posts: 11
Joined: Sat Mar 21, 2020 11:56 am

Sat Mar 21, 2020 6:23 pm

mam kilka pytań odnośnie tegfo firmware:
czy można i jak skonfigurować samemu gpio?
ja sterować z aplikacji supla by przełączać przekaźniki np światła?
z góry dziękuję
elmaya
Posts: 813
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Sat Mar 21, 2020 6:39 pm

Maxio wrote:
Sat Mar 21, 2020 6:23 pm
can I configure gpio by myself?
I control from the supl application to switch relays eg lights?
there is no free Gpio and you cannot configure.
I guess you know that relays are controlled by Rx-Tx.
control from Supla App or cloud
Scorcerer
Posts: 6
Joined: Thu May 23, 2019 4:09 pm

Wed May 20, 2020 6:53 pm

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....
Attachments
IMG_20200520_204221.jpg
IMG_20200520_204221.jpg (4.77 MiB) Viewed 200 times
elmaya
Posts: 813
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Wed May 20, 2020 7:16 pm

the software is fully compatible
but you will only have 2 relay channels, disconnect the others in Supla cloud.
Post Reply