From 7cad3ad02116f55552743ca97d9192cef6e5cd46 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sat, 4 Jun 2022 17:50:18 +0200 Subject: [PATCH] Implement new dimmode command format and active screen brightness --- ioBroker/NsPanelTs.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ioBroker/NsPanelTs.ts b/ioBroker/NsPanelTs.ts index 991037f1..5f2c8dec 100644 --- a/ioBroker/NsPanelTs.ts +++ b/ioBroker/NsPanelTs.ts @@ -148,6 +148,7 @@ export const config: Config = { fourthScreensaverEntity: { ScreensaverEntity: "alias.0.Pv.ACTUAL", ScreensaverEntityIcon: "solar-power", ScreensaverEntityText: "PV", ScreensaverEntityUnitText: "W" }, timeoutScreensaver: 15, dimmode: 8, + active: 100, screenSaverDoubleClick: false, locale: "de_DE", timeFormat: "%H:%M", @@ -299,7 +300,7 @@ function HandleStartupProcess(): void { SendDate(); SendTime(); SendToPanel({ payload: "timeout~" + config.timeoutScreensaver }); - SendToPanel({ payload: "dimmode~" + config.dimmode }); + SendToPanel({ payload: "dimmode~" + config.dimmode + "~" + config.active }); } function SendDate(): void {