Due to my ISP having their own (unstable) modem hardware, I needed to come up with something that would reset my internet connection when it failed. After 2 trips during which the connection failed and I could no longer access my homeserver (email, archive, etc.) I put together a Girder plugin (based on Tree Script, with Lua code) to handle this. Continue reading
The Girder home automation software has some strong capabilities to customize it. One of those is Tree Script. It lets you add your own actions and conditionals based on Lua scripts. Unfortunately, Girder also has an extremely steep learning curve.
To ease the learning curve, I created a treescript plugin template that enables a fill-in-the-blanks approach to creating your own actions and conditionals. Its a Lua code file and an xml file that represents the interface.
You can download it from the Girder page.