CircuitSetup / Expandable-6-Channel-ESP32-Energy-Meter

Hardware & Software documentation for the CircuitSetup Expandable 6 Channel ESP32 Energy Meter. Works with ESPHome and Home Assistant.
https://circuitsetup.us/product/expandable-6-channel-esp32-energy-meter/
MIT License
519 stars 104 forks source link

Fix MQTT JSON mode #26

Closed presslab-us closed 3 years ago

presslab-us commented 3 years ago

I see that you've brought in the changes I've made for MQTT JSON mode. Previously I had to modify the PubSubClient source to fix the buffer size, but this was not captured in my Git repository.

PubSubClient v2.8 now includes functions to fix this issue the correct way. This pull request includes the buffer size fixes as well as setting the timeout for PubSubClient.

CircuitSetup commented 3 years ago

Thanks for this!