Wallbox pulsar plus integration?

Maybe its a feature, but after waking up to a non charged battery twice I setup my own auto unlock automation:

alias: Unlock and relock Wallbox charger
description: ""
trigger:
  - platform: state
    entity_id: binary_sensor.tmbjb7ny1nf034474_charging_cable_connected #sensor provided by car api
    to: "on"
    for:
      hours: 0
      minutes: 0
      seconds: 0
  - platform: zone
    entity_id: person.skoda_enyaq #presence sensor of car
    zone: zone.home
    event: enter
condition:
  - condition: and
    conditions:
      - condition: zone
        entity_id: person.skoda_enyaq
        zone: zone.home
      - condition: state
        entity_id: binary_sensor.tmbjb7ny1nf034474_charging_cable_connected
        state: "on"
action:
  - device_id: 2f3e39789d7661c5a47178ebf0b0d608
    domain: lock
    entity_id: lock.wallbox_portal_locked_unlocked
    type: unlock
  - delay:
      hours: 0
      minutes: 2
      seconds: 0
      milliseconds: 0
  - device_id: 2f3e39789d7661c5a47178ebf0b0d608
    domain: lock
    entity_id: lock.wallbox_portal_locked_unlocked
    type: lock
mode: single

Interesting to hear about the behaviour of the Skoda Enyaq and Audi Q4 when plugged into a locked charger. Being stablemates from the VW Audi group, I guess itā€™s no surprise they work the same way.

Clearly we need to retain the flexibility offered by the current set of controls. I guess Iā€™m asking for an additional control in the form of what has been proposed i.e. the ā€˜Unified Charge Controlā€™. It provides another option for those who choose to use it, and would definitely make it simpler for newcomers to this integration. Those who want to dig deeper can get to grips with the intricacies of the separate controls we have now. Then we would have the best of both worlds.

2 Likes

and while we are at it, maybe an option to set the halo brightness true or false?
I donā€™t mind having the sensor in my entity list, but the Copper SB doesnā€™t have a halo.

You could simply Disable the Halo Brightness control, or Hide it completely from the list using Settings | Entities. Thatā€™s what I do with sensors I know Iā€™ll never use such as ā€˜Added Rangeā€™ etc.

1 Like

yup I know, I do this too, I only mention it to put some polish on the mqtt integration :slight_smile:

I think there is so much polish on the MQTT integration now, it shines brightly like the sun and you almost canā€™t bear to look at it :sunglasses: :wink:

Seriously, we shouldnā€™t burden the authors with minor annoyances that we can easily work around by ourselves. Possibly, the idea of a ā€˜Unified Charge Controlā€™ is one of those. It would be something nice to have, but not really that important in the big picture.

1 Like

Just installed it, some hiccups on pairing and connecting to the AP but once I was in this was a breeze.

And itā€™s lightning fast - fantastic!

Just one question - when running the script I was near the window, for best bluetooth and wifi coverage - not surprisingly in addition to my own Wallbox I saw 2 more. Whilst wallbox is busy repairing this security leak through a firmware update, what can we do? Is the rooted WB secure as is? Can we secure the bluetooth some how or change the wifi access code?

Also I assume that under no circumstances we should install further firmware updates? Can we prevent remote firmware updates in case WB would want to force these? Had this recently with a different hardware manufacturer (Philips) - their updates broke local control; only option was to firewall my devices from the internet completely.

1 Like

I write about it here Wallbox pulsar plus integration? - #636 by jagheterfredrik but itā€™s only until next reboot (I think!)

Ah, I liked that post in March and applied it. But clearly it did not stick as I rooted the wallbox just now without issues.

I was thinking, it should be possible to turn off bluetooth right? Seeing itā€™s just a PI4 board. Through SSH it should be feasible to enable/disable the service at will and perhaps (but thatā€™s outside my skill level) even through mqqt or rest API?

Out of curiosity, did you get any thanks from wallbox for finding this vulnerability? I have not seen any publications from their end yetā€¦

systemctl stop blewallbox; systemctl disable blewallbox will disable it completely. Hard to recover if you have wifi problems though

ok, so the best solution would therefore be to stop bluetooth but not disable it.
in case the wifi or ethernet connection fails, rebooting the wallbox will restore the bluetooth functionality.

thought so as well, but am a bit hesitant :slight_smile:

I had something weird going on today.
Charged the car this afternoon and stopped the charge through HA using the pause button, then unplugged the car.
Many hours later I opened the wallbox app and saw the wallbox to be in the pause status.
In HA the mqtt status sensor shows Ready and the device itself has a green led.
After locking and unlocking the wallbox through HA everything is back to normal.
Anyone else noticed this behaviour?

I notice there is an update available for the MQTT Bridge. This is not an Integration for HA, nor is it an Addon for HA, nor is it a HACS Integration, so the update process is different to what Iā€™ve encountered before.

Do I need to re-run Step 3 from the Readme Docā€¦

  1. ssh to your Wallbox and run

curl -sSfL https://github.com/jagheterfredrik/wallbox-mqtt-bridge/releases/download/bridge/install.sh > install.sh && bash install.sh

Or is there some other way of updating the MQTT Bridge?

Iā€™ve often noticed the Status in the Wallbox Portal lagging well behind updates elsewhere, but usually the Wallbox App seems to be correct. Having said that, I hardly ever use the Portal or the App now, so something may have changed recently.

There was a small correction in the sensors.go file and the bridge file has been updated accordingly, so running the install script through ssh should replace the old version with the new one.

1 Like

Newbe question. I have been studying this excellent forum and great solutions from the different contributors.

I have just installed Wallbox Plus with OCPP and EV Smart Charging from Jonas. This all works quite well and follows the dynamic pricing that I use.

Still load balancing to implement, prefer Node Red based, but not found the best solution here for 3phase and P1 port. So suggestion which one to use is welcome.

One big question remains for me. Why should I go for the rooting Wallbox and installation of MQTT Bridge for Wallbox ? Is OCPP indeed too slow for the load balancing ? With MQTT I will have to change the code for EV Smart Charging as well .

Thanks, Rob

the most obvious reason to go with mqtt is being completely independent from cloud servers and communicate 100% locally with your wallbox, at the same time greatly reducing the response time.
when using the cloud integration, I had often a ā€œdisconnectedā€ status, with mqtt never again.
modifying the code for mqtt is only once and not complicated, you only have to change the sensor names in the code.

about load balancing, I have the EM340 meter in my distribution board (the P1 model didnā€™t exist yet when I bought my wallbox, nor had I a digital smart meter, was still analog back then), so load balancing is done internally in the wallbox in my case, not through HA.
but using P1 for load balancing in HA is very straight forward and would also be a good reason to go with mqtt as the charging power readout from the cloud integration was very slow, lagging a lot and often the wrong value.
with mqtt itā€™s instant and the correct value, therefore ideal to compare with the readout from P1 for load balancing and acting on it.

anyway, I can recommend the mqtt integration, very happy to have made the transition!

Thanks for your explanation.
I donā€™t use cloud. Wallbox Pulsar is connected to my locally run OCPP server on HA.
So, for me I think there is no benefit to use MQTT. The benefit of local OCPP is that logging to the servers of Wallbox still continuous so, I have next to OCPP locally a cloud based backup.

My next step is now to add the load balancing with P1 as input.

Oh ok, didnā€™t know OCPP was local too. MQTT doesnā€™t cut the wallbox from the cloud also, but you can if you want to.