Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT: Add more values (e.g. allowed charging current and charge mode) to auto discovery #398

Open
othi opened this issue Mar 5, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@othi
Copy link

othi commented Mar 5, 2025

Hi,

Would it be possible to publish more information via MQTT, specifically the allowed charging current and current charging mode?

Kind regards

@rtrbt
Copy link
Member

rtrbt commented Mar 5, 2025

The allowed charging current is published as part of evse/state: https://docs.warp-charger.com/docs/mqtt_http/api_reference/evse#evse_state_any

The currently used charging mode is published as power_manager/charge_mode: https://docs.warp-charger.com/docs/mqtt_http/api_reference/power_manager/#power_manager_charge_mode_any

@othi
Copy link
Author

othi commented Mar 5, 2025

Hi,

You are correct. The reason I came to the conclusion that it wasn't is because Home Assistant did not show those values.

The autoconfiguration sent to Home Assistant (topic homeassistant/sensor/warp3-xx/chargerstate/config) is

unique_id: warp3-xx-chargerstate
object_id: warp3-xx-chargerstate
state_topic: warp3/xx/evse/state
value_template: '{{value_json.charger_state}}'
icon: mdi:ev-plug-type2
device:
  identifiers: warp3-xx
  manufacturer: Tinkerforge GmbH
  model: WARP3 Charger
  name: WARP3 Charger (warp3-xx)
name: Charge state

Would it then be possible to add those values to the Home Assistant autoconfiguration?

@rtrbt
Copy link
Member

rtrbt commented Mar 6, 2025

Would it then be possible to add those values to the Home Assistant autoconfiguration?
Sure

@rtrbt rtrbt changed the title MQTT: Publish more information MQTT: Add more values (e.g. allowed charging current and charge mode) to auto discovery Mar 6, 2025
@rtrbt rtrbt added the enhancement New feature or request label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants