I’ve been using the awesome MQTT bridge for ST to send/receive event data over a standard message bus for integration with other automation tools in my house. The challenge with that approach is that events need to make a round trip to the cloud which obviously has issues when my internet connection is offline for whatever reason.
Is there any accessible API by which I can extract events (best case) or device state (OK depending on how fast I can poll) without the request requiring an internet connection?
I’m open to oddball options. For example, I’ve made use of tools like the HA bridge or iobroker to create “fake” devices discoverable on the local network which can receive commands and then translate them to other systems. However, it appears that the list of local devices is limited to Z-Wave and some Zigbee options only, and I know of no reasonable approach to emulating such a device at the moment.