Commit Graph

162 Commits

Author SHA1 Message Date
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
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
Gregg fbc1ac9cbe Create ExternalReference.ino 2024-01-15 18:00:07 -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
Gregg bd474778e5 fix for PSRAM with new hapOut
Force hapOut to use internal memory only.

Tested on ESP32-S2 with/without PSRAM.  However, crashes on ESP32-S3 when using PSRAM (?!)
2024-01-06 16:55:17 -06:00
Gregg 4269eca982 Update MaxAccessories.ino 2024-01-01 17:53:46 -06:00
Gregg 12c6cf3fe1 Changed HapOut delay from 1ms to 50ms for WiFi transmits. Seems to be much more stable. 2024-01-01 17:35:02 -06:00
Gregg 9708678dcf Update MaxAccessories.ino 2023-11-30 08:45:12 -06:00
Gregg 83ad277aa0 Addressed issue with new Characteristic enum constants 2023-11-26 18:19:36 -06:00
Gregg ead05d8690 Added Characteristic Constants
Added constants to Characteristics that describe states.

Example: Characteristic::SecuritySystemTargetState::ARM_STAY
2023-11-25 18:22:59 -06:00
Gregg c417fe74f7 Create partitions.csv 2023-11-25 10:43:32 -06:00
Gregg 841851d020 Create MaxAccessories.ino
Demonstrates use of custom partition and shows how PSRAM is used in background when available
2023-11-24 18:09:29 -06:00
Gregg c1834fb301 Update 07-AccessoryNames.ino 2023-11-11 09:22:56 -06:00
Gregg 965bdc71b7 Add MAC Address output to RemoteDevice.ino
Prompts user with reminder of which MAC Address to use in Main Device.
2023-11-04 09:36:31 -05:00
HomeSpan 4b24f850d6 Update 07-AccessoryNames.ino
fix typo
2023-11-01 11:54:47 -05:00
Michael Geramb 869e768ba7 Add hint for UTF8 usage in names 2023-10-31 19:52:49 +01:00
HomeSpan 871eba3c1d
Merge branch 'release-1.8.1-dev' into verbose_reconnect 2023-10-28 18:16:48 -05:00
Gregg 2e1c4cf7a0 Update 15-RealPushButtons.ino 2023-09-04 22:22:36 -05:00
Gregg d6f5612f9f Update Pixel.ino
changed nPixels from uint8_t to int to allow for longer pixel strands (library is coded for int, so there is no need to limit to uint8_t in the example).
2023-07-24 09:24:58 -05:00
Gregg f7419da35b Final test of motorized shades 2023-07-08 16:55:22 -05:00
Gregg f92048ec19 Update MotorizedWindowShade.ino 2023-07-02 16:38:31 -05:00
Gregg cf2d695c91 Delete StepperMotorControl.ino 2023-07-02 16:08:56 -05:00
Gregg 518640dd53 Replaced StepperMotorControl Example with MotorizedWindowShare
MotorizedWindowShade is more advanced and uses two motors
2023-07-02 16:08:02 -05:00
Gregg e422d3c9de Updated StepperMotorControl Window Shade Example to use setPosition()
Example now saves window shade position in NVS and uses setPosition() accordingly upon initialization.
2023-06-20 21:23:03 -05:00
Gregg 536de53075 Added Stepper_TB6612 and Stepper_A3967 directly to HomeSpan
HomeSpan now includes both drivers as part of the "extras" functionality.
The StepperMotorControl Window Shade Example has been updated accordingly to use the built-in TB6612 driver.
2023-06-09 23:11:38 -05:00
Gregg 94cec6153b Update StepperMotorControl.ino 2023-05-31 21:21:53 -05:00
Gregg 5e1d65f436 Renamed SpanStep to StepperControl and moved into HoneSpan Extras
Also updated StepperMotorControl Example.
2023-05-30 05:05:51 -05:00
Gregg d7aca25ac9 Create StepperMotorControl.ino 2023-05-21 12:36:15 -05:00
Gregg 34be49393a Update RemoteTempSensor.ino
fixed typed in a comment
2023-04-30 09:04:56 -05:00
Gregg f466e12c7a some cleanup of LedPin comments in examples
Removed old references to "channels" which should have been deleted many versions ago
2023-04-01 12:16:15 -05:00
Gregg ce36174f93 Completed LED fading functionality; added new Fading LED example (in Other Examples) 2023-03-31 22:07:31 -05:00
Gregg 09063fb7dc Extended functionality of setValidValues() to allow INT, UINT8, UINT16, and UINT32 Characteristics 2023-02-25 15:07:02 -06:00
Gregg 03ba061b9b Added logic to hide AP SSID from broadcasting when WIFI_AP_STA used for SpanPoint
This does NOT effect the HomeSpan Access Point from being broadcast as usual when launched.
2023-01-28 18:05:59 -06:00
Gregg d04677d051 Update RemoteDevice8286.ino 2023-01-26 20:22:48 -06:00
Gregg b1bdb55d07 Update RemoteDevice8286.ino 2023-01-24 22:51:13 -06:00
Gregg 3ec999cd8d Create RemoteDevice8286.ino 2023-01-23 06:17:23 -06:00
Gregg e8a821906a Update RemoteDevice.ino 2023-01-23 05:54:46 -06:00
Gregg 7eca1e776b Add option to SpanPoint to use softAP MAC Address instead of STA
Needed to support ESP-NOW on ESP-8266 chips, which seem to only work if connecting into softAP MAC Address once HomeSpan is connected to WiFi network (prior to connection ESP-8266 will properly connect to normal STA address as well as softAP address).
2023-01-22 18:05:59 -06:00
Gregg 9ecc355c84 Moved "Other Examples" into "examples" folder
Noticed that the Arduino IDE 2.0 interface was not displaying Other Examples.

This is because Other Examples was not under the "examples" folder.  Not sure why this was the case - I should have originally put it there (?)  Regardless, once moved into the examples folder, Other Examples now properly shows up in both Arduino IDE version 1 and version 2.
2022-12-27 17:44:03 -06:00
Gregg f4698b8d59 Updated comments in Example 15 - RealPushButtons
Added description of different triggerTypes and the use of custom functions
2022-08-20 07:37:56 -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
Gregg f75596f3cd Changed deleteAccessory from int to boolean
Returns true on success, otherwise false
2022-05-22 13:13:34 -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
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 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 f471e7377b Update 20-DynamicBridge.ino 2022-05-14 11:21:59 -05:00