Commit Graph

23 Commits

Author SHA1 Message Date
Gregg 70c62367cd Updatd Example 10 to address HomeKit Notification Bug
Added check for newValue==true even though this should not be necessary.
2020-08-01 17:23:53 -05:00
Gregg 6646aae799 Fixed bug in updateCharacteristics
Fixed bug that was causing a crash when trying to update to separate services at the same time.
2020-08-01 11:29:15 -05:00
Gregg 4e4108fe1c Move "SENT ENCRYPTED" Log2 message
Added message to sendEncrypted function, instesd of having is repeated everywhere.
2020-08-01 08:38:44 -05:00
Gregg 0a07f9666d Updated TimedReset
Allow for any characteristic that is not read-only, which should leave out all string characteristics.

Upon reset, zero out all 8 bytes of UVal memory, instead of simply setting UVal.BOOL to false.  This allows use of TimedReset for any characteristic with a numerical value.
2020-08-01 08:32:16 -05:00
Gregg a595fdf53f Completed Example 10 2020-07-30 22:11:01 -05:00
Gregg 861a37c7a1 Converted AutoOff to TimedResets 2020-07-29 07:26:13 -05:00
Gregg 59494a129f Added HomeSpan Version number
And added DATE/TIME of Compile
2020-07-29 06:28:24 -05:00
Gregg dd269ad7b3 Created Example 9
Changed DEBUG_LEVEL to VERBOSITY
2020-07-28 08:20:44 -05:00
Gregg fb0a8dacb7 Created Example 8 2020-07-26 11:36:14 -05:00
Gregg ce17b08d4d Update HomeSpan.cpp
Added edp-idf version
2020-07-25 22:13:03 -05:00
Gregg 04ad1646d3 Created Example 7
Implements DEV_Identify in it's own file DEV_Identify.h
2020-07-25 21:52:49 -05:00
Gregg 57fef4b496 Create /extras folder
Created /extras folder and moved PwmPin and RFControl files from src into src/extras.
2020-07-25 20:47:05 -05:00
Gregg ff08605b8b Create Example 6 and Add PWM Code
PwmPin added to HomeSpan library
2020-07-25 11:07:38 -05:00
Gregg 195be43f5a Completed Example 5 2020-07-25 08:47:05 -05:00
Gregg 47e7f7b6b4 Converted StatusCode to Class
Converted "statusCode Enum" to "StatusCode Class Enum" and moved from HomeSpan.h to Settings.h
2020-07-24 21:54:09 -05:00
Gregg f3f8996c8a Created Example 5 2020-07-24 16:53:53 -05:00
Gregg 182ce9ab84 Update 4-AdvancedCeilingFan.ino 2020-07-19 16:06:41 -05:00
Gregg 0cdcd488aa Completed Example 4
Also added in Fan RotationSpeed and Fan RotationDirection Characteristics.
2020-07-19 07:46:28 -05:00
Gregg 8a905c4d35 SpanRange Updated
Updated SpanRange to register itself automatically to the most recent Characteristic.  This is more consistent with the overall framework and no longer requires user to access the range variable directly.
2020-07-19 06:25:09 -05:00
Gregg 17184483ba Editing Example 4 2020-07-18 23:05:02 -05:00
Gregg e6a3fc7261 Renamed Examples 1 and 2 2020-07-18 22:10:34 -05:00
Gregg 523f460176 Create Two_LightBulbs.ino 2020-07-18 22:05:41 -05:00
Gregg cccb61f946 Initial commit 2020-07-18 21:47:39 -05:00