All integrationsSmart Home & Cars

openHAB

Run your smart home from a workflow: switch lights and devices, set levels, run scenes and scripts, read sensors and their history, and check which devices are offline.

actions
32
triggers
4

Triggers

Start a workflow when something happens in openHAB.

  • Item changedRuns when an item's state changes, such as a door opening or a light going on, only when it changes to a state you choose, or when a reading goes above or below a number, such as a temperature over 25.
  • Item in group changedRuns when any item in a group, or any item with a tag, changes state, such as any door opening or any light going on. It runs once for each item that changed.
  • Thing status changedRuns when a thing (a device or service openHAB talks to) goes offline, such as a sensor with a flat battery, or comes back online, with why. A thing someone turned off doesn't count as offline.
  • Thing discoveredRuns when openHAB finds a new device or service on the network and puts it in its inbox, such as to tell someone it is waiting to be added.

Actions

Steps a workflow can run in openHAB.

  • List itemsList items (lights, sensors, switches and the rest) with what each shows now, all of them or only one type, tag or group.
  • Get itemGet an item with what it shows now, what it showed before, its tags, groups, members and metadata.
  • Get item stateGet only what an item shows now, such as ON or 21.5 °C, with the number and unit read out of it.
  • Send commandTell an item, and the device behind it, to do something: ON or OFF, a number, UP, DOWN or STOP for blinds, PLAY or PAUSE, a colour, or text.
  • Turn onTurn on a light, a switch or a group of them.
  • Turn offTurn off a light, a switch or a group of them.
  • Set levelSet a dimmer's brightness, a blind's position or a volume, from 0 to 100 percent.
  • Update item stateChange what an item shows without telling its device to do anything, such as a text item with a status, or a number worked out in a workflow.
  • Create or update itemCreate an item, or change one that exists: its label, icon, tags and groups. What you leave blank on an item that exists stays as it is.
  • Delete itemDelete an item for good. Items defined in a file on the server can't be deleted this way.
  • Add tag to itemAdd a tag to an item, keeping the tags it has.
  • Remove tag from itemTake a tag off an item.
  • Add item to groupPut an item in a group, keeping the groups it is in.
  • Remove item from groupTake an item out of a group.
  • Set item metadataSet one piece of an item's metadata, such as its unit or what a voice assistant calls it, replacing what was there.
  • Remove item metadataRemove one piece of an item's metadata. Says so when there was none.
  • List thingsList things (the devices and services openHAB talks to) with whether each is online and, when it isn't, why.
  • Get thingGet a thing with whether it is online and why not, its channels with the items linked to them, and its settings.
  • Enable thingTurn a thing back on, so openHAB talks to it again.
  • Disable thingTurn a thing off, so openHAB stops talking to it until it is enabled again.
  • List discovered thingsList what openHAB has found on the network and keeps in its inbox, waiting to be added.
  • List rulesList rules, scenes and scripts, with whether each is turned on.
  • Get ruleGet a rule, scene or script with what starts it and what it does.
  • Run ruleRun a rule, a scene or a script now, whatever usually starts it, such as a Good night scene.
  • Enable ruleTurn a rule, scene or script back on.
  • Disable ruleTurn a rule, scene or script off, so nothing starts it until it is enabled again, such as while you're on holiday.
  • Get item historyGet what an item was between two times, as openHAB stored it, with the lowest, highest and average for numbers. Needs a persistence add-on in openHAB.
  • Get last stored stateGet the newest value openHAB stored for an item and when, looking back up to a year. Says so when nothing was stored.
  • Say textHave openHAB say something out loud through a speaker it knows. Needs a text-to-speech add-on and a speaker set up in openHAB.
  • Tell openHAB in wordsGive openHAB a command in plain words, such as turn on the hall light, and get its answer. openHAB matches the words to your items' labels.
  • Get system infoGet the openHAB server's version, language, time zone, how long it has been running and its memory.
  • List add-onsList the add-ons installed in openHAB with their versions, or everything its Add-on Store offers.

Automate openHAB with Lodol.

Connect openHAB, then hand Lodol the job in Slack, Claude or ChatGPT.

We’re letting people in a few at a time.