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.
Categories
Openhab and Google Sheets can also be integrated using automation tools other than ifttt:
When this trigger fires in Openhab
This Trigger fires every time an item changes its state to a value you specify.
Then this action happens 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.
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
First, we need to connect Openhab and Google Sheets to IFTTT.
Create IFTTT account.
Create IFTTT account if you don't have one.
Connect Openhab to IFTTT.
Give IFTTT access to your Openhab account, using Openhab credentials.
Connect Google Sheets to IFTTT.
Give IFTTT access to your Google Sheets account, using Google Sheets credentials.
Part II
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
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
Finally, we need to test this automation and publish it.
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 your scenario and publish to production. Now you have an automatic workflow, that will Add row to Spreadsheet if OpenHAB item changes!
Triggers when a new row is added to the bottom of a spreadsheet.
Triggered when a new row is added or modified in a spreadsheet.
Triggers when a new row is added.
Triggers when a new row is added to the bottom of a Google Team Drive spreadsheet.
Triggered when a new row is added or modified in a spreadsheet - works best with Team Drives.
Triggers when a new spreadsheet is created.
This Action will send a command to one of your openHAB items.
This Trigger fires every time an item changes its state to a value you specify.
This Trigger fires every time an item's state raises above a value you specify and works with any number item.
This Trigger fires every time an item's state drops below a value you specify and works with any number item.
Openhab is an exceptional home automation software that is flexible and open source, providing seamless integration with different vendors and technologies.
Openhab alternatives
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 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.