-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom characteristic #148
Comments
It should work if you set a default value. char.SetValue(0) |
Same, not working 192.168.1.249:51641 GET /accessories
{
"accessories": [{
"aid": 1,
"services": [{
"iid": 1,
"type": "3E",
"characteristics": [{
"iid": 2,
"type": "14",
"perms": ["pw"],
"format": "bool"
}, {
"iid": 3,
"type": "20",
"perms": ["pr"],
"value": "Spotify",
"format": "string"
}, {
"iid": 4,
"type": "21",
"perms": ["pr"],
"value": "undefined",
"format": "string"
}, {
"iid": 5,
"type": "23",
"perms": ["pr"],
"value": "Spotify",
"format": "string"
}, {
"iid": 6,
"type": "30",
"perms": ["pr"],
"value": "undefined",
"format": "string"
}, {
"iid": 7,
"type": "52",
"perms": ["pr"],
"value": "undefined",
"format": "string"
}]
}, {
"iid": 8,
"type": "49",
"characteristics": [{
"iid": 9,
"type": "25",
"perms": ["pr", "pw", "ev"],
"value": false,
"format": "bool"
}]
}, {
"iid": 10,
"type": "113",
"characteristics": [{
"iid": 11,
"type": "11A",
"perms": ["pr", "pw", "ev"],
"value": false,
"format": "bool"
}, {
"iid": 12,
"type": "00000047-0000-1000-8000-656261617577",
"perms": ["pr", "pw", "ev"],
"description": "Track Change",
"value": 0,
"format": "int32",
"maxValue": 1,
"minValue": -1,
"minStep": 1
}, {
"iid": 13,
"type": "119",
"perms": ["pr", "pw", "ev"],
"value": 0,
"format": "uint8",
"unit": "percentage",
"maxValue": 100,
"minValue": 0,
"minStep": 1
}]
}]
}]
} |
Is this still an issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm trying to define a custom characteristic like here in nodejs:
When I add this characteristic, Home+4 report:
No Response
Any pointer ?
Thanks for your project
The text was updated successfully, but these errors were encountered: