Coder Social home page Coder Social logo

stanford-oval / thingpedia-common-devices Goto Github PK

View Code? Open in Web Editor NEW
37.0 15.0 28.0 143.12 MB

Thingpedia interface code for commonly used devices

License: Other

Makefile 2.43% JavaScript 77.84% Shell 1.04% Python 2.86% HTML 1.91% TypeScript 13.92%
voice-assistant-skills thingpedia hacktoberfest web-apis

thingpedia-common-devices's Introduction

Thingpedia Devices for Almond

Build Status Coverage Status

Knowledge for your Virtual Assistant

Thingpedia is the open, crowdsourced knowledge base for virtual assistants. Anyone can contribute the interface code to access any device or web service to Thingpedia.

This repository contains the interfaces hosted on Thingpedia that are maintained collaboratively by the Thingpedia authors and various contributors.

These interfaces cannot be used alone: each interface must be packaged and uploaded separately to Thingpedia, to be used by some installation of the Almond virtual assistant. While a package.json is present at the top of this repository, its purpose is only to declare dependencies used to train dialogue models and test the devices. You cannot import this package directly.

Thingpedia is part of Almond, a research project led by prof. Monica Lam, from Stanford University. You can find more information at https://almond.stanford.edu.

Repository Organization

The devices in this repository are divided in three release channels, based on their development maturity:

  • main: curated, high-quality, officially supported Thingpedia devices that are are continuously tested and and reasonably expected to work on all supported Almond platforms.
  • universe: community-supported Thingpedia devices that at some point passed our standard of quality but might be out of date with upstream API changes or lack newer functionality; universe devices are also automatically tested and have their dependencies updated automatically.
  • staging: incubator for newly developed Thingpedia devices, not yet ready for wide use; staging devices are not regularly tested and might have out-of-date dependencies or security vulnerabilities; use staging devices at your own risk.

Documentation

See doc/index.md for all the documentation associated with this repository, including the layout of each device, and the developer workflow.

License

The scripts in this repository are generally under 3-Clause BSD license, with a few exceptions in Apache 2.0, indicated at the top of each file.

Each Thingpedia device is copyright of the respective author, and has a copyright notice at the top of the file, as well as a #[license] annotation in SPDX format in the manifest.tt file.

Datasets that are not in the public domain or covered by the repository license have their license indicated in the same folder.

thingpedia-common-devices's People

Contributors

ad31c0 avatar almakantara avatar arthbohra avatar asmaloney avatar aydanpirani avatar balloob avatar cffan avatar ckrailo avatar dependabot-preview[bot] avatar dependabot[bot] avatar elvisyjlin avatar emilyjchang avatar gabby-altway avatar gcampax avatar greentfrapp avatar james-zhuang avatar jgd5 avatar jmhw0123 avatar kevintangzero avatar mehrad0711 avatar nrser avatar rakeshr1 avatar ryachen01 avatar ryanothnielkearns avatar s-jse avatar sileix avatar spacegaier avatar tracyjin avatar valkjsaaa avatar vik135 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

thingpedia-common-devices's Issues

Cannot login to Uber

Error obtaining access token { statusCode: 401, data: '{"error": "invalid_grant"}' }

error connecting to google contacts

From @avimar on July 15, 2018 6:31

  1. That’s an error.

Error: redirect_uri_mismatch

The redirect URI in the request, https://thingengine.stanford.edu/devices/oauth2/callback/com.google.contacts, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/739906609557-o52ck15e1ge7deb8l0e80q92mpua1p55.apps.googleusercontent.com?project=739906609557

Learn more

Request Details
response_type=code
redirect_uri=https://thingengine.stanford.edu/devices/oauth2/callback/com.google.contacts
access_type=offline
scope=openid profile email https://www.googleapis.com/auth/contacts.readonly
client_id=739906609557-o52ck15e1ge7deb8l0e80q92mpua1p55.apps.googleusercontent.com
That’s all we know.

Copied from original issue: stanford-oval/genie-cloud#34

Apply device renames to the dataset

Before the dataset is released, we should apply:

  • org.thingpedia.builtin.omlet -> me.omlet.chat (partially done)
  • edu.stanford.rakeshr1.fitbit -> com.fitbit
  • security-camera -> org.thingpedia.security_camera ( + com.nest.security-camera, see stanford-oval/genie-cloud#15 )
  • thermostat -> org.thingpedia.thermostat
  • the Jawbone stuff (or just remove Jawbone entirely)
  • tumblr-blog -> com.tumblr.blog

twitter crashes on stop

Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: App failed to stop: TypeError: sock.close is not a function
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: TypeError: sock.close is not a function
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: at /app/cache/device-classes/com.twitter/stream.js:115:22
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: at _fulfilled (/app/cache/device-classes/com.twitter/node_modules/q/q.js:834:54)
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: at self.promiseDispatch.done (/app/cache/device-classes/com.twitter/node_modules/q/q.js:863:30)
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: at Promise.promise.promiseDispatch (/app/cache/device-classes/com.twitter/node_modules/q/q.js:796:13)
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: at /app/cache/device-classes/com.twitter/node_modules/q/q.js:556:49
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: at runSingle (/app/cache/device-classes/com.twitter/node_modules/q/q.js:137:13)
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: at flush (/app/cache/device-classes/com.twitter/node_modules/q/q.js:125:13)
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: at nextTickCallbackWith0Args (node.js:420:9)
Aug 18 16:07:05 ip-172-31-35-121.us-west-2.compute.internal thingengine-child-1[24408]: at process._tickCallback (node.js:349:13)

Facebook API deprecation

v2.4 Upgrade Reminder
 
 
Your App, Sabrina, currently has access to Graph API v2.4 which will reach the end of its 2-year lifetime on 09 October, 2017. To ensure a smooth transition, please migrate all calls to Graph API v2.5 or higher. Use the API Upgrade Tool to understand exactly how this change will impact your app.Note: If you do not see any impacted calls in the API Upgrade Tool, your app/code may not be affected by this upgrade.Visit our changelog to see the full list of changes in all Graph API versions. You can view this and other Developer Notifications related to your app, in the App Dashboard.

More communication interfaces

So I can spam memes and cat pictures to my friends

We should have:

  1. Telegram
  2. Hangouts

Ideally snapchat and fb messenger too, but those are not open

Add Yelp

To search restaurants and stuff around

Complete manifests

With questions for all arguments (where meaningful)

Also resubmit everything so that the schema db will pick it up

Update Github

Update Github to v2;
Add more granularity to functions: e.g., the list of files changed in commits

Merge Yahoo Finance and AlphaVantage, clean up dataset

Our dataset, around stock quotes, uses Yahoo Finance, but Yahoo Finance does not exist.
At the same time, AlphaVantage support was contributed, but it was never finished.

We should merge those two and clean up the dataset.

Transfer ownership of cs294s-spr18 devices

Devices contributed by cs294s students that have agreed to it should be transferred to the Almond Authors organization (org id = 1)

  • Wunderlist
  • Google Contacts (should also switch to our OAuth Client ID)
  • Wolfram Alpha
  • Spotify (PR #44)

Everything else should be deleted.

TODO

  1. nest thermostat change heat_cool to auto
  2. change wsj sections to enum
  3. maybe change wapo blog to string? (too many underscores and blog names are not easy to understand)
  4. add "call uber"

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.