I made a little widget for my phone with Tasker/KWGT using the Maker API, but I'd like to add one more thing. Is there an API to set/get the Hubitat Mode? I just want to display the Mode in my widget and an option to manually override the mode for unpredictable circumstances (i.e. when we have a babysister so all the lights don't go off when we leave).
You can get the current mode using the Maker API (you'll have to install it first). You can also do this remotely (if you have cloud access turned on in the Maker API settings).
The local url is http://[your hub ip]/apps/api/[maker api id]/modes?access_token=[your token]
You can set the mode using the same URL, but adding the mode id after modes:
http://[your hub ip]/apps/api/[maker api id]/modes/[mode id]?access_token=[your token]
Perfect! Exactly what I was looking for.