Okay, I have received the microphone. I installed VC (paid version) and chose kodi in the initial setup to get an idea of how the command structures work. (I am so glad VC is portable!). One of the biggest problems I am having learning VC is all the videos I find are so out-dated.
I am having navigation issues with that, as the stock Keyboard commands are for PC only and I'm testing it connecting to kodi on a shield (android). but I will post that in a different thread.
As per nime5ter's post, I am attempting to use the Hubitat's Maker API.
It is giving me a local url:
http://192.168.10.176/apps/api/193/devices?access_token=ABC123XYZIt provides the following json or raw data on a simple switch: (its actually in a long string when I try to copy-n-paste it, but not in a browser)
[{"name":"Living Room Fan","label":"Living Room Fan","
type":"Zigbee OnOff Switch","id":"5","
date":"2019-06-24T17:30:45+0000","
model":null,"
manufacturer":null,"
capabilities":["Switch","Configuration"],"
attributes":{"switch":"on","dataType":"ENUM","
values":["on","off"]},"
commands":[{"command":"configure"},{"command":"off"},{"command":"on"},{"command":"toggle"}]}]
I am kinda lost on the 2nd step of nime5ter's post of Scraping it in VC. I created a new Group Collection (named it Hubitat), then a new group (named it outlets). I assume this is maybe where the scraping will come in?? (I will create more groups once I get one switch working and get a grasp on how to do all this.)
I may be in the wrong place, but then I created a command (command name Living Room Fan), then Edit > Action > Open Action Tree. I tried choosing Scrape as well as a Scrape.Simple, entered the url.
I am sure I need the toggle or on/off value somewhere? I might need to be using the "id":"5" somewhere as well???
If I can get it to use the toggle value, that would be best I think?
I will have like 30 of these once I get the first one figured out.