diff --git a/HMI/README.md b/HMI/README.md index fc6e6845..babc19c0 100644 --- a/HMI/README.md +++ b/HMI/README.md @@ -52,7 +52,8 @@ date,?Di 24. Februar set screensaver timeout (set time in ms limited from 50 to 65535: -timeout,15000 +timeout,15000,0 - timeout after 15000 disable screensaver +timeout,15000,1 - timeout after 15000 enable screensaver change the page type: @@ -64,6 +65,11 @@ pageType,cardMedia pageType,popupLight,Schreibtischlampe +### screensaver page + +weatherUpdate,? tMainIcon? tMainText? tMRIcon? tMR? tForecast1? tF1Icon? tForecast1Val? tForecast2? tF2Icon? tForecast2Val + +weatherUpdate,?0?2,3 C?0?0 mm?Mi?0?9,3 C?Do?0?11,5 C ### cardEntities Page diff --git a/HMI/nspanel.HMI b/HMI/nspanel.HMI index 1f388804..12a16a21 100644 Binary files a/HMI/nspanel.HMI and b/HMI/nspanel.HMI differ diff --git a/HMI/nspanel.tft b/HMI/nspanel.tft index a1d0d206..1280aa0d 100644 Binary files a/HMI/nspanel.tft and b/HMI/nspanel.tft differ diff --git a/apps/nspanel-lovelance-ui/nspanel-lovelance-ui.py b/apps/nspanel-lovelance-ui/nspanel-lovelance-ui.py index 86d34724..bbb0b802 100644 --- a/apps/nspanel-lovelance-ui/nspanel-lovelance-ui.py +++ b/apps/nspanel-lovelance-ui/nspanel-lovelance-ui.py @@ -88,7 +88,7 @@ class NsPanelLovelanceUI: if timeout < 5: timeout = 5 timeout = timeout * 1000 - self.send_mqtt_msg("timeout,{0}".format(timeout)) + self.send_mqtt_msg("timeout,{0},{1}".format(timeout, 1)) # send screensaver brightness self.update_screensaver_brightness(kwargs={"value": self.current_screensaver_brightness})