Giter Site home page Giter Site logo

pyaiot / pyaiot Goto Github PK

View Code? Open in Web Editor NEW
30.0 11.0 11.0 4.78 MB

A set of Python services to interact and transport data from IoT devices

License: BSD 3-Clause "New" or "Revised" License

Makefile 1.61% Python 55.53% CSS 2.74% HTML 20.75% JavaScript 16.48% Shell 2.51% Dockerfile 0.38%
python iot asyncio web pyaiot coap mqtt websocket

pyaiot's Issues

PWM (Slider) element support

I would like to have slider support in pyaiot.
Now there shouldn't be much difficulty in this, grab a slider bootstrap thing, program it (almost) the same way the led button is done, anyway, that's not the issue here :)

For my project I want to use it as a PWM setting, slider indicates and controls the duty cycle of the PWM output. Now there are probably more applications that would require a slider and not only for PWM. So maybe naming it "pwm" is a bit too specific. Do you have an opinion on what to name this element?

Support multiple elements of the same type on a single node

For a new project I would like to attach multiple sensors or actuators of the same type to a single node. For example:

/temp_inside
/temp_outside

I was thinking of extending the endpoint matching of the pyaiot webinterface to match the start of the endpoint (up to an _) to classify endpoints and use the last part of the string as an user visible differentiator in the webinterface.

make deploy fails on Ubuntu

Hello,

I can't run the pyaiot-broker with make deploy, on a fresh installation of Ubuntu 16.04 :

sudo cp systemd/aiot-broker.service /lib/systemd/system/.
sudo systemctl enable aiot-broker.service
Created symlink from /etc/systemd/system/aiot-broker.service to /lib/systemd/system/aiot-broker.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/aiot-broker.service to /lib/systemd/system/aiot-broker.service.
sudo systemctl daemon-reload
sudo systemctl restart aiot-broker.service
sudo systemctl status aiot-broker.service
● aiot-broker.service - Pyaiot Broker Application
   Loaded: loaded (/lib/systemd/system/aiot-broker.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since mar. 2017-12-05 13:41:32 CET; 31ms ago
  Process: 6159 ExecStart=/usr/local/bin/aiot-broker --broker-port=${BROKER_PORT} (code=exited, status=217/USER)
 Main PID: 6159 (code=exited, status=217/USER)

déc. 05 13:41:32 loic-VirtualBox systemd[1]: Stopped Pyaiot Broker Application.
déc. 05 13:41:32 loic-VirtualBox systemd[1]: Started Pyaiot Broker Application.
déc. 05 13:41:32 loic-VirtualBox systemd[1]: aiot-broker.service: Main process exited, code=exited, status=217/USER
déc. 05 13:41:32 loic-VirtualBox systemd[1]: aiot-broker.service: Unit entered failed state.
déc. 05 13:41:32 loic-VirtualBox systemd[1]: aiot-broker.service: Failed with result 'exit-code'.
Makefile:29: recipe for target 'aiot-broker.service' failed
make: *** [aiot-broker.service] Error 3

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.