Compare commits

..

66 Commits

Author SHA1 Message Date
Armilar
54422eccaa v4.3.3.34 - Bose Soundtouch final Proto
Fix: Disabled Icon Status while bug by updating data points in ioBroker (reason unknown)
2024-01-08 11:29:19 +01:00
dependabot[bot]
02004f4b6d Bump home-assistant/builder from 2023.12.0 to 2024.01.0 (#1129)
Bumps [home-assistant/builder](https://github.com/home-assistant/builder) from 2023.12.0 to 2024.01.0.
- [Release notes](https://github.com/home-assistant/builder/releases)
- [Commits](https://github.com/home-assistant/builder/compare/2023.12.0...2024.01.0)

---
updated-dependencies:
- dependency-name: home-assistant/builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 09:15:39 +01:00
Armilar
58278c5388 Merge pull request #1127 from joBr99/Armilar-patch-4
Fix Bose Soundtouch Proto
2024-01-07 23:44:53 +01:00
Armilar
ff7d2020f7 Update NSPanelTs.ts 2024-01-07 23:42:35 +01:00
Armilar
160420fe82 Merge pull request #1126 from kuckuckmann/patch-11
Update Alarm_Page_Erweitertes_Skript_mit_PopupNotifyPage.xml
2024-01-07 23:11:19 +01:00
kuckuckmann
56703ec458 Update Alarm_Page_Erweitertes_Skript_mit_PopupNotifyPage.xml
Add further Text to create String for ID
2024-01-07 18:28:37 +01:00
Armilar
9947664ae8 Merge pull request #1125 from kuckuckmann/patch-10
Update Alarm_Page_Erweitertes_Skript_mit_PopupNotifyPage.xml
2024-01-07 14:42:08 +01:00
kuckuckmann
4d3f54439e Update Alarm_Page_Erweitertes_Skript_mit_PopupNotifyPage.xml
Fix Number Value from decimal to integer value and convert to string for Datapoint PopupNotifyPage [string] at Block Value.
2024-01-07 14:41:07 +01:00
Armilar
6254f369f4 Merge pull request #1124 from ticaki/main
add namespace
2024-01-07 14:31:31 +01:00
ticaki
9b98cac4c8 More types without namespace for compatibility. 2024-01-07 13:49:36 +01:00
ticaki
71f3b75ab2 add namespace 2024-01-07 13:33:30 +01:00
Armilar
1a5cf8a2f7 Merge pull request #1122 from ticaki/main
1 Line warning for EHOSTUNREACH
2024-01-07 10:39:01 +01:00
ticaki
33712b198d Merge branch 'joBr99:main' into main 2024-01-07 00:06:33 +01:00
ticaki
1fd5784a54 1 Line warning for EHOSTUNREACH 2024-01-07 00:05:50 +01:00
Armilar
3904ca2343 Fix BoseSoundtouch Proto 2024-01-06 23:44:10 +01:00
Armilar
8ebd0f5193 Merge pull request #1121 from ticaki/main
some types and scriptname for menu
2024-01-06 20:46:45 +01:00
ticaki
8c9bca3f25 Merge branch 'joBr99:main' into main 2024-01-06 19:34:45 +01:00
ticaki
6908744669 some types and scriptname for menu 2024-01-06 19:32:26 +01:00
Armilar
d0e463de98 v4.3.3.33 - Hotfix
* Hotfix max Number of indicatorScreensaverEntity
* Beta Player Bose Soundtouch
2024-01-05 17:54:07 +01:00
Armilar
f4c7287dfd v4.3.3.33 - Update NSPanelTs.ts
Hotfix max Number of indicatorScreensaverEntity
2024-01-05 17:51:15 +01:00
Armilar
a33df14761 Merge pull request #1119 from ticaki/main
Fixed: HandleScreensaverUpdate: Cannot read properties of undefined
2024-01-05 17:38:08 +01:00
ticaki
3afc41269c Merge branch 'joBr99:main' into main 2024-01-05 17:22:49 +01:00
ticaki
11add2bfcc Fix screensaver bla of undefined 2024-01-05 17:22:21 +01:00
Armilar
dd84fa16e5 v4.3.3.33 - Update NSPanelTs.ts
Add Bose Soundtouch Functions
2024-01-05 14:30:34 +01:00
Armilar
e823c0f1ec Update NSPanelTs.ts
Add Bose Soundtouch Functions
2024-01-05 14:28:12 +01:00
Armilar
56c104a5bc v4.3.3.32 - Update NsPanelTs.ts
* Hotfix Spotify
* Add Types see commits
* v4.3.3.32 Add more details to types for: leftScreensaverEntity, indicatorScreensaverEntity, PageThermo, PageMedia 
* Remove not uses propertys from PageItem
* Add Body for BoseSoundtouch-Player
2024-01-05 12:55:36 +01:00
Armilar
bfb2c2eaab v4.3.3.32 - Update NSPanelTs.ts
* Hotfix Spotify
* Add Types see commits
* v4.3.3.32 Add more details to types for: leftScreensaverEntity, indicatorScreensaverEntity, PageThermo, PageMedia 
* Remove not uses propertys from PageItem
* Add Body for BoseSoundtouch-Player
2024-01-05 12:53:46 +01:00
Armilar
7d57205ac2 Merge pull request #1118 from ticaki/main
Add types, Remove not used Propertys
2024-01-05 12:48:06 +01:00
ticaki
4b81b1794d Reset NsPanelTS.ts from ./iobroker/ 2024-01-05 11:16:52 +01:00
ticaki
f5019b494f Reset NsPanelTS.ts from ./iobroker/ 2024-01-05 11:10:42 +01:00
ticaki
5102b8b955 Add Types for
ButtonActionType
EventMethod
SerialType
2024-01-05 11:06:53 +01:00
ticaki
089e553944 remove unused propertys
add types leftScreensaverEntityType
add types indicatorScreensaverEntityType
add types PageMediaItem
add types PageThermoItem
add types roles (common.role)
add types ButtonActionType
add alot undefined checks
add some type checks
merge 2 on() functions
2024-01-05 03:14:55 +01:00
ticaki
dfc07a6d76 Merge branch 'joBr99:main' into main 2024-01-04 22:36:50 +01:00
Armilar
b7687e006c v4.3.3.32 - Update NsPanelTs.ts
Hotfix Spotify Player
2024-01-04 22:23:56 +01:00
Armilar
10cf15bebd v4.3.3.32 - Update NSPanelTs.ts
Hotfix Spotify Player
2024-01-04 22:22:01 +01:00
Armilar
fc3d4adc72 Update NSPanelTs.ts 2024-01-04 22:15:47 +01:00
Armilar
bc330d5aaf Create NSPanelTs.ts 2024-01-04 22:14:03 +01:00
ticaki
c8a8feace2 some more types 2024-01-04 21:49:08 +01:00
Armilar
9afdaa4cbc v4.3.3.31 - Update NsPanelTs.ts
* Remove: autoCreateAlias from cardMedia
* Remove: adapterPlayerInstance from every card except cardMedia
* [dev]: optional with type - cardMedia has adapterPlayerInstance all other not 
* [dev]: add PlayerType some more work to do
* changed: adapterPlayerInstance instance 0-9 allowed. Always require a '.' at the end.
2024-01-03 21:11:51 +01:00
Armilar
18c7f2eb9c Merge pull request #1116 from ticaki/main
some more types
2024-01-03 21:01:29 +01:00
ticaki
de237171ef add cases 2024-01-03 20:53:15 +01:00
ticaki
a4b90944e8 typo 2024-01-03 20:17:53 +01:00
ticaki
cb44fcc8c9 add bose aliase 2024-01-03 20:16:13 +01:00
ticaki
03bae9e9bd add check for adapterPlayerInstanceType 2024-01-03 19:10:42 +01:00
ticaki
1ec463f6c7 type 2024-01-03 18:45:21 +01:00
ticaki
5420abcfaa adapterPlayerInstance more types 2024-01-03 18:38:45 +01:00
ticaki
e2530cdf62 typo in types 2024-01-03 17:38:53 +01:00
ticaki
b14687cb30 some more types 2024-01-03 17:04:07 +01:00
Armilar
360fb881f1 v4.3.3.30 - Update NsPanelTs.ts by Ticaki
- Überarbeitung der Types 
- Verbesserung der Variablenprüfung
- Bessere Fehleranzeige in der Konfiguration
2024-01-02 22:52:47 +01:00
Armilar
90d35a8574 Merge pull request #1113 from ticaki/main
v4.3.3.30 - Types work
2024-01-02 21:49:30 +01:00
ticaki
73a0ba468e ticaki for ever 2024-01-02 19:58:44 +01:00
ticaki
4e7119768b PageType in config 2024-01-02 18:32:39 +01:00
ticaki
8bfa6deb76 Add version 2024-01-02 17:52:31 +01:00
ticaki
e87febc54a cardUnlock partial usecolor 2024-01-02 17:46:29 +01:00
ticaki
43df10e823 Merge branch 'joBr99:main' into main 2024-01-02 17:37:09 +01:00
ticaki
e2acb70a1c some types 2024-01-02 17:36:30 +01:00
Armilar
f8774af675 Merge pull request #1112 from tt-tom17/Tasmota_Buzzer
v4.3.3.29 Update NSPanel.ts
2024-01-02 16:07:07 +01:00
Thomas
9ddb6c7834 Update NsPanelTs.ts 2024-01-02 15:53:38 +01:00
Thomas
330e5fecdf v4.3.3.29 Update NSPanel.ts
- Add Tasmota Buzzer for NotifyPage
- Fix ThermoPage -> UnSubScribsWatcher
2024-01-02 15:51:48 +01:00
ticaki
6cc41bf510 some types work 2024-01-02 14:05:03 +01:00
ticaki
956bd23a56 add types for ScreensaverEntityIconColor 2024-01-02 11:59:19 +01:00
ticaki
f1ce806ded fix cardMedia 2024-01-02 02:02:28 +01:00
ticaki
7748c22292 fix ActivePage 2024-01-01 23:30:31 +01:00
ticaki
131aa491b9 update config: Config 2024-01-01 22:09:19 +01:00
ticaki
dbc5ff7ccd fix typo 2024-01-01 21:55:22 +01:00
ticaki
5c3f366e53 fix types 2024-01-01 21:53:13 +01:00
11 changed files with 13976 additions and 1792 deletions

View File

@@ -100,7 +100,7 @@ jobs:
- name: Build ${{ matrix.addon }} add-on
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@2023.12.0
uses: home-assistant/builder@2024.01.0
with:
args: |
${{ env.BUILD_ARGS }} \

View File

@@ -1,5 +1,5 @@
---
secrets: /homeassistant/secrets.yaml
secrets: /config/secrets.yaml
appdaemon:
latitude: 52.0
longitude: 4.0

View File

@@ -7,7 +7,7 @@ nspanel-1:
panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"
screensaver:
entity: weather.k3ll3r
theme: !include /config/apps/screensaver-theme.yaml
theme: !include /config/appdaemon/apps/screensaver-theme.yaml
#background: [220, 0, 0]
#time: [220, 0, 255]
#timeAMPM: [220, 0, 255]
@@ -53,4 +53,4 @@ nspanel-1:
cards:
- type: cardEntities
entities:
- entity: switch.example_item
- entity: switch.example_item

View File

@@ -8,8 +8,8 @@ nspanel-1:
updateMode: "auto-notify"
screensaver:
entity: weather.k3ll3r
theme: !include /config/apps/screensaver-theme.yaml
theme: !include /config/appdaemon/apps/screensaver-theme.yaml
cards:
- type: cardEntities
entities:
- entity: switch.example_item
- entity: switch.example_item

View File

@@ -22,16 +22,17 @@ 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.
You will find this file in the following location: `/addon_configs/a0d7b954_appdaemon/appdaemon.yaml` (if using Home Assistant Addon)
You will find this file in the following location: `/addon_configs/a0d7b954_appdaemon/appdeamon.yaml`
```yaml
---
secrets: /homeassistant/secrets.yaml # !!! Note this has changed for AppDaemon Addon >= v 0.15.0
secrets: /homeassistant/secrets.yaml
appdaemon:
latitude: 52.0
longitude: 4.0
elevation: 2
time_zone: Europe/Berlin
app_dir: /homeassistant/appdaemon/apps/ # !!! This is really important for AppDaemon HA Addon >= 15
plugins:
HASS:
type: hass
@@ -51,16 +52,10 @@ admin:
api:
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
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).
Please add the following minimal configuration to your apps.yaml, which is located in `config/appdaemon/apps/apps.yaml`
Note: You need to move your `apps.yaml` to this location if it isn't there.

View File

@@ -32,18 +32,6 @@ Please don't modify the Full Topic in your Tasmota Config, unless you know the i
- 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
### Update AppDaemon Script

1732
ioBroker/.iobroker/types/javascript.d.ts vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -971,12 +971,37 @@
</value>
</block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="I4PsJQb;6k+70^g*Xt/}">
<field name="BOOL">TRUE</field>
</shadow>
<block type="math_random_float" id="C5/h)jq=yPM?,9J=(w65"></block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="I4PsJQb;6k+70^g*Xt/}">
<field name="BOOL">TRUE</field>
</shadow>
<block type="text_join" id="XdhGC7#MxGw|KhC1x#MY">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text" id="[(_1;{xE-xfzeB4]$uk;">
<field name="TEXT">ID</field>
</block>
</value>
<value name="ADD1">
<block type="convert_tostring" id="g{jZOA*6Clhc5`9::h.S">
<value name="VALUE">
<block type="math_random_int" id="SXG?j1]Jza!2fg[(cl!i">
<value name="FROM">
<shadow type="math_number" id="#/-;$~`{=}8wYY$kbvA9">
<field name="NUM">1</field>
</shadow>
</value>
<value name="TO">
<shadow type="math_number" id="0x8~a;asHsiJ2Its%!VJ">
<field name="NUM">100</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="+6#n%fO}e4h%;FhKPV0c">
<field name="NUM">0</field>

9979
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

28
ioBroker/tsconfig.json Normal file
View 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/**"
]
}