mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Commit for pre release, to check installation with pip3 and Added README.md
This commit is contained in:
37
README.md
Normal file
37
README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# ThingsBoard IoT Gateway
|
||||
The Thingsboard **IoT Gateway** is an open-source solution that allows you to integrate devices connected to legacy and third-party systems with Thingsboard.
|
||||
|
||||
Thingsboard is an open-source IoT platform for data collection, processing, visualization, and device management. See [**What is Thingsboard?**](https://thingsboard.io/docs/getting-started-guides/what-is-thingsboard/) if you are new platform user.
|
||||
|
||||

|
||||
|
||||
### Gateway features
|
||||
|
||||
Thingsboard IoT Gateway provides following features:
|
||||
|
||||
- **OPC-UA** extension to collect data from devices that are connected to OPC-UA servers.
|
||||
- **MQTT** extension to collect data that is published to external MQTT brokers.
|
||||
- **Persistence** of collected data to guarantee data delivery in case of network and hardware failures.
|
||||
- **Automatic reconnect** to Thingsboard cluster.
|
||||
- Simple yet powerful **mapping** of incoming data and messages **to unified format**.
|
||||
|
||||
### Architecture
|
||||
|
||||
The IoT Gateway is built on top of **Python**, however is different from similar projects that leverage OSGi technology.
|
||||
The idea is distantly similar to microservices architecture.
|
||||
The gateway supports custom connectors to connect to new devices or servers and custom converters for processing data from devices.
|
||||
Especially, when we are talking about language APIs and existing libraries to work with serial ports, GPIOs, I2C, and new modules and sensors that are released every day.
|
||||
|
||||
The Gateway provides simple integration APIs, and encapsulates common Thingsboard related tasks: device provisioning, local data persistence and delivery, message converters and other.
|
||||
For processing data from devices you also can write custom converter, it will receive information from device and send it to converter to convert to unified format before sending it to the ThingsBoard cluster.
|
||||
|
||||
|
||||
## Support
|
||||
|
||||
- [Community chat](https://gitter.im/thingsboard/chat)
|
||||
- [Q&A forum](https://groups.google.com/forum/#!forum/thingsboard)
|
||||
- [Stackoverflow](http://stackoverflow.com/questions/tagged/thingsboard)
|
||||
|
||||
## Licenses
|
||||
|
||||
This project is released under [Apache 2.0 License](./LICENSE).
|
||||
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = thingsboard-gateway
|
||||
version = 2.0.10
|
||||
version = 2.0.11
|
||||
description = Thingsboard Gateway for IoT devices.
|
||||
long_description = The Thingsboard IoT Gateway is an open-source solution that allows you to integrate devices connected to legacy and third-party systems with Thingsboard.
|
||||
license = Apache Software License (Apache Software License 2.0)
|
||||
|
||||
14
setup.py
14
setup.py
@@ -37,24 +37,12 @@ setup(
|
||||
'bluepy',
|
||||
'importlib'
|
||||
],
|
||||
download_url='https://github.com/thingsboard/thingsboard-gateway/archive/2.0.10rc-python.tar.gz',
|
||||
download_url='https://github.com/thingsboard/thingsboard-gateway/archive/2.0.11rc-python.tar.gz',
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'thingsboard-gateway = thingsboard_gateway.tb_gateway:daemon'
|
||||
]
|
||||
})
|
||||
|
||||
from shutil import copytree, copyfile
|
||||
from thingsboard_gateway import __path__ as lib_path
|
||||
from os.path import abspath, exists
|
||||
from os.path import expanduser
|
||||
home = expanduser("~")
|
||||
|
||||
current_path = abspath(home)+'//thingsboard-gateway'
|
||||
if exists(current_path) is False:
|
||||
config_path = lib_path[0]+'//config'
|
||||
entry_file_point = '//tb_gateway.py'
|
||||
copytree(config_path, current_path + '//config')
|
||||
copyfile(lib_path[0] + entry_file_point, current_path + entry_file_point)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user