Hi, I have a question, it is a bit difficult for me to write in a foreign language, I was looking for a solution in the forum, but I did not find it. Well, I have 5 Wifi routers at home (old house - fat walls) and I would like to hear tts voice notification on a given speaker depending on which wifi I am logged in to. Can you tell me how to do it? Initially, I did something like this, but I don’t know how to bite it further. In addition, it would be nice to include for a given person.
Outside, I just want only phone notifications
summarizing:
3 persons
5 wifi in the house (routers)
3 speakers (2 google and 1 chromecast)
The first wifi is outside work
I was thinking about something like this
[
{
"id": "c78a7198.6c206",
"type": "switch",
"z": "9577df01.cf1f68",
"name": "wifi Connection?",
"property": "payloadx",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "<not connected>",
"vt": "str"
},
{
"t": "eq",
"v": "Bestconnect.pl_606794978",
"vt": "str"
},
{
"t": "eq",
"v": "Bestconnect.pl_606794978 - 5G",
"vt": "str"
},
{
"t": "eq",
"v": "Gosc_2,4Ghz",
"vt": "str"
},
{
"t": "eq",
"v": "Sonoff_1",
"vt": "str"
},
{
"t": "eq",
"v": "Sonoff_2",
"vt": "str"
},
{
"t": "eq",
"v": "Balkon_cwik",
"vt": "str"
},
{
"t": "eq",
"v": "Garaż_Cwik",
"vt": "str"
},
{
"t": "eq",
"v": "Warsztat",
"vt": "str"
},
{
"t": "eq",
"v": "Sonoff_3",
"vt": "str"
}
],
"checkall": "true",
"repair": true,
"outputs": 10,
"x": 440,
"y": 220,
"wires": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
]
},
{
"id": "bd623ae2.df6f68",
"type": "api-current-state",
"z": "9577df01.cf1f68",
"name": "Marzena wifi",
"server": "19ddd6a6.ef9d89",
"version": 1,
"outputs": 1,
"halt_if": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"override_topic": false,
"entity_id": "sensor.mi_max_3_wifi_connection",
"state_type": "str",
"state_location": "payloadx",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"blockInputOverrides": false,
"x": 250,
"y": 220,
"wires": [
[
"c78a7198.6c206"
]
]
},
{
"id": "9efe5160.5e182",
"type": "api-current-state",
"z": "9577df01.cf1f68",
"name": "Łukasz wifi",
"server": "19ddd6a6.ef9d89",
"version": 1,
"outputs": 1,
"halt_if": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"override_topic": false,
"entity_id": "sensor.mi_max_3_wifi_connection",
"state_type": "str",
"state_location": "payloadx",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"blockInputOverrides": false,
"x": 250,
"y": 180,
"wires": [
[
"c78a7198.6c206"
]
]
},
{
"id": "32ef0ec9.5cb88a",
"type": "api-current-state",
"z": "9577df01.cf1f68",
"name": "Amela wifi",
"server": "19ddd6a6.ef9d89",
"version": 1,
"outputs": 1,
"halt_if": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"override_topic": false,
"entity_id": "sensor.redmi_5a_wifi_connection",
"state_type": "str",
"state_location": "payloadx",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"blockInputOverrides": false,
"x": 240,
"y": 260,
"wires": [
[
"c78a7198.6c206"
]
]
},
{
"id": "19ddd6a6.ef9d89",
"type": "server",
"z": "",
"name": "Home Assistant",
"addon": true
}
]