pyaiot / pyaiot Goto Github PK
View Code? Open in Web Editor NEWA set of Python services to interact and transport data from IoT devices
License: BSD 3-Clause "New" or "Revised" License
A set of Python services to interact and transport data from IoT devices
License: BSD 3-Clause "New" or "Revised" License
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?
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.