Commit Graph

1430 Commits

Author SHA1 Message Date
HomeSpan 5cb29526c3
Update OTA.md 2023-02-11 07:57:26 -06:00
Gregg 22bd16e936 Added ability to set OTA password from within sketch
Adds second form of homeSpan.enableOTA(const char *pwd, boolean safeLoad=true)
2023-02-11 07:49:16 -06:00
HomeSpan 8114798cae
Update LICENSE 2023-02-04 18:52:19 -06:00
HomeSpan 83d994f321
Update library.properties 2023-02-04 18:51:08 -06:00
HomeSpan 1b3e901a63
Update README.md 2023-02-04 18:49:18 -06:00
HomeSpan 2e88e5a093
Update README.md 2023-02-04 18:23:37 -06:00
HomeSpan 86944152e7
Update README.md 2023-02-04 18:19:49 -06:00
Gregg 88897ee085 Updated copyright dates on source code 2023-02-04 11:41:57 -06:00
Gregg 2f713b3749 Update HomeSpan.h 2023-02-04 10:15:37 -06:00
HomeSpan a65c5853ae
Update Reference.md 2023-02-04 10:09:10 -06:00
HomeSpan f7e02ecf62
Update Reference.md 2023-02-04 07:57:16 -06:00
Gregg e2678f5661 Added position() method to SpanToggle()
Created PushButton::OPEN and PushButton::CLOSED enums.

This completes all SpanToggle() functionality.  Will add a SpanToggle() to UnitTest.
2023-02-03 23:09:08 -06:00
Gregg c3d0c98e04 Created SpanToggle()
Derived from SpanButton()
2023-01-31 22:55:43 -06:00
Gregg 232362c807 Update Utils.h
Added comments for new toggled() functionality
2023-01-30 07:56:46 -06:00
Gregg 1a3887b6cf Added switch toggle logic to PushButton Class
Adds new method toggled() which is the analog of triggered().

Next step: Extend SpanButton to access this new logic.
2023-01-29 18:30:25 -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 21a88f0ed4 Merge branch 'dev' of https://github.com/HomeSpan/HomeSpan into dev 2023-01-26 20:22:58 -06:00
Gregg d04677d051 Update RemoteDevice8286.ino 2023-01-26 20:22:48 -06:00
HomeSpan 86337e5bfe
Update NOW.md 2023-01-26 20:10:31 -06:00
Gregg eb53e7f6e7 Moved SpanPoint initialization message to main Info 'i' output
Created SpanPoint table within 'i' output
2023-01-25 22:22:49 -06:00
HomeSpan 2bc8e7e89a
Update NOW.md 2023-01-25 06:53:30 -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
HomeSpan 49f6316df8
Update NOW.md 2023-01-23 06:15:51 -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
HomeSpan fa787a9c63
Update PWM.md 2023-01-13 06:51:08 -06:00
Gregg 6d18d5a3dc Added "invert" option to LedPin()
If invert=true, PWM output will be phase-inverted.  This is useful when creating a pair of PWM pins that need to be out of phase by 180 degrees (e.g driving a piezo-electric buzzer via two PWM pins).
2023-01-07 20:44:19 -06:00
Gregg a8271c8724 Added homeSpan.refreshStatusDevice()
Provides for additional control over Status LED when a generic device has been used.  If the color of the device is changed, the change will only take effect when the LED is next turned on.  If the LED is blinking, the color changes upon the next blink.  But if the LED is ON, there is no next blink and color will not change.

This method check the status of the LED, and if it is ON, is calls the on() function again, which will result in an update of the color.  The method does nothing if the LED is OFF or BLINKING.
2023-01-07 17:09:22 -06:00
Gregg 9ef9a590da Added homeSpan.setStatusDevice()
Allows any Blinkable class to be used as the Status LED
2023-01-07 14:28:50 -06:00
HomeSpan 56a46b5fdb
Update Reference.md 2023-01-01 17:10:08 -06:00
HomeSpan e51dc8c765
Update Reference.md 2023-01-01 16:52:19 -06:00
HomeSpan 4b88d4a1af
Update Reference.md 2023-01-01 15:22:12 -06:00
Gregg 3cb8d27342 Added CUSTOM_CHAR_DATA() macro
Similar to CUSTOM_CHAR_STRING() macro, but does not include a parameter to set the default value (since the user can type an invalid string).  Instead, user setData after creating the Characteristic as needed.
2023-01-01 15:08:34 -06:00
Gregg 72b4ece64d Added DATA format
Includes 3 new methods: getData(), getNewData(), and setData()
2023-01-01 11:33:50 -06:00
HomeSpan f3f2c5c4c8
Update TVServices.md 2022-12-29 12:36:09 -06:00
Gregg 1f7c86621c Bumped version number to 1.7.1 2022-12-28 17:18: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 eecce34848 Added NVS storage for last channel used in SpanPoint
Applicable only for remote devices (i.e. not a Hub device).  Last channel stored is used as initial channel upon reboot, provided that this channel is allowed by the channel mask (if not, the first allowed channel is selected instead).
2022-12-27 09:55:30 -06:00
Gregg 3fae9c24a9 Updated Television Characteristics
Removed Mute, Active, and Volume since they don't appear to do anything.
2022-12-23 18:39:14 -06:00
Gregg 7939624bf7 Added Service::TelevisionSpeaker
Also updated Television Example.  Volume buttons on remote now function as expected, though there does not seems to be a mute button
2022-12-23 16:51:55 -06:00
Gregg ea07da5ab0 Update HomeSpan.h
Fixed another compiler warning
2022-12-11 14:19:37 -06:00
Gregg 5daaf3d0cf Added #pragma once to extras header files 2022-12-03 11:12:30 -06:00
Gregg 484f1c4f2e Cleaned up compiler warnings
* Changed ~SpanService to virtual function to ensure any user-defined destructor is also called

* Found/corrected bug in error message related to defining a Characteristic without any Service

* Added warning/error ID numbers to warning/error messages

* Other misc changes to clean up compiler warnings
2022-12-02 17:49:54 -06:00
HomeSpan cc443f8f08
Merge pull request #439 from HomeSpan/master
Update dev to reflect final master 1.7.0
2022-11-17 10:44:26 -06:00
HomeSpan 3521df6ac7
Update README.md 2022-11-11 18:06:53 -06:00
HomeSpan 7b457bbbb8
Merge pull request #422 from HomeSpan/dev
Create HomeSpan 1.7.0
2022-11-11 18:05:28 -06:00
HomeSpan 1c5ece0512
Update library.properties 2022-11-08 05:44:47 -06:00
Gregg a761d992e8 Updated version number to 1.7.0 2022-11-08 05:37:25 -06:00
HomeSpan 8ff9ebc2c1
Update README.md 2022-11-06 13:58:01 -05:00