-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Their example code is https://github.com/adafruit/Adafruit_Seesaw/blob/master/Adafruit_NeoKey_1x4.h and https://github.com/adafruit/Adafruit_Seesaw/blob/master/Adafruit_NeoKey_1x4.cpp
I have a CC1101 set up on an ESP8266 to control my ceiling fan using RF and I ended up using mqtt to tie it back to HA (https://github.com/patrickdk77/hampton-bay-fan-mqtt was a huge help)
Also not sure if this helps, but I wrote code to poll HA for the garage door state and write it on a display. Then I converted to ESPHome. https://github.com/lmatter/HomeAssistantReST-ESP8266/blob/main/GarageIndicator.ino