#siemens Simatic Iot2040 as #mqtt Broker [NETPIE]
▻https://hackernoon.com/siemens-simatic-iot2040-as-mqtt-broker-netpie-1d906840b087?source=rss---
This article explains how to install Mqtt broker on Siemens Simatic IoT2040. In this article Mosca Mqtt broker is used.System Model:The Modbus Energy Meter is used as client that publishes Voltage, Current, and Frequency values to Mosca broker installed on Siemens Simatic IoT2040. The broker on Simatic will then publish the data to NETPIE APP ID that is subscribed to the same topic as publisher.Getting Started:The Simatic IoT2040 works based on Yocto Linux, the image need to be installed on SD -card and should be inserted into Simatic. The detail instructions of installing Yocto Linux and connecting Modbus Energy Meter to Simatic can be found here.Siemens Simatic IoT2040Modbus Energy MeterInstalling Mosca on Siemens Simatic IoT2040:Install Mosca on Simatic using npm as described belownpm (...)