klausahrenberg / WThermostatBeca

Replaces original Tuya firmware on Beca thermostat with ESP8266 wifi module
397 stars 97 forks source link

Build toolchain #296

Open cparg opened 1 year ago

cparg commented 1 year ago

Hello, the build instructions only mention Arduino or Atom IDE and a broken link to some library dependencies. Can you provide some more information (or point me to) how to build the firmware ? Does it build also for a BHT-002 that has a CB3S module with an Beken BK7231N MCU ? Many thanks Chris

cparg commented 1 year ago

I stepped back to use a plain ESP32 (on a NodeMCU v2). Still the build process lacks a Timer.h include file. Does anybody have a hint where this is supposed to come from ?

Compiling .pio/build/nodemcuv2/libf13/ESP8266WiFi/ESP8266WiFiMulti.cpp.o
In file included from src/WThermostat.cpp:3:

src/WClock.h:15:10: fatal error: Time.h: No such file or directory

**************************************************************
* Looking for Time.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Time.h"
* Web  > https://registry.platformio.org/search?q=header:Time.h
*
**************************************************************

   15 | #include <Time.h>
      |          ^~~~~~~~
compilation terminated.
cparg commented 1 year ago

This is also fixed in latest version.

wardhou commented 10 months ago

Hello, does this code work on a BHT-002 that has a CB3S module with an Beken BK7231N MCU ? Does anyone has a builded firmware file, that i can flash on the CB3S module ?

g6094199 commented 10 months ago

no

then you have to go to: https://github.com/openshwprojects/OpenBK7231T_App