bitraf-iot
所属分类:物联网
开发工具:C++
文件大小:1865KB
下载次数:0
上传日期:2021-11-05 14:37:06
上 传 者:
sh-1993
说明: 在Bitraf MQTT代理上连接的传感器和致动器设备
(Sensor and actuator devices connected at Bitraf MQTT broker)
文件列表:
.dockerignore (20, 2021-11-05)
.travis.yml (802, 2021-11-05)
Dockerfile (485, 2021-11-05)
Makefile (834, 2021-11-05)
PirMotionSensor (0, 2021-11-05)
PirMotionSensor\PirMotionSensor.ino (2600, 2021-11-05)
TODO.md (1948, 2021-11-05)
arduino-button-box (0, 2021-11-05)
arduino-button-box\arduino-button-box.ino (5877, 2021-11-05)
arduino-button-box\config.h (424, 2021-11-05)
arduino-button-box\msgflo.cpp (5882, 2021-11-05)
arduino-button-box\msgflo.h (754, 2021-11-05)
arduino-button-box\utils.h (2063, 2021-11-05)
bitgate (0, 2021-11-05)
bitgate\Makefile (1067, 2021-11-05)
bitgate\bitgate (0, 2021-11-05)
bitgate\bitgate\CMakeLists.txt (234, 2021-11-05)
bitgate\bitgate\Makefile (183, 2021-11-05)
bitgate\bitgate\main (0, 2021-11-05)
bitgate\bitgate\main\CMakeLists.txt (96, 2021-11-05)
bitgate\bitgate\main\component.mk (146, 2021-11-05)
bitgate\bitgate\main\hello_world_main.c (1232, 2021-11-05)
bitgate\bitgate\sdkconfig (16250, 2021-11-05)
bitgate\esp-idf (0, 2021-11-05)
bitraf-guestlogin.service (394, 2021-11-05)
bitraf-iot-doorstatus.service (285, 2021-11-05)
bitraf-iot-guestlogin.service (396, 2021-11-05)
bitraf-iot-opendoor3floor.service (367, 2021-11-05)
bitraf-msgflo.service.tmpl (537, 2021-11-05)
bitraf-tv-showmessage (1112, 2021-11-05)
... ...
# Bitraf's Internet of Things network
At [Bitraf](https://bitraf.no) hackerspace we run a "Internet of Things" network.
We use the [MQTT](https://en.wikipedia.org/wiki/MQTT) protocol,
with a broker running on `mqtt.bitraf.no` (default port, 1883).
# Live view
[OpenMCT dashboard with graphs of historical data](http://iot.bitraf.no:8080)
[Open live view of the network in Flowhub](http://iot.bitraf.no/live)
# Things
In use
* [Doorlocks](https://github.com/bitraf/dlock13)
* [Door openers](./singlebutton)
* [Tool lock](https://github.com/einsmein/bitraf-thelock)
* [Window open/close detection (Hall effect)](https://github.com/Poohma/IOT_Window_Hall_sensors)
* [Motion sensor (PIR)](./PirMotionSensor)
In development
* [Window openers/closers](https://github.com/apetrynet/altF4)
* [Machine on/off (electrical current)](https://github.com/slunke/onoffsensor)
# [TODO](./TODO.md)
# Developing
## Running locally
* Install and start a [Mosquitto](https://mosquitto.org/) message broker
* Install the Node.js dependencies of this project with `npm install`
* Install the Python dependencies of this project with `pip install -r requirements.pip`
* Start the MsgFlo broker with `MSGFLO_BROKER=mqtt://localhost npm start`
## Running with Docker
* Ensure you have a running Docker daemon
* Start the project with `docker-compose up`
Note: by default the MsgFlo coordinator and MQTT ports are only available on `localhost`. Edit the ports declarations in `docker-compose.yml` if you want to open them to the outside.
## Running [tests](./test)
npm install # once
npm test
近期下载者:
相关文件:
收藏者: