klausahrenberg / WThermostatBeca

Replaces original Tuya firmware on Beca thermostat with ESP8266 wifi module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build toolchain

cparg opened this issue · comments

commented

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

commented

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.
commented

This is also fixed in latest version.

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 ?