Comments (13)
Sorry for the delay, I did not see Github notifications. My code changes the current depending on the main house energy meter consumption (working with a WemosEM).
It reads the house energy consumption on the meter, and sustracts that consumption from my contract maximum amperage (34 Amps), so I don't get any energy cuts due to amperage overlimit.
Code is:
rest_command:
simpleevsewifi:
url: http://192.168.1.40/setCurrent?current={{ states('sensor.Amperios_Cargador') }}
sensor:
- platform: mqtt
state_topic: "wemos/wemosEM-4568CC/power"
name: Amperios Cargador
icon: mdi:power-plug
unit_of_measurement: "A"
value_template: "{% if 34 - value_json.current | round(0) > 32 %}
{{32 | round ()}}
{% else %}
{{34 - value_json.current | round(0)}}
{% endif %}"
from simpleevse-wifi.
If you want, I can send you my home assistant configuration, maybe it is similar in Openhab.
Hi, I'm intrested in using evse-with home assistant. Could you send me your configuration, please?
Thanks a lot in advance!
rest_command:
evse_enable:
url: 'http://192.168.0.140/setCurrent?current=13'
evse_disable:
url: 'http://192.168.0.140/setCurrent?current=0'
switch:
- platform: template
switches:
wifi_evse:
value_template: "{{ is_state('sensor.wifi_evse', '13') }}"
turn_on:
service: rest_command.evse_enable
turn_off:
service: rest_command.evse_disable
from simpleevse-wifi.
+1 from me.
I do already have the mains power readings and solar power readings in my OpenHab installation.
I would like either
a) communicate these power readings to EVSE so it can use it for solar charging
b) control power output of EVSE myself (based on my readings)
MQTT style is very much appreachiated.
from simpleevse-wifi.
+1
This would make it much more versatile!
from simpleevse-wifi.
@neographikal, It would be much more versatile, but it is not needed.
I have "home assistant" at home, and a wemosEM power meter (also on github). When my home consumption changes in 1 Amp, home assistant sends a http request to the charger using "http://192.168.4.1/setCurrent?current=XXXX". It works flawlessly.
@s0170071, If you want, I can send you my home assistant configuration, maybe it is similar in Openhab.
from simpleevse-wifi.
I can get it to work, but MQTT is much more versatile, reliable and almost everything I use is connected through MQTT. Especially when it's a ESP32/8266 (Tasmota/esphomelib), for some stuff I even wrapped the existing API for MQTT with Nodered.
Thanks for the suggestion but this still would be important to me :)
from simpleevse-wifi.
+1 for me is also better with mqtt for iobroker
from simpleevse-wifi.
i would also love to see your great project compatible with MQTT (pubsubclient, rather easy to handle)
from simpleevse-wifi.
+1 Do want!!!
from simpleevse-wifi.
+1 for me. The HA-solution works, but MQTT would make it even better. :)
from simpleevse-wifi.
If you want, I can send you my home assistant configuration, maybe it is similar in Openhab.
Hi, I'm intrested in using evse-with home assistant. Could you send me your configuration, please?
Thanks a lot in advance!
from simpleevse-wifi.
Thanks a lot! I'll try it out!
from simpleevse-wifi.
+1
from simpleevse-wifi.
Related Issues (20)
- API calls from different devices cause non-responsiveness HOT 4
- Charged energy reset should be tied to car connection status HOT 1
- Can't connect to wifi 802.11g
- Edit HTML pages- compile websrc.h
- Ladung startet manchmal nicht mit 2.0.4 HOT 5
- API - getLog Crash HOT 6
- Recompile 1.x version to work on ESP32 ? HOT 18
- meterReading liefert zu hohen Wert nach Ladeende HOT 5
- LiFo Log
- GND needed? Wemos d1 Mini HOT 1
- Interrupt CP Signal automaticly or by API HOT 2
- Connect WeMos D1 mini to SDM630 Modbus ? HOT 1
- Improve WIFI Signal - SOLVED HOT 7
- Max Current 25A, but 32A on Index HOT 1
- unstable Wemos D1 mini build? HOT 15
- UI Password makes no sense while API is unprotected HOT 1
- Please document CP interrupt HOT 1
- SimpleEVSE-WiFi working, but no metering values HOT 5
- Tip: Use micro-usb to power ESP8266 (instead of 5V line)
- RFID devices limited
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simpleevse-wifi.