Giter VIP home page Giter VIP logo

petkit_pura_x_exporter's Introduction

Petkit Pura X Exporter

This is for exporting petkit pura X to external services (currently only support google sheets)

  • Exporting to external services so that you can keep the log more than 24 hours
  • A dedicated tracking log for each pets if you have multiple pets and their weight are different. (Right now the app only have the combined view)

How to use the script ?

  1. Fork the Repo

  2. Create a Google Service Account, and get the key.json

    1. Visit https://console.cloud.google.com/iam-admin/ create new project
    2. Enable Google sheets Library
    3. Create a service account: https://console.cloud.google.com/iam-admin/serviceaccounts
  3. Create a new spreadsheet and shared with the service account you just created.

  4. Configure the secrets in the repository:

    • AUTH_JSON: The plain json content from downloaded key.json of your service account
    • SPREADSHEET_ID: The id of the spreadsheet that you had shared with the service account
    • PETKIT_USERNAME: the petkit app login user name
    • PETKIT_PASSWORD: the petkit app login password
  5. Please also make sure you have add the pets name and weight in the petkit app. The script uses that information to identify the cat.

Once completed. The github action is schedule to run every 15 mins and will update the spreadsheet when there's newer event.

petkit_pura_x_exporter's People

Contributors

lydian avatar reinholdsson avatar

Watchers

 avatar

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.