Commit Graph

650 Commits

Author SHA1 Message Date
HomeSpan b4df9578ca
Update README.md 2021-01-09 17:19:11 -06:00
HomeSpan 099e90215b
Update README.md 2021-01-09 17:18:43 -06:00
HomeSpan a03adabc95
Merge pull request #18 from HomeSpan/Development
Merge Development into Master for Release v1.1.3
2021-01-09 13:37:38 -06:00
Gregg 3633580dd5 Update LICENSE 2021-01-09 13:14:25 -06:00
Gregg 42a0ee9c9b Update RemoteControl.ino 2021-01-09 13:13:23 -06:00
HomeSpan d0822ed98c
Update Extras.md 2021-01-09 13:10:26 -06:00
HomeSpan dc39483517
Update GettingStarted.md 2021-01-09 13:09:06 -06:00
HomeSpan 8e0e87daf9
Update Reference.md 2021-01-09 13:05:46 -06:00
Gregg dff13d4b08 Update version number to v1.1.3
Getting ready to release v1.1.3 patch
2021-01-09 12:55:31 -06:00
Gregg b8d4940772 Removed use of LED_BUILTIN in library and all examples
LED_BUILTIN is NOT defined for all ESP32 boards - some do not have a built-in LED!  Instead, Status LED now defaults to Pin 13, as opposed to LED_BUILTIN.  Also, added a new method, homeSpan.getStatusPin(), to return the pin number used for the Status LED, whether or not it remains the default (13) or is changed by user with homeSpan.setStatusPin(pin).  This method is now used in the DEV_Identify.h file for each example, instead of using LED_BUILTIN (which otherwise won't compile for boards without a built-in LED)
2021-01-09 12:51:35 -06:00
Gregg 8d55d0a60e Fixed WiFi Access Point Password Bug
Updated Network::getFormData() to properly read special characters (!#$, etc.) input into Access Point web page as part of password of SSID.
2021-01-09 08:09:50 -06:00
Gregg eae2037a33 Merge branch 'Development' of https://github.com/HomeSpan/HomeSpan into Development 2021-01-07 07:43:54 -06:00
Gregg dde3d5d90e Updated User Guide PDF 2021-01-07 07:43:44 -06:00
HomeSpan 1e7322a9b6
Update UserGuide.md 2021-01-07 07:42:50 -06:00
HomeSpan 96e11707a6
Update UserGuide.md 2021-01-07 07:41:36 -06:00
HomeSpan 91b7565c27
Update UserGuide.md 2021-01-07 07:15:59 -06:00
Gregg f9e317a3b1 Updated Access Point WiFi connection logic
Matches new logic in HomeSpan CLI, except that wait time cycles from 2 to 10 seconds in steps of 2 seconds, then repeats, since user is expected to be manually monitoring the process, and the Access Point auto times-out in 300 seconds anyway.
2021-01-05 20:42:29 -06:00
Gregg 368c7f6d69 Update Network.cpp 2021-01-05 20:05:46 -06:00
HomeSpan b43e670ed8
Update UserGuide.md 2021-01-04 07:40:38 -06:00
HomeSpan 66cb42abe0
Update CLI.md 2021-01-04 07:27:21 -06:00
HomeSpan 26c4342a30
Update Reference.md 2021-01-04 07:19:43 -06:00
HomeSpan a1f3f75ef4
Update Reference.md 2021-01-04 07:18:46 -06:00
HomeSpan 6e26524199
Update Overview.md 2021-01-04 07:12:24 -06:00
Gregg 0939bc5ade Revamped WiFi connection logic
WiFi connection now occurs asynchronously so that if WiFi is lost, or cannot be connected at start-up, the device still operates intead of blocking while it tries to connect.  The new logic should allow for a wider range of chips to connect.
2021-01-03 17:26:17 -06:00
Gregg 27b6bb7eba Added MAX_ACCESSORIES limit=41
Program now halts if more than 41 Accessories are defined.  This allows for a bridge to have 40 Accessories.  HAP limit is 150, but there is not enough memory in ESP32 to robustly handle more (testing up to 50 LightBulb Services worked, but was sluggish).
2021-01-02 21:45:12 -06:00
Gregg 3aa5456881 Fixed memory problem with sendEncrypyted()
Switched from using fixed buffer, httpBuf, to a TempBuffer to allow for dynamic allocation of memory when assembling and transmitting large blocks of data.  This was causing a memory overflow of the static httpBuf when responding to a getAccessories() request for a large number of Accessories.
2021-01-02 21:18:50 -06:00
HomeSpan a21383b82f
Update README.md 2020-12-31 19:33:51 -06:00
HomeSpan 5566dd08b1
Update Extras.md 2020-12-29 15:11:51 -06:00
HomeSpan 18eb358dc6
Create History.md 2020-12-29 08:39:52 -06:00
HomeSpan b7e6e1698f
Update README.md 2020-12-27 19:09:14 -06:00
HomeSpan ad3294d417
Update README.md 2020-12-27 19:06:07 -06:00
HomeSpan 837d57cdb2
Update README.md 2020-12-27 19:04:07 -06:00
HomeSpan 1261cb6548
Update Reference.md 2020-12-27 18:54:01 -06:00
HomeSpan 15c36e8784
Update Extras.md 2020-12-27 18:44:12 -06:00
Gregg b9656fea37 Updated version to 1.1.2 - ready for release 2020-12-27 13:34:45 -06:00
Gregg 8dc8a0bc48 Update 01-SimpleLightBulb.ino
Changed comments to reflect requirement that AccessoryInformation Service be defined before any other Services in an Accessory.
2020-12-27 12:58:00 -06:00
Gregg a1035bd911 Added validation check to ensure AccessoryInformation is always the first Service to be defined in an Accessory
Required by HAP (overlooked in original error-checking logic)
2020-12-27 12:47:03 -06:00
Gregg 69057d560a Converted `char *` to `const char *` in DEV_Identify() 2020-12-27 09:38:12 -06:00
Gregg b50db3f078 Cleaned up almost all compiler warning messages and cleaned up wifi connect message
1) Used `const char *` instead of `char *` where appropriate, including the need to create a dummy blank string for us in certain places.
2) Set initialization of WiFiClient to 0 instead of NULL, since WiFiClient is not a pointer (probably don't need to set it to anything since WiFiClient overrides the boolean operator anyway).
3) Cleaned up some of the messaging and logic when WiFi tries to connect so that users know to wait a bit.
4) Only remaining warning messages are for casting SpanService to (void *), which I think i unavailable (and is not forbidden).

