OpenWB: fix CP setter topic
This commit is contained in:
parent
f15c6b187b
commit
b00ae116d7
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ func NewOpenWB(log *util.Logger, mqttconf mqtt.Config, id int, topic string, p1p
|
|||
// TODO remove after https://github.com/snaptec/openWB/issues/1757
|
||||
cpTopic = strings.TrimSuffix(cpTopic, "1") + "2"
|
||||
}
|
||||
wakeupS := provider.NewMqtt(log, client, fmt.Sprintf("%s/set/isss/%d/get/%s", topic, id, cpTopic),
|
||||
wakeupS := provider.NewMqtt(log, client, fmt.Sprintf("%s/set/isss/%s", topic, cpTopic),
|
||||
timeout).WithRetained().IntSetter("cp")
|
||||
|
||||
authS := provider.NewMqtt(log, client, fmt.Sprintf("%s/set/chargepoint/%d/get/%s", topic, id, openwb.RfidTopic),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue