Releases: philbowles/h4plugins
v1.0.1
Replace old MQTT client libray with one that actually works
Bug fix for 0.5.4 and a few new toys
Summary
BUGS FIXED
- UPNP devices not appearing / not discoverable by Alexa: new ucom.txt file in SPIFFS - re-upload SPIFFS
- Exception using certain functions in onMQTTConnect / Disconnect: Caused by event functions being called in sys context and not from queue, H4P_AsyncMQTT updated to put onConnect/Disconnect in queue
- H4P_Timekeeper: would cause repeated random timeouts in MQTT connection.
- H4P_Timekeeper: would only allow +ve timezones.
- Name precedence was not not working correctly in H4P_Wifi / H4P_UPNPServer
Known Issues
"Note that there's a fairly well known memory leak in setenv() which means that if you change timezones repeatedly, which you might do for an application that handles multiple time zones, you'll eventually run out of memory. "
NEW
- GPIO Strategy AnalogAverage + Example Sketch and/or Read the docs
- NTP Clock sketch on Wemos D1 Mini OLED shield
- H4P_Timekeeper Now availabe for ESP32 targets
- EXPERIMENTAL H4P_Sunrise Get sunrise/set times for your Lat/Long and use
at(SUNRISE... at(SUNSET...
- H4P_Sunrise example sketch
CHANGED
- Error code H4_CMD_NOT_NOW returned from
at
/daily
in H4P_Timekeeper if NTP not yet sync'd - H4P_CmdErrors amended for new code translation "Can't do now"
MySQLLogger and MQTTQueuelogger added
2020/02/24 0.4.0
fixed
OTA on ESP32
onChange bug in persistent storage
new
mysql logger EXPERIMENTAL! + new example
nodejs express webserver for the above
EVENTS on Binary thing and most thing drivers for logging
cmdErrors enchanced to reverse logTypes
getLogType added
H4P_MQTTQueueLogger + example
h4UserEvent macro compileable out
changed
getConfig moved from service to plugin - no accessible form SerialCmd
error removed from dealut log msg
new H4P_LOG_ERROR with seperate log msg id res > 0
serial logger translates type code is cmderrors used
customLogger.ino modified for error removal
AnalogThreshold/Thing added
2020/02/19 0.3.6
bugfix
Polled not getting value on fake event when in analog mode
new
GPIO types
AnalogThreshold + new example
AnalogThresholdThing + new example
added Persistent Storage
2020/02/19 0.3.5
breaking changes:
h4/factory moved to serialcmd from wifi
added
persistentStorage plugin
Adds MQTT logging and "Things" vs "Switches"
2020/02/18 0.3.4
breaking changes:
1. _hasName removed from H4: MUST upgrade to 0.4.1
2. BasicSwitch renamed to BinarySwitch
new
1. Logging
filtering added to exisiting loggers
added loggers:
H4P_MQTTLogger
H4P_MQTTHeapLogger
2. Thing/Switch paradigm
BasicSwitch renamed to BinarySwitch
added BinaryThing
UPNPThing
GPIOManager heavily modified
added DebouncedThing
EncoderThing
LatchingThing
PolledThing
RawThing
RetriggeringThing
Add logging facility + 2 loggers
Added general logging subsystem and two loggers: H4P_LocalLogger (to SPIFFS) and H4P_SerialLogger - more coming soon.
Also added requirement to follow #include<H4Plugins.h> with H4_USE_PLUGINS to overcome "initialisation hell" on some compilers
Initial Release
v0.0.1 Docs tweak