Skip to content

Commit

Permalink
v.3.36.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jemu75 committed Nov 15, 2023
1 parent 091c17e commit afe87e8
Show file tree
Hide file tree
Showing 60 changed files with 381 additions and 268 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Versionsinformationen
## v.3.36.3 (15.11.2023)
**Bugfix**
- core: Anpassung im Modul createConnected

## v.3.36.2 (21.01.2023)
**Bugfix**
- Standard-Template: bei Verwendung von Menu wird jetzt auch die Iconfarbe und Disabled berücksichtigt
Expand Down
483 changes: 246 additions & 237 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fhemapp",
"version": "3.36.2",
"version": "3.36.3",
"private": true,
"author": "jemu75",
"scripts": {
Expand Down
32 changes: 32 additions & 0 deletions public/cfg/templ_shellydimmer_mqtt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "shellydimmer_mqtt",
"author": "jemu75",
"date": "2023-04-26",
"status": {
"bar": ["state:off:0:on","pct::%n:on"],
"error": ["mqtt_connected:false:100:error:keine Verbindung"]
},
"main": [
{
"leftBtn": "mdi-power-off",
"leftClick": ["state::off"],
"text": ["state:off:aus","pct:100:an","pct:1:gedimmt"],
"rightBtn": "mdi-power-on",
"rightClick": ["state::on"]
},
{
"leftBtn": "mdi-lightbulb-outline",
"leftClick": ["pct::pct 0"],
"slider": ["pct::pct %v:%n:0:100"],
"rightBtn": "mdi-lightbulb-on-outline",
"rightClick": ["pct::pct 100"]
}
],
"info": {
"left1": ["state:on::mdi-lightbulb","state:::mdi-lightbulb-off"],
"left2": ["state:off:","pct:1:%n%"],
"mid1": ["temperature::%n.1°C"],
"right1": ["new_fw:true::mdi-cloud-download"],
"right2": ["mqtt_connected:true::mdi-wifi","mqtt_connected:::mdi-wifi-off"]
}
}
2 changes: 1 addition & 1 deletion public/cfg/templ_shellyswitch_mqtt.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"right1": ["new_fw:true::mdi-cloud-download"],
"right2": ["mqtt_connected:true::mdi-wifi","mqtt_connected:::mdi-wifi-off"]
}
}
}
18 changes: 18 additions & 0 deletions public/cfg/templ_toggleswitch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "toggleswitch",
"author": "jemu75",
"date": "2023-07-03",
"status": {
"bar": ["Connected.act.Readings.state.Value:on:100:success","Connected.act.Readings.state.Value:off:0:success"]
},
"main": [
{
"text": ["Connected.act.Readings.state.Value:on:an","Connected.act.Readings.state.Value:off:aus","state::%s"],
"rightBtn": "mdi-power",
"rightClick": ["Connected.act.Readings.state.Value::set Connected.act toggle"]
}
],
"info": {
"left1": ["Connected.act.Readings.state.Value:on::mdi-power-plug","Connected.act.Readings.state.Value:off::mdi-power-plug-off"]
}
}
2 changes: 1 addition & 1 deletion src/plugins/fhem.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,6 @@ class Fhem extends EventEmitter {
let idx = this.app.data.routeList.map((e) => e.route).indexOf(fltr);

this.app.data.deviceList.splice(0);
this.app.hasConnected = [];

if(idx != -1 || fltr.match('device=')) {
let filter = idx != -1 ? this.app.data.routeList[idx].deviceList.join(',') : fltr.replace('device=','').split('&')[0];
Expand All @@ -446,6 +445,7 @@ class Fhem extends EventEmitter {
options.setup = setup;
}

this.app.hasConnected = [];
item.Options = options;
if(item.Options.connected) item.Connected = await this.createConnected(item);
this.handleTemplate(item);
Expand Down
32 changes: 32 additions & 0 deletions www/fhemapp/cfg/templ_shellydimmer_mqtt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "shellydimmer_mqtt",
"author": "jemu75",
"date": "2023-04-26",
"status": {
"bar": ["state:off:0:on","pct::%n:on"],
"error": ["mqtt_connected:false:100:error:keine Verbindung"]
},
"main": [
{
"leftBtn": "mdi-power-off",
"leftClick": ["state::off"],
"text": ["state:off:aus","pct:100:an","pct:1:gedimmt"],
"rightBtn": "mdi-power-on",
"rightClick": ["state::on"]
},
{
"leftBtn": "mdi-lightbulb-outline",
"leftClick": ["pct::pct 0"],
"slider": ["pct::pct %v:%n:0:100"],
"rightBtn": "mdi-lightbulb-on-outline",
"rightClick": ["pct::pct 100"]
}
],
"info": {
"left1": ["state:on::mdi-lightbulb","state:::mdi-lightbulb-off"],
"left2": ["state:off:","pct:1:%n%"],
"mid1": ["temperature::%n.1°C"],
"right1": ["new_fw:true::mdi-cloud-download"],
"right2": ["mqtt_connected:true::mdi-wifi","mqtt_connected:::mdi-wifi-off"]
}
}
2 changes: 1 addition & 1 deletion www/fhemapp/cfg/templ_shellyswitch_mqtt.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"right1": ["new_fw:true::mdi-cloud-download"],
"right2": ["mqtt_connected:true::mdi-wifi","mqtt_connected:::mdi-wifi-off"]
}
}
}
18 changes: 18 additions & 0 deletions www/fhemapp/cfg/templ_toggleswitch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "toggleswitch",
"author": "jemu75",
"date": "2023-07-03",
"status": {
"bar": ["Connected.act.Readings.state.Value:on:100:success","Connected.act.Readings.state.Value:off:0:success"]
},
"main": [
{
"text": ["Connected.act.Readings.state.Value:on:an","Connected.act.Readings.state.Value:off:aus","state::%s"],
"rightBtn": "mdi-power",
"rightClick": ["Connected.act.Readings.state.Value::set Connected.act toggle"]
}
],
"info": {
"left1": ["Connected.act.Readings.state.Value:on::mdi-power-plug","Connected.act.Readings.state.Value:off::mdi-power-plug-off"]
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion www/fhemapp/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="de"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><link rel="icon" href="favicon.png"><link rel="apple-touch-icon" href="apple-touch-icon.png"><title>fhemapp</title><script defer="defer" src="js/chunk-vendors.e75fc7f3.js"></script><script defer="defer" src="js/app.cac0b616.js"></script><link href="css/chunk-vendors.d5cb8535.css" rel="stylesheet"><link href="css/app.9b8c7eb5.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but fhemapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang="de"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><link rel="icon" href="favicon.png"><link rel="apple-touch-icon" href="apple-touch-icon.png"><title>fhemapp</title><script defer="defer" src="js/chunk-vendors.d1ade8f2.js"></script><script defer="defer" src="js/app.3a10ee7e.js"></script><link href="css/chunk-vendors.d5cb8535.css" rel="stylesheet"><link href="css/app.9b8c7eb5.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but fhemapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
1 change: 1 addition & 0 deletions www/fhemapp/js/137.1b662cc3.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion www/fhemapp/js/137.56d91d2a.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions www/fhemapp/js/218.374afb5a.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit afe87e8

Please sign in to comment.