I’m trying to use the Maker API to send startLevelChange and stopLevelChange commands to a Z-Wave dimmer. I assume that startLevelChange/stopLevelChange is used in the [Command] portion of the query string. But I can't work out where the direction parameter should go or what it should consist of. I’ve tried the following values in the [Secondary value] portion of the query string without success:
up, down, bright, brighten dim, 1, 0, -1
I can get on and off commands to work so in know the device ID and access token are OK.
Here’s an example of a dim command I have tried:
Thanks. Didn't realize posting the access token was a security risk given that the router isn't accessable outside my private subnet. Besides, if someone hacks into my wifi network they can easily access the Hubitat hub and the token is visible in the Maker API command example. Maybe they shouldn't be?
Anyway, I look forward to these commands becoming available. I've sold off all of my Insteon gear including a PLM that I was using with Girder running on my HTPC to translate IR commands sent from my Pronto TSU-7000 touch screen remote to Insteon lighting commands.
@patrick: Great to see that the startLevelChange and stopLevelChange commands were whitelisted in the 1.1.6 release! I had a look at the Maker API Wiki and couldn't find any info on level change direction. Calling
without a [Secondary value] param causes to dimmer to go from current level to 100% brightness. But I still can't work out how to call startLevelChange to dim from the current brightness until a stopLevelChange is sent.