Search found 3 matches

by jnogues
Fri May 29, 2020 10:56 am
Forum: Programs, Libraries and Tools
Topic: mqtt_as library and esp8266
Replies: 4
Views: 2990

Re: mqtt_as library and esp8266

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

Regards!
by jnogues
Fri May 29, 2020 9:37 am
Forum: Programs, Libraries and Tools
Topic: mqtt_as library and esp8266
Replies: 4
Views: 2990

mqtt_as library and esp8266

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()...
by jnogues
Fri May 22, 2020 5:46 am
Forum: ESP32 boards
Topic: PZEM04t V3 simple example whitout modbus library
Replies: 0
Views: 2122

PZEM04t V3 simple example whitout modbus library

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. ...