I’m hoping to get some assistance here.
I want to automatically disable some webcore pistons from running based on which wireless phones are at my house. I cannot install WebCoRE or SmartThings on this(these) mobile devices.
What I’ve done so far:
I have written a powershell script that will pull the connected wireless clients from my UniFi system.
The list of clients are written to a text file on my Windows PC.
Use ST REST API to open/close a virtual sensor.
When the virtual sensor is closed (the client is connected), then WebCoRE will see this closed sensor and then I can disable the automation(s).
Has anyone done anything like this - using WiFi to open/close something in ST?