Commit Graph

1164 Commits

Author SHA1 Message Date
HomeSpan fcf715d874 Added getLinks() method to SpanServices
This returns a vector of linked Services that can be used in a for-each loop as such:

for(auto services : getLinks()){ ... }

Must cast services into specific Service type to access anything not generic to the SpanService   class
2021-11-09 21:18:34 -06:00
HomeSpan 3f833beb74 Added ability to change permissions for Characteristics
New methods for Characteristics:

setPerms(uint8_t perms);
addPerms(uint8_t dPerms);
removePerms(uint8_t dPerms);

where perms and dPerms = PR|PW|EV...
2021-11-09 21:08:52 -06:00
HomeSpan 9de26715f0
Update Reference.md 2021-11-08 05:50:30 -06:00
Gregg 6f765e8988 Added non-notify option to setVal()
Second optional argument to setVal() determines whether or not HomeSpan sends notification of new value to HomeKit.  Default if left blank is "true" for backwards compatibility.
2021-11-07 20:45:44 -06:00
HomeSpan 835d49adc5
Merge pull request #181 from HomeSpan/release-1.4.1
Release 1.4.1
2021-10-31 19:33:46 -05:00
HomeSpan 0899bb1679
Update README.md 2021-10-31 17:56:58 -05:00
HomeSpan b202d5ba47
Update FAQ.md 2021-10-31 17:37:10 -05:00
HomeSpan 8d54be5308
Update FAQ.md 2021-10-31 17:35:09 -05:00
HomeSpan 08c92f8eb0 Update Span.h
Make Characteristic::Identifier required for Service::InputSource
2021-10-31 17:20:56 -05:00
HomeSpan 23bdd1372c
Update ServiceList.md 2021-10-31 17:04:47 -05:00
HomeSpan 9f68ffeca6
Update ServiceList.md 2021-10-31 16:50:52 -05:00
HomeSpan 7cd7aa28a0
Update ServiceList.md 2021-10-31 16:46:23 -05:00
HomeSpan f666f54b80
Update Categories.md 2021-10-31 16:41:17 -05:00
HomeSpan 31f9ec38b3
Update TVServices.md 2021-10-31 16:35:01 -05:00
HomeSpan 07060812b5
Update TVServices.md 2021-10-31 16:21:43 -05:00
HomeSpan 5b7a38f829
Update TVServices.md 2021-10-31 16:15:10 -05:00
HomeSpan f06bb4869a
Update Extras.md 2021-10-31 16:10:40 -05:00
HomeSpan 5ad030d471
Update Extras.md 2021-10-31 16:07:59 -05:00
HomeSpan f459635c75
Update TVServices.md 2021-10-31 15:57:38 -05:00
HomeSpan 9afb9f2cf5
Update TVServices.md 2021-10-31 15:52:58 -05:00
HomeSpan cd9da777a5
Update TVServices.md 2021-10-31 15:50:27 -05:00
HomeSpan f4b788839f
Update TVServices.md 2021-10-31 15:43:16 -05:00
HomeSpan 9b8f4d2b26
Update TVServices.md 2021-10-31 15:32:14 -05:00
HomeSpan 336ec18545
Update TVServices.md 2021-10-31 15:21:37 -05:00
HomeSpan 46aab531c8
Update TVServices.md 2021-10-31 10:21:28 -05:00
Gregg 49f40068b4 Merge branch 'dev+TV' of https://github.com/HomeSpan/HomeSpan into dev+TV 2021-10-31 10:03:20 -05:00
Gregg 6685768f5c Update Television.ino
Added `update()` logic for various key presses.
2021-10-31 10:03:18 -05:00
HomeSpan 4644d254c9
Update TVServices.md 2021-10-31 09:57:23 -05:00
HomeSpan fce9b85e24
Update TVServices.md 2021-10-30 23:23:24 -05:00
HomeSpan a55a697216
Update TVServices.md 2021-10-30 23:01:02 -05:00
HomeSpan a53d98070c Update version numbers to 1.4.1 2021-10-30 22:06:02 -05:00
HomeSpan be8dd811e8
Update TVServices.md 2021-10-30 17:10:44 -05:00
HomeSpan f2e0bf6089
Update README.md 2021-10-30 17:09:22 -05:00
Gregg 3cb08345f3 Create TVServices.md 2021-10-30 17:08:07 -05:00
HomeSpan 29cccd8aee
Update README.md 2021-10-30 17:04:07 -05:00
HomeSpan 2d2262d122
Update Reference.md 2021-10-30 17:00:18 -05:00
HomeSpan 5d92a876ec
Update Reference.md 2021-10-30 16:58:35 -05:00
HomeSpan 3cdd12f7b6
Update Reference.md 2021-10-30 16:58:02 -05:00
HomeSpan 59eb8e4cf3
Update Extras.md 2021-10-30 15:40:30 -05:00
HomeSpan 324848e330
Update Extras.md 2021-10-30 15:30:50 -05:00
Gregg 226548defa Added check to ensure Custom Characteristic has valid UUID
And also converted ERRORS to WARNINGS when a Characteristic that is not in the REQ or OPT list is specified for a Service.   This allows the user to add any Characteristic to any Service without forcing an Error (just a Warning).
2021-10-29 22:54:10 -05:00
Gregg 61a2be533b Moved Range checking to a standalone routine checkRanges()
Ranges are now checked for all Characteristics at the end of the configuration, instead of at the end of each Accessory definition.  This is much cleaner and the output is easier to read.

To do:  Revisit use of REQ and OPT - what should constitute a fatal error and what should be a warning.

To do:  Revisit Character definitions - attempt to normalize using the methods implemented for Custom Characteristics
2021-10-26 22:05:44 -05:00
Gregg 65b15b5628 Added AID info to Set Range log message 2021-10-26 05:39:54 -05:00
Gregg 92c198d01a Update src.ino 2021-10-25 22:10:44 -05:00
Gregg b6001f9418 Update Span.h 2021-10-25 21:58:51 -05:00
Gregg eb9530800e Created typedef for HAP types - used to simplify CUSTOM_CHAR
No need to specify both FORMAT and TYPE.   For example, specifying UINT16 automatically sets type to be uint16_t.

To do:  Explore if this can be used for standard Characteristics - revisit standard Characteristics definitions and structure to see if it can be simplified.
2021-10-25 21:57:29 -05:00
Gregg eeb3c334ac Update src.ino 2021-10-24 21:24:45 -05:00
Gregg 4309be8f91 Finalized CUSTOM_CHAR() macro to add a custom Characteristic 2021-10-24 21:19:38 -05:00
Gregg d5fa8335fb Update src.ino 2021-10-24 20:58:45 -05:00
Gregg 96d74e5920 Adding Macros to allow for creation of custom Characteristics and Service 2021-10-24 18:45:46 -05:00