Cześć,
moja żona wiecznie zostawia otwartą bramę.. czy da się zrobić tak aby otrzymywać sms po otwarciu bramy garażowej?
W bramie mam Sonoff SV Brama furtka drzwi GATE 5-24V kontaktron
Przepraszam jak to jakiś banał ale jestem świeży
Bardzo proszę o pomoc
perzu77@gmail.com
Powiadomienie sms o otwartej bramie
To nie pomoże na zapominanie o zamknięciu...
Widzimy się na Supla Offline Party Season 2
-
- Posty: 20
- Rejestracja: pt lip 09, 2021 7:35 am
U siebie mam takie rozwiązany w ten sposób że mam ustawione w harmonogramie zamykanie bramy o 22, jeżeli jest otwarta to spowoduje to zamkniecie bramy. ważne - musisz mieć przypisane czujnik otwarcia do sterowania napęduPerzu77 pisze: ↑pn sty 24, 2022 6:18 am Cześć,
moja żona wiecznie zostawia otwartą bramę.. czy da się zrobić tak aby otrzymywać sms po otwarciu bramy garażowej?
W bramie mam Sonoff SV Brama furtka drzwi GATE 5-24V kontaktron
Przepraszam jak to jakiś banał ale jestem świeży
Bardzo proszę o pomoc
perzu77@gmail.com
Automatyzacja Supli jest w tej chwili bardzo uboga, w sensie harmonogramy. Może jakoś uda Ci się stworzyć coś na bazie Supla Scripts.
SMS o otwarciu bramy nie zawsze zadziała, potrzebne jest powiadomienie, że brama jest już od jakiegoś czasu otwarta (ja mam 30 minut i po tym czasie przypomnienie co 15 minut).
Jednak ja mam u siebie integrację Supli w AISpeaker (HA) i automatyzacje robię w Node-Red a to wygląda tak
Widzimy się na Supla Offline Party Season 2
- MadOnion78
- Posty: 1060
- Rejestracja: ndz lis 24, 2019 3:53 pm
- Lokalizacja: Głubczyce
Brama nie ma opcji "zamknij po foto" albo coś na wzór? Przecięcie wiązki na fotokomórkach powoduje automatyczne zamknięcie.
3x SRW-01, 1x mSRW-01, 7x ROW-02, 2x SBW-02, 2x LIW-01, 1x SLW-02, 1x SLW-02, 1x MEW-01, 1x DIW-01, RNW-01
A nie wystarczy autorowi powiadomienie Pushower, ja mam ustawione za pośrednictwem supla.fracz w momencie jak po otwarciu nie zostanie zamknięta przez 10 minut to dostaje powiadomienie.
https://pietras-81.aqi.eco/
Kod: Zaznacz cały
[
{
"id": "02f9aaecb15a09f7",
"type": "subflow",
"name": "Powiadomienie głosowe",
"info": "",
"category": "",
"in": [
{
"x": 120,
"y": 300,
"wires": [
{
"id": "b56767e06af71475"
}
]
}
],
"out": [],
"env": [],
"meta": {},
"color": "#DDAA99"
},
{
"id": "55c55759f3ab1057",
"type": "api-call-service",
"z": "02f9aaecb15a09f7",
"name": "Powiadomienie głosowe",
"server": "5803d2e1d6a8feb5",
"version": 3,
"debugenabled": false,
"service_domain": "ais_ai_service",
"service": "mob_notify",
"entityId": "",
"data": "",
"dataType": "json",
"mergecontext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 590,
"y": 300,
"wires": [
[]
]
},
{
"id": "356ed76fea44bcb6",
"type": "debug",
"z": "02f9aaecb15a09f7",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 590,
"y": 100,
"wires": []
},
{
"id": "f20b2dd6a5debf59",
"type": "function",
"z": "02f9aaecb15a09f7",
"name": "Komunikat głosowy na tPad80",
"func": "message = msg.payload.message;\nmsg.payload=\n{\n \"data\":\n {\n \"device_id\":\"843a1046f891388b21b60edfc979638a\",\n \"message\": message,\n \"title\":\"Powiadomienie!!!\",\n \"say\":true\n }\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 410,
"y": 200,
"wires": [
[
"356ed76fea44bcb6",
"55c55759f3ab1057"
]
]
},
{
"id": "5e05d4b0fca12ce7",
"type": "function",
"z": "02f9aaecb15a09f7",
"name": "Komunikat głosowy na Samsung A50",
"func": "message = msg.payload.message;\nmsg.payload=\n{\n \"data\":\n {\n \"device_id\":\"ffa8f775f2ebd38c2825e74fb6a97c09\",\n \"message\": message,\n \"title\":\"Powiadomienie!!!\",\n \"say\":true\n }\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 430,
"y": 400,
"wires": [
[
"55c55759f3ab1057"
]
]
},
{
"id": "b56767e06af71475",
"type": "delay",
"z": "02f9aaecb15a09f7",
"name": "",
"pauseType": "rate",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "10",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 280,
"y": 300,
"wires": [
[
"f20b2dd6a5debf59"
]
]
},
{
"id": "61ae399eff448da1",
"type": "server-state-changed",
"z": "21d7c702b7b57195",
"name": "Brama garażowa",
"server": "5803d2e1d6a8feb5",
"version": 3,
"exposeToHomeAssistant": false,
"haConfig": [
{
"property": "name",
"value": ""
},
{
"property": "icon",
"value": ""
}
],
"entityidfilter": "binary_sensor.garage_door_opening_sensor",
"entityidfiltertype": "exact",
"outputinitially": false,
"state_type": "str",
"haltifstate": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"outputs": 2,
"output_only_on_state_change": true,
"for": "",
"forType": "num",
"forUnits": "minutes",
"ignorePrevStateNull": true,
"ignorePrevStateUnknown": true,
"ignorePrevStateUnavailable": true,
"ignoreCurrentStateUnknown": true,
"ignoreCurrentStateUnavailable": true,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "eventData"
},
{
"property": "topic",
"propertyType": "msg",
"value": "",
"valueType": "triggerId"
}
],
"x": 120,
"y": 480,
"wires": [
[
"152d472d874b5cbc"
],
[
"1b5d155f6d5d3887"
]
]
},
{
"id": "152d472d874b5cbc",
"type": "delay",
"z": "21d7c702b7b57195",
"name": "",
"pauseType": "delay",
"timeout": "30",
"timeoutUnits": "minutes",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 350,
"y": 440,
"wires": [
[
"67a9992b305eaf83"
]
]
},
{
"id": "1b5d155f6d5d3887",
"type": "change",
"z": "21d7c702b7b57195",
"name": "",
"rules": [
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 340,
"y": 520,
"wires": [
[
"765470430237c87a",
"152d472d874b5cbc"
]
]
},
{
"id": "765470430237c87a",
"type": "delay",
"z": "21d7c702b7b57195",
"name": "",
"pauseType": "delay",
"timeout": "15",
"timeoutUnits": "minutes",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 650,
"y": 520,
"wires": [
[
"67a9992b305eaf83"
]
]
},
{
"id": "67a9992b305eaf83",
"type": "function",
"z": "21d7c702b7b57195",
"name": "Brama garażowa jest otwarta",
"func": "msg.payload=\n{\n \"message\":\"Brama garażowa jest otwarta!\"\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 660,
"y": 440,
"wires": [
[
"765470430237c87a",
"22f3a5d12d15c989"
]
]
},
{
"id": "22f3a5d12d15c989",
"type": "subflow:02f9aaecb15a09f7",
"z": "21d7c702b7b57195",
"name": "",
"x": 1210,
"y": 260,
"wires": []
},
{
"id": "5803d2e1d6a8feb5",
"type": "server",
"name": "AIS PRO1",
"version": 2,
"addon": false,
"rejectUnauthorizedCerts": true,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true,
"heartbeat": false,
"heartbeatInterval": "30"
}
]
Widzimy się na Supla Offline Party Season 2