You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed homebridge-particle and have it successfully subscribed to events and working. I am trying to get a successful function call
my Proton has the following function exposed
get ACStatus
it accepted a string Args and I have made is accept a string in the format "1=1" and "1=0". If I type these strings into the particle iPhone app, the function works as expected
my accessoryr section in config.json is
"accessory": "Airconditioner",
"name": "Air Conditioner",
"deviceid": "removed for privacy",
"type": "LIGHT",
"function_name": "setACStatus",
"args": "1={STATE}"
The accessory is visible in Homekit and I can toggle the button, however the function is not sucessfully called and is not triggered, what am I doing wrong
thanks
The text was updated successfully, but these errors were encountered:
you need to call your function argument. For example if you have a function in your particle code with the "on" argument, you would need to set that as the args. below is a quick sample particle code showing the "on" argument being passed.
I have installed homebridge-particle and have it successfully subscribed to events and working. I am trying to get a successful function call
my Proton has the following function exposed
get ACStatus
it accepted a string Args and I have made is accept a string in the format "1=1" and "1=0". If I type these strings into the particle iPhone app, the function works as expected
my accessoryr section in config.json is
"accessory": "Airconditioner",
"name": "Air Conditioner",
"deviceid": "removed for privacy",
"type": "LIGHT",
"function_name": "setACStatus",
"args": "1={STATE}"
The accessory is visible in Homekit and I can toggle the button, however the function is not sucessfully called and is not triggered, what am I doing wrong
thanks
The text was updated successfully, but these errors were encountered: