Giter VIP home page Giter VIP logo

Comments (13)

alx2k avatar alx2k commented on July 17, 2024 2

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.

kolaCZek avatar kolaCZek commented on July 17, 2024 1

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.

s0170071 avatar s0170071 commented on July 17, 2024

+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.

ict-one-nl avatar ict-one-nl commented on July 17, 2024

+1

This would make it much more versatile!

from simpleevse-wifi.

alx2k avatar alx2k commented on July 17, 2024

@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.

ict-one-nl avatar ict-one-nl commented on July 17, 2024

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.

spoeh-man avatar spoeh-man commented on July 17, 2024

+1 for me is also better with mqtt for iobroker

from simpleevse-wifi.

njordan77 avatar njordan77 commented on July 17, 2024

i would also love to see your great project compatible with MQTT (pubsubclient, rather easy to handle)

from simpleevse-wifi.

kolaCZek avatar kolaCZek commented on July 17, 2024

+1 Do want!!!

from simpleevse-wifi.

krispek avatar krispek commented on July 17, 2024

+1 for me. The HA-solution works, but MQTT would make it even better. :)

from simpleevse-wifi.

captain186 avatar captain186 commented on July 17, 2024

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.

captain186 avatar captain186 commented on July 17, 2024

Thanks a lot! I'll try it out!

from simpleevse-wifi.

riogrande75 avatar riogrande75 commented on July 17, 2024

+1

from simpleevse-wifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.