Community
OpenEnergyMonitor

Community

OpenEVSE / EmonEVSE Wired Ethernet Connectivity

Using an ESP32-Gateway module it’s now possible to connect an OpenEVSE / EmonEVSE via wired Ethernet.

See the OpenEnergyMonitor store for a pre-wired and pre-loaded module which will be a drop in replacement for the current WiFi module in OpenEVSE / EmonEVE.

Or see the full ESP32-gateway technical docs to compile firmware and connect up your own ESP32-gateway module.

Pre-wired module with power supply:
esp32-gateway-prewired

Installation in an EmonEVSE:

Serial connections:
esp32-gateway-connections

esp32-gateway-connected

The ESP32 Gateway is a new addition and is currently considered in ‘Beta’ since the ESP32 firmware is still under active development. However, it has been extensively tested and proven reliable for many months of operation. Please report your experience

Hi this looks interesting I was wondering if
There is enough space in the esp32 to implement a stand alone version of the demand shaper that trystian is working on ?

Did I read somewhere that the esp 32 would be able to control 2 evse chargers ?

Take care bill

That should be possible. Obviously some significant changes (full rewrite) will be required to convert a php web app to run on the esp32 but the esp32 should be easily capable of the calculations required. This would be a really nice standalone feature.

No, this is not planned or easily possible.

Hi glyn
spent today changing the evse wifi boards to the esp32 gateway boards on both my chargers
these are hardwired into a cisco 24 port switch my wifi router is also wired in to this switch
also using pihole as a dchp and dns server .
i managed to download and compile the code on my linux laptop and program two virgin esp32 gateway boards . I Reserved the ip adress in the dchp server for the two boards with there Mac adress .
The boards have powered up and failed to conect to the lan but have taken me into configration for wifi Each time that i have tried from a clean install and power up they still bring up the wifi interface .
i have checked the lan cable with cable tester it is fine . and i have conected through the cable with my laptop to my network .
i have even reloaded the firmware from a binary file via http … to one of the systems and still same results .
I am making the asumtion that on power up they look for the lan and if found they then request a conection and take the ip number from dchp .
should it then display the ip number on the screen ?
and allow me to conect and configer via the lan ? .
i see just the normal evse boot up then into sleep mode : displayed
when i check wifi on phone i see the acsess point to conect and program wifi details as normal . if i program this up all workes on wifi as normal but i have to remove the lan cable to let me log on via my network . . if i plug in the lan cable and reboot the charger if will come up with the wifi infomation but not let me conect to it untill i remove the lan cable .
i have tried conecting to difernt router with a longer cable but still the same .
the compiler when finished compling reports openevse_esp32-gateway-e success
so i am sure its compiled the right version .
can you shed some more light on what we expect these to do ?
ie if programed up to conect to hard wire lan . if this lan goes down does it try wifi ? or just wait for lan to come back ?
i may try and make up a seprate lan tomorrow with just them and a hub and laptop and see what they do .
regards Bill

Hi Bill,

Could you try to upload the pre-compiled V3.1.0 to the ESP gateway: https://github.com/OpenEVSE/ESP32_WiFi_V3.x/releases/download/3.1.0/esp32-gateway-e.bin

Using this tried and tested pre-compiled firmware will rule out any issues with your local compiling.

Hi Glyn,

I have managed to flash the firmware.bin instead of the esp32-gateway-e.bin (via web ui) on one of my EmonEVSE’s. I now cannot seem to flash it back, web UI is not working. I’ve tried using the esptool.py to flash the partitions file along with the correct bin file etc, (via usb programmer), but no luck and errors were returned. Is there a way back from this?

Thanks in advance

To fix this you will need to upload the esp32-gateway-e.bin and bootloader.bin and partitions.bin using esptool with the board connected via USB. See the upload instructions: https://github.com/OpenEVSE/ESP32_WiFi_V3.x/blob/master/docs/wired-ethernet.md#uploading-pre-compiled

Hi Glyn … ok update on this i think it may be someting with the cisco switch that i am using
as i put both chargers into a cheap network hub and then conected the hub to the switch
and all then worked as the instructions . and the units now show using the wired conection point
strange that once i had them working and configerd i was able to conect them straight into the cisco switch and they are working fine .
i still need to lookup the mac ad for the hardwire port so that i can set them to the Ip adress that i want . but at the moment living with the one that they set up to themselves .
i have now managed to get on to the octopus Argile tarriff and have set up to night to do first charge with demand shaper. so hope all goes well …
thanks for you response to this
Bill