Comments (7)
The Wemos D1 Mini is based on the ESP8266, which is incompatible with the NefitSerial library.
The NefitSerial library is meant for use with Atmel AVR type Arduino's like the Uno and Mega.
Adaptation for the completely different chipset of the ESP8266 therefore needs considerable rework of the ESP Arduino library.
What you can do instead is use an Uno/Mega to interface with the EMS bus and the Wemos to transfer data to and from the Arduino with Wi-Fi.
from nefit-buderus-ems-bus-arduino-domoticz.
By the way the specific error you get usually means you did not include the library correctly.
So the library needs to be installed on your pc in the Arduino library directory. And afterwards you need to restart the Arduino IDE otherwise it can't see it.
But as just mentioned, you can't use this library with the ESP anyway.
from nefit-buderus-ems-bus-arduino-domoticz.
Yes, my fault, error which I have is Error compiling for board WeMos D1 R2 & mini.
I mean I asked badly.
If library nefitSerial is just little bit modified library HardwareSerial, what you mentioned here:
#3
could you help me/point me what needs to be change/add in library HardwareSerial.cpp for ESP8266
https://github.com/esp8266/Arduino/blob/master/cores/esp8266/HardwareSerial.cpp
to modify it same way as you modified AVR HardwareSerial library.
from nefit-buderus-ems-bus-arduino-domoticz.
The basic thing to do is to bring up the ESP8266 interrupt for frame error into the library, so you can add functions that can act on the occurrence of the frame error.
If you check the readme page of the NefitSerial library there is some more info on that.
You need to modify the core libraries uart and HardwareSerial.
The second thing you need to do is to figure out how to generate a frame error sequence on the low level ESP UART.
Both are not that straightforward to do. The original additions to the Atmel-type Arduino serial library might indeed seem simple but they took considerable work and testing by the creator to find out.
from nefit-buderus-ems-bus-arduino-domoticz.
thank you, I didnt notice README under Nefitserial
I found post about serialEvent implementation in ESP8266
esp8266/Arduino#2237
so I will try this way
from nefit-buderus-ems-bus-arduino-domoticz.
@mareksugar check out https://github.com/proddy/EMS-ESP-Boiler. I worked with bbqkees on the implementation of his circuit for the ESP8266
from nefit-buderus-ems-bus-arduino-domoticz.
thank you so much, it looks really interesting :)
from nefit-buderus-ems-bus-arduino-domoticz.
Related Issues (19)
- Not an issue, just a question.... HOT 1
- Help with RC35 Moduline 400 HOT 1
- Bosch EasyControl Adapter HOT 1
- Rx Tx label HOT 2
- CRC check not working for 080019 messages (UBAMonitorSlow) HOT 1
- Connection lost with Wemos HOT 2
- How can I write values? HOT 5
- Opentherm support HOT 1
- Heating ON
- Not function interface HOT 12
- What do I connect to vref? HOT 13
- Lost connection and capacitor C1 very hot HOT 3
- Schematic for new EMS Bus Wi-Fi Gateway? HOT 1
- what changes are made in the serial library HOT 48
- For loop error (forever loop)
- Link to schema is dead. HOT 2
- conflict_with_netifserial_and_sd HOT 7
- EBUS or EMS? HOT 1
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 nefit-buderus-ems-bus-arduino-domoticz.