Command to run project with local IP
flutter run -d web-server –web-hostname
How to set up a broker
Download broker from EMQx. https://www.emqx.io/downloads
Follow the setup steps that are described on the download page
To use MQTT public
Flutter: https://pub.dev/packages/mqtt_client Node.js: https://www.npmjs.com/package/mqtt Python: https://pypi.org/project/paho-mqtt/ Android: https://github.com/eclipse/paho.mqtt.android iOS: https://cocoapods.org/pods/MQTTClient