This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| app-notes:ein-mqtt-server-fuer-iot-telemetry-sensoren [2023/11/09 15:04] – [4.1 The first visualization under Grafana] gray | app-notes:ein-mqtt-server-fuer-iot-telemetry-sensoren [2025/11/07 14:02] (current) – [Prerequisites] gray | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| * NetModule Wireless Router with wireless connection | * NetModule Wireless Router with wireless connection | ||
| - | * NRSW NRSW [[https:// | + | * NetModule SW [[https:// |
| * A license is required for the LXC container | * A license is required for the LXC container | ||
| * Not available for legacy products NB1600, NB2700, NB3700, NB3710 | * Not available for legacy products NB1600, NB2700, NB3700, NB3710 | ||
| Line 32: | Line 32: | ||
| Query measurement data from an IoT device (in this example a Shelly Plus H&T) with an SDK script via the MQTT interface.The '' | Query measurement data from an IoT device (in this example a Shelly Plus H&T) with an SDK script via the MQTT interface.The '' | ||
| - | [[https:// | + | [[https:// |
| What data is required: | What data is required: | ||
| Line 66: | Line 66: | ||
| | | ||
| /* publish the message to mqtt broker Temperature */ | /* publish the message to mqtt broker Temperature */ | ||
| - | ret = nb_mqtt_publish(HOST, | + | ret = nb_mqtt_publish(HOST, |
| if (ret<0){ | if (ret<0){ | ||
| | | ||
| Line 90: | Line 90: | ||
| | | ||
| /* publish the message to mqtt broker Sys */ | /* publish the message to mqtt broker Sys */ | ||
| - | ret = nb_mqtt_publish(HOST, | + | ret = nb_mqtt_publish(HOST, |
| if (ret<0){ | if (ret<0){ | ||
| | | ||
| Line 530: | Line 530: | ||
| From now on you have access to the data that is already in the database and that will be added over time. | From now on you have access to the data that is already in the database and that will be added over time. | ||
| - | Which measurements have been deposited in the database: | ||
| - | |||
| - | < | ||
| - | :~ $ influx | ||
| - | Connected to http:// | ||
| - | InfluxDB shell version: 1.8.10 | ||
| - | :> use Shelly | ||
| - | Using database Shelly | ||
| - | :> show series | ||
| - | key | ||
| - | --- | ||
| - | power, | ||
| - | rh, | ||
| - | tC, | ||
| - | tC, | ||
| - | tC, | ||
| - | temperatur, | ||
| - | temperatur, | ||
| - | temperatur, | ||
| - | temperatur, | ||
| - | value, | ||
| - | value, | ||
| - | voltage, | ||
| - | voltage, | ||
| - | </ | ||
| ==== - The first visualization under Grafana ==== | ==== - The first visualization under Grafana ==== | ||