Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Using the same capability more than once #41
For a normal app you state:
However, this does not seem to work with this library. the ".name" gets ignored and just overwrites the first capability type.
As far as I can see in the documentation there is no other way to name a capability on the Arduino. The example codes do not have this challenge since all of them are unique.
Could you explain if it should work with this library or would this be a feature request?
This would be a useful feature for better integration with home security systems. For example, DSC security systems support multiple partitions, each of which has its own set of status states (armed/disarmed/triggered, etc) that would need to be mapped to the
At the moment, it seems that only one partition can be exposed to Homey using this library.
the problem is when you define a capability/action it creates a function and web endpoint with that name. since identifier can only consist of letters, digits or underscore, using anything else (dot or space etc) causes the issue.
my simply/fast hack solution was use the upper case X instead of . (dot).