Commit Graph

213 Commits

Author SHA1 Message Date
HomeSpan bcc1cee1fd
Update README.md 2020-11-06 22:20:23 -06:00
HomeSpan 44ffd2a7f7
Update README.md 2020-11-06 22:17:51 -06:00
Gregg 0fdff88ab6 Update Services.h 2020-11-06 21:38:40 -06:00
HomeSpan 7045f3a879
Update ServiceList.md 2020-11-06 21:37:50 -06:00
HomeSpan 652f7a800f
Update ServiceList.md 2020-11-06 21:32:02 -06:00
HomeSpan 11e815dda5
Update ServiceList.md 2020-11-06 21:30:19 -06:00
HomeSpan 1d5ac96e62
Update ServiceList.md 2020-11-06 06:56:08 -06:00
HomeSpan 195aca0b68
Update ServiceList.md 2020-11-06 06:54:14 -06:00
HomeSpan 6b6cfd704b
Create ServiceList.md 2020-11-06 06:33:44 -06:00
HomeSpan 838755e219
Update UserGuide.md 2020-11-06 06:22:14 -06:00
HomeSpan 40596e77a5
Update UserGuide.md 2020-11-06 06:20:37 -06:00
Gregg 9712cc9b16 Removed spaces from doc filenames 2020-11-06 06:19:41 -06:00
HomeSpan 843c82f143
Update UserGuide.md 2020-11-06 06:15:52 -06:00
HomeSpan 6f563402a9
Update UserGuide.md 2020-11-06 06:09:39 -06:00
HomeSpan c50b81aacb
Update UserGuide.md 2020-11-06 06:04:06 -06:00
HomeSpan 481d140a6b
Update UserGuide.md 2020-11-05 07:40:04 -06:00
HomeSpan 44d8ad9866
Update UserGuide.md 2020-11-04 09:25:12 -06:00
HomeSpan 961072464b
Update README.md 2020-11-04 07:31:36 -06:00
Gregg 6c94edc777 Update README.md 2020-11-04 07:13:49 -06:00
HomeSpan e3c380a064
Update README.md 2020-11-03 23:07:33 -06:00
HomeSpan c211460b8f
Update UserGuide.md 2020-11-03 23:05:56 -06:00
Gregg af73e8ff8c Update formatSetupCode.png 2020-11-03 23:01:29 -06:00
Gregg 65add379a0 Create defaultSetupCode.png 2020-11-03 23:00:17 -06:00
Gregg a80d35c536 Merge branch 'master' of https://github.com/HomeSpan/HomeSpan 2020-11-03 22:59:54 -06:00
Gregg d2a87274d8 Delete DefaultSetupCode.png 2020-11-03 22:59:41 -06:00
HomeSpan 58af853841
Update UserGuide.md 2020-11-03 22:59:02 -06:00
Gregg 986fd7b455 Create formatSetupCode.png 2020-11-03 22:56:55 -06:00
HomeSpan a766767fc3
Update UserGuide.md 2020-11-03 22:54:50 -06:00
Gregg 370548762b Update DefaultSetupCode.png 2020-11-03 22:47:23 -06:00
Gregg 899f0150a5 Create DefaultSetupCode.png 2020-11-03 22:41:46 -06:00
HomeSpan 0c46fdfa93
Update UserGuide.md 2020-11-03 22:37:17 -06:00
HomeSpan de487e437b
Update README.md 2020-11-03 17:43:10 -06:00
HomeSpan 67337dce5a
Update README.md 2020-11-03 17:42:47 -06:00
HomeSpan b99f7dddc5
Update README.md 2020-11-03 17:38:51 -06:00
HomeSpan 26482ee12d
Create UserGuide.md 2020-11-03 17:36:15 -06:00
HomeSpan 065be5adc7
Update README.md 2020-11-02 20:38:19 -06:00
Gregg b6c5a6b68d Added License Info to all files 2020-11-02 20:09:09 -06:00
HomeSpan 2c43091a15
Update README.md 2020-11-02 06:49:55 -06:00
Gregg ce6457ce12 Update library.properties 2020-11-02 06:29:39 -06:00
Gregg 72d407112a Create HomeSpan User Guide.pdf 2020-11-01 21:16:39 -06:00
Gregg d45f210c5b Completed comments for Example 16 and confirmed all functionality. 2020-11-01 21:10:35 -06:00
Gregg c153824b95 Updated SpanButton Examples
And re-worked the logic in Example 15 to make full use of DOUBLE press functionality.  To Do:  Add commentary to Example 16.
2020-11-01 15:22:16 -06:00
Gregg e2f11630fa Updated SpanButtton to recognize new Double Press event
button(int pin, boolean isLong) changed to button(int pin, int pressType), where pressType can be SpanButton::LONG, SpanButton::SINGLE, or SpanButton::DOUBLE.  Updated Example 16 and confirmed everything works as expected.

To do: Review all prior examples and update SpanButton when needed.  Also need to update Zephyr Vent Hood code!
2020-11-01 12:21:34 -06:00
Gregg bde63bf79d Updated PushButton to add initial logic for double-clicking 2020-11-01 10:00:20 -06:00
Gregg f0f761c143 Extended Exmaple 16 to use two Stateless Programmable Switches
Added ServiceLabelIndex Characteristic, which seems to be required as noted in HAP specifications.  However, linking to a ServiceLabel Service does not appear to be required, so there is no need to build any Service-Linking logic into homeSpan - will wait for use-case to be identified.

To do:  Add support for double-click to SpanButton, then include in Example 16.
2020-10-31 15:53:06 -05:00
Gregg 3979498b3c Created Example 16 - Programmable Pushbutton
Modified SpanCharacteristic::sprintfAttributes to streamline logic and add special handling for the ProgrammableSwitchEvent Characteristic as required by HAP:  the value returned for the database or any read request must be set to null (i.e. "value":null).  The only time the real value should be returned is when the device sends a EV/Notify message (when the button is pressed).  Verified that the example works as expected!

TO DO:  Add functionality to allow for Service Namespace and Index label so that you can have multiple programmable pushbuttons in one service - this requires logic for HAP LINKED SERVICE functionality.
2020-10-31 09:35:42 -05:00
Gregg 2dd30e0a51 Create Setup Codes.key 2020-10-29 07:42:01 -05:00
Gregg 0f2c3afbf0 Completed adding all Characteristic structures for all HAPCharType
To do: Create special-handling code for ProgrammableSwitchEvent Characteristic (according to HAP, it has read permission, but must always return a null).  Consider adding special flag to PR+EV
2020-10-29 07:21:25 -05:00
Gregg 118626ce83 Update Services.h 2020-10-28 20:20:27 -05:00
Gregg edac6df4b5 Added a few new Services 2020-10-28 20:05:46 -05:00