Hello!
Sorry if this topic already exists somewhere. I have now searched for at least two hours but have not found any helping post.
My problem is that my MQTT binding give me NULL values for certain Items. Let me explain:
- I have added a MQTT broker thing as a connection to iobroker. There I gather values from my EV and some other things
- I have added a System MQTT Broker thing and added multiple channels there
- All the values for my EV items are updated normally (The topic is for example “/iobroker/vw-connect/1/WVWZZZE1ZM_______/status/batteryStatus/currentSOC_pct”)
- All the other values from other sources that can also be seen in iobroker and can also be accessed with MQTT Explorer return a NULL value. No matter if they are strings, numbers, json,… (Example topic: “/iobroker/mqtt/0/wasserzaehler/main/json”
I don’t know what to do…
MQTT Broker Code:
UID: mqtt:broker:d5151216e1
label: MQTT Broker - Zu ioBroker
thingTypeUID: mqtt:broker
configuration:
lwtQos: 0
publickeypin: true
clientid: ebbacdb8-a04d-4bed-8b5c-fd79902adb32
keepAlive: 60
birthRetain: true
secure: false
certificatepin: true
shutdownRetain: false
password: ----
qos: 1
reconnectTime: 60000
port: 1888
host: 127.0.0.1
lwtRetain: true
enableDiscovery: true
username: ----
System MQTT Broker
UID: mqtt:topic:d5151216e1:0ce999aa35
label: ioBroker
thingTypeUID: mqtt:topic
configuration: {}
bridgeUID: mqtt:broker:d5151216e1
channels:
- id: SOC
channelTypeUID: mqtt:number
label: SOC
description: ""
configuration:
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/status/batteryStatus/currentSOC_pct
- id: Last_Update
channelTypeUID: mqtt:datetime
label: Last Update
description: ""
configuration:
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/status/batteryStatus/carCapturedTimestamp
- id: Range
channelTypeUID: mqtt:number
label: Range
description: ""
configuration:
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM________/status/batteryStatus/cruisingRangeElectric_km
- id: State
channelTypeUID: mqtt:string
label: State
description: ""
configuration:
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/status/chargingStatus/chargingState
- id: Remaining_Charge
channelTypeUID: mqtt:number
label: Charging Time
description: ""
configuration:
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/status/chargingStatus/remainingChargingTimeToComplete_min
- id: Control_Charge
channelTypeUID: mqtt:switch
label: Control Charge
description: ""
configuration:
postCommand: false
retained: false
qos: 1
commandTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/remote/charging/set
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/remote/charging
off: "false"
on: "true"
- id: Control_Climate
channelTypeUID: mqtt:switch
label: Control CLimate
description: ""
configuration:
commandTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/remote/climatisation/set
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/remote/climatisation
off: "false"
on: "true"
- id: Max_AC
channelTypeUID: mqtt:string
label: Max AC
description: ""
configuration:
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/status/chargingSettings/maxChargeCurrentAC
- id: Refresh
channelTypeUID: mqtt:switch
label: Refresh
description: ""
configuration:
commandTopic: /iobroker/vw-connect/1/refresh/set
stateTopic: /iobroker/vw-connect/1/refresh
off: "false"
on: "true"
- id: Steckerverbindung
channelTypeUID: mqtt:string
label: Steckerverbindung
description: ""
configuration:
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/status/plugStatus/plugConnectionState
- id: Steckerverriegelung
channelTypeUID: mqtt:string
label: Steckerverriegelung
description: ""
configuration:
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM_______/status/plugStatus/plugLockState
- id: Target_SCO
channelTypeUID: mqtt:number
label: Target SOC
description: ""
configuration:
stateTopic: /iobroker/vw-connect/1/WVWZZZE1ZM________/status/chargingSettings/targetSOC_pct
- id: wasserzaehler
channelTypeUID: mqtt:string
label: Wasserzähler
description: ""
configuration:
stateTopic: /iobroker/mqtt/0/wasserzaehler/main/json
The log sometimes shows errors like this:
2022-03-11 15:43:44.496 [WARN ] [.incoming.MqttIncomingPublishService] - No publish flow registered for MqttStatefulPublish{stateless=MqttPublish{topic=wasserzaehler/main/json, payload=102byte, qos=AT_LEAST_ONCE, retain=true}, packetIdentifier=60, dup=false, topicAlias=0, subscriptionIdentifiers=[]}.
Thank you for your help!!