Commit Graph

640 Commits

Author SHA1 Message Date
HomeSpan eab2f2eca2
Update QRCodes.md 2021-01-29 21:17:43 -06:00
HomeSpan c21a58f54f
Update QRCodes.md 2021-01-29 21:14:58 -06:00
HomeSpan 96eb390530
Update QRCodes.md 2021-01-29 21:14:21 -06:00
HomeSpan 954b5ca3b0
Update QRCodes.md 2021-01-29 18:39:04 -06:00
HomeSpan f575beeab3
Update QRCodes.md 2021-01-29 18:09:57 -06:00
HomeSpan f6b02a125e
Update QRCodes.md 2021-01-28 22:04:37 -06:00
HomeSpan cfec57eff3
Update QRCodes.md 2021-01-28 22:00:37 -06:00
HomeSpan f8f692cc1f
Update QRCodes.md 2021-01-28 21:58:57 -06:00
Gregg ac973a0cf8 Update QRCode.png 2021-01-28 21:37:44 -06:00
Gregg 171ad8f803 Update QRCode.png 2021-01-28 21:36:08 -06:00
HomeSpan 8cc292e40a
Merge pull request #25 from HomeSpan/dev1.1.5
Dev1.1.5
2021-01-28 21:31:25 -06:00
Gregg f37e708f1a Delete QRCode.png 2021-01-28 21:30:57 -06:00
HomeSpan 8f13f68f19
Update QRCodes.md 2021-01-28 21:25:54 -06:00
Gregg bf5b0c0d92 Update QRCode.png 2021-01-28 21:23:46 -06:00
Gregg 9e4b068aba Update QRCode.png 2021-01-28 21:17:46 -06:00
Gregg 8fd82dd3cd Create QRCode.png 2021-01-28 21:15:24 -06:00
Gregg a39b1ede0b Created QR Code Image 2021-01-28 21:14:19 -06:00
HomeSpan 374de6deda
Update QRCodes.md 2021-01-28 21:10:05 -06:00
HomeSpan 3e50611e12
Update QRCodes.md 2021-01-28 21:06:48 -06:00
HomeSpan 6c224ec9cf
Update QRCodes.md 2021-01-28 18:28:03 -06:00
HomeSpan bd611918bb
Update QRCodes.md 2021-01-28 09:37:20 -06:00
HomeSpan 58991b22a6
Update QRCodes.md 2021-01-28 09:03:50 -06:00
HomeSpan 71a2892bd2
Update QRCodes.md 2021-01-28 08:17:11 -06:00
HomeSpan 571360e376
Update QRCodes.md 2021-01-28 07:39:55 -06:00
HomeSpan 7685f11a24
Update QRCodes.md 2021-01-27 18:34:57 -06:00
HomeSpan 181a7e5fe0
Create QRCodes.md 2021-01-27 18:17:46 -06:00
HomeSpan 17d8b94cfb
Update Reference.md 2021-01-26 19:26:34 -06:00
Gregg b6b835ad42 Created HapQR class in standalone HapQR.h file
Class used for the creation and storage of a pairing QR Code (just the text, not the actual graphic) from a HAP Setup Code, HAP Category, and HAP Setup ID.  The resulting QR Code text is output to Serial Monitor whenever the SetUp Code is generated or changed.  The user can type this text into any QR Generator to create a QR Code graphic for pairing the device to HomeKit (in lieu of creating a printed tag of the Setup Code formatted using the Scancardium font).

Though not needed for HomeSpan, this class implements all the settings and parameters (such as Version and Reserved) used to generate any Apple HomeKit QR Code.

This class is used internally by HomeSpan and is not intended for the end-user.
2021-01-26 19:13:07 -06:00
HomeSpan 77d436141a
Update README.md 2021-01-24 19:33:09 -06:00
Gregg 2a5d5c138b Update src.ino 2021-01-24 18:53:49 -06:00
HomeSpan a9bc348822
Merge pull request #24 from HomeSpan/Development
Create Release 1.1.4
2021-01-24 18:49:01 -06:00
Gregg 9b71d6928a Added QR Code logic
HomeSpan now broadcasts a Hashed Setup ID as MDNS "sh", which is used when pairing with a QR Code instead of a Setup Code.  A text version of the resulting QR code is output to the Serial Monitor whenever the 9-digit Setup Code is generated or changed.  The text version of the QR code can then be input into any QR Code Generator to create a pairable QR Code.

The default Setup ID used to create the Hashed Setup ID is "HSPN".  This can be changed with homeSpan.setQRCode(const char *id), where id is exactly 4 alphanumeric characters.  If not, the request to change the Setup ID is silently ignored and remains "HSPN."
2021-01-24 18:46:55 -06:00
Gregg 78cbd926f1 Updated licenses and version number
Change copyright years to 2020-2021, and updated version number to 1.1.4 in preparation for next patch.
2021-01-24 12:02:24 -06:00
Gregg 9f7d288d18 Ignore any '\r' characters received from Serial Monitor
This allows the Serial Monitor to send NL or CR/NL at end of each line.  A newline ('\n') must be at the end to terminate reading from the Serial Monitor, but any preceeding carriage returns are stripped out.
2021-01-23 20:55:06 -06:00
Gregg d68c34c53f Update HomeSpan.h
Fixed a few more compiler warnings related to const char *
2021-01-22 22:05:13 -06:00
HomeSpan 7048f7684f
Update Reference.md 2021-01-22 22:04:01 -06:00
HomeSpan 4808149b57
Update Reference.md 2021-01-22 21:59:11 -06:00
Gregg d41b335aee Cleaned up various compiler warnings when compiled with max warning level
Also added a missing check on hapServer existing before it is used (bug introduced in last update where hapServer became dynamically initialized).
2021-01-22 21:37:29 -06:00
Gregg 750a658241 Added new method homeSpan.setPortNum(port)
HomeSpan defaults to running the HAP Server on port 80 (the standard HTTP port).  This method allows the user to over-ride the default and have HomeSpan run the HAP Server on any other port.

ALSO:  In updating this portion of the code, identified an additional parameter to the ESP32 version of WiFiServer that allows one to specify the number of simultaneous Server connections.  The ESP32 default is 4, which suggests that the ESP32 was internally juggling connections that HomeSpan was keeping open (since the HomeSpan default is 8 connections).

This WiFiServer call has been updated to now specify both the port number AND the number of maximum simultaneous connections (to match whatever has been set by HomeSpan).  This may or may not result in improving performance when more than 4 clients are connected.
2021-01-22 09:45:50 -06:00
Gregg b87a3d1dc3 Added new method homeSpan.setHostNameSuffix()
Allows user to replace the 6-byte AccessoryID "suffix" in the hostName with a custom suffix, included a blank string.  To do: Add to documentation.
2021-01-21 08:07:57 -06:00
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