Thanks @123
I added another change node:
[
{
"id": "2e9ac976.0e4dd6",
"type": "comment",
"z": "7cd8e0dd.c9139",
"name": "HODNIK - KLIMA TEMPERATURA/&VLAGA ZUNANJA ENOTA",
"info": "",
"x": 269.42857360839844,
"y": 1350.9285297393799,
"wires": []
},
{
"id": "972120d9.c1467",
"type": "debug",
"z": "7cd8e0dd.c9139",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"x": 1037.5000305175781,
"y": 1666.0000495910645,
"wires": []
},
{
"id": "7fc72096.eec4e",
"type": "change",
"z": "7cd8e0dd.c9139",
"name": "climate.outside.temp&hum",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "home/hallway/climate-sensor-tem-hum-outside-unite",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 542.0000457763672,
"y": 1458.7500228881836,
"wires": [
[
"ae82025e.94902"
]
]
},
{
"id": "ae82025e.94902",
"type": "mqtt out",
"z": "7cd8e0dd.c9139",
"name": "Publish MQTT Message",
"topic": "",
"qos": "0",
"retain": "true",
"broker": "2df91666.ec75ea",
"x": 1420,
"y": 1528.5,
"wires": []
},
{
"id": "a20b0177.f32bf",
"type": "rfx-sensor",
"z": "7cd8e0dd.c9139",
"name": "",
"port": "11472fa1.7c1d6",
"topicSource": "all",
"topic": "",
"x": 140.00000381469727,
"y": 1491.0000314712524,
"wires": [
[
"9155bf9c.ff1ec",
"972120d9.c1467"
]
]
},
{
"id": "9155bf9c.ff1ec",
"type": "switch",
"z": "7cd8e0dd.c9139",
"name": "",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "TH10/0x4903",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 301.2500343322754,
"y": 1474.1667709350586,
"wires": [
[
"f863d92e.1baea8",
"7fc72096.eec4e"
]
]
},
{
"id": "f863d92e.1baea8",
"type": "change",
"z": "7cd8e0dd.c9139",
"name": "climate.outside.rssi&battery",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "home/hallway/climate-sensor-rssi-bat-outside-unite",
"tot": "str"
},
{
"t": "move",
"p": "status",
"pt": "msg",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 547,
"y": 1398,
"wires": [
[
"ae82025e.94902"
]
]
},
{
"id": "685c28c1.6abfd8",
"type": "mqtt in",
"z": "7cd8e0dd.c9139",
"name": "",
"topic": "home/hallway/climate-sensor-tem-hum-outside-unite",
"qos": "0",
"datatype": "auto",
"broker": "2df91666.ec75ea",
"x": 274,
"y": 1662,
"wires": [
[
"972120d9.c1467"
]
]
},
{
"id": "2df91666.ec75ea",
"type": "mqtt-broker",
"z": "",
"name": "MQTT Broker",
"broker": "192.168.200.199",
"port": "1883",
"tls": "bcc42a56.a547d8",
"clientid": "hassos-rpi3-nr-mqtt",
"usetls": false,
"compatmode": true,
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"closeTopic": "",
"closePayload": "",
"willTopic": "",
"willQos": "0",
"willPayload": ""
},
{
"id": "11472fa1.7c1d6",
"type": "rfxtrx-port",
"z": "",
"port": "/dev/ttyUSB0",
"enableDebug": true,
"rfyVenetianMode": "EU"
},
{
"id": "bcc42a56.a547d8",
"type": "tls-config",
"z": "",
"name": "",
"cert": "fullchain.pem",
"key": "privkey.pem",
"ca": "",
"certname": "",
"keyname": "",
"caname": "",
"servername": "",
"verifyservercert": false
}
]
and made some changes yaml:
# EXTERNAL SENSOR ON OUTSIDE UNITE
- platform: mqtt
name: "mqtt_hallway_climate_sensor_bat_outside_unite"
state_topic: "home/hallway/climate-sensor-rssi-bat-outside-unite"
qos: 0
unit_of_measurement: ""
value_template: "{{ value_json.battery }}"
- platform: mqtt
name: "mqtt_hallway_climate_sensor_rssi_outside_unite"
state_topic: "home/hallway/climate-sensor-rssi-bat-outside-unite"
qos: 0
unit_of_measurement: ""
value_template: "{{ value_json.rssi }}"
Now is working