Openhab
Google Sheets
ifttt

An automated workflow using ifttt

Connects Openhab + Google Sheets

Add row to Spreadsheet if OpenHAB item changes

About this workflow template

This automation scenario allows you to connect Openhab and Google Sheets

It can be build using Ifttt, a no-code workflow automation tool. Ifttt allows you to create automated scripts using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.

Openhab and Google Sheets can also be integrated using automation tools other than ifttt:

How it works?

When this trigger fires in Openhab

Openhab

Item state changes in Openhab

This Trigger fires every time an item changes its state to a value you specify.

Then this action happens in Google Sheets

Google Sheets

Add row to spreadsheet in Google Sheets

This action will add a single row to the bottom of the first worksheet of a spreadsheet you specify. Note: a new spreadsheet is created after 2000 rows.

How to set up this workflow

This guide contains information on how to set up an automatic workflow that allows to Add row to Spreadsheet if OpenHAB item changes.

Part I

Configure Applications

First, we need to connect Openhab and Google Sheets to IFTTT.

  • Create IFTTT account.

    Create IFTTT account.

    Create IFTTT account if you don't have one.

  • Connect Openhab to IFTTT.

    Connect Openhab to IFTTT.

    Give IFTTT access to your Openhab account, using Openhab credentials.

  • Connect Google Sheets to IFTTT.

    Connect Google Sheets to IFTTT.

    Give IFTTT access to your Google Sheets account, using Google Sheets credentials.

Part II

Build an integration workflow

Next, we need to create a workflow automation scenario using graphical no-code web interface of IFTTT.

  • Set up a Trigger action for Openhab

    Choose the following trigger: Item state changes (This Trigger fires every time an item changes its state to a value you specify.).

  • Then set up an Action for Google Sheets

    Then set up an Action for Google Sheets

    Choose this action: Add row to spreadsheet (This action will add a single row to the bottom of the first worksheet of a spreadsheet you specify. Note: a new spreadsheet is created after 2000 rows.).

Part III

Test and Publish

Finally, we need to test this automation and publish it.

  • Customize data flow

    Customize data flow

    Configure the data that is exchanged between Openhab and Google Sheets.

  • Test the workflow and turn it on for production use

    Test the workflow and turn it on for production use

    Test your scenario and publish to production. Now you have an automatic workflow, that will Add row to Spreadsheet if OpenHAB item changes!

Supported triggers and actions

  • Google Sheets

    New spreadsheet row

    Triggers when a new row is added to the bottom of a spreadsheet.

    zapier
    triggerbyzapier
  • Google Sheets

    New or updated spreadsheet row

    Triggered when a new row is added or modified in a spreadsheet.

    zapierpabbly-connect
    triggerbyzapierpabbly-connect
  • Google Sheets

    Watch new rows

    Triggers when a new row is added.

    integromat
    triggerbyintegromat
  • Google Sheets

    New spreadsheet row (team drive)

    Triggers when a new row is added to the bottom of a Google Team Drive spreadsheet.

    zapier
    triggerbyzapier
  • Google Sheets

    New or updated spreadsheet row (team drive)

    Triggered when a new row is added or modified in a spreadsheet - works best with Team Drives.

    zapier
    triggerbyzapier
  • Google Sheets

    New spreadsheet

    Triggers when a new spreadsheet is created.

    zapierautomateio
    triggerbyzapierautomateio
  • Openhab

    Send a command

    This Action will send a command to one of your openHAB items.

    ifttt
    actionbyifttt
  • Openhab

    Item state changes

    This Trigger fires every time an item changes its state to a value you specify.

    ifttt
    triggerbyifttt
  • Openhab

    Item state raises above

    This Trigger fires every time an item's state raises above a value you specify and works with any number item.

    ifttt
    triggerbyifttt
  • Openhab

    Item state drops below

    This Trigger fires every time an item's state drops below a value you specify and works with any number item.

    ifttt
    triggerbyifttt

Apps you need

Openhab

Openhab

Developer Tools

A flexible home automation solution

Openhab is an exceptional home automation software that is flexible and open source, providing seamless integration with different vendors and technologies.

Openhab alternatives

Google Sheets

Google Sheets

Spreadsheets

Online spreadsheets for personal use and collaboration, part of Google Drive

Google Sheets is a powerful and flexible web and mobile spreadsheet application that lets you collaborate and share your data with others. Create and edit spreadsheets on-the-go, all in real-time.

IFTTT

IFTTT

Automation Platforms

An automation service with a simple formula - IF This Then That

IFTTT helps to create applications connections with a simple statement: if this then that. For example: "Tweet your Instagrams as native photos on Twitter". You define a task by a trigger and an action.