It works, the last 2 days. Now I try kevinkk525 solution! But Can you share where I need put this code? I'm a beginner!I
Search found 3 matches
Search found 3 matches • Page 1 of 1
- Fri May 29, 2020 9:37 am
- Forum: Programs, Libraries and Tools
- Topic: mqtt_as library and esp8266
- Replies: 4
- Views: 775
This is a question for the mqtt Jedi Peter Hinch. I'm using the mqtt_as library with an esp8266. when uC starts up and the router is off, the program ends giving an error. I have added the following in the code for restarting, is OK? try: loop.run_until_complete(main(client)) finally: client.close()...
- Fri May 22, 2020 5:46 am
- Forum: ESP32 boards
- Topic: PZEM04t V3 simple example whitout modbus library
- Replies: 0
- Views: 477
Hi! This is my first post. Here is my example for use PZEM04t V3 energy monitor without modbus library, using the default address 0xF8. Next stop with mqtt. Regards. ''' Micropython in esp32 simple example for use PZEM04t V3 in default modbus address 0xF8 whitout modbus library. Use UART1 or UART2. ...