FastyBird IoT devices node for devices storage & basic logic services
Open Issues: 2
- php: >=7.4.0
- cweagans/composer-patches: ^1.6
- fastybird/bootstrap: @dev
- fastybird/couchdb-storage-plugin: @dev
- fastybird/database: @dev
- fastybird/devices-module: @dev
- fastybird/json-api: @dev
- fastybird/modules-metadata: @dev
- fastybird/mqtt-plugin: @dev
- fastybird/rabbitmq-plugin: @dev
- fastybird/simple-auth: @dev
- fastybird/vernemq-auth-plugin: 9999999-dev
- fastybird/web-server: @dev
- mockery/mockery: ^1.3
- ninjify/nunjuck: ^0.3
- ninjify/qa: ^0.10
- pds/skeleton: ~1.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^0.12
- phpstan/phpstan-deprecation-rules: ^0.12
- phpstan/phpstan-doctrine: ^0.12
- phpstan/phpstan-nette: ^0.12
- tracy/tracy: 2.7
This package is auto-updated.
Last update: 2023-03-16 19:48:19 UTC
What is FastyBird devices node?
Devices node is a core microservice for managing all connected devices, managing basic devices logic and exposing them for clients.
FastyBird devices node is an Apache2 licensed distributed microservice, developed in PHP with Nette framework.
FastyBird devices node is tested against PHP 7.4 and ReactPHP http 0.8 event-driven, streaming plaintext HTTP server and RabbitMQ 3.7 message broker
NOTE: If you don't want to install it manually, try docker image
The best way to install fastybird/devices-node is using Composer. If you don't have Composer yet, download it following the instructions. Then use command:
$ composer create-project --no-dev fastybird/devices-node path/to/install $ cd path/to/install
Everything required will be then installed in the provided folder
This microservice has several console command.
$ vendor/bin/fb-console fb:web-server:start
This command is to start build in web server which is listening for incoming http api request messages from clients and is listening for new data from exchange bus from other microservices.
Install with docker
Docker image: fastybird/devices-node
Use docker hub image
$ docker run -d -it --name devices fastybird/devices-node:latest
Generate local image
$ docker build --tag=devices-node . $ docker run -d -it --name devices-node devices-node
This microservice is preconfigured for default connections, but your infrastructure could be different.
Configuration could be made via environment variables:
||RabbitMQ host address|
||RabbitMQ access port|
||MySQL server version|
||MySQL host address|
||MySQL access port|
||MySQL database name|
||CouchDB host address|
||CouchDB access port|
||VerneMQ host address|
||VerneMQ access port|
||MQTT client ID|
||HTTP server host address|
||HTTP server access port|
||Security token signature string|
NOTE: In case you are not using docker image or you are not able to configure environment variables, you could edit configuration file
This microservice is using database, and need some initial data to be inserted into it. This could be done via shell command:
$ vendor/bin/fb-console fb:initialize
This console command is interactive and will ask for all required information.
After this steps, microservice could be started with server command
Use the issue tracker for bugs or mail or Tweet us for any idea that can improve the project.
Thank you for testing, reporting and contributing.
For release info check release page
Homepage https://www.fastybird.com and repository https://github.com/fastybird/devices-node.