Releases: sinricpro/esp8266-esp32-sdk
Releases · sinricpro/esp8266-esp32-sdk
Update to Verison 2.2.2
New Feature:
- SinricPro.setResponseMessage(String &&message) allows to return a meaningful error message if callback returned false.
This message will shown in a red box on SinricPro portal website. - SinricProLock return state "JAMMED" now if callback failed (returned false)
Code optimization
- SinricProDevice is now default handler for powerState event/request
- SinricProSwitch is now a typedef to SinricProDevice since SinricProDevice handles onPowerState
- removed unneccessary includes
Bug fixes
- Fixed json protocol on events
- Fixed URL in library.properties
- Fixed UDP
Update to Version 2.2.1
New features:
-
New Callback functions for onConnected / onDisconnected
- SinricPro.onConnected(std::function<void(void)>);
- SinricPro.onDisconnected(std::function<void(void)>);
-
Automatic device addition
- You can use
SinricProSwitch& mySwitch = SinricPro[DEVICEID];
to add a new device.
- You can use
Changed:
- Stronger id validation (app-key, app-secret and deviceIds)
- Added more details to debug log about wrong id's
Fixed:
- Typos
Version 2.2.0
Update to Version 2.2.0
New features:
- Removed NTPClient dependency
- Extract timeStamp from messages
Keep timestamp in sync without NTP - RestoreDeviceStates
Request last known device states from server
Changed:
- Processessing of incomming messages
Prepared for client-sided requests and server-sided responses - Processing of outgoing messages
Messages stored without signature / timestamp in sendQueue
Timestamp and signature will applied while sendQueue is processed
Version 2.1.1
Limited temperature and humidity to one decimal point
Version 2.1.0
New interfaces introduced:
- SinricProInterface
- SinricProDeviceInterface
Marked deprecated functions:
- add(SinricProDeviceInterface& newDevice);
- add(SinricProDeviceInterface* newDevice);