Skip to content

Releases: olialb/nspanelMqttBridge

V0.17 Stability release

Choose a tag to compare

@olialb olialb released this 26 Jul 10:56

After the appreciated feedback of @heyudude in Issue 27 this release improves the stability of the bridge:

  • Panel command timeouts are shown as error instead of warning in the log file from to point better to an issue with the tasmota topic configuration.
  • Configurations without notification cards are working fine now and do not raise an exception anymore.
  • Configurations without any valid card at all do not raise an exception anymore.
  • All exceptions during panel command excecution are catched now and written to the log file to improve stability. This should improve the identification of errors in the yaml configuration files.

V0.16 cardSupervision/cardSupervision2 added

Choose a tag to compare

@olialb olialb released this 21 Jul 11:16

This release Implements two new cards: cardSupervision and cardSupervision2.

This cards can be used to supervise the state of all items in an openHAB group against a value, theshold or timeout.
All items which match the configured supervision mode are shown in the card.

Example to supervise a group of plant moisture sensors agains a group of threshold values:

Example openHAB groups:

Group Moisture
Group Thresholds

//Plant moisture measurement items:
Number M_Plant_A "01. Kaktus" (Moisture)
Number M_Plant_B "02. Monstera" (Moisture)

//Plant moisture threshold values:
Dimmer TH_Plant_A "01. Kaktus" (Thresholds)
Dimmer TH_Plant_B "02. Monstera" (Thresholds)

//Result item
Number NSPanelPlantCheckResult "Number of dry plants"

Example card yaml for this setup:

cards:
  - name: PlantSupervsion
    title: Dry plants
    type: cardSupervision
    ohGroup: Moisture
    values: Thresholds
    result: NSPanelPlantCheckResult
    mode: "<="
    icon: palm-tree
    iconColor: yellow

In this configuration the card shows the M_Plan_A item, when the state is smaller or equal to the value of TH_Plant_A, because M_Plant_A has the same label ("01. Kaktus") as TH_Plant_A.

As cardSupervision:

ExampleCardSupervision

As cardSupervision2:

ExampleCardSupervision2

Supervision mode timeout

The timeout supervision mode can be used to supervise when an item got the last update. This is useful for battery driven devices to check if they are still alive or dead because of a drained battery.
You can add all the battery state items to a group and supervise them with a longer timeout. For zigbee devices a timeout of 900 minutes or longer must be used to check if they are still alive.

Example card yaml for a timeout supervision:

cards:
  - name: BatterySupervsion
    title: Battery check
    type: cardSupervision
    ohGroup: gBattery
    values: NSPanelBatteryTimeout
    mode: "timeout"
    icon: battery-remove
    iconColor: red

V0.15 Add cardDepartures2 based on cardentities

Choose a tag to compare

@olialb olialb released this 11 Jul 05:25

Some fixes regarding the new cardDepartures feature from V0.14:

  • Depatures from differnet trains at same time were not shown
  • Sometimes ame departurture was shown dublicated
  • Add adtional icon mappings for Ferries and "Standseilbahn"

Add an new variant cardDepartures2 which works also with jobr99 HMI.

Example yaml:

- name: MyDepartures2
    title: HH Finkenwerder
    type: cardDepartures2
    station: Hamburg,Finkenwerder
ExampleCardDepartures2Entities

V0.14 Add cardDepartures with departures on puplic transport stations in Germany

Choose a tag to compare

@olialb olialb released this 05 Jul 11:18

This release adds the special card type cardDepartures, which can show the departure schedule of all public transport stations in Germany based on the opendata-oepnv.de:

ExampleCardDepartures2Mini

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:

- name: MyDepartures
    title: Frankfurt Hbf
    type: cardDepartures
    station: F,Hbf

Other example:

ExampleCardDeparturesMini
- name: MyDepartures2
    title: Wuppertal Kluse
    type: cardDepartures
    station: Wuppertal,Kluse

Additinally the handling of popupNotify in HMI from ticaki/ioBroker.nspanel-lovelace-ui is fixed. It sends different button events as the card from jobr99

Further more you can onfigure 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.

V0.12 Support CardThermo, direct popups and radio buttons

Choose a tag to compare

@olialb olialb released this 20 Jun 06:39

V0.12 Release adds:

ExampleCardThermo2Mini
  • New slot types to open popups directly with one click
  • New Radio Button functionality to implement radio buttons for an item over several slots:
      - class: ohItem
        type: button
        item: H_Schlafzimmer_SysMode
        radioButtonState: "Off"
        iconColor: default=green,Off=red
      - class: ohItem
        type: button
        item: H_Schlafzimmer_SysMode
        radioButtonState: "Heat"
        iconColor: default=grey,Heat=red
      - class: ohItem
        type: button
        item: H_Schlafzimmer_SysMode
        radioButtonState: "Cool"
        iconColor: default=grey,Cool=blue
      - class: ohItem
        type: button
        item: H_Schlafzimmer_SysMode
        radioButtonState: "Auto"
        iconColor: default=grey,Auto=white
ExampleRadioButton

V0.11 Support of Ticaki fork of the HMI added

Choose a tag to compare

@olialb olialb released this 14 Jun 13:52

Version V0.11 adds more support for the ticaki/ioBroker.nspanel-lovelace-ui fork of the HMI.

Now the alternative popups for shutter:

ExamplePopupShutter2Mini

and Light:

ExampleLightPopup2wheel

are supported.
Also screensaver3 is added:

ExampleScreensaver3Mini

Additionally the effect selector in the popuplight can now be used. This is valid for both HMI versions:

ExampleLightPopUp1

To improve the readability of the documentation, the documentation is now moved to the github wiki

V0.10 CardMedia supported, Icons and icon colors now dependant on icon state

Choose a tag to compare

@olialb olialb released this 07 Jun 15:34

With this release is now also the cardMedia supported:

ExampleCardMedia
  • 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:
ExampleGridCard3

I hope you have fun with the new features.
Raise issues if you find something does not work like expected.

V0.9 cardPower and scrennsaver2 added

Choose a tag to compare

@olialb olialb released this 04 Jun 06:05

Now also card Power is supported including control of the animation speed:

ExampleCardPower

Aditionally sceensaver2 is inlcuded with much more wather slots and 5 extra item slots:

ExampleScreensaver2

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.

popupNotify and cardChard2 added

Choose a tag to compare

@olialb olialb released this 02 Jun 20:12

This release add the feature of extended notification cards of popupNotify cards after you leave the screensaver

ExampleNotifyPlant

The cardGrid2 with an 4x2 slot grid is also added:

ExampleGridCard2

Fixes:

  • Fix an issue with one month shift in screensaver
  • Fix an issue in cardChart when no persistence data is available in the selected period
  • Improve date format for different languages

cardChart added

Choose a tag to compare

@olialb olialb released this 29 May 16:58

lovelace UI card chart is now alos implemented. for details see documentation
Additionally items of type group are now supported as long they have a valid item type assigned.

Simple example for a number chart:

  - name: PowerChart
    title: Stromverbrauch
    type: cardChart
    slots:
      - class: ohItem
        type: number
        item: Stromzaehler_power

image

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:

  - name: StateChart
    title: Küchenlicht
    type: cardChart
    period: d
    past: w
    color: yellow
    slots:
      - class: ohItem
        type: switch
        item: Switch_Kueche

image

This example shows a yellow chart. You can see how long the kitchen light where active on the same day as today one week ago.