- Posted on
Sat Apr 30, 2016 11:20 am
-
Different Computers
offline
-
- Posts: 2579
- Joined: Jan 02, 2016
- Location: East Coast
-
Maybe I'm missing the resource I need, but looking through the recommended sources above, I still don't find what I need.
The AS dictionary doesn't give me examples. (Ok, I can
get, and there is
device, but can I
get the
status of a
device?
The included scripts are too high level and abstracted for what I need. They typically are iterating through self-generating lists of devices, not addressing a device.
I need an example that does something like this, which I'm sure is full of mistakes, but this would be my first guess on how to write the script:
- Code: Select all
tell application "IndigoServer"
set output to status of device "Current Conditions:Forecast day 2"
end tell
I can't find the proper way to address "Forecast Day 2" when it's a subset of a device, and I can't figure out how to ask Indigo for the status once I know what thing to ask.
Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana. UnifiAP