jjandre:
I actually had this same question. First, let me say I’m not a programmer, but a fairly advanced tech user. That said, the Synology NAS does allow running Python scripts - Install and use Python 3.9 in your Synology – Synoguide
I have in the past had third party software running on mine. It’s currently the only always-on computer in the house. I’m only really looking for one thing - to monitor when a device goes offline so I can run some routines to configure the house to efficiently run off batteries when we lose grid power. I can either build a device (I’ve seen a few kits) that uses smartthings capable parts that run off the battery backed side of my power system and will report that state change when the grid-only side goes down or I could have a smarttings device powered by the grid-only side and have my smartthings hub pay attention to when it goes offline. I haven’t found a smartthings device that can easily solve this using scenario 1, so I’m looking at things like your tools to implement scenario 2, but I’d want to run it off of the NAS, or have to get a rasberry pi just to run it.
You could put a PI on the grid side and have a simple Apache setup that can be queried. You can then use the Web Requestor Edge driver to check whether the webpage is available.
Does the Synology have an API/web interface that can be queried for the power state? That would be another option using the same driver.