Back to using weather for sunset lighting decision
This commit is contained in:
90
flows.json
90
flows.json
@ -1374,7 +1374,9 @@
|
||||
"8808e39fba362206"
|
||||
],
|
||||
"x": 1134,
|
||||
"y": 671.5
|
||||
"y": 671.5,
|
||||
"w": 422,
|
||||
"h": 97
|
||||
},
|
||||
{
|
||||
"id": "19b0e082db0643ac",
|
||||
@ -7212,7 +7214,7 @@
|
||||
"y": 140,
|
||||
"wires": [
|
||||
[
|
||||
"bd66a7b61fdbef47"
|
||||
"19deb53e81e5091c"
|
||||
],
|
||||
[
|
||||
"907ad93232629cb5"
|
||||
@ -8851,9 +8853,86 @@
|
||||
"override_payload": "msg",
|
||||
"entity_location": "data",
|
||||
"override_data": "msg",
|
||||
"x": 1070,
|
||||
"x": 1410,
|
||||
"y": 540,
|
||||
"wires": [
|
||||
[],
|
||||
[]
|
||||
],
|
||||
"outputLabels": [
|
||||
"< 50",
|
||||
"> 50"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "19deb53e81e5091c",
|
||||
"type": "api-current-state",
|
||||
"z": "e44b1e7a8ef7ae1d",
|
||||
"name": "Weather Check",
|
||||
"server": "9e87348d.9c1c48",
|
||||
"version": 3,
|
||||
"outputs": 1,
|
||||
"halt_if": "",
|
||||
"halt_if_type": "str",
|
||||
"halt_if_compare": "is",
|
||||
"entity_id": "weather.iron_nerd_weather_station",
|
||||
"state_type": "str",
|
||||
"blockInputOverrides": false,
|
||||
"outputProperties": [
|
||||
{
|
||||
"property": "weather",
|
||||
"propertyType": "msg",
|
||||
"value": "",
|
||||
"valueType": "entityState"
|
||||
}
|
||||
],
|
||||
"for": "0",
|
||||
"forType": "num",
|
||||
"forUnits": "minutes",
|
||||
"override_topic": false,
|
||||
"state_location": "payload",
|
||||
"override_payload": "msg",
|
||||
"entity_location": "data",
|
||||
"override_data": "msg",
|
||||
"x": 980,
|
||||
"y": 140,
|
||||
"wires": [
|
||||
[
|
||||
"329d3b51432a5559"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "329d3b51432a5559",
|
||||
"type": "switch",
|
||||
"z": "e44b1e7a8ef7ae1d",
|
||||
"name": "",
|
||||
"property": "payload",
|
||||
"propertyType": "msg",
|
||||
"rules": [
|
||||
{
|
||||
"t": "eq",
|
||||
"v": "sunny",
|
||||
"vt": "str"
|
||||
},
|
||||
{
|
||||
"t": "eq",
|
||||
"v": "clear-night",
|
||||
"vt": "str"
|
||||
},
|
||||
{
|
||||
"t": "else"
|
||||
}
|
||||
],
|
||||
"checkall": "true",
|
||||
"repair": false,
|
||||
"outputs": 3,
|
||||
"x": 1175,
|
||||
"y": 140,
|
||||
"wires": [
|
||||
[
|
||||
"1de987d9202de646"
|
||||
],
|
||||
[
|
||||
"1de987d9202de646"
|
||||
],
|
||||
@ -8861,10 +8940,7 @@
|
||||
"8a5b225968323ce6"
|
||||
]
|
||||
],
|
||||
"outputLabels": [
|
||||
"< 50",
|
||||
"> 50"
|
||||
]
|
||||
"l": false
|
||||
},
|
||||
{
|
||||
"id": "134433d6e21dab5b",
|
||||
|
Reference in New Issue
Block a user