1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.6k stars 792 forks source link

Thingsboard as controller support #1005

Closed garudaonekh closed 2 years ago

garudaonekh commented 3 years ago

Is your feature request related to a problem? Please describe. Thingsboard is cool and have a lot of features for developers to customize. I am using Thingsboard cloud

Describe the solution you'd like The ability to push the collected data to Thingsboard thru MQTT publishing

Describe alternatives you've considered Using Thingsboard gateway as a bridge is an option but this will require an additional Raspberry PI as Thingsboard gateway required RPI or Linux machine.

Additional context If you don't have time for this, can you point me to the right direction. Or a better solution that I may miss

1technophile commented 3 years ago

It would be interesting to add thingsboard support. I can help you do this. I suppose that if you don't want to go through the gateway we need to leverage this API ?

garudaonekh commented 3 years ago

It would be interesting to add thingsboard support. I can help you do this. I suppose that if you don't want to go through the gateway we need to leverage this API ?

Correct. Their MQTT syntax are simple. The main thing is the DEVICE_TOKEN, which currently generated from the Thingsboard Cloud Server but it may have some self discovery method or something which I am not aware of.

garudaonekh commented 3 years ago

In my current setup is

BLE Sensors->Your gateway->My Local MQTT Broker->Collected by Thingsboard Gateway->Thingsboard Cloud

The above setup is fine for system with many sensors as Thingsboard Gateway has local backup for unsent data which is a good feature.

BUT I think for smaller setup, it's more efficient to send from your gateway to Thingsboard directly.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.