mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Release cleanup
This commit is contained in:
parent
9181fd924a
commit
2b81cd877c
5 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#ifndef configsettings_h
|
||||
#define configsettings_h
|
||||
|
||||
#define FW_VERSION "v1.03.1"
|
||||
#define FW_VERSION "v1.0.7"
|
||||
enum DeviceStatus {
|
||||
DS_OK = 0,
|
||||
DS_ERROR = 1,
|
||||
|
|
@ -37,7 +37,7 @@ class WifiSettings: BaseSettings {
|
|||
public:
|
||||
WifiSettings();
|
||||
char serverId[10] = "";
|
||||
char hostname[32] = "";
|
||||
char hostname[32] = "ESPSomfyRTS";
|
||||
char ssid[32] = "";
|
||||
char passphrase[32] = "";
|
||||
bool ssdpBroadcast = true;
|
||||
|
|
|
|||
Binary file not shown.
BIN
SomfyController.littlefs.bin
Normal file
BIN
SomfyController.littlefs.bin
Normal file
Binary file not shown.
2
Web.cpp
2
Web.cpp
|
|
@ -346,7 +346,7 @@ void Web::begin() {
|
|||
int shadeId = atoi(server.arg("shadeId").c_str());
|
||||
SomfyShade* shade = somfy.getShadeById(shadeId);
|
||||
if (shade) {
|
||||
DynamicJsonDocument doc(256);
|
||||
DynamicJsonDocument doc(512);
|
||||
JsonObject obj = doc.to<JsonObject>();
|
||||
shade->toJSON(obj);
|
||||
serializeJson(doc, g_content);
|
||||
|
|
|
|||
|
|
@ -1041,7 +1041,7 @@
|
|||
};
|
||||
var firmware = new Firmware();
|
||||
|
||||
function setAppVersion() { document.getElementById('spanAppVersion').innerText = 'v1.00.1'; }
|
||||
function setAppVersion() { document.getElementById('spanAppVersion').innerText = 'v1.0.7'; }
|
||||
Number.prototype.round = function (dec) { return Number(Math.round(this + 'e' + dec) + 'e-' + dec); };
|
||||
Number.prototype.fmt = function (format, empty) {
|
||||
if (isNaN(this)) return empty || '';
|
||||
|
|
@ -1444,7 +1444,7 @@
|
|||
|
||||
</div>
|
||||
<hr />
|
||||
<div id="divLinkedRemoteList" style="overflow-y:auto;max-height:50px;"></div>
|
||||
<div id="divLinkedRemoteList" style="overflow-y:auto;max-height:77px;"></div>
|
||||
<div class="button-container">
|
||||
<button id="btnLinkRemote" type="button" onclick="somfy.linkRemote(parseInt(document.getElementById('spanShadeId').innerText, 10));">
|
||||
Link Remote
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue