Unit V2 MQTT support



  • how can I get a MQTT support for the Unit V2. Is it possible to remotely control the Unit V2 functionality like with JSON?
    Where can a get the MQTT Jupiter page?
    Thanks a lot



    1. configure wifi connect. tutorial

    2. run some MQTT python script

    such like:

    https://www.emqx.com/en/blog/how-to-use-mqtt-in-python



  • I just received my Unit V2 and was wondering the same about running MQTT. Doing some digging on the chip and I found they already include the mosquito broker, and it works right out of the box.

    I also got the wpa_supplicant to connect this device to an ssid of my network. Now the device can just startup without the serial wire.

    Has anyone connected the existing server.py code to MQTT or other interfaces?

    Is the best approach just to modify the server.py code to start performing the additional operations, like publishing the JSON data over MQTT?

    thanks.