Skip to content

Commit 51f6599

Browse files
committed
Added changelog.md
1 parent d6ed2f8 commit 51f6599

File tree

2 files changed

+144
-0
lines changed

2 files changed

+144
-0
lines changed

changelog.md

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
#Changelog
2+
3+
## Version 2.2.5
4+
5+
New:
6+
- Added new `callback` for TV `onChangeChannelNumber`
7+
This is to support changing channels using a
8+
channel number instead of channel name.
9+
- New TV Example
10+
- Added this `changelog.md`
11+
12+
Fixed:
13+
- Some sendEvent functions didn't return `true`/`false`
14+
- Fixed json in `skipChannels` response
15+
- Fixed json in `sendChangeChannels` event
16+
17+
Updated Readme
18+
- about return values of sendEvent functions
19+
20+
---
21+
22+
## Version 2.2.4
23+
24+
New:
25+
- Added example for `SinricProTemperaturesensor`
26+
27+
Bugfix:
28+
- Fixed typo in `onTargetTemperature` event
29+
30+
---
31+
32+
## Version 2.2.3
33+
34+
New :
35+
- Added GarageDoorExample (ArudinoIDE) including wiring diagram
36+
This is based on `SinricProLock` device
37+
38+
Code optimizations:
39+
- Changed callbacks to use `const String&` in callback functions
40+
to avoid unnecessary string copying
41+
- Changed event limitiation to prevent server flooding
42+
43+
---
44+
45+
## Version 2.2.2
46+
47+
New Feature:
48+
- `SinricPro.setResponseMessage(String &&message)` allows to return a meaningful error message if callback returned false.
49+
This message will shown in a red box on SinricPro portal website.
50+
51+
- SinricProLock return state "JAMMED" now if callback failed (returned false)
52+
53+
Code optimization
54+
- SinricProDevice is now default handler for powerState event/request
55+
56+
- SinricProSwitch is now a typedef to SinricProDevice since SinricProDevice handles onPowerState
57+
58+
- removed unneccessary includes
59+
60+
Bug fixes
61+
- Fixed json protocol on events
62+
- Fixed URL in library.properties
63+
- Fixed UDP
64+
65+
---
66+
67+
## Version 2.2.1
68+
69+
New features:
70+
71+
- New Callback functions for onConnected / onDisconnected
72+
- SinricPro.onConnected(std::function<void(void)>);
73+
- SinricPro.onDisconnected(std::function<void(void)>);
74+
75+
- Automatic device addition
76+
- You can use ```SinricProSwitch& mySwitch = SinricPro[DEVICEID];``` to add a new device.
77+
78+
Changed:
79+
- Stronger id validation (app-key, app-secret and deviceIds)
80+
- Added more details to debug log about wrong id's
81+
82+
Fixed:
83+
- Typos
84+
85+
---
86+
87+
## Version 2.2.0
88+
89+
New features:
90+
- Removed NTPClient dependency
91+
- Extract timeStamp from messages
92+
Keep timestamp in sync without NTP
93+
- RestoreDeviceStates
94+
Request last known device states from server
95+
96+
Changed:
97+
- Processessing of incomming messages
98+
Prepared for client-sided requests and server-sided responses
99+
- Processing of outgoing messages
100+
Messages stored without signature / timestamp in sendQueue
101+
Timestamp and signature will applied while sendQueue is processed
102+
103+
---
104+
105+
## Version 2.1.1
106+
107+
Limited temperature and humidity to one decimal point
108+
109+
---
110+
111+
## Version 2.1.0
112+
113+
New interfaces introduced:
114+
- SinricProInterface
115+
- SinricProDeviceInterface
116+
117+
Marked deprecated functions:
118+
- add(SinricProDeviceInterface& newDevice);
119+
- add(SinricProDeviceInterface* newDevice);
120+
121+
---
122+
123+
## Version 2.0.5
124+
125+
fixed UDP problems on ESP32
126+
127+
---
128+
129+
## Version 2.0.4
130+
131+
**SinricPro.add()**
132+
added deviceId validation check to avoid wrong deviceId's
133+
134+
---
135+
## Version 2.0.2
136+
137+
**Devices**: Thermostat & WindowAC
138+
fixed "adjustTargetTemperature" request
139+
140+
**SinricProWebsocket.h**
141+
added server-address on websocket debug output
142+
143+
---

examples/TV/TV.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,5 @@ void setup() {
180180

181181
void loop() {
182182
SinricPro.handle();
183+
SinricPro.re
183184
}

0 commit comments

Comments
 (0)