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 (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
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.
New: You can define now all icons and icon colors dependant on the item state. The attribute iconStateColor which existed only for switch and light types is replaced by this more generic way of defining the icon and iconcolors
An issue with simple option lists in openHAB like A,B,C is fixed.
Each connected Panels gets now a reset command when the bridge is started
Addtionally I made some tests ith this fork of lovelace UI: ioBroker.nspanel-lovelace-ui. Seams that most of the cards are compatible. But its more experimental.
If you install on of the last versions of this HMI on your panel the bridge detect an HIM version >= 60 and behaves a bit different:
The ppoupNotify has 3 instead of 3 buttons.
You can also use cardGrid3 with a 2x2 slot design:
Additionally the compatibility check with the fork ticaki/ioBroker.nspanel-lovelace-ui are improved, because all the add ons are only available in EU panels.
The yaml configuration is super simple. You just need to specify the place (City) and the station name and the 6 next departures are shown in the card. The card is updated every minute in the background:
Further more you can configure in the ini file the hmi which is installed on the panels to improve the compatibility, because the version topic is send out very seldom by the panels.
diffcult to say without knowing your yaml configuration files in detail
The default card group which is active after startup is “home”.
What you need is yaml file with some cards defined for group home.
After clicking twice on the screensaver you should enter the first of the group home.
May be you can share some details of your yaml files here or on Github by creating a new issue.
It is also interessting for me how you struggling with the configuration.
Which version are you using?
Share also your configuration of the panel in the ini file please:
thanks for raising an issue on GitHub about your issue with the yaml configuration.
This feedback is super helpful!
I just released V0.17 to improve the stability with different yaml configurations and improve the logs in such cases.
As a hint to all users:
I want to highlight that the correct topic configuration of the panel in Tasmota is essential to get the bridge correctly working.