Closed skoblov closed 9 months ago
I've quickly added button for the two commands currently defined in the spec. However, I'm currently unable to test them out myself, can you give them a try and let me know whether they work?
You can test the new functionality by updating your configuration:
...
external_components:
source: github://khenderick/esphome-opentherm@commands
components: [opentherm]
refresh: 0s
...
button:
- platform: opentherm
boiler_lo_reset:
name: "Boiler lock-out reset"
ch_water_filling:
name: "CH water filling"
...
I will test in 2 days, but code that I sent 100% working and have result as I expected
The team leaves [D][opentherm:369]: Enqueued request: WRITE_DATA(4, 0x0100) [D][opentherm:369]: Enqueued request: WRITE_DATA(4, 0x0200) in order to understand whether the command passed or not , you need to add LB: Cmd-Response-Code
I can't really process a response with a button, but I can look into this to at least log success/failure. Good idea, thanks.
@skoblov did you manage to validate whether sending the command at least works?
I have tested BLOR fully, after an bowler error. It works as extected.
BAXI bowlers neet BLOR comand to reset an error
Now I use template button with lambda, but it need to remove private: section from your header. It's better to include this button to component