Giter Site home page Giter Site logo

Comments (6)

chinchillajared avatar chinchillajared commented on August 29, 2024

Is there something the user has to change to be able to make it work?
I just changed the variable name sheet: var sheet = ss.getSheetByName('ArduinoIOTCloudSensorData');
I put my sheet name but still not working even with the original name.

from arduino-iot-google-sheet-script.

Bodobolero avatar Bodobolero commented on August 29, 2024

Is there something the user has to change to be able to make it work?
I just changed the variable name sheet: var sheet = ss.getSheetByName('ArduinoIOTCloudSensorData');
I put my sheet name but still not working even with the original name.

Still works for me, maybe I can help if you describe your problem more clearly with error messages or the steps you did.

from arduino-iot-google-sheet-script.

BBope9k avatar BBope9k commented on August 29, 2024

Hello Bodobolero, Can you help med out with this error?

TypeError: Cannot read property "postData" from undefined.
doPost @ code.gs:38

from arduino-iot-google-sheet-script.

per1234 avatar per1234 commented on August 29, 2024

Hi @BBope9k. Thanks for your interest in this open source project. This issue tracker is only to be used to report bugs or feature requests specific to the project. This topic is more appropriate for the Arduino Forum. I'm sure we will be able to help you out over there:

https://forum.arduino.cc/c/software/iot-cloud/152

from arduino-iot-google-sheet-script.

Bodobolero avatar Bodobolero commented on August 29, 2024

Hello Bodobolero, Can you help med out with this error?

TypeError: Cannot read property "postData" from undefined. doPost @ code.gs:38

as per1234 said I cannot provide support in this repository.

The error indicates that the scripting engine can not resolve the variable e.postData.contents

Did you correctly follow the steps to create a google spreadsheet and deploy the script as web app ?

First thing first, go to Google Sheets and create a new blank spreadsheet. Rename the sheet to something like โ€œRawDataโ€, then click on Tools > Script Editor to open Google Apps Script.
Select the "doPost" method in the dropdown above the code. Then in order to actually use this code we first need to publish it, thus go to Publish > Deploy as web app.

from arduino-iot-google-sheet-script.

Vado75 avatar Vado75 commented on August 29, 2024

hi all, thanks for sharing the code, original code didn't work for me right away, but after editing
var ss = SpreadsheetApp.getActiveSpreadsheet();
and control of the year
if (date.getFullYear() > 2018) { ....
get.year returns the number of years since 1900, i.e. 122
now everything works perfectly for me :)
original code super checks repeated writing and empty spaces...

from arduino-iot-google-sheet-script.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.