Git Product home page Git Product logo

Comments (6)

pjbroad avatar pjbroad commented on April 29, 2024

I've been working on something like to this on a folk here: https://github.com/pjbroad/aiyprojects-raspbian and would be happy for feedback and to do a pull request if suitable.

from aiyprojects-raspbian.

sheridat avatar sheridat commented on April 29, 2024

I agree. I pulled the latest code today and was surprised to find that commands concerning phillips hue bulbs had been added to /src/action.py that needed supporting software packages to be installed. Those commands are hardly generic.
Each user of AIY needs a mechanism to be able to define their own commands with import statements and each user should be responsible for installing the software packages that are needed to support their specific commands.

I use MPD for sound playback - and I have commands to use it's client MPC. I don't expect every other AIY user/owner to have MPC on their installation just because I need it to satisfy my actions.

from aiyprojects-raspbian.

ensonic avatar ensonic commented on April 29, 2024

Hi,
This project was meant to be an example for how to integrate cloud apis into a raspberry pi based project. The main reason for the current structure was to keep things simple for newcommers - just change one file. This is of course not scaleable and we alsodid not expect that many PRs to be honest.

We will need to improve the code-structure to add a config file (see #45) and make actions/triggers plugins.

from aiyprojects-raspbian.

pjbroad avatar pjbroad commented on April 29, 2024

@ensonic My fork at https://github.com/pjbroad/aiyprojects-raspbian is an attempt to make user actions/trigger more like plug-ins. It did not require much change to the existing code base either. It might be worth taking a look. I'd be happy take feedback and provide a pull request.

from aiyprojects-raspbian.

paulpoco avatar paulpoco commented on April 29, 2024

To bad it the whole thing was run Debian package instead with upstream changes easily updated.

Make the system have a web interface that you could add your commands. Similar to how Retropie has a web interface module for easily uploading ROMs.

I also guess the whole point of it was to use Python so us beginners could program it easier.

from aiyprojects-raspbian.

drigz avatar drigz commented on April 29, 2024

Since the new direction of this project is to provide a support library (along with demos of how to use it) rather than a full-featured solution, I'm going to close this issue.

from aiyprojects-raspbian.

Related Issues (20)

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.