You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Via USB Serial Programmer](#via-usb-serial-programmer)
26
33
27
34
<!-- tocstop -->
28
35
@@ -72,7 +79,8 @@ On first boot, OpenEVSE should broadcast a WiFi access point (AP) `OpenEVSE_XXXX
72
79
73
80
## Charging Mode: Eco
74
81
75
-
'Eco' charge mode allows the OpenEVSE to start/stop and adjust the charging current automatically based on an MQTT. This feed could be the amount of solar PV generation or the amount of excess power (grid export). 'Normal' charge mode charges the EV at the maximum rate set.
82
+
'Eco' charge mode allows the OpenEVSE to start/stop and adjust the charging current automatically based on an MQTT feed or received by HTTP POST request ( see below ). This feed could be the amount of solar PV generation or the amount of excess power (grid export). 'Normal' charge mode charges the EV at the maximum rate set.
83
+
76
84
77
85

78
86
@@ -88,15 +96,20 @@ A [OpenEnergyMonitor Solar PV Energy Monitor](https://guide.openenergymonitor.or
88
96
89
97
### Eco Mode Setup
90
98
99
+
#### using MQTT
91
100
* Enable MQTT Service
92
101
*[emonPi MQTT credentials](https://guide.openenergymonitor.org/technical/credentials/#mqtt) should be pre-populated
93
102
* Enter solar PV generation or Grid (+I/-E) MQTT topic e.g. Assuming [standard emonPi Solar PV setup](https://guide.openenergymonitor.org/applications/solar-pv/), the default MQTT feeds are:
* Solar PV generation (always postive): `emon/emonpi/power2`
96
105
106
+
#### using HTTP
107
+
* send HTTP POST to http://{openevse_host}/status containing JSON formatted as /status GET endpoint
108
+
* body can contain {"solar": value} or {"grid_ie": value} in watt.
109
+
97
110
> **Note #1**: 'Grid' feed should include the power consumed by the EVSE
98
111
>
99
-
> **Note #2**: The EVSE expects the MQTT data to update every 5-10s, perforamce will be degraded if the update interval is much faster or slower than this
112
+
> **Note #2**: The EVSE expects the MQTT/HTTP data to update every 5-10s, perforamce will be degraded if the update interval is much faster or slower than this
100
113
101
114
CT sensor can be physically reversed on the cable to invert the reading.
102
115
@@ -138,11 +151,32 @@ Data can be posted using HTTP or HTTPS.
138
151
139
152
OpenEVSE can shape charge current according to your real time house load, preventing to exceed the maximum power your energy plan can handle.
140
153
Once the module is toggled on, it will have highest priority to other claims.
141
-
However it's possible to temporary disable it if needed with HTTP or MQTT
142
-
143
-
**Note #1**: this service is dependant to MQTT, it needs a topic with the whole household live power in watts ( 'Live power load MQTT Topic' )
154
+
However it's possible to temporary disable it if needed with HTTP or MQTT. For HTTP, send a text/plain HTTP POST request to /shaper with body containing shaper=value
155
+
156
+
**Note #1**: this service is dependant of an external feed containing the household live power in watt.
157
+
It can come from an MQTT topic or an HTTP POST request.
158
+
*** MQTT ***
159
+
Set the topic in the shaper configuration page ( 'Live power load MQTT Topic' )
160
+
*** HTTP ***
161
+
Send periodically an HTTP POST request to http://{openevse_host}/status containing TEXT formatted like in /status GET endpoint.
162
+
Body should contain {"shaper_live_pwr": value} in watt. Can be combined with other settable values.
163
+
144
164
**Note #2**: set 'Max Power Allowed' according to your energy plan.
145
165
166
+
### External values settable from HTTP POST
167
+
168
+
If MQTT is not an option, all external data needed can be updated from an HTTP POST request to /status endpoint.
169
+
170
+
Accepted data:
171
+
{
172
+
"voltage": int, // live voltage in V
173
+
"shaper_live_pwr": int, // total household live power in W
174
+
"solar": int, // divert solar production in W
175
+
"grid_ie": int, // divert grid -import/+export in W
0 commit comments