Disenhackifying one of the last pieces of my KaithemAutomation server that still feels not best practicesful.
Device driver plugins used to have a very simple flat key value, strings only format, with a set_config_properties function to tell the host what kind of UI to show. That's all getting replaced with JSON schemas, with some auto-upgrade shims so old config keeps working. It's one of many things that now seems completely insane, but made sense when I had way less experience a long time ago! Also still on and off working on my BLE/WiFi based Meshtastic-alike.
Comments (1,369) 864 threads
Show all comments
Showing thread 408 of 864
Device driver plugins used to have a very simple flat key value, strings only format, with a set_config_properties function to tell the host what kind of UI to show.
That's all getting replaced with JSON schemas, with some auto-upgrade shims so old config keeps working.
It's one of many things that now seems completely insane, but made sense when I had way less experience a long time ago!
Also still on and off working on my BLE/WiFi based Meshtastic-alike.