IoT gateway
Project description
IoT Gateway
IoT gateway is a device that connects its client devices to a IoT platforms.
@startditaa
+--------+ +---------+ I2 +----------+
| | I1 | +<----------+ IoT |
| Device +<------>+ Gateway + Bridge | Platform |
| | | |---------->| |
+--------+ +---------+ telemetry +----------+
state
@endditaa
Interface I1
Interface between Device and Gateway
Protocol: MQTT
Mqtt topics:
- Attach
- Unattach
- State
- Event
- Config
- Commands
Attach topic
- Topic name: /attach
- Payload: device id as string
- Source: device
Unattach topic
- Topic name: /unattach
- Payload: device id as string
- Source: device
State topic
- Topic name: /state/<device_id>
- Payload: device state
- Source: device
Event topic
- Topic name: /event/<device_id>
- Payload: an event
- Source: device
Config topic
- Topic name: /config/<device_id>
- Payload: configuration
- Source: gateway
Commands topic
- Topic name: /commands/<device_id>
- Payload: command
- Source: gateway
Interface I2
Interface between Gateway and Bridge
Protocol: MQTT
Event topic
- Topic name: /devices/<device_id>/events
- Payload: event
- Source: gateway
State topic
- Topic name: /devices/<device_id>/state
- Payload: state
- Source: gateway
Config topic
- Topic name: /devices/<device_id>/config
- Payload: configuration
- Source: IoT platform
Commands topic
- Topic name: /devices/<device_id>/commands/#
- Payload: command
- Source: IoT platform
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iot_gw-0.1.dev47.tar.gz
(69.4 kB
view details)
File details
Details for the file iot_gw-0.1.dev47.tar.gz
.
File metadata
- Download URL: iot_gw-0.1.dev47.tar.gz
- Upload date:
- Size: 69.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6bcb98245bba982133bb961a042859d95bffda34d59ea4d601628f877f583f3 |
|
MD5 | 87998a77a0dd48e07419ac3cf4b16378 |
|
BLAKE2b-256 | 013ad14c718952ea065ef4feb947a53f9d81eaf40c033b94922a6b7873c53e3c |