Skip to content

Releases: sinricpro/esp8266-esp32-sdk

Update to Verison 2.2.2

18 Nov 04:23
Compare
Choose a tag to compare

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

09 Nov 05:53
Compare
Choose a tag to compare

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.

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

05 Nov 18:26
Compare
Choose a tag to compare

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

29 Oct 04:23
Compare
Choose a tag to compare

Limited temperature and humidity to one decimal point

Version 2.1.0

26 Oct 09:47
Compare
Choose a tag to compare

New interfaces introduced:

  • SinricProInterface
  • SinricProDeviceInterface

Marked deprecated functions:

  • add(SinricProDeviceInterface& newDevice);
  • add(SinricProDeviceInterface* newDevice);

2.0.5

22 Oct 10:53
Compare
Choose a tag to compare

fixed UDP problems on ESP32

2.0.4

20 Oct 08:48
Compare
Choose a tag to compare

SinricPro.add()
added deviceId validation check to avoid wrong deviceId's

2.0.2

16 Oct 20:05
Compare
Choose a tag to compare

Devices: Thermostat & WindowAC
fixed "adjustTargetTemperature" request

SinricProWebsocket.h
added server-address on websocket debug output