Connects to Pecron device on LAN (WiFi TCP) or via Bluetooth Low Energy,
performs handshake (random exchange + SHA-256 login), then sends/receives
encrypted TTLV commands. Produces the same kv dict structure as MQTT
so existing _process_data() works unchanged.
It looks like another Pecron Project has both Wifi and Bluetooth connectivity. Maybe it is possible to add the local api connection in this HACs component? That would be nice for having the access to the data during power and/or internet outages.
local_transport file