Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Update const.py #67

Merged
merged 2 commits into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The second parameter, **chargepoints**, is the number of configured charge point

# Mosquitto Configuration in an Internal Network

If you're in an internal network, for example your home network, you can simply subscribe the openWB mosquitto server with the mosquitto server you're using with home assistant. No bridge settings in Home Assistant are required. Instead, add the following to the configuration (for example in /etc/mosquitto/conf.d/openwb.conf):
If you're in an internal network, for example your home network, you can simply subscribe the openWB mosquitto server with the mosquitto server you're using with home assistant. No bridge settings in Home Assistant are required. Instead, add the following to the configuration (for example in /etc/mosquitto/conf.d/openwb.conf or /share/mosquitto/mosquitto.conf):

```
#
Expand All @@ -42,7 +42,21 @@ If you're in an internal network, for example your home network, you can simply
connection openwb
address openwb.fritz.box:1883
start_type automatic
topic openWB/# both 2
topic openWB/# in 2
topic openWB/set/ChargeMode both 2
topic openWB/config/set/pv/minCurrentMinPv
topic openWB/set/lp/1/ChargePointEnabled both 2
topic openWB/set/lp/2/ChargePointEnabled both 2
topic openWB/config/set/sofort/lp/1/chargeLimitation both 2
topic openWB/config/set/sofort/lp/2/chargeLimitation both 2
topic openWB/config/set/sofort/lp/1/current both 2
topic openWB/config/set/sofort/lp/2/current both 2
topic openWB/config/set/sofort/lp/1/energyToCharge both 2
topic openWB/config/set/sofort/lp/2/energyToCharge both 2
topic openWB/config/set/sofort/lp/1/socToChargeTo both 2
topic openWB/config/set/sofort/lp/2/socToChargeTo both 2
topic openWB/set/lp/1/%Soc both 2
topic openWB/set/lp/2/%Soc both 2
local_clientid openwb.mosquitto
try_private false
cleansession true
Expand Down
2 changes: 1 addition & 1 deletion custom_components/openwbmqtt/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ class openWBNumberEntityDescription(NumberEntityDescription):
native_max_value=100.0,
native_step=1.0,
entity_category=EntityCategory.CONFIG,
mqttTopicCommand="manualSoc",
mqttTopicCommand="%Soc",
mqttTopicCurrentValue="manualSoc",
mqttTopicChargeMode=None,
entity_registry_enabled_default=False,
Expand Down
Loading