yuhu- / ebus

C++ ebus library
GNU General Public License v3.0
2 stars 0 forks source link

Example to see how to implement an EBus master #1

Open carlessole opened 1 day ago

carlessole commented 1 day ago

Hi everyone,

I’ve just started working with the EBus protocol this week and came across this implementation, which I find really nice. I’m trying to port it to an ESP32. See: image

image

image

I’ve managed to get the code compiling and running on the ESP32 board, but I’ve hit a snag: my EBus thread is getting stuck in State::MonitorBus as by default in the EBus there is no communication.

For initialization, I’m following the steps from example provided in the demo_ebus example.

My goal is to implement an EBus Master that sends a request to an EBus Slave every 30 seconds and reads the response.

Am I missing something in the implementation or initialization?

Thanks in advance for your help!

Carles

yuhu- commented 1 day ago

Hi, are these screenshots the only changes?

Perhaps you would like to take a look at https://github.com/yuhu-/esp8266-arduino-ebus/tree/ebus