Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sensetecnic/demo-phidgets
A demo application to post events from phidget sensors to WoTKit
https://github.com/sensetecnic/demo-phidgets
Last synced: 13 days ago
JSON representation
A demo application to post events from phidget sensors to WoTKit
- Host: GitHub
- URL: https://github.com/sensetecnic/demo-phidgets
- Owner: SenseTecnic
- Created: 2015-03-11T00:19:11.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-11T17:37:38.000Z (almost 10 years ago)
- Last Synced: 2024-03-26T17:19:28.855Z (10 months ago)
- Language: Python
- Size: 227 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
==============
PhidgetSensors
==============This demo application allows you to send data to several WoTKit sensors using Phidgets (http://www.phidgets.com/) modules.
Dependencies
============* Phidgets libraries (Follow instructions at: http://www.phidgets.com/docs/Operating_System_Support)
* Phidgets Python Module (Found at utils/PhidgetsPython. Download and install with *python setup.py install*)
* Python scripts in this repository depend on the existence of the *Phidgets* folder in this repository.Running the sensors
===================You first need to change the SERV_USER and SERV_PASS variables in the *Configuration.py* file, assing your username and password, or key and secret generated here: http://wotkit.sensetecnic.com/wotkit/keys. To run the script, run (in ubuntu you need to run with superuser privileges):
```
sudo python phidgetrelay.py
```
In rare cases, if you are using a different WoTKit API end-point, you can configure the *STS_BASE_URL='http://wotkit.sensetecnic.com/api'* variable to your desired end point.We have provided a shell script ```runwotkitdemo.sh``` that runs in the background and outputs to logs/log. Run with with:
```
sudo sh runwotkitdemo.sh
```