Skip to content

YamlSlotPopupTimer

olialb edited this page Jun 22, 2026 · 1 revision

ohItem slot type popupTimer

The popupTimer can be used to define an up to 60min timer object in the slot. The timer can be controlled over openHAB or over the buttons Start, Stop and Reset in the popup HMI. The timer value can be edited when you cick on the numbers. After the timer is started it continues running in background even if the popup was closed.

Note: This slot type is only supported in ticaki/ioBroker.nspanel-lovelace-ui for EU panels.

popupTime has the following additional slot attributs:

Slot attribute default value optional / Mandetory Description
item - M Must be a Number item from openHAB with the timer value in seconds
statusItem - O An additional String item can be defined to control the timer from openHAB. The String has the following values: STOPPED (timer is stopped), RUNNING (timer is RUNNING), PAUSED (Timer was running and paused now), EXPIRED (Timer is EXPIRED), START (command from openHAB to start the timer), STOP (command from openHAB to stop the timer), RESET (command from openHAB to reset the timer value to the value from Number item)
editable true O Can be used to disable the edit function of the timer value in the popup completely.
timerControls enable|enable|enable O '|' separated string to enable/disable the 3 control Start, Stop and Reset

Example item configuration in openHAB:

//Timer items
Number:Time NSPanelTimer "Seconds"
String NSPanelTimerState "State" {stateDescription=""[options="RUNNING=Running,STOPPED=Stopped,PAUSED=Paused,EXPIRED=Expired,START=Start,STOP=Stop,RESET=Reset"]}

Example in popupTimer:

    ...
    slots:
      - class: ohItem
        type: popupTimer
        text: popupTimer
        item: NSPanelTimer
        stateItem: NSPanelTimerState

View in cardGrid:

image

Popup:

image

Popup in edit mode:

image

Clone this wiki locally