Skip to content

Releases: sinricpro/esp8266-esp32-sdk

Version 2.9.6

27 Jul 17:13
Compare
Choose a tag to compare

Version 2.9.6

New

  • Namespace implemented
    Each version gets its own namespace in the form of SINRICPRO_X_Y_Z (SINRICPRO_2_9_6)
  • SinricProDevice: implemented registerRequestHandler (used by capabilities to register their requestHandler functions)
  • Implemented SinricProStrings to avoid unnecessary string duplication and move the strings into PROGMEM.
  • New temperature sensors example added HTU21D & AHT10 (thanks to jpa-welten)

Changes

  • Removed types: DeviceId, AppKey and AppSecret. These are now again of type String.

  • Include guard is now based on #pragma once instead of #ifndef, #define and #endif

  • Event-Limiting system changed
    Attempting to send events shorter than these minimum waiting times will add the minimum waiting time as a delay to each attempt. If excessive events are tried to be sent (e.g. in a loop) a warning is displayed.

    Events overview (click for more details)
    Events allowed every 10 seconds Events allowed every 60 seconds
    sendBrightnessEvent sendAirQualityEvent
    sendChangeChannelEvent sendPowerSensorEvent
    sendColorEvent sendTemperatureEvent
    sendColoColorTemperatureEvent
    sendContactEvent
    sendDoorbellEvent
    sendDoorStateEvent
    sendBandsEvent
    sendSelectInputEvent
    sendLockStateEvent
    sendModeEvent
    sendMediaControlEvent
    sendMotionEvent
    sendMuteEvent
    sendSetPercentageEvent
    sendPowerLevelEvent
    sendPowerStateEvent
    sendRangeValueEvent
    sendTargetTemperatureEvent
    sendThermostatModeEvent
    sendToggleStateEvent
    sendVolumeEvent

Code cleanup

  • Moved callback definitions outside from class definitions
    (possible by the use of a dedicated namespace)
  • Static-Cast (CRTP) unified to Pointer.

Version 2.9.5

01 Jul 14:08
Compare
Choose a tag to compare

Fixed:

  • SinricProPowerSensor was missing PowerStateController

Improved:

  • Improved error message when a callback is not implemented

Version 2.9.4

22 Apr 14:21
Compare
Choose a tag to compare

Fixed

-Compiler error on libb64/cencode.h when ESP8266WebServer is included before SinricPro.h.

Version 2.9.3

05 Apr 14:06
Compare
Choose a tag to compare
  • RangeController accepts callbacks for integer and floating point values
  • Event limitation takes into account different instances for generic controllers
  • SettingController implemented for future use

Version 2.9.2

19 Mar 12:38
Compare
Choose a tag to compare
  • Removed external crypto libraries
  • Changed & fixed signature calculation
  • use std::bind instead lambda functions for member callbacks (SinricProWebsockets.h)

From version 2.9.1:
Bugfix:

  • SinricProTemperatureSensor (fixed wrong include)
  • SinricProWindowAC (fixed copy & paste error)
  • SinricProDevice (getDeviceId was protected by mistake)

Version 2.9.0

25 Feb 14:26
Compare
Choose a tag to compare

New:

  • support custom devices
  • check for minimum websockets version

Fixed:

  • MultiRelays example

Version 2.8.0

10 Dec 16:43
Compare
Choose a tag to compare
  • SSL is now enabled by default

Version 2.7.6

14 Nov 08:57
Compare
Choose a tag to compare

Version 2.7.6

  • Internal changes
    removed QueueList.h and use std::queue instead

Version 2.7.5

  • New Examples
    • Examples / Light / RGB_LED_Stripe_5050
    • Examples / Switch / Relay

2.7.4

12 Nov 17:43
Compare
Choose a tag to compare
  • New
    • Speaker & TV onAdjustVolume callback changed:
      The new format is bool onAdjustVolume(const String &deviceId, int &volumeDelta, bool volumeDefault);
      volumeDefault: false if the user specified the amount by which to change the volume; otherwise true

Version 2.7.3

07 Nov 08:50
Compare
Choose a tag to compare

Fixed
.c_str() for AppKey, AppSecret and DeviceId return now a valid const char*