Gregg
f37889f8da
Added ClientIP as permanent part of Web Log ; DELETED homeSpan.getClientIP()
...
ClientIP will show as "0.0.0.0" if log message is not related to client request
2022-03-05 22:24:23 -06:00
Gregg
cf22ff1a92
Added homeSpan.getClientIP()
...
Gets IP address (as char *) of last client to send a request. Useful as part of web log messages. Will return 0.0.0.0 if used outside of any code that is responding to a client request.
2022-03-05 22:06:34 -06:00
Gregg
e3b9ed99cb
Added homeSpan.setTimeServerTimeout(uint32_t tSec);
...
Sets timeout when connecting to Time Server (default is 10 seconds if not specified)
2022-03-05 20:35:01 -06:00
Gregg
2787966c48
Converted webLog.addLog() to variadic form
...
Also created WEBLOG() variadic macro
2022-03-05 18:13:27 -06:00
Gregg
d9a9e6f31c
Changed webLog in HomeSpan from pointer to instantiated variable
...
Added isEnabled to SpanWebLog to indicate whether Web Log has been enabled. This allows the use of homeSpan.webLog.addLog() without ever enabling (in which case the log entries are ignored).
2022-03-05 12:50:20 -06:00
Gregg
acc64f863a
Added addLog(const char *) to SpanWebLog()
...
Also included logic so that clockTime is set to "Unknown" is addLog() is called prior to WiFi being established.
Next up: replace addLog(const char *) with a variadic set of parameters with dynamic storage allocation.
2022-03-05 10:40:01 -06:00
Gregg
168be05586
Progress on SpanWebLog()
2022-03-05 10:03:13 -06:00
Gregg
91ab626d6c
Update HomeSpan.h
2022-03-04 06:15:48 -06:00
Gregg
b6c019d1a8
Finished Time Stamping - Started Web Log Structure
2022-03-03 21:37:20 -06:00
Gregg
20ce79ef34
Added check to ensure time server is available
...
If not, homeSpan.timeServer is reset to NULL
2022-03-02 21:41:06 -06:00
Gregg
571bc55852
Added optional homeSpan.setTimeServer() method
...
If specified, HomeSpan will try to get internet time after establishing WiFi connection. Consumes one socket connection.
2022-02-27 18:29:58 -06:00
Gregg
ae4b6e8df1
Initial creation of getStatusURL() web log
...
Built basic framework to response to "GET /status". Next up: Add timeclock.
2022-02-27 18:04:12 -06:00
HomeSpan
71071198c3
Update FAQ.md
2022-02-27 16:23:02 -06:00
HomeSpan
eb49f606ce
Update FAQ.md
2022-02-27 16:18:55 -06:00
HomeSpan
ead3ba6747
Update Reference.md
2022-02-27 10:29:37 -06:00
Gregg
e51320cced
Create CustomService.ino
...
Added to Other Examples
2022-02-27 09:53:17 -06:00
Gregg
170e0b61b1
Add new macro CUSTOM_SERV() to created custom services
...
Also, updated error checking so that the UUID for both custom Services and custom Characteristics are checked for syntax. A fatal error is thrown if an ill-formatted UUID is found, since this will definitely prevent pairing with the HomeApp.
The UUID for HAP Services and Characteristics are NOT error checked, since these are fixed in HomeSpan.
Also, the custom Characteristics are not validated against the optional list for a service. If the user adds a custom Characteristic to a HAP Service, it is assumed to be valid. Similarly, none of the Characteristics (HAP of Custom) in a Custom Service are validated at all.
2022-02-27 09:51:27 -06:00
Gregg
bf2e1354b1
Added second version of SpanUserCommand() that takes a void *arg
...
Useful for passing a pointer to a Service that can be used in the CLI command.
2022-02-22 21:53:17 -06:00
Gregg
ea09e5c8f3
Create FeatherPins.h
...
For developer use only - facilitates testing the same code across an ESP32, ESP32-S2, and ESP32-C3 without re-wiring by using an Adafruit FeatherBoard as a common jig.
2022-02-21 15:08:19 -06:00
Gregg
fbbfd3f4a6
Update Pixel tutorial to refresh update() twice on initialization for DotStar
...
Seems to be required to "sync" LEDs
2022-02-21 10:57:35 -06:00
HomeSpan
49ba6a2e3e
Update FAQ.md
2022-02-20 13:46:04 -06:00
HomeSpan
9c53e7e025
Update FAQ.md
2022-02-20 13:32:47 -06:00
HomeSpan
f247f66071
Update GettingStarted.md
2022-02-20 13:15:30 -06:00
Gregg
02d841390c
Updated License Dates
2022-02-20 13:05:03 -06:00
HomeSpan
3efe5e6077
Update README.md
2022-02-20 13:00:25 -06:00
HomeSpan
7408379b9a
Update README.md
2022-02-20 12:29:42 -06:00
HomeSpan
fd0936d91c
Update README.md
2022-02-20 12:29:14 -06:00
HomeSpan
76d86b6500
Updated to version 1.5.0
2022-02-20 12:10:30 -06:00
Gregg
7bfc1d48fb
Updated version to 1.5.0
2022-02-20 12:09:03 -06:00
HomeSpan
f7014ff154
Update Reference.md
2022-02-20 11:57:36 -06:00
HomeSpan
7bb028b17c
Update README.md
2022-02-20 08:58:40 -06:00
HomeSpan
019c774fb3
Merge branch 'dev' of https://github.com/HomeSpan/HomeSpan into dev
2022-02-20 07:50:54 -06:00
HomeSpan
9e6989782d
Delete Extras.md
2022-02-20 07:50:43 -06:00
HomeSpan
b341f43d42
Update README.md
2022-02-20 07:49:16 -06:00
HomeSpan
3b1a76b878
Update GettingStarted.md
2022-02-20 07:35:34 -06:00
HomeSpan
70cc546df5
Update RMT.md
2022-02-20 07:31:55 -06:00
HomeSpan
278e203296
Update PWM.md
2022-02-20 07:28:44 -06:00
Gregg
cc50e72b0a
Splitting out HomeSpan Extras documentation into separate pages for RFControl and PWM
2022-02-20 07:15:47 -06:00
HomeSpan
e16a050741
Update Pixels.md
2022-02-20 07:14:01 -06:00
HomeSpan
3382dcda0f
Update Pixels.md
2022-02-20 06:51:15 -06:00
Gregg
b141a83630
Update extras.ino
2022-02-19 18:29:34 -06:00
HomeSpan
846dc5edd4
Update Pixels.md
2022-02-19 17:55:54 -06:00
HomeSpan
7bae81270a
Update Pixels.md
2022-02-19 17:45:09 -06:00
HomeSpan
c1ea67fe7b
Update Pixels.md
2022-02-19 17:44:16 -06:00
HomeSpan
dc0969a10b
Update Pixels.md
2022-02-19 17:35:13 -06:00
HomeSpan
4ca2b21260
Update Pixels.md
2022-02-19 16:48:15 -06:00
HomeSpan
993d839376
Update Pixels.md
2022-02-19 14:02:27 -06:00
HomeSpan
95ca6637f7
Update Pixels.md
2022-02-19 13:12:27 -06:00
HomeSpan
c06daedfba
Update Pixels.md
2022-02-19 12:26:43 -06:00
HomeSpan
72a042b7cc
Update Pixels.md
2022-02-19 10:37:11 -06:00