HomeSpan
d3ef339e1a
Update Tutorials.md
2022-08-08 06:24:32 -05:00
Gregg
3e88d69997
Added optional AccessoryFlags Characteristic to AccessoryInformation Service
...
This optional flag does not seem to have any affect on the Home App and does not produce any messages indicating that the device needs additional setup. Was hopeful this would have prevented the "Not Supported" message on a Home App Tile that is configured as a bridge, but without any other Accessories.
2022-08-08 05:56:11 -05:00
Gregg
635bce26c2
Update ProgrammableHub.ino
2022-08-07 20:08:44 -05:00
Gregg
e2a8d406da
Delete ProgrammableHub2.ino
2022-08-07 19:57:31 -05:00
Gregg
999eb45e8a
Created new version of ProgrammableHub with Dynamic Changes
2022-08-07 19:56:01 -05:00
Gregg
df2154d048
Update ProgrammableHub2.ino
2022-08-07 19:54:34 -05:00
Gregg
59f60d8800
Update ProgrammableHub2.ino
2022-08-07 19:45:42 -05:00
Gregg
546f4445e5
Update ProgrammableHub2.ino
2022-08-07 19:22:01 -05:00
Gregg
b29b43af0f
Update ProgrammableHub2.ino
2022-08-07 09:47:22 -05:00
Gregg
fd0046c7f2
Update ProgrammableHub2.ino
2022-08-04 18:34:46 -05:00
HomeSpan
26a41bb198
Update ProgrammableHub2.ino
2022-07-31 17:42:18 -05:00
Gregg
689ea86991
Updating ProgrammableHub2 Example
2022-07-28 17:13:04 -05:00
Gregg
be3af3b14e
Updated version number to 1.5.2
2022-07-23 21:05:08 -05:00
Gregg
d903fd7e97
Updated RFControl for compatibility with Arduino-ESP32 v 2.0.4
...
Needed to set idle_level to LOW even though idle_output was already disabled. This is likely because 2.0.4 introduced an entirely new API for RMT, though version 2.0.3 IDF functions and structures seem to be accepted as well.
2022-07-23 15:16:43 -05:00
Gregg
c891548ffa
Updated webLog logic to print system messages as well as user messaages
...
User messages only printer is logLevel>0. Also, user messages are prefixed in CLI with the word "WEBLOG: "
2022-07-23 08:19:25 -05:00
Gregg
bb1874da96
Update HAP.cpp
2022-07-16 11:11:41 -05:00
Gregg
989b315fc0
Updated WiFi disconnect/re-connect logic
...
Only initialize MDNS, WebLog, and OTA when first connecting to WiFi. Do not re-initialize upon re-connections after a disconnect.
Also, add number of disconnects, and reset_reason() to WebLog
2022-07-11 21:23:20 -05:00
Gregg
6c7bf03c3b
Added Other Examples -> ProgrammableHub
2022-06-25 18:44:31 -05:00
HomeSpan
758b8880b1
Update Reference.md
2022-06-20 16:53:27 -05:00
HomeSpan
10789efe7e
Update Tutorials.md
2022-06-20 16:44:50 -05:00
HomeSpan
281d5708ab
Update RMT.md
2022-06-11 16:58:20 -05:00
HomeSpan
4f3df5d276
Update PWM.md
2022-06-11 16:55:46 -05:00
HomeSpan
53a9705d63
Update README.md
2022-06-11 16:53:41 -05:00
Gregg
bb4b0e3dea
Updates for ESP32-S3 Compatability
...
Added Feather.h mappings; and
Changed RMT clock logic in RFControl to check for presence of RMT_SYS_CON_REG instead of simply looking for CONFIG_IDF_TARGET_ESP32C3;
** NOTE: Can ignore warnings about RMT_CH4...CH7+RX_LIM_REG redefine errors. This has been reported to Espressif IDF Github, been acknowledged as a bug, and will be fixed in a future release of the IDF. Since HomeSpan does NOT use the RMT peripheral for RECEIVING, these warning messages have no effect.
2022-06-11 07:56:42 -05:00
HomeSpan
7d9dbd04b8
Update Reference.md
2022-05-29 21:29:53 -05:00
HomeSpan
af5839e5a9
Update Reference.md
2022-05-29 10:32:57 -05:00
Gregg
c5ba453a95
Converted Span to class; added homeSpan.getLogLevel() and homeSpan.addWebLog(fmt,...)
...
These functions are needed to provide public access to API now that Span is a class instead of a struct
2022-05-29 10:27:34 -05:00
Gregg
2b25acf2e1
Converted SpanUserCommand to class from struct
...
Also cleaned up some code by moving a few HAPClient routines into Span polling function.
2022-05-29 06:42:38 -05:00
Gregg
86a0c1cf75
Changed SpanCharacteristic and SpanButton from struct to class
...
Also moved SpanButton checking into Span instead of awkward reference to HAPClient function
2022-05-28 14:48:49 -05:00
Gregg
bb1d0050e2
Changed SpanAccessory and SpanService to class from struct
...
Split members into private/protected/public
2022-05-28 11:24:11 -05:00
HomeSpan
6cfbe3c209
Update CLI.md
2022-05-27 18:41:09 -05:00
HomeSpan
86a119be8f
Update Tutorials.md
2022-05-27 18:26:28 -05:00
Gregg
2520eed6d8
Added detailed comments to 20-AdvancedTechniques
...
To do: Add Tutorial to HomeSpan Documentation
To do: test sketch on S2 and C3 devices
To do: add homeSpan.autoPoll() to Unit Test as well
2022-05-23 21:26:57 -05:00
HomeSpan
e245822428
Update README.md
2022-05-22 16:37:14 -05:00
HomeSpan
69789ec66c
Update Reference.md
2022-05-22 16:33:14 -05:00
Gregg
68b4a9f1cb
Merge branch 'dev' of https://github.com/HomeSpan/HomeSpan into dev
2022-05-22 13:13:38 -05:00
Gregg
f75596f3cd
Changed deleteAccessory from int to boolean
...
Returns true on success, otherwise false
2022-05-22 13:13:34 -05:00
HomeSpan
ae2a5f0a67
Update Reference.md
2022-05-22 11:46:06 -05:00
HomeSpan
1b1123d480
Update Reference.md
2022-05-22 11:21:40 -05:00
Gregg
6018f37b60
Added optional stackSize argument to homeSpan.autoPoll()
...
If not specified, default is CONFIG_ARDUINO_LOOP_STACK_SIZE which is typically defined in the Arduino-ESP32 library as 8192.
2022-05-22 11:00:40 -05:00
HomeSpan
6d409e9b89
updated version check
...
requires version 2.X of the Arduino-ESP32 board manager
2022-05-22 08:57:23 -05:00
Gregg
f9b8e2165a
Added homeSpan.autoPoll() to 20-AdvancedTechniques
...
Deleted Arduino loop() function entirely since it no longer needed.
2022-05-21 18:24:35 -05:00
Gregg
4d6f502708
Create 20-AdvancedTechniques.ino
2022-05-21 18:19:23 -05:00
Gregg
72ddee9061
Add weakly-define Arduino loop() function (defined as NO OP)
...
Allows you to compile a sketch without defining the Arduino loop() function. Useful in cases where homeSpan.autoPoll() is used instead.
2022-05-21 17:26:27 -05:00
Gregg
1f89673fb7
Updated 20-DynamicBridge to use std::array<>
...
This allows the use of std::find(), std::remove, and iterator methods. Code is more intuitive.
2022-05-21 17:05:23 -05:00
Gregg
7835665e60
Update 20-DynamicBridge.ino
2022-05-21 12:11:53 -05:00
Gregg
00ea4c6dd8
Changes homeSpan.getAccessory(aid) to homeSpan.deleteAccessory()
...
The only reason to have used getAccessory(aid) is to delete it, so the delete command is now invoked automatically. Function returns 0 on success (matching aid found) or -1 on fail (aid not found)
2022-05-21 12:08:03 -05:00
Gregg
52a977d2f1
Revert "sort Accessories by AID to ensure same order all the time during dynamic changes"
...
This reverts commit 2e98b163b2 .
2022-05-19 10:18:00 -05:00
HomeSpan
2e98b163b2
sort Accessories by AID to ensure same order all the time during dynamic changes
2022-05-18 16:31:15 -05:00
Gregg
f471e7377b
Update 20-DynamicBridge.ino
2022-05-14 11:21:59 -05:00