I've used MakerAPI a great deal but now I'm trying to control Flair Vents/Pucks with it through the driver written by @yracine66. When I try to send an http command to the Maker API for a Flair Puck I am getting an exception.
The Flair devices show up properly in the list of devices on the MakerAPI app page and after selecting them and hitting the Get Devices link they show up properly in the returned JSON. Here is the relevant portion of that JSON:
{
"id":"625",
"name":"My Puck Device",
"label":"My Puck Guest Room-1656",
"type":"My Puck Device",
"room":null
},
{
"id":"626",
"name":"My Puck Device",
"label":"My Puck Exercise Room-88a7",
"type":"My Puck Device",
"room":null
},
{
"id":"627",
"name":"My Flair Vent",
"label":"My Flair Vent Guest Room-574a",
"type":"My Flair Vent",
"room":null
},
{
"id":"628",
"name":"My Flair Vent",
"label":"My Flair Vent Exercise Room-46f6",
"type":"My Flair Vent",
"room":null
},
I am sending the following command where the MakerAPI App ID is 37 and the IP address of my Hubitat Elevation hub is 10.10.0.54:
http://10.10.0.54/apps/api/37/devices/626/refresh?access_token=XXXXXXXXX
I get the following response:
{"error":true,"type":"java.lang.Exception","message":"An unexpected error occurred."}
Looking at the Hubitat log when I send the command I get the following: app:372023-04-18 11:02:05.710 AMerrorjava.lang.NumberFormatException: Character is neither a decimal digit number, decimal point, nor "e" notation exponential mark. on line 742 (method sendDeviceCommand)
I have tried this for several other commands and get the same results.
I'm told by @yracine66 that since the error is internal to the MakerAPI there is nothing he can do to address it. So, anything anyone can offer to address the problem would be greatly appreciated.
Thanks in advance for the help