To Do: Go through examples and check for warnings (will likely need to convert `char *` to `const char *` in many places.
2020-12-27 09:11:18 -06:00
Gregg 0b316de602 Added REQUIRED Macro
User can specifiy a REQUIRED minimum version on the HomeSpan Library for the sketch to compile.  If the library version is older, the pre-processor will halt the compilation with a #error output
2020-12-26 16:46:36 -06:00
Gregg 3af65a5774 Updated notification logic so that newValue as well as value gets updated by setVal() 2020-12-24 16:40:41 -06:00
Gregg cc748f346c Updated RFControl
Changed enum class PHASE back to simple uint8.  Was too complicated to have a dedicted structure just to represent HIGH and LOW.
2020-12-22 17:27:56 -06:00
Gregg e7e6d4de61 Added 'phase' method to RFControl
RFControl::phase() allows you to add either a HIGH or LOW entry (i.e. a single phase of a pulse.  RFControl::add() continues to add a full HIGH/LOW pulse so these changes are fully backwards compatible.
2020-12-21 22:07:58 -06:00
HomeSpan 417587facf
Merge pull request #4 from aaaidan/cli-docs-setup-code
Fix default setup code in CLI docs
2020-12-16 13:01:00 -06:00
Aidan Fraser c6bfcba674
Fix default setup code in CLI docs 2020-12-16 10:42:23 -08:00
HomeSpan 30d1a54c78
Update GettingStarted.md 2020-12-13 07:41:14 -06:00
HomeSpan f76e9b9256
Update README.md 2020-12-13 07:28:18 -06:00
HomeSpan f04fa674bd
Update README.md 2020-12-13 07:27:10 -06:00
HomeSpan 1ecd8589f9
Update README.md 2020-12-13 07:26:28 -06:00
HomeSpan 3f00962b24
Update README.md 2020-12-13 07:25:08 -06:00