Commit Graph

1890 Commits

Author SHA1 Message Date
Gregg eaa9cbca40 Get Arduino-ESP32 Version from <esp_arduino_version.h> instead of <core_version.h>
This works fine for all versions after 2.0.3, but returns 2.0.0 for versions 2.0.2 and 2.0.1, as well as 2.0.0.  Not an issue since current version is 2.0.14.
2024-02-04 17:34:02 -06:00
HomeSpan c2692ba401
Documentation update (#765)
* Update Stepper.md

* Update README.md

* Update FAQ.md

* Update TVServices.md
2024-02-04 14:31:29 -06:00
Gregg a3846901e7 Revised Example 11 (Service Names) to use ConfiguredName Characteristic
Complete re-work of Example 11 - fully tested for iOS 17.2.1
2024-02-04 14:10:55 -06:00
Gregg 66541cbef9 Delete ServiceList_Expanded.md 2024-02-01 07:21:09 -06:00
Gregg ed7bfdaea9 updated some descriptions 2024-02-01 07:19:00 -06:00
Gregg 5fd299ede7 Added linebreak after each Service 2024-02-01 07:12:03 -06:00
Gregg 44e07dfd5f converted Service Group names to upper case 2024-02-01 07:06:11 -06:00
HomeSpan bb1b768016
Update ServiceList.md 2024-02-01 07:02:02 -06:00
Gregg e421c40f4f Re-organized Services List into Service Groups 2024-02-01 06:58:10 -06:00
Gregg e67e49454f reformat ServiceList to remove expandable details
Expandable details are not as practical to navigate for a page this size.  Easier to see everything laid out all at once.
2024-02-01 06:09:05 -06:00
Gregg 1e65056136 Add configuredName() to all applicable Services and deprecated Name() 2024-01-31 22:12:59 -06:00
HomeSpan a8df9d9f2f Moved error/warning output to end of 'i' output 2024-01-30 19:29:04 -05:00
Gregg 73f2da86e9 Added ConfiguredName to Switch and Lightbulb 2024-01-26 17:26:12 -06:00
HomeSpan 9b6f5ef59e
Update Tutorials.md 2024-01-25 06:32:49 -06:00
HomeSpan 5020fae497
Update Tutorials.md 2024-01-25 06:32:04 -06:00
Gregg 5b313f0c4c added code to create pre-expanded Services and Characteristics List 2024-01-25 06:25:49 -06:00
Gregg b4bde4e61a added ServiceList_Expanded 2024-01-25 06:13:27 -06:00
HomeSpan ca48fb7be7
Update ServiceList.md 2024-01-25 06:11:16 -06:00
HomeSpan ad302e42f8
Update ServistList_Expanded.md 2024-01-25 06:00:03 -06:00
HomeSpan e7e804112f
Create ServistList_Expanded.md 2024-01-25 05:59:19 -06:00
Gregg 65dd9da130 fixed typo in ServiceLabelNameSpace description 2024-01-24 21:43:10 -06:00
Gregg 5d314d4fb8 add <span> to ServiceList to prevent linebreaks before checkmark 2024-01-24 21:39:38 -06:00
Gregg e5c7ba5080 fix heavy_check_mark 2024-01-24 21:03:47 -06:00
Gregg 5568cc1ddf removed bold font for Characteristic Constants in ServiceList.md 2024-01-24 18:44:44 -06:00
HomeSpan 3e9e7a1902
New Services and Characteristics List (#751)
* auto-generation of service list

* Update makeServiceList

* Update makeServiceList

* Update test.md

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* Update Span.h

* Update test.md

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* Create ServiceListHead.md

* Update ServiceListHead.md

* Update ServiceListHead.md

* Update test.md

* update

* update

* Update ServiceList.md

* update

* Update ServiceList.md

* update
2024-01-23 21:52:54 -06:00
HomeSpan fe0b8c1a42
Update Reference.md 2024-01-15 21:31:19 -06:00
HomeSpan 1a6bc93632
Update Logging.md 2024-01-15 21:25:28 -06:00
HomeSpan 7f2f093fff
Update Tutorials.md 2024-01-15 18:04:25 -06:00
Gregg fbc1ac9cbe Create ExternalReference.ino 2024-01-15 18:00:07 -06:00
HomeSpan d280b5b52a
Update Tutorials.md 2024-01-15 12:51:22 -06:00
Gregg 015625b08a Update CustomNVSPartition.ino 2024-01-15 12:44:00 -06:00
Gregg a5e8680452 Added CustomNVSPartition Example
To do:  Add to list of Other Examples in documentation.
2024-01-15 10:42:34 -06:00
HomeSpan 0c2f29db2f
Update Reference.md 2024-01-13 15:45:49 -06:00
HomeSpan f5d4806e4b
Update Reference.md 2024-01-13 15:42:06 -06:00
Gregg 437771fabd Cleaned up some public/private permissioning inside PushButton and SpanButton
Ensure users can access constants like TRIGGER_ON_HIGH, TRIGGER_ON_LOW, etc. using any of these equivalent fully-qualified names:

* PushButton::TRIGGER_ON_HIGH
* SpanButton::TRIGGER_ON_HIGH
* SpanToggle::TRIGGER_ON_HIGH
2024-01-13 15:20:20 -06:00
Gregg 260be21462 Added optional triggerType to homeSpan.setControlPin()
Default is SpanButton::TRIGGER_ON_LOW.  Follows same options as SpanButton, including the ability to provide your own triggerType function of form:

boolean f(int pin)
2024-01-13 10:01:03 -06:00
Gregg 3c3e5c21ea Added homeSpan.getAutoPollTask() to return task handler of autoPoll
Returns NULL if autoPoll has not been used.

Also added low stack size for both main Arduino loop task and HomeSpan autoPoll task to 'm' command
2024-01-12 21:57:57 -06:00
Gregg 2d86ee4a25 Truncate all STRING-based Characteristics to 64 characters when adding to JSON
HAP default max length of STRING Characteristics is 64 characters
2024-01-12 21:21:42 -06:00
Gregg fe9e3d7942 Merge branch 'release-1.8.1-dev' of https://github.com/HomeSpan/HomeSpan into release-1.8.1-dev 2024-01-12 18:31:06 -06:00
HomeSpan e42cb4e1dd
Merge pull request #659 from frankonski/buffer_overwrite
Preventing possibility of buffer overwrite.
2024-01-12 19:30:45 -05:00
Gregg b5dcfbbd7d Modified range checks so that "NAN" gets picked up as error for FLOAT Characteristics 2024-01-11 21:57:42 -06:00
Gregg ba240ea4d7 updated putPrepareURL and deleted receiveEncrypted()
Must test with Door example, which uses putPrepare
2024-01-11 06:40:54 -06:00
Gregg d179f039d1 Moved all PSRAM definitions into separate PSRAM.h file
Now allows #include "HomeSpan.h" to be removed from TLV dependencies
2024-01-10 22:05:26 -06:00
Gregg bddffab7ad refactored tlvRespond() to use hapOut instead of sendEncrypted()
To do:

1) update putPrepareURL() to use hapOut instead of sendEncrypted()
2) remove sendEncrypted() since it is no longer needed
3) try moving MAllocator template into separate file (memory.h?) so it can be called from any other module
4) remove #include "HomeSpan.h" from TLV8
2024-01-10 21:53:37 -06:00
Gregg fa5455d6f9 moved tlv streaming into tlv class 2024-01-10 20:44:16 -06:00
Gregg 73f761adc9 started work on TLV streaming with << operator
Goal - eliminate sendEncrypted() completely by using hapOut in tlvRepond().
Next up: use function call instead of << operator so logic can be moved into TLV.h
2024-01-09 22:02:28 -06:00
Gregg 96e6f55c72 Update src.ino 2024-01-08 19:46:16 -06:00
Gregg ffc4ae0cb2 Update src.ino 2024-01-08 19:45:38 -06:00
Gregg 392eac38b9 Added homeSpan.getWebLog() 2024-01-08 18:19:38 -06:00
Gregg 39b7b54d48 Fixed CSS in weblog
Missing conversion from String to c_str() when using hapOut.
2024-01-07 10:22:21 -06:00