gdoor-org / gdoor

Wifi adapter and bus protocol documentation for the Gira TKS Door System
https://gdoor-org.github.io/
GNU General Public License v3.0
14 stars 4 forks source link

Add high-level props to JSON output #5

Closed jschroeter closed 2 months ago

jschroeter commented 2 months ago

To allow comfortable automations/triggers in Smart Home platforms like Home Assistant.

Suggestion for new fields:

DaSchaef commented 2 months ago

We can re-use (and migrate to class based C++) from the STM32 code: https://github.com/gdoor-org/gdoor/blob/a9e28f83e366b4aa6abce5f1029c4be776966766/firmware/stm32-ugly/Core/Inc/gdoor_protocol.h (and corresponding C file)

DaSchaef commented 2 months ago

Can you test #6 ? I expect that it will not work on first try, as it is a dry run implementation, with significant refactoring in the RX logic.

Additionally this should also fix #4 without the big ArduinoJSON library dependency.

DaSchaef commented 2 months ago

Closed in #6