Page 17 of 26

Re: thermostat with Oled display

Posted: Thu Jul 16, 2020 9:09 am
by mechatronikaPL
Did someone tried to make a PCB project for this system?
I've made it on universall proto board but It would be great to make it look even more professional :D

Re: thermostat with Oled display

Posted: Sat Jul 18, 2020 5:54 pm
by eradek
I will be ordering this pretty soon, please feel free to validate. Board is designed for Kradex Z101 case.

https://easyeda.com/rochalski/supla_thermostat
Screen Shot 2020-07-18 at 7.52.35 PM.png
Screen Shot 2020-07-18 at 7.52.35 PM.png (621.02 KiB) Viewed 4834 times

Re: thermostat with Oled display

Posted: Sun Jul 26, 2020 6:51 pm
by camel_corp
Wtam i prosze o wyrozumiałość dla początkującego.
Może mi ktoś pomóc z kompilacją dla tego projektu ....... mam cały czas ten sam błąd:

UWAGA: biblioteka SuplaDevice działa na architekturze(/architekturach) avr i może nie być kompatybilna z obecną płytką która działa na architekturze(/architekturach) esp8266.
In file included from I:\SUPLA\projekty\termostat supla\supla_Termostst_oled_dimm_V04\supla_Termostst_oled_dimm_V04\supla_Termostst_oled_dimm_V04.ino:11:0:
C:\Users\pc-dom\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\pc-dom\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:48:0,
from I:\SUPLA\projekty\termostat supla\supla_Termostst_oled_dimm_V04\supla_Termostst_oled_dimm_V04\supla_Termostst_oled_dimm_V04.ino:7:
C:\Users\pc-dom\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\libraries\ESP8266WebServer\src/ESP8266WebServer.h:265: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 WeMos D1 R1.

Byłbym wdzięczny za wszelkie podpowiedzi.

Re: thermostat with Oled display

Posted: Sun Jul 26, 2020 7:46 pm
by elmaya
libraries are included in the download of the first post.
link:
https://en-forum.supla.org/download/file.php?id=7272

read the first line of the code carefully!

Re: thermostat with Oled display

Posted: Thu Jul 30, 2020 2:55 pm
by camel_corp
Cały czas pracuje na wskazanych bibliotekach. to nie zmienia jednak faktu że mam zawsze ten sam bład przy kompilacji. Nikt nie miał podobnego błędu ? Może już ktoś przerobił temat.

Re: thermostat with Oled display

Posted: Thu Jul 30, 2020 3:11 pm
by elmaya
camel_corp wrote: Thu Jul 30, 2020 2:55 pm Cały czas pracuje na wskazanych bibliotekach. to nie zmienia jednak faktu że mam zawsze ten sam bład przy kompilacji. Nikt nie miał podobnego błędu ? Może już ktoś przerobił temat.
I repeat that it is specified in the code line 1.

Code: Select all

// ---- esp board manager 2.4.2 ---
you are clearly using 2.7.2 and this is your mistake

Re: thermostat with Oled display

Posted: Wed Aug 05, 2020 5:27 pm
by camel_corp
Dziękuje za pomoc i podpowiedzi. Termometr uruchomiony.

Re: thermostat with Oled display

Posted: Wed Aug 05, 2020 7:48 pm
by TheQuiet
Witam, mam problem z tym projektem mianowicie taki, że w aplikacji Supla nie mam ikon/przełaczników oprócz dwóch termometrów, które Supla pewnie wygenerowała sama... Domyślam się że czegoś jeszcze nie wgrałem, ale nie do końca wiem co jak. Czy ikony w formanie .png mam wgrać do Wemosa?

Re: thermostat with Oled display

Posted: Wed Aug 05, 2020 8:11 pm
by elmaya
in Supla cloud set the first three channels of the device as a switch

Re: thermostat with Oled display

Posted: Wed Aug 05, 2020 8:45 pm
by TheQuiet
Nie wiedziałem że to takie proste. Dzięki :D