OTGateway icon indicating copy to clipboard operation
OTGateway copied to clipboard

Add custom OT requests

Open nARN opened this issue 10 months ago • 1 comments

See https://t.me/otgateway/9331/10060

This will be useful to quickly detect which messages the boiler supports.

WRT the safety of calling sendRequest from another task. As far as I can see, OpenTherm is essentially a state machine and won't attempt to put anything on the wire until in READY state. Given that the request from the web form uses the same object (and thus state) there should not be any concurrency concerns.

Screencast:

https://github.com/user-attachments/assets/388583d4-ffb0-4a3b-9d03-6350d5f0c60b

nARN avatar Feb 03 '25 14:02 nARN

Приветствую

Думаю делать запрос в шину из PortalTask - не лучшая идея. Поэтому добавил свои мысли как можно сделать отправку запроса внутри OpenThermTask, а чтение результата в PortalTask.

Laxilef avatar Feb 20 '25 13:02 Laxilef