We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a58f621 commit c5a606aCopy full SHA for c5a606a
changelog.md
@@ -1,4 +1,8 @@
1
# Changelog
2
+## Version 2.5.1
3
+New:
4
+- added IP and MAC address to header
5
+
6
## Version 2.5.0
7
New:
8
- Speaker device supports SelectInput
src/SinricProWebsocket.h
@@ -65,6 +65,8 @@ void websocketListener::setExtraHeaders() {
65
String headers = "appkey:" + socketAuthToken + "\r\n";
66
headers += "deviceids:" + deviceIds + "\r\n";
67
headers += "restoredevicestates:" + String(restoreDeviceStates?"true":"false") + "\r\n";
68
+ headers += "ip:" + WiFi.localIP().toString() + "\r\n";
69
+ headers += "mac:" + WiFi.macAddress() + "\r\n";
70
#ifdef ESP8266
71
headers += "platform:ESP8266\r\n";
72
#endif
0 commit comments