thermostat with settings from the Supla app

jaros12
Posts: 33
Joined: Sat Feb 22, 2020 12:03 pm
Location: Warszawa

Hello,
does this additional D5 relay work? Anyone installing? On my Nodemcu, the thermostat works OK, and this additional one does not respond at all ... I uploaded the finished @elmaja file and it also does not work.
Regards
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

jaros12 wrote: Sun Mar 01, 2020 3:18 pm Hello,
does this additional D5 relay work? Anyone installing? On my Nodemcu, the thermostat works OK, and this additional one does not respond at all ... I uploaded the finished @elmaja file and it also does not work.
Regards
Can't you see the channel in the App?
do you see it but it doesn't change?
jaros12
Posts: 33
Joined: Sat Feb 22, 2020 12:03 pm
Location: Warszawa

The relay channel is visible in Supla, it just doesn't switch.
Nodemcu is OK after replacing Gpio, the thermostat works correctly also on the second output.
User avatar
kris.sg
Posts: 372
Joined: Mon Aug 07, 2017 8:08 pm
Location: Przezchlebie

Hi Elmaya
Can you share your SuplaDevice library
I try compile but it give error:

Code: Select all

'class SuplaDeviceClass' has no member named 'channelDoubleValueChanged'
b.r.
Kris
■Rpi4(m.2) Supla Cloud, Scripts ■Rpi3(sd) SD: 6x MI ATC, 1x W.S.
ROLETY_V3 x12 ■SWITCH_DUAL x4 ■GATE_MODULE_V3 x1 ■SOCKET_SSR x1 ■SMOKE_MODULE x1
SONOFF_TOUCH x4 ■YUNSCHAN x1 ■STAITCASE_DIMMER x1 ■MEW-01 x2 ■mROW-02 x1 ■LEW-01 x1
POW_R2 x2 ■SP111 x3
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

kris.sg wrote: Wed Mar 25, 2020 4:58 pm Hi Elmaya
Can you share your SuplaDevice library
I try compile but it give error:

Code: Select all

'class SuplaDeviceClass' has no member named 'channelDoubleValueChanged'
b.r.
Kris
is the usual Supla 1.6.1 library.

https://github.com/SUPLA/arduino
User avatar
kris.sg
Posts: 372
Joined: Mon Aug 07, 2017 8:08 pm
Location: Przezchlebie

thx for the help
i replace supladevice lib but there is another problem:

Code: Select all

In file included from C:\Users\Kris\Documents\Arduino\Supla_termostat\supla_termostat.ino:11:0:

C:\Users\Kris\Documents\Arduino\libraries\ESPEFC-master\src/ESPEFC.h:4:7: error: using typedef-name 'using ESP8266WebServer = class esp8266webserver::ESP8266WebServerTemplate<WiFiServer>' after 'class'

 class ESP8266WebServer;

       ^

In file included from C:\Users\Kris\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:48:0,

                 from C:\Users\Kris\Documents\Arduino\Supla_termostat\supla_termostat.ino:7:

C:\Users\Kris\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\libraries\ESP8266WebServer\src/ESP8266WebServer.h:229:80: note: 'using ESP8266WebServer = class esp8266webserver::ESP8266WebServerTemplate<WiFiServer>' has a previous declaration here

 using ESP8266WebServer = esp8266webserver::ESP8266WebServerTemplate<WiFiServer>;

                                                                                ^

exit status 1
Błąd kompilacji dla płytki Generic ESP8266 Module.
■Rpi4(m.2) Supla Cloud, Scripts ■Rpi3(sd) SD: 6x MI ATC, 1x W.S.
ROLETY_V3 x12 ■SWITCH_DUAL x4 ■GATE_MODULE_V3 x1 ■SOCKET_SSR x1 ■SMOKE_MODULE x1
SONOFF_TOUCH x4 ■YUNSCHAN x1 ■STAITCASE_DIMMER x1 ■MEW-01 x2 ■mROW-02 x1 ■LEW-01 x1
POW_R2 x2 ■SP111 x3
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

kris.sg wrote: Thu Mar 26, 2020 9:44 am thx for the help
i replace supladevice lib but there is another problem:

Code: Select all

In file included from C:\Users\Kris\Documents\Arduino\Supla_termostat\supla_termostat.ino:11:0:

C:\Users\Kris\Documents\Arduino\libraries\ESPEFC-master\src/ESPEFC.h:4:7: error: using typedef-name 'using ESP8266WebServer = class esp8266webserver::ESP8266WebServerTemplate<WiFiServer>' after 'class'

 class ESP8266WebServer;

       ^

In file included from C:\Users\Kris\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:48:0,

                 from C:\Users\Kris\Documents\Arduino\Supla_termostat\supla_termostat.ino:7:

C:\Users\Kris\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\libraries\ESP8266WebServer\src/ESP8266WebServer.h:229:80: note: 'using ESP8266WebServer = class esp8266webserver::ESP8266WebServerTemplate<WiFiServer>' has a previous declaration here

 using ESP8266WebServer = esp8266webserver::ESP8266WebServerTemplate<WiFiServer>;

                                                                                ^

exit status 1
Błąd kompilacji dla płytki Generic ESP8266 Module.
If you read attentively the first line of the code you will see ---- esp board manager 2.4.2 --- iwip Variant V2 higher Bandwidth.
you have 2.6.2 (change it).

attached ESPEFC library
ESPEFC-master.rar
(3.35 KiB) Downloaded 205 times
User avatar
kris.sg
Posts: 372
Joined: Mon Aug 07, 2017 8:08 pm
Location: Przezchlebie

now everything is ok
thx Elmaya
my mystake, I thought there might be a higher version board manager :)
■Rpi4(m.2) Supla Cloud, Scripts ■Rpi3(sd) SD: 6x MI ATC, 1x W.S.
ROLETY_V3 x12 ■SWITCH_DUAL x4 ■GATE_MODULE_V3 x1 ■SOCKET_SSR x1 ■SMOKE_MODULE x1
SONOFF_TOUCH x4 ■YUNSCHAN x1 ■STAITCASE_DIMMER x1 ■MEW-01 x2 ■mROW-02 x1 ■LEW-01 x1
POW_R2 x2 ■SP111 x3
User avatar
Daro1003
Posts: 114
Joined: Fri Jan 18, 2019 6:22 am

Is it possible for the author to expand the thermostat with cooling functions? So that the thermostat can choose the heating / cooling mode.
Currently the thermostat has turned on if the temperature drops below the one set on the thermostat and will turn off if the temperature reaches the set temperature.
I need the thermostat to turn on if the temperature on the DS18B20 sensor reaches a higher level than the setpoint and to turn off if the temperature on the sensor drops below the setpoint.
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post Reply

Return to “Ideas and concepts”