Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

append google sheet with value


Question

Posted

I have looked a bit around, but could not find an "easy" way to do an append on a google sheet with a value.. As this could come in handy for a bunch of logging-reasons. 

 

Does anyone have a lua code snippet that I could start out with?

6 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Posted

    Anyone have a hint?

    • 0
    Posted

    You could look at IFTTT for that sort of thing. There is a connector to Fibaro.

    • Like 1
    • 0
  • Inquirer
  • Posted
    On 2/22/2019 at 11:29 AM, ianakapilotlight said:

    You could look at IFTTT for that sort of thing. There is a connector to Fibaro.

    Yes, but none that can take values from a scene.. only for logging when something runs etc.

     

    I am looking for something you can run in lua that will pass the new value to a google sheet.. But of course any other solution that works would be awesome.

    • 0
    Posted

    Hmmm,

     

    How about using an IFTTT web hook, that could be initiated using lua code, the IFTTT web hook could then update a google sheet.

     

    • 0
  • Inquirer
  • Posted

    Yes! managed to make it work!

     

    Followed this tutorial:  

     

    Then created a webhook trigger in IFTTT, and an event that posted the values to my sheet. And voila!

    • 0
  • Inquirer
  • Posted

    If you need more values passed to the sheet, you can format one of the values sent as comma delimited text: value1 ..",".. value2 .. "," ..value3 etc

    then in google sheets you can use Split(<cell>,",",true,false) to make them into individual cells.

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...