From 42156b162284f4e7073b4155671921913117f8bd Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Thu, 27 Jul 2023 21:15:26 -0500 Subject: [PATCH 1/3] Update ServiceList.md --- docs/ServiceList.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ServiceList.md b/docs/ServiceList.md index 416ecee..1416fd6 100644 --- a/docs/ServiceList.md +++ b/docs/ServiceList.md @@ -56,7 +56,8 @@ Additionally, when first starting up, HomeSpan begins by validating the device's |StatelessProgrammableSwitch|ProgrammableSwitchEvent|Name
ServiceLabelIndex| |Switch|On|Name| |Television|Active|ConfiguredName
ActiveIdentifier
RemoteKey
PowerModeSelection| -|TelevisionSpeaker|VolumeControlType
VolumeSelector||TemperatureSensor|CurrentTemperature|Name
StatusActive
StatusFault
StatusTampered
StatusLowBattery| +|TelevisionSpeaker|VolumeControlType
VolumeSelector| +|TemperatureSensor|CurrentTemperature|Name
StatusActive
StatusFault
StatusTampered
StatusLowBattery| |Thermostat|CurrentHeatingCoolingState
TargetHeatingCoolingState
CurrentTemperature
TargetTemperature
TemperatureDisplayUnits|CoolingThresholdTemperature
CurrentRelativeHumidity
HeatingThresholdTemperature
Name
TargetRelativeHumidity| |Valve|Active
InUse
ValveType|SetDuration
RemainingDuration
IsConfigured
ServiceLabelIndex
StatusFault
Name| |Window|CurrentPosition
TargetPosition
PositionState|Name
HoldPosition
ObstructionDetected| From 8baf70994d17b8c16144b838e126e3b6577cc025 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Fri, 4 Aug 2023 06:44:39 -0500 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a87d6fa..4a25c9a 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ HomeSpan requires version 2.0.0 or later of the [Arduino-ESP32 Board Manager](ht * Integrated access to the ESP32's on-chip Remote Control peripheral for easy generation of IR and RF signals * Dedicated classes to control one- and two-wire addressable RGB and RGBW LEDs and LED strips * Dedicated classes to control stepper motors that can run smoothly in the background without interfering with HomeSpan -* Dedicated class that faciliates seemless point-to-point communication between ESP32 devices using ESP-NOW +* Dedicated class that faciliates seamless point-to-point communication between ESP32 devices using ESP-NOW * Integrated Web Log for user-defined log messages * Extensively-commented Tutorial Sketches taking you from the very basics of HomeSpan through advanced HomeKit topics * Additional examples and projects showcasing real-world implementations of HomeSpan From 2e1c4cf7a00b7eadc29998359dd05b1eb14f1d72 Mon Sep 17 00:00:00 2001 From: Gregg Date: Mon, 4 Sep 2023 22:22:36 -0500 Subject: [PATCH 3/3] Update 15-RealPushButtons.ino --- examples/15-RealPushButtons/15-RealPushButtons.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/15-RealPushButtons/15-RealPushButtons.ino b/examples/15-RealPushButtons/15-RealPushButtons.ino index 491a97f..25f3fd1 100644 --- a/examples/15-RealPushButtons/15-RealPushButtons.ino +++ b/examples/15-RealPushButtons/15-RealPushButtons.ino @@ -248,7 +248,7 @@ void loop(){ // For example, if you were using an MCP I/O Port Expander with the Adafruit mcp library, you could create a triggerType function for a pin // on the MCP device that is connected to ground through a pushbutton as such: // - // boolean MCP_READ(int mcpPin) { return ( !mcp.digitalRead(mcpPin); ) } + // boolean MCP_READ(int mcpPin) { return ( !mcp.digitalRead(mcpPin) ); } // // And then simply pass MCP_READ to SpanButton as the triggerType parameter using any of the SpanButton constuctors: // @@ -258,7 +258,7 @@ void loop(){ // // Alternatively, you can use a lambda function as the triggerType parameter, thus creating your function on the fly when instantiating a SpanButton: // - // new SpanButton(23,[](int mcpPin)->boolean{ return ( !mcp.digitalRead(mcpPin); ) } + // new SpanButton(23,[](int mcpPin)->boolean{ return ( !mcp.digitalRead(mcpPin) ); }); // // Note: If you create your own triggerType function, don't forget to perform any initialization of the "pin", or setup/configuration of a // pin extender, etc., prior to instantiating a SpanButton that uses your custom function. HomeSpan cannot do this for you.