I just want to introduce my GitHub project to connect a Sonoff NSPanel with lovelace UI to openHAB.
The project implements a python mqtt client which is bridging the panel mqtt messages to openHAB items:
You can configer the content in the panel over yaml files similar to the openhab UI.
The bridge is running as systemd service in linux. For example in openhabian.
I know there are other ways to connect such an NSPanel but they looked for me not flexble enough or it was complicated for me to get it running.
I just published the first versions. Some cards of the panel UI pages needs to be added in future releases (cardChart, popupNotify, cardMedia, cardPoer, popupTimer). But the most important once are fully supported already.
If anyone is interessted to give my bridge a try I would be happy to get some feedback.
The y axis label is used to show the maximum and minimum values during the period. The minimum value in the chart is scaled that 0 on the y axis is equivalent to the minimum value in the defined period. The labels on the x axis show the start and end of the defined period. The date and time is formated dependant on the language you specified in the ini file.
Another example for a chart with the states of a Switch item:
You can also control the font and icon size now in the cards which support this feature.
Date in screensaver is improved for different languages
Issue fixed in cardChart when no persistance data is available for the selected period
Now also cardPower is supported including control of the animation speed:
Aditionally sceensaver2 is inlcuded with much more wather slots and 5 extra item slots:
I see 2 issues with sceensaver2 implamentation in lovelace UI:
When you use AM/PM time the AM/PM text is shown over the last time diget
If you click on one of the 5 additonal buttons, the button event is send twice from the panel. That means also the items are toggeled twice. I need to investigate that further.