Comments (8)
Ok, the dafault is GPIO5 for TX and GPIO23 for RX. However, esp32 takes more power then Wemos. Powering from the EMS bus requires adding a capacitor on the step-down input. Now I have a stable and fast boiler controller. Thank you for your help.
Tom
from ems-esp32.
If connected to USB you can edit the pio_local.ini
and add (check your com-port):
[env:esp32]
upload_protocol = esptool
upload_port = COM13
upload_flags =
and than use platformio upload
from ems-esp32.
that's it. The command to use is pio run -t upload
from ems-esp32.
Thanks, but I can't compile it. I'm not PIO expert, so it looks like wrong path or incorrect library.
I'm getting:
Compiling .pio\build\esp32\src\console.cpp.o
In file included from src\emsesp.h:36:0,
from src\EMSESPDevicesService.cpp:20:
lib/framework/ESP8266React.h:33:21: fatal error: WWWData.h: No such file or directory
*****************************************************************
* Looking for WWWData.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:WWWData.h"
* Web > https://platformio.org/lib/search?query=header:WWWData.h
*
*****************************************************************
In file included from src\emsesp.h:36:0,
from src\EMSESPSettingsService.cpp:20:
lib/framework/ESP8266React.h:33:21: fatal error: WWWData.h: No such file or directory
*****************************************************************
* Looking for WWWData.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:WWWData.h"
* Web > https://platformio.org/lib/search?query=header:WWWData.h
*
*****************************************************************
In file included from src\emsesp.h:36:0,
from src\EMSESPStatusService.cpp:20:
lib/framework/ESP8266React.h:33:21: fatal error: WWWData.h: No such file or directory
*****************************************************************
* Looking for WWWData.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:WWWData.h"
* Web > https://platformio.org/lib/search?query=header:WWWData.h
*
*****************************************************************
compilation terminated.
compilation terminated.
compilation terminated.
In file included from src\emsesp.h:36:0,
from src\console.cpp:20:
lib/framework/ESP8266React.h:33:21: fatal error: WWWData.h: No such file or directory
*****************************************************************
* Looking for WWWData.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:WWWData.h"
* Web > https://platformio.org/lib/search?query=header:WWWData.h
*
*****************************************************************
compilation terminated.
*** [.pio\build\esp32\src\EMSESPSettingsService.cpp.o] Error 1
*** [.pio\build\esp32\src\EMSESPStatusService.cpp.o] Error 1
*** [.pio\build\esp32\src\EMSESPDevicesService.cpp.o] Error 1
*** [.pio\build\esp32\src\console.cpp.o] Error 1
================================================================================================== [FAILED] Took 11.62 seconds ==================================================================================================
Environment Status Duration
------------- -------- ------------
esp8266 IGNORED
esp32 FAILED 00:00:11.617
============================================================================================= 1 failed, 0 succeeded in 00:00:11.617 =============================================================================================The terminal process "C:\Users\CP24\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
from ems-esp32.
The missing file is generated by a script which platformio calls. What I'll do is create a script that uploads it to usb
from ems-esp32.
@sq4bja the missing file is the webdata which is build by NPM. If NPM is missing you have to install nodejs
from ems-esp32.
Ok, that was clue. After install nodejs I have no errors and I have ems-esp on ESP32 directly from PlatformIO. So, which pins are recommended to do EMS communication?
Tom
from ems-esp32.
The defaults should work. Any pin on the ESP32 can be a UART Rx/Tx.
On a Wemos D1-32 Michael uses Rx=23(D7), Tx=5(D8) and on my Lolin D32's I used Rx=17 and Tx=16. But any should work.
from ems-esp32.
Related Issues (20)
- Firmware 3.6.4 is downgrading after restart or power loss HOT 2
- Bug mqtt.cpp HOT 1
- how to flash ESP32-S2 mini HOT 2
- Missing Parameter: Start / Stop Temperature HOT 5
- send MQTT heartbeat immediately on EMS-ESP boot so it can be detected by HA HOT 1
- Static IP not working with Ethernet HOT 1
- 2 warm water circuits HOT 19
- Reading temperaturesensor via API - 3.6.5-dev.15 HOT 2
- Expose the device restart function via HA API HOT 3
- Worcester-Bosch Greenstar weather compensation support HOT 19
- dns ipv6/ipv4 issue with tasmota builds HOT 9
- EMS-ESP randomly reverts from firmware 3.6.4 back to firmware 3.5.1 HOT 5
- Incorrect switching of "controlmode" entity of CW100 thermostat HOT 8
- Fix missing log entries in web HOT 5
- Can't load the web interface with 3.6.5_dev_17 HOT 8
- add telnet command to reboot to previous version HOT 1
- [Junkers Cerapur Compact] Missing 0x22 telegram interpreter HOT 10
- Enable/Disable services via the Telnet HOT 2
- Regular poll requests for invalid telegrams are within error log HOT 8
- Refresh UI - moving settings to one location HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ems-esp32.