mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-23 16:04:25 +01:00
Merge branch 'joBr99:main' into main
This commit is contained in:
@@ -14,18 +14,22 @@ cardMedia
|
|||||||
22 Component(s)
|
22 Component(s)
|
||||||
210 Line(s) of event code
|
210 Line(s) of event code
|
||||||
116 Unique line(s) of event code
|
116 Unique line(s) of event code
|
||||||
popupNotify
|
|
||||||
17 Component(s)
|
|
||||||
171 Line(s) of event code
|
|
||||||
113 Unique line(s) of event code
|
|
||||||
pageStartup
|
pageStartup
|
||||||
19 Component(s)
|
19 Component(s)
|
||||||
146 Line(s) of event code
|
146 Line(s) of event code
|
||||||
111 Unique line(s) of event code
|
111 Unique line(s) of event code
|
||||||
|
popupNotify
|
||||||
|
17 Component(s)
|
||||||
|
171 Line(s) of event code
|
||||||
|
114 Unique line(s) of event code
|
||||||
pageSwipeTest
|
pageSwipeTest
|
||||||
18 Component(s)
|
18 Component(s)
|
||||||
62 Line(s) of event code
|
62 Line(s) of event code
|
||||||
44 Unique line(s) of event code
|
44 Unique line(s) of event code
|
||||||
|
popupLight
|
||||||
|
27 Component(s)
|
||||||
|
338 Line(s) of event code
|
||||||
|
170 Unique line(s) of event code
|
||||||
pageTest
|
pageTest
|
||||||
14 Component(s)
|
14 Component(s)
|
||||||
14 Line(s) of event code
|
14 Line(s) of event code
|
||||||
@@ -54,13 +58,9 @@ cardGrid
|
|||||||
39 Component(s)
|
39 Component(s)
|
||||||
406 Line(s) of event code
|
406 Line(s) of event code
|
||||||
224 Unique line(s) of event code
|
224 Unique line(s) of event code
|
||||||
popupLight
|
|
||||||
27 Component(s)
|
|
||||||
338 Line(s) of event code
|
|
||||||
170 Unique line(s) of event code
|
|
||||||
|
|
||||||
Total
|
Total
|
||||||
14 Page(s)
|
14 Page(s)
|
||||||
343 Component(s)
|
343 Component(s)
|
||||||
3172 Line(s) of event code
|
3172 Line(s) of event code
|
||||||
789 Unique line(s) of event code
|
790 Unique line(s) of event code
|
||||||
|
|||||||
@@ -402,7 +402,7 @@ Text tVersion
|
|||||||
Horizontal Alignment : center
|
Horizontal Alignment : center
|
||||||
Vertical Alignment : center
|
Vertical Alignment : center
|
||||||
Input Type : character
|
Input Type : character
|
||||||
Text : 11
|
Text : 12
|
||||||
Max. Text Size : 10
|
Max. Text Size : 10
|
||||||
Word wrap : disabled
|
Word wrap : disabled
|
||||||
Horizontal Spacing : 0
|
Horizontal Spacing : 0
|
||||||
|
|||||||
@@ -807,7 +807,7 @@ Timer tmSleep
|
|||||||
{
|
{
|
||||||
screensaver.originPage.val=dp
|
screensaver.originPage.val=dp
|
||||||
sleepValue=0
|
sleepValue=0
|
||||||
page cardEntities
|
click b0,1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -410,7 +410,7 @@ Timer tmSleep
|
|||||||
{
|
{
|
||||||
screensaver.originPage.val=dp
|
screensaver.originPage.val=dp
|
||||||
sleepValue=0
|
sleepValue=0
|
||||||
page cardEntities
|
click b0,1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -505,7 +505,7 @@ Timer tmSerial
|
|||||||
//preserve old sleepTimeout
|
//preserve old sleepTimeout
|
||||||
vaOldSleepT.val=sleepTimeout
|
vaOldSleepT.val=sleepTimeout
|
||||||
// sleep timeout
|
// sleep timeout
|
||||||
spstr strCommand.txt,tTmp.txt,"|",9
|
spstr strCommand.txt,tTmp.txt,"|",10
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
sleepTimeout=sys0
|
sleepTimeout=sys0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -563,7 +563,7 @@ Timer tmSleep
|
|||||||
{
|
{
|
||||||
screensaver.originPage.val=dp
|
screensaver.originPage.val=dp
|
||||||
sleepValue=0
|
sleepValue=0
|
||||||
page cardEntities
|
click b0,1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
HMI/nspanel.HMI
BIN
HMI/nspanel.HMI
Binary file not shown.
BIN
HMI/nspanel.tft
BIN
HMI/nspanel.tft
Binary file not shown.
@@ -18,8 +18,8 @@ class NsPanelLovelaceUIManager(hass.Hass):
|
|||||||
|
|
||||||
class Updater:
|
class Updater:
|
||||||
def __init__(self, nsplui, mode):
|
def __init__(self, nsplui, mode):
|
||||||
self.desired_display_firmware_version = 11
|
self.desired_display_firmware_version = 12
|
||||||
self.desired_display_firmware_url = "http://nspanel.pky.eu/lovelace-ui/github/nspanel-b0027d4.tft"
|
self.desired_display_firmware_url = "http://nspanel.pky.eu/lovelace-ui/github/nspanel-d1165ef.tft"
|
||||||
self.desired_tasmota_driver_version = 3
|
self.desired_tasmota_driver_version = 3
|
||||||
self.desired_tasmota_driver_url = "https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be"
|
self.desired_tasmota_driver_url = "https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be"
|
||||||
|
|
||||||
|
|||||||
BIN
doc-pics/nodered-remote-control.png
Normal file
BIN
doc-pics/nodered-remote-control.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -1,11 +1,6 @@
|
|||||||
# Node-Red Flow
|
# Node-Red Flow
|
||||||
|
|
||||||
## Note:
|
There is no node-red backend, but for some advanced scenarios nodered can become handy, like remote controlling your nspanel.
|
||||||
**This flow has been deprecated in favour of the AppDaemon Backend.**
|
|
||||||
**It's still functioning with a limited feature set.**
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
This is the exmaple node red flow which an be used to control the screen over MQTT.
|
|
||||||
|
|
||||||
Import the example node-red flow from "node-red-example-flow.json" file and adjust to your needs.
|
|
||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user