I am really new in MQTT. I am trying to connect my “nodemcu/esp8266” device to the cloud using free HiveMQ. I followed with success all required steps:
- Install Arduino IDE
- PubSubClient library
- NTPClient library
- LittleFS Filesystem Uploader
But at the “Upload certificates to the board” step I am facing an issue: The “certs-from-mozilla.py” does not compile (or run) to generate the “certs.ar” required file. I am using Visual Studio Code on Windows 10 for this purpose. My problem is with the “urllib2” in line 21 and the “StringIO” in line 23 which can not be resolved.
Is there any solution for this problem.