Giter Site home page Giter Site logo

missing some Wallboxdata about rscp2mqtt HOT 6 CLOSED

pvtom avatar pvtom commented on August 21, 2024
missing some Wallboxdata

from rscp2mqtt.

Comments (6)

pvtom avatar pvtom commented on August 21, 2024

Hi Kristian,
I have added two new topics to get/set the additional values. I hope this is the solution.

e3dc/wallbox/battery_discharge_until
e3dc/set/wallbox/battery_discharge_until
e3dc/wallbox/enforce_power_assignment
e3dc/set/wallbox/enforce_power_assignment

Best regards
Thomas

from rscp2mqtt.

lorbetzki avatar lorbetzki commented on August 21, 2024

thank you,

e3dc/wallbox/battery_discharge_until
e3dc/set/wallbox/battery_discharge_until

this both runs as expectet,

e3dc/wallbox/enforce_power_assignment

it looks like true and false are reversed, if i setup on the E3DC "erlaubt" which means allow, i get "false" flag from Mqtt, and on "unterbunden" which means disallow a "true" flag.

e3dc/set/wallbox/enforce_power_assignment

i can only send a false flag. if i'm sending true, nothing happens.

Wallbox

from rscp2mqtt.

pvtom avatar pvtom commented on August 21, 2024

Hi Kristian,

kannst Du bitte die Zeile in der Datei RscpMqttMapping.h von
{ 0, TAG_EMS_REQ_SET_WALLBOX_ENFORCE_POWER_ASSIGNMENT, "e3dc/set/wallbox/enforce_power_assignment", "^true|on|1$", "1", "^false|off|0$", "0", "", RSCP::eTypeBool, -1, true },
in
{ 0, TAG_EMS_REQ_SET_WALLBOX_ENFORCE_POWER_ASSIGNMENT, "e3dc/set/wallbox/enforce_power_assignment", "^true|on|1$", "true", "^false|off|0$", "false", "", RSCP::eTypeBool, -1, true },
ändern und erneut testen?

Wenn es funktioniert, haben "true" und "false" logisch die gleiche "verdrehte" Aussage wie bei e3dc/wallbox/enforce_power_assignment?

Gruß
Thomas

from rscp2mqtt.

lorbetzki avatar lorbetzki commented on August 21, 2024

Moin,

{ 0, TAG_EMS_REQ_SET_WALLBOX_ENFORCE_POWER_ASSIGNMENT, "e3dc/set/wallbox/enforce_power_assignment", "^true|on|1$", "true", "^false|off|0$", "false", "", RSCP::eTypeBool, -1, true },

passt, ich kann damit schreiben.

Wenn es funktioniert, haben "true" und "false" logisch die gleiche "verdrehte" Aussage wie bei e3dc/wallbox/enforce_power_assignment?
ja, wenn ich ein True sende, ist der button bei "unterbunden", bei false auf "erlaubt". Drücke ich am Speicher erhalte ich auch entsprechende Rückmeldung.
Viele Grüße

from rscp2mqtt.

pvtom avatar pvtom commented on August 21, 2024

Das ist prima.
Die Logik würde ich ungern drehen.
Idee wäre, die Topics umzubenennen.
Würden z.B. "e3dc/wallbox/disable_battery_at_mix_mode" und "e3dc/set/wallbox/disable_battery_at_mix_mode" passen?

from rscp2mqtt.

lorbetzki avatar lorbetzki commented on August 21, 2024

Würde ich sagen ist logischer.

from rscp2mqtt.

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.