thermostat with adjustment from the app

jaros12
Posts: 6
Joined: Sat Feb 22, 2020 12:03 pm

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
elmaya
Posts: 707
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Mon Mar 02, 2020 10:33 am

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: 6
Joined: Sat Feb 22, 2020 12:03 pm

Mon Mar 02, 2020 11:11 am

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.
kris.sg
Posts: 135
Joined: Mon Aug 07, 2017 8:08 pm
Location: Przezchlebie

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
elmaya
Posts: 707
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Wed Mar 25, 2020 5:28 pm

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
kris.sg
Posts: 135
Joined: Mon Aug 07, 2017 8:08 pm
Location: Przezchlebie

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.
elmaya
Posts: 707
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Thu Mar 26, 2020 11:04 am

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 1 time
kris.sg
Posts: 135
Joined: Mon Aug 07, 2017 8:08 pm
Location: Przezchlebie

Thu Mar 26, 2020 1:01 pm

now everything is ok
thx Elmaya
my mystake, I thought there might be a higher version board manager :)
Post Reply