Release cleanup

This commit is contained in:
Robert Strouse 2023-01-22 15:21:01 -08:00
parent 9181fd924a
commit 2b81cd877c
5 changed files with 5 additions and 5 deletions

View file

@ -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.

Binary file not shown.

View file

@ -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);

View file

@ -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