# Help setting up Solar PV divert (EcoMode) on OpenEVSE WiFi

**URL:** <https://community.openenergymonitor.org/t/help-setting-up-solar-pv-divert-ecomode-on-openevse-wifi/6859>\
**Category:** OpenEVSE\
**Created:** [14 March 2018 23:19 UTC](https://community.openenergymonitor.org/t/help-setting-up-solar-pv-divert-ecomode-on-openevse-wifi/6859 "2018-03-14T23:19:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [16 March 2018 17:41 UTC](https://community.openenergymonitor.org/t/help-setting-up-solar-pv-divert-ecomode-on-openevse-wifi/6859/4 "2018-03-16T17:41:52Z")

</div>

Hi Cliff,

Sorry for the slow reply. Good work getting up and running.

Are you running our latest emonSD pre-build emonPi/raspberry Pi SD card: [emonSD pre built SD card Download & Change Log · openenergymonitor/emonpi Wiki · GitHub](https://github.com/openenergymonitor/emonpi/wiki/emonSD-pre-built-SD-card-Download-&-Change-Log). It should say what version your running in the Pi section of Emoncms admin.

> [@Significant OpenEVSE WiFi 2.0 Firmware Update. Call for beta testers](https://community.openenergymonitor.org/t/significant-openevse-wifi-2-0-firmware-update-call-for-beta-testers/4751/6):
>
> And these are the parameters I am try to use:

The MQTT username and password is the MQTT server user name and password. The default for the emonPi (unless you have changed them) is username: “emonpimqtt” password: “emonpimwtt2016” as defined here: [emonSD Download — OpenEnergyMonitor 0.0.1 documentation](https://guide.openenergymonitor.org/technical/credentials/#mqtt). The Mosquitto MQTT server running on the emonPi (port 1880) is not open to the outside word to security is not too much of an issue.

> [@Significant OpenEVSE WiFi 2.0 Firmware Update. Call for beta testers](https://community.openenergymonitor.org/t/significant-openevse-wifi-2-0-firmware-update-call-for-beta-testers/4751/5):
>
> flashed the OpenEVSE control board with 4.8.0

I would recomend OpenEVSE controller FW V4.12.3 from the [openenergymonitor/open\_evse](https://github.com/openenergymonitor/open_evse/releases/) repo, this has a number of fixes including a fix to enable charging at 6A. See changelog on the releleases page. The reason for the firmware fork is that we’re maintaining the UK/EU specific FW which has a number of minor customisation to be CE complaint e.g. 32A max, proximity pilot support, L2 default level.

> [@Significant OpenEVSE WiFi 2.0 Firmware Update. Call for beta testers](https://community.openenergymonitor.org/t/significant-openevse-wifi-2-0-firmware-update-call-for-beta-testers/4751/6):
>
> Ok, I eventually spotted you have a pre-compiled binary “firmware.bin” available here.
> 
> I uploaded that and am now seeing V 2.7.0.

Perfect, nice work 👍

> [@Significant OpenEVSE WiFi 2.0 Firmware Update. Call for beta testers](https://community.openenergymonitor.org/t/significant-openevse-wifi-2-0-firmware-update-call-for-beta-testers/4751/6):
>
> But I still cant get it talking to the EmonPi. I’m pretty sure I’m just getting my names, addresses, nodes, topics etc all muddled. Finding it hard to be sure what to enter where:

What do you see on the Emoncms inputs? It looks like that one stage in time the openevse managed to post to Emoncms (3.9 days ago)!

> [@Significant OpenEVSE WiFi 2.0 Firmware Update. Call for beta testers](https://community.openenergymonitor.org/t/significant-openevse-wifi-2-0-firmware-update-call-for-beta-testers/4751/7):
>
> Do I need to create a new virtual feed on EmonPi for solar surplus, in my case that would be “solar - use” or does it pull what it needs from the EmonPi, and of so how does it know weather I have a type 1 ot type 2 setup, in my case type 2.

If you have a type 2 setup I would recomend using “Grid (+I/-E) topic” and entering the MQTT topic for your grid import / export CT ([CT1 in this diagram](https://guide.openenergymonitor.org/images/applications/solar-pv/solar-pv-install.png)). Make sure the CT is orientated so power is positive when importing and negative when exporting. You will need to be using an AC-AC voltage adaptor with the emonPi to determine direction of current. The openevse will divert any _excess_ power not being used by your house into your EV e.g

 ![15](https://community.openenergymonitor.org/uploads/default/original/2X/8/839d4b41abb6dab02c15ee6ec6f0d3a9e1f1e31f.png)

> [@Significant OpenEVSE WiFi 2.0 Firmware Update. Call for beta testers](https://community.openenergymonitor.org/t/significant-openevse-wifi-2-0-firmware-update-call-for-beta-testers/4751/7):
>
> But I still can’t enable Eco mode, the little slider thing just flips off again after a couple of seconds when I try to enable it.

That’s strange. Could you try and toggle the switch with dev console open in your browser (CTRL + SHIFT + I) on Chrome. You should see `Message Event` with data `{"divertmode":2}`. This means eco mode is active. eg.

 ![30](https://community.openenergymonitor.org/uploads/default/original/2X/6/6c26ad187aeb4748edaedcafb3f481c4b429de13.png)

Please let me know how you get on. I’m now following this thread so will receive notifications. I will try and get back to you quicker next time.

---

_[View the full topic](https://community.openenergymonitor.org/t/help-setting-up-solar-pv-divert-ecomode-on-openevse-wifi/6859)._
