mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-17 18:36:59 +01:00
Compare commits
76 Commits
Armilar-pa
...
f9b6885cf8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9b6885cf8 | ||
|
|
d0e463de98 | ||
|
|
f4c7287dfd | ||
|
|
a33df14761 | ||
|
|
3afc41269c | ||
|
|
11add2bfcc | ||
|
|
dd84fa16e5 | ||
|
|
e823c0f1ec | ||
|
|
56c104a5bc | ||
|
|
bfb2c2eaab | ||
|
|
7d57205ac2 | ||
|
|
4b81b1794d | ||
|
|
f5019b494f | ||
|
|
5102b8b955 | ||
|
|
089e553944 | ||
|
|
dfc07a6d76 | ||
|
|
b7687e006c | ||
|
|
10cf15bebd | ||
|
|
fc3d4adc72 | ||
|
|
bc330d5aaf | ||
|
|
c8a8feace2 | ||
|
|
9afdaa4cbc | ||
|
|
18c7f2eb9c | ||
|
|
de237171ef | ||
|
|
a4b90944e8 | ||
|
|
cb44fcc8c9 | ||
|
|
03bae9e9bd | ||
|
|
1ec463f6c7 | ||
|
|
5420abcfaa | ||
|
|
e2530cdf62 | ||
|
|
b14687cb30 | ||
|
|
360fb881f1 | ||
|
|
90d35a8574 | ||
|
|
73a0ba468e | ||
|
|
4e7119768b | ||
|
|
8bfa6deb76 | ||
|
|
e87febc54a | ||
|
|
43df10e823 | ||
|
|
e2acb70a1c | ||
|
|
f8774af675 | ||
|
|
9ddb6c7834 | ||
|
|
330e5fecdf | ||
|
|
6cc41bf510 | ||
|
|
956bd23a56 | ||
|
|
f1ce806ded | ||
|
|
7748c22292 | ||
|
|
131aa491b9 | ||
|
|
dbc5ff7ccd | ||
|
|
5c3f366e53 | ||
|
|
b1b679701e | ||
|
|
c489f07c0a | ||
|
|
14bc7dedec | ||
|
|
d4067c5ddb | ||
|
|
50209418d7 | ||
|
|
8f3c74165d | ||
|
|
b7b8f389eb | ||
|
|
9082ed20f3 | ||
|
|
f807406a97 | ||
|
|
93aafe259b | ||
|
|
b96fc6e6bd | ||
|
|
1996b29c60 | ||
|
|
c8eb476ca8 | ||
|
|
aeaa995a0a | ||
|
|
b35122868f | ||
|
|
1cb974494f | ||
|
|
723ecde4cd | ||
|
|
f29e5c4978 | ||
|
|
46ffff7eea | ||
|
|
774c920591 | ||
|
|
f27eb07827 | ||
|
|
da8362d81d | ||
|
|
d071a58b6e | ||
|
|
62b318c355 | ||
|
|
4f7ac00796 | ||
|
|
0091525b29 | ||
|
|
c718c9a217 |
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
secrets: /config/secrets.yaml
|
secrets: /homeassistant/secrets.yaml
|
||||||
appdaemon:
|
appdaemon:
|
||||||
latitude: 52.0
|
latitude: 52.0
|
||||||
longitude: 4.0
|
longitude: 4.0
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ nspanel-1:
|
|||||||
panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"
|
panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"
|
||||||
screensaver:
|
screensaver:
|
||||||
entity: weather.k3ll3r
|
entity: weather.k3ll3r
|
||||||
theme: !include /config/appdaemon/apps/screensaver-theme.yaml
|
theme: !include /config/apps/screensaver-theme.yaml
|
||||||
#background: [220, 0, 0]
|
#background: [220, 0, 0]
|
||||||
#time: [220, 0, 255]
|
#time: [220, 0, 255]
|
||||||
#timeAMPM: [220, 0, 255]
|
#timeAMPM: [220, 0, 255]
|
||||||
@@ -53,4 +53,4 @@ nspanel-1:
|
|||||||
cards:
|
cards:
|
||||||
- type: cardEntities
|
- type: cardEntities
|
||||||
entities:
|
entities:
|
||||||
- entity: switch.example_item
|
- entity: switch.example_item
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ nspanel-1:
|
|||||||
updateMode: "auto-notify"
|
updateMode: "auto-notify"
|
||||||
screensaver:
|
screensaver:
|
||||||
entity: weather.k3ll3r
|
entity: weather.k3ll3r
|
||||||
theme: !include /config/appdaemon/apps/screensaver-theme.yaml
|
theme: !include /config/apps/screensaver-theme.yaml
|
||||||
cards:
|
cards:
|
||||||
- type: cardEntities
|
- type: cardEntities
|
||||||
entities:
|
entities:
|
||||||
- entity: switch.example_item
|
- entity: switch.example_item
|
||||||
|
|||||||
@@ -22,17 +22,16 @@ The configuration has been moved out of the config folder from homeassistant. Th
|
|||||||
|
|
||||||
For the app to work you need a working MQTT Configuration in AppDaemon. Please add the configuration of your mqtt server, user and password to your existing `appdaemon.yaml` Restart your AppDaemon Container (not HomeAssistant) after adding the MQTT Configuration.
|
For the app to work you need a working MQTT Configuration in AppDaemon. Please add the configuration of your mqtt server, user and password to your existing `appdaemon.yaml` Restart your AppDaemon Container (not HomeAssistant) after adding the MQTT Configuration.
|
||||||
|
|
||||||
You will find this file in the following location: `/addon_configs/a0d7b954_appdaemon/appdeamon.yaml`
|
You will find this file in the following location: `/addon_configs/a0d7b954_appdaemon/appdaemon.yaml` (if using Home Assistant Addon)
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
secrets: /homeassistant/secrets.yaml
|
secrets: /homeassistant/secrets.yaml # !!! Note this has changed for AppDaemon Addon >= v 0.15.0
|
||||||
appdaemon:
|
appdaemon:
|
||||||
latitude: 52.0
|
latitude: 52.0
|
||||||
longitude: 4.0
|
longitude: 4.0
|
||||||
elevation: 2
|
elevation: 2
|
||||||
time_zone: Europe/Berlin
|
time_zone: Europe/Berlin
|
||||||
app_dir: /homeassistant/appdaemon/apps/ # !!! This is really important for AppDaemon HA Addon >= 15
|
|
||||||
plugins:
|
plugins:
|
||||||
HASS:
|
HASS:
|
||||||
type: hass
|
type: hass
|
||||||
@@ -52,10 +51,16 @@ admin:
|
|||||||
api:
|
api:
|
||||||
hadashboard:
|
hadashboard:
|
||||||
```
|
```
|
||||||
|
If you are migrating from AppDaemon Addon < v 0.15.0, your configuration folders should have been automatically moved by the addon. However, if it wasn't or if you prefer to have your configuration files stored elsewhere include the following yaml:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
appdaemon:
|
||||||
|
app_dir: /homeassistant/appdaemon/apps/ # !!! This would point to /config/appdaemon/apps in your Home Assistant instance.
|
||||||
|
```
|
||||||
|
|
||||||
# Configure NsPanel on AppDaemon
|
# Configure NsPanel on AppDaemon
|
||||||
|
|
||||||
Please add the following minimal configuration to your apps.yaml, which is located in `config/appdaemon/apps/apps.yaml`
|
Please add the following minimal configuration to your apps.yaml, which is located in `/addon_configs/a0d7b954_appdaemon/apps/apps.yaml` (if using Home Assistant Addon).
|
||||||
|
|
||||||
Note: You need to move your `apps.yaml` to this location if it isn't there.
|
Note: You need to move your `apps.yaml` to this location if it isn't there.
|
||||||
|
|
||||||
|
|||||||
12
docs/faq.md
12
docs/faq.md
@@ -32,6 +32,18 @@ Please don't modify the Full Topic in your Tasmota Config, unless you know the i
|
|||||||
- the appdaemon log, after restarting the container
|
- the appdaemon log, after restarting the container
|
||||||
|
|
||||||
|
|
||||||
|
## This isn't working since AppDaemon v0.15.x
|
||||||
|
|
||||||
|
There has been an upstream change made to AppDaemon which changes where the configuration files are stored.
|
||||||
|
|
||||||
|
You may need to change your yaml files to reflect this:
|
||||||
|
|
||||||
|
filename | Home Assistant Share | Docker Container Location
|
||||||
|
-- | -- | --
|
||||||
|
appdaemon.yaml | /addon_configs/a0d7b954_appdaemon/appdaemon.yaml | /config/appdaemon.yaml
|
||||||
|
apps.yaml | /addon_configs/a0d7b954_appdaemon/apps/apps.yaml | /config/apps/apps.yaml
|
||||||
|
secrets.yaml | /config/secrets.yaml | /homeassistant/secrets.yaml
|
||||||
|
|
||||||
## How to update
|
## How to update
|
||||||
|
|
||||||
### Update AppDaemon Script
|
### Update AppDaemon Script
|
||||||
|
|||||||
1732
ioBroker/.iobroker/types/javascript.d.ts
vendored
Normal file
1732
ioBroker/.iobroker/types/javascript.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9894
ioBroker/DEV/NSPanelTs.ts
Normal file
9894
ioBroker/DEV/NSPanelTs.ts
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -2497,6 +2497,14 @@
|
|||||||
"vi-VN":"Mật khẩu",
|
"vi-VN":"Mật khẩu",
|
||||||
"zh-CN":"密码",
|
"zh-CN":"密码",
|
||||||
"zh-TW":"密碼"
|
"zh-TW":"密碼"
|
||||||
|
},
|
||||||
|
"Wlan enabled":{
|
||||||
|
"en-US":"Wlan enabled",
|
||||||
|
"de-DE":"Wlan aktiviert"
|
||||||
|
},
|
||||||
|
"Wlan disabled":{
|
||||||
|
"en-US":"Wlan disabled",
|
||||||
|
"de-DE":"Wlan deaktiviert"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"media":{
|
"media":{
|
||||||
|
|||||||
28
ioBroker/tsconfig.json
Normal file
28
ioBroker/tsconfig.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"compileOnSave": true,
|
||||||
|
"compilerOptions": {
|
||||||
|
"noEmit": true,
|
||||||
|
"allowJs": true,
|
||||||
|
"checkJs": true,
|
||||||
|
"module": "commonjs",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"strict": true,
|
||||||
|
"noImplicitReturns": true,
|
||||||
|
"noImplicitAny": false,
|
||||||
|
"target": "ES2022",
|
||||||
|
"typeRoots": [
|
||||||
|
".iobroker/types",
|
||||||
|
"node_modules/@types"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"**/*.js",
|
||||||
|
"**/*.ts",
|
||||||
|
"./.iobroker/types/javascript.d.ts"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"node_modules/**"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
|
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
|
||||||
name: NSPanel Lovelace UI Addon
|
name: NSPanel Lovelace UI Addon
|
||||||
version: "4.7.73"
|
version: "4.7.74"
|
||||||
slug: nspanel-lovelace-ui
|
slug: nspanel-lovelace-ui
|
||||||
description: NSPanel Lovelace UI Addon
|
description: NSPanel Lovelace UI Addon
|
||||||
services:
|
services:
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ class LovelaceUIPanel:
|
|||||||
self.schedule = Scheduler()
|
self.schedule = Scheduler()
|
||||||
self.schedule.minutely(datetime.time(second=0), self.update_time)
|
self.schedule.minutely(datetime.time(second=0), self.update_time)
|
||||||
self.schedule.hourly(datetime.time(
|
self.schedule.hourly(datetime.time(
|
||||||
minute=0, second=0), self.update_time)
|
minute=0, second=0), self.update_date)
|
||||||
schedule_thread = threading.Thread(target=self.schedule_thread_target)
|
schedule_thread = threading.Thread(target=self.schedule_thread_target)
|
||||||
schedule_thread.daemon = True
|
schedule_thread.daemon = True
|
||||||
schedule_thread.start()
|
schedule_thread.start()
|
||||||
|
|||||||
Reference in New Issue
Block a user