- Changelog
- Version 2.8.5
- Version 2.8.4
- Version 2.8.3
- Version 2.8.2
- Version 2.8.0
- Version 2.7.4
- Version 2.7.0
- Version 2.6.1
- Version 2.6.0
- Version 2.5.0
- Version 2.4.0
- Version 2.3.0
- Version 2.2.7
- Version 2.2.6
- Version 2.2.5
- Version 2.2.4
- Version 2.2.3
- Version 2.2.2
- Version 2.2.1
- Version 2.2.0
- Version 2.1.1
- Version 2.1.0
- Version 2.0.5
- Version 2.0.4
- Version 2.0.2
- Use Ethernet_Generic library as default for W5x00 Ethernet.
- Add support to Portenta_H7
- Add support to WIZNet W5100S, such as WIZnet Ethernet HAT and W5100S-EVB-Pico
- Update
Packages' Patches
- Auto detect ESP32 core version.
- Fix bug in examples for WT32_ETH01
- Update
Packages' Patches
- Update
platform.ini
andlibrary.json
to use originalkhoih-prog
instead ofkhoih.prog
after PIO fix - Update
Packages' Patches
- Add support to WT32_ETH01 (ESP32 + LAN8720A) using WEBSOCKET_SSL or not
- Add support to RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040, using Arduino-mbed RP2040 core.
- Add support to RP2040-based boards, such as RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040, using Earle Philhower's arduino-pico core using LittleFS
-
Removed QueueList.h and use std::queue instead
-
Many new Examples
- examples / Light / RGB_LED_Stripe_5050
- examples / Light / Light_FastLED_WS2812
-
Add support and many new examples for SeeedStudio WIO Terminal
-
New
- Speaker & TV
onAdjustVolume
callback changed: The new format isbool onAdjustVolume(const String &deviceId, int &volumeDelta, bool volumeDefault);
volumeDefault
:false
if the user specified the amount by which to change the volume; otherwisetrue
- Speaker & TV
-
Fixed
.c_str()
for AppKey, AppSecret and DeviceId return now a validconst char*
- Switch example
SinricProDevice.getDeviceId()
returnsSinricProId
instead ofchar*
since version 2.7.0
New:
-
Added new classes for AppKey, AppSecret and DeviceId This allows to store credentials efficiently in EEPROM and reduces the internal RAM usage
-
Added function to measure the RTT between device and SinricPro Server (SinricPro.onPong())
Fixed:
- Type mismatches in Crypto.h / Crypto.cpp (to reduce compiler warnings)
Fixed: Air Quality Sensor example for sensor type GP2Y1014AU0F
New:
-
Devices
- AirQualitySensor
-
Examples
- AirQualitySensor
Changed:
- SinricProCamera device type added to support Camera. Camera example updated
New:
-
Devices
- Camera
-
Examples
- Camera
New:
-
Devices
- PowerSensor
-
Examples
- PowerSensor
New:
-
Devices
- Blinds
- GarageDoor
-
Examples
- Thermostat
- Blinds
- GarageDoor
New:
- Examples
- Dimmable Switch
- Light
- Speaker
Updated:
- User documentation
- added SinricPro.onConnected() / SinricPro.onDisconnected()
Fixed:
- Examples
- Some examples didn't use BAUD_RATE
New:
- User Documentation using Doxygen available at https://sinricpro.github.io/esp8266-esp32-sdk
Fixed:
- Some sendEvent functions didn't return
true
/false
- Arduino TV example
New:
- Added new
callback
for TVonChangeChannelNumber
This is to support changing channels using a channel number instead of channel name. - New TV Example
- Added this
changelog.md
Fixed:
- Some sendEvent functions didn't return
true
/false
- Fixed json in
skipChannels
response - Fixed json in
sendChangeChannels
event
Updated Readme
- about return values of sendEvent functions
New:
- Added example for
SinricProTemperaturesensor
Bugfix:
- Fixed typo in
onTargetTemperature
event
New :
- Added GarageDoorExample (ArudinoIDE) including wiring diagram
This is based on
SinricProLock
device
Code optimizations:
- Changed callbacks to use
const String&
in callback functions to avoid unnecessary string copying - Changed event limitation to prevent server flooding
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 unnecessary includes
Bug fixes
- Fixed json protocol on events
- Fixed URL in library.properties
- Fixed UDP
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
New features:
- Removed NTPClient dependency
- Extract timeStamp from messages Keep timestamp in sync without NTP
- RestoreDeviceStates Request last known device states from server
Changed:
- Processing of incoming 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
Limited temperature and humidity to one decimal point
New interfaces introduced:
- SinricProInterface
- SinricProDeviceInterface
Marked deprecated functions:
- add(SinricProDeviceInterface& newDevice);
- add(SinricProDeviceInterface* newDevice);
fixed UDP problems on ESP32
SinricPro.add() added deviceId validation check to avoid wrong deviceId's
Devices: Thermostat & WindowAC fixed "adjustTargetTemperature" request
SinricProWebsocket.h added server-address on websocket debug output