I have a value under milight/states/0x1/fut089/1
.
What I'm trying to do is to replicate this to milight/states/0x[2..4]/fut089/1
I've already tried the following config:
connection milight-forwarder
address localhost:1883
cleansession true
topic # out 0 milight/states/0x1/ milight/states/0x2/
topic # out 0 milight/states/0x1/ milight/states/0x3/
topic # out 0 milight/states/0x1/ milight/states/0x4/
The first one seems to work somehow but it replicates all of the values (1,2,4). If I append a 1 to the source and the destination mosquitto throws these errors:
1591289258: Connecting bridge (step 1) milight-forwarder (localhost:1883)
1591289258: Connecting bridge (step 2) milight-forwarder (localhost:1883)
1591289258: New connection from ::1 on port 1883.
1591289258: New bridge connected from ::1 as RasPi.milight-forwarder (p2, c1, k60).
1591289258: Invalid unsubscription string from RasPi.milight-forwarder, disconnecting.
1591289258: Socket error on client RasPi.milight-forwarder, disconnecting.
1591289258: Socket error on client local.RasPi.milight-forwarder, disconnecting.
I'm using mosquitto version 1.6.8.
Documentation wasn't helpful to me :/
Any help here?