Closed NijzinkM closed 4 years ago
Hi! Thanks for reporting. What board configuration are you using?
Hello Jiří,
This is my board config:
I also tried other flash sizes and IwIP variants. The self-test example runs successfully.
The circuit is not connected to the real boiler and thermostat yet. I want to make sure everything works before I install the gateway.
When I short the therm terminal to the boiler terminal with two wires, the same exception occurs at OPENTHERM::_listen()
Espressif says that exception(0) can be thrown because of a wild pointer.
By adding some print statements to the library, I found that the problem is related to issue #8. The program got stuck because the timeout was not called. I'll create a pull request so you can review the small changes I made to fix the timeout issue, because you probably know better than me if it will hit other parts of the code.
Thank you! I am really looking forward to it!
Unfortunately, the problem has returned because _timerISR
is called continuously with _mode
MODE_READ
when master_in is HIGH. In this case, the timeout is never called. Should a read timeout also be implemented? Or should master_in be held LOW manually when testing? I think the latter will also solve the problem.
When testing my ESP8266 build the code seems to run fine, but when connecting the 24V adapter, after about 15 seconds this exception occurs:
I really don't know what this means and how to solve it. When I use one of the examples, the error doesn't occur, so I think it has something to do with the combination of Opentherm communication and WiFi communication.
This is my sketch:
Spent half a day on this already.