Fix group commands issue #159

Group commands were sending on the shade address not the group address.
This commit is contained in:
Robert Strouse 2023-10-12 18:12:17 -07:00
parent e3c35e7a31
commit d851ae1ea4
6 changed files with 10 additions and 10 deletions

View file

@ -3,7 +3,7 @@
#ifndef configsettings_h
#define configsettings_h
#define FW_VERSION "v2.1.9"
#define FW_VERSION "v2.1.10"
enum DeviceStatus {
DS_OK = 0,
DS_ERROR = 1,

Binary file not shown.

Binary file not shown.

View file

@ -1 +1 @@
2.1.9
2.1.10

View file

@ -3,11 +3,11 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<link rel="stylesheet" href="main.css?v=2.1.9" type="text/css" />
<link rel="stylesheet" href="widgets.css?v=2.1.9" type="text/css" />
<link rel="stylesheet" href="icons.css?v=2.1.9" type="text/css" />
<link rel="stylesheet" href="main.css?v=2.1.10" type="text/css" />
<link rel="stylesheet" href="widgets.css?v=2.1.10" type="text/css" />
<link rel="stylesheet" href="icons.css?v=2.1.10" type="text/css" />
<link rel="icon" type="image/png" href="favicon.png" />
<script type="text/javascript" src="index.js?v=2.1.9"></script>
<script type="text/javascript" src="index.js?v=2.1.10"></script>
</head>
<body>
<div id="divContainer" class="container main" data-auth="false">
@ -516,9 +516,9 @@
</div>
<div>
<div id="divSomfyGroupButtons" style="float:right;margin-top:-32px;position:relative">
<div class="button-outline" onclick="somfy.sendCommand(parseInt(document.getElementById('spanGroupId').innerText, 10), 'up');"><i class="icss-somfy-up"></i></div>
<div class="button-outline" onclick="somfy.sendCommand(parseInt(document.getElementById('spanGroupId').innerText, 10), 'my');" style="font-size: 2em; padding: 10px;"><span>my</span></div>
<div class="button-outline" onclick="somfy.sendCommand(parseInt(document.getElementById('spanGroupId').innerText, 10), 'down');"><i class="icss-somfy-down" style="margin-top:-4px;"></i></div>
<div class="button-outline" onclick="somfy.sendGroupCommand(parseInt(document.getElementById('spanGroupId').innerText, 10), 'up');"><i class="icss-somfy-up"></i></div>
<div class="button-outline" onclick="somfy.sendGroupCommand(parseInt(document.getElementById('spanGroupId').innerText, 10), 'my');" style="font-size: 2em; padding: 10px;"><span>my</span></div>
<div class="button-outline" onclick="somfy.sendGroupCommand(parseInt(document.getElementById('spanGroupId').innerText, 10), 'down');"><i class="icss-somfy-down" style="margin-top:-4px;"></i></div>
</div>
</div>
</div>

View file

@ -1214,7 +1214,7 @@ var security = new Security();
class General {
initialized = false;
appVersion = 'v2.1.9';
appVersion = 'v2.1.10';
reloadApp = false;
init() {
if (this.initialized) return;