CircuitSetup / Split-Single-Phase-Energy-Meter

Split Single-phase Energy Meter
https://www.crowdsupply.com/circuitsetup/split-single-phase-energy-meter
MIT License
261 stars 57 forks source link

Can't connect to Emoncms after updating from 2.5.7 to 2.6 #42

Closed zirdum closed 3 years ago

zirdum commented 3 years ago

I updated via the web interface (from 2.5.7 to 2.6, using the v2.6-src.ino.esp32.bin file) and it seemed to update just fine. After coming back up, I notice the MQTT section says it's connected as it was before the update, but the Emoncms says it's not connected. I retyped all the settings (server, node name and api key) to make sure it's proper, but still no go. Any ideas what changed that it can't connect at this point?

CircuitSetup commented 3 years ago

I'm sorry the meter is giving you issues.

Nothing has changed between versions in the EmonCMS connection code. Can you double check the API key, username/password?

cap9qd commented 3 years ago

To share my experice with the upgrade to 2.6.

The esp software update all went well and I didn't have to update my SPIFFs. However, I did have to reenter my api key and readd the device in my RPi EmonCMS install. However, readding the device may have been due to updating EmonCMS to the latest and swapping to the "metering" version of the ESP software.

On Mon, Nov 9, 2020, 09:49 John notifications@github.com wrote:

I'm sorry the meter is giving you issues.

Nothing has changed between versions in the EmonCMS connection code. Can you double check the API key, username/password?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CircuitSetup/Split-Single-Phase-Energy-Meter/issues/42#issuecomment-724097544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBKIUFNW7GVN25NNL35RP3SPAFPDANCNFSM4TO3LH3A .

zirdum commented 3 years ago

I did double check all the fields, and it was entered in properly. I also power cycled it to make sure.

I downgraded back to 2.5.7 and it connected automatically after it restarted.

CircuitSetup commented 3 years ago

I'm honestly not sure why that happened. It's possible the memory was corrupted when moving to the new version.

dimaj commented 3 years ago

sorry to bring up old thread, but i'm having same results... I finally got around installing my Split Single Phase Energy Meter with Solar device. Today, I've updated to 2.6 and lost connectivity to my emoncms. Complete system reset didn't help. Downgrading to 2.5.7 worked.

zirdum commented 3 years ago

I haven't tried updating it since I had the issue. I wonder if there could be some kind of handshake/auth value that needs to be reset (I'm guessing on the emoncms end)?

dimaj commented 3 years ago

I looked at what code has changed, and I saw that http stack has been overhauled. I host emoncms locally and I have configured emonEsp to access emoncms via ip address.

how would one enable and access debug logs?