Advertisement
HKRoed

Varmepumpe Styring

Oct 12th, 2022
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 50.93 KB | Source Code | 0 0
  1. [{"id":"0b6fe1c209bbe03c","type":"tab","label":"SmartVarme","disabled":false,"info":"","env":[]},{"id":"e559ce1a6b3eb5a1","type":"junction","z":"0b6fe1c209bbe03c","x":17.999996185302734,"y":687.000002861023,"wires":[["871c21615546a818","8235e245d6f8e2d9","e236ad3ac55b8b1f","057b84cf947ad28b","27720ccf942db442","f9cadecbe2b75466","0f76414da6bcee0f","ef69c3ab41105720","2411e0c49fe4e36d","b270a41f558bf093","114676a791f40bee","3a3a02d749374d76","d14b2ab8b953a19d"]]},{"id":"bcdc94ec12251141","type":"api-current-state","z":"0b6fe1c209bbe03c","name":"Estimert over 4,8kwt etter 45min","server":"e3809135.43dbd","version":3,"outputs":2,"halt_if":"4.8","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.estimert_forbruk_denne_time","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":690,"y":3740,"wires":[[],[]]},{"id":"c64e81bd1e4f01a2","type":"cronplus","z":"0b6fe1c209bbe03c","name":"XX:00:08/15","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule2","topic":"topic2","payloadType":"default","payload":"","expressionType":"cron","expression":"08 0/15 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":110,"y":2160,"wires":[["209bdae8ba1a8bf8"]]},{"id":"64646c498ae63d20","type":"server-state-changed","z":"0b6fe1c209bbe03c","name":"Utetemp","server":"e3809135.43dbd","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.utetemp_justert","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"num","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":180,"y":3620,"wires":[[]]},{"id":"da22242a875c68e7","type":"api-call-service","z":"0b6fe1c209bbe03c","name":"Panelovn på","server":"e3809135.43dbd","version":5,"debugenabled":false,"domain":"switch","service":"turn_on","areaId":[],"deviceId":["ddb1a80a1856f7459d9787ece5c0470a"],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":370,"y":2320,"wires":[[]]},{"id":"9f454468cf9090a8","type":"comment","z":"0b6fe1c209bbe03c","name":"Max varme ved prisdropp","info":"Hvis dropp i strømprisen, skrues\npanelovn på, varmepumpe økes avhengig\nav når på døgnet det er\n\nEtter prisdropp skrues panelovn av.\nStyring av varmepumpe fortsetter til\nflow under","x":130,"y":2120,"wires":[]},{"id":"4c53eea95291bba5","type":"api-call-service","z":"0b6fe1c209bbe03c","name":"SP4 PO bod på","server":"e3809135.43dbd","version":5,"debugenabled":false,"domain":"switch","service":"turn_on","areaId":[],"deviceId":[],"entityId":["switch.tuya_sp4_lokal"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":420,"y":3680,"wires":[[]]},{"id":"34355f107a965839","type":"server-state-changed","z":"0b6fe1c209bbe03c","name":"Temp bod <3","server":"e3809135.43dbd","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.temperatursensor_bod_temperature","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"3","halt_if_type":"num","halt_if_compare":"lt","outputs":2,"output_only_on_state_change":false,"for":"15","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":190,"y":3680,"wires":[["4c53eea95291bba5"],[]]},{"id":"03b6bc504eee26e9","type":"api-call-service","z":"0b6fe1c209bbe03c","name":"SP11 Pumpehus","server":"e3809135.43dbd","version":5,"debugenabled":false,"domain":"switch","service":"turn_on","areaId":[],"deviceId":[],"entityId":["switch.sp11_pumpehus"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":430,"y":3740,"wires":[[]]},{"id":"88d7a307c6b08945","type":"server-state-changed","z":"0b6fe1c209bbe03c","name":"Temp pumpehus <6","server":"e3809135.43dbd","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.lumi_lumi_weather_8ecdf006_temperature","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"6","halt_if_type":"num","halt_if_compare":"lt","outputs":2,"output_only_on_state_change":true,"for":"1","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":210,"y":3740,"wires":[["03b6bc504eee26e9"],[]]},{"id":"e2ace370f93f9004","type":"comment","z":"0b6fe1c209bbe03c","name":"Frostsikring","info":"","x":810,"y":3420,"wires":[]},{"id":"be0619f7385cf0ee","type":"comment","z":"0b6fe1c209bbe03c","name":"Tempsjekk inne Varmt","info":"Går hvert 15 min.\nSjekker om det er varmt nok.\nHvis forskjellen mellom laveste verdi de\nsiste 4 (1 time) og nå-verdi er mer enn\n2 grader, skru av\n","x":120,"y":3380,"wires":[]},{"id":"778e98e58b0e3709","type":"comment","z":"0b6fe1c209bbe03c","name":"Av hvis høy strømpris","info":"Under 18 grader i 1 etg = skru på varmepumpe åkke som","x":120,"y":3500,"wires":[]},{"id":"761bf26d95f33a2d","type":"comment","z":"0b6fe1c209bbe03c","name":"Tempsjekk inne Kaldt","info":"Går hvert 15 min.\n1. Hvis temp i stue 1 etg har sunket \n   2 grader på 3 timer starter vpumpen\n\n2. Hvis temp stue 1 etg er under 16C,\n   sjekk om pumpen går. Hvis ja, øk til 23\n   og øk farten til 3. \n","x":120,"y":3240,"wires":[]},{"id":"7d0f3d239048f614","type":"switch","z":"0b6fe1c209bbe03c","name":"SmartVarmeEstSS","property":"SmartVarmeEstSS","propertyType":"global","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":110,"y":2300,"wires":[["fca5ba23f647b076"],[]]},{"id":"7c6f201187d5c5f5","type":"cronplus","z":"0b6fe1c209bbe03c","name":"XX:00:15","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule1","topic":"topic1","payloadType":"default","payload":"","expressionType":"cron","expression":"15 0/15 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":120,"y":80,"wires":[["b937bbdd53a1ba38"]]},{"id":"bd557503327100d6","type":"comment","z":"0b6fe1c209bbe03c","name":"Norm varmepumpe","info":"","x":110,"y":40,"wires":[]},{"id":"b937bbdd53a1ba38","type":"api-current-state","z":"0b6fe1c209bbe03c","name":"Auto?","server":"e3809135.43dbd","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.varmepumpe_modus","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":110,"y":140,"wires":[["2a15385917f3edb1"],[]]},{"id":"2a15385917f3edb1","type":"switch","z":"0b6fe1c209bbe03c","name":"FlowSmartVarmeNP","property":"SmartVarmeNordPool","propertyType":"global","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":160,"y":200,"wires":[[],["97f9ed91b477874f"]]},{"id":"caebd049b356db61","type":"time-range-switch","z":"0b6fe1c209bbe03c","name":"GoldenHourEnd - 2200","lat":"59.34798681899104","lon":"11.142624975584223","startTime":"goldenHourEnd","endTime":"22:00","startOffset":0,"endOffset":0,"x":370,"y":540,"wires":[["a2f18c56d1b8c615"],["bfdf4a299d2060ce"]]},{"id":"a2f18c56d1b8c615","type":"switch","z":"0b6fe1c209bbe03c","name":"Snitt <=>","property":"snitt115","propertyType":"global","rules":[{"t":"gte","v":"22.6","vt":"num"},{"t":"btwn","v":"20.5","vt":"num","v2":"22.5","v2t":"num"},{"t":"lte","v":"20.5","vt":"num"}],"checkall":"true","repair":false,"outputs":3,"x":380,"y":240,"wires":[["ce8a9fa3639a4ada"],["d5c5cc64f5b53db3"],["41a2f0456d2be911"]]},{"id":"41a2f0456d2be911","type":"switch","z":"0b6fe1c209bbe03c","name":"Tempsnitt <=>","property":"tempsnitt115","propertyType":"global","rules":[{"t":"eq","v":"stigende","vt":"str"},{"t":"eq","v":"stabil","vt":"str"},{"t":"eq","v":"synkende","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":600,"y":660,"wires":[["d468b2c2b97e786f"],[],["e7686474aef338ae"]]},{"id":"bfdf4a299d2060ce","type":"switch","z":"0b6fe1c209bbe03c","name":"Snitt <18","property":"snitt115","propertyType":"global","rules":[{"t":"lte","v":"18","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":380,"y":900,"wires":[["36fa85b709374238"]]},{"id":"36fa85b709374238","type":"switch","z":"0b6fe1c209bbe03c","name":"Tempsnitt <=>","property":"tempsnitt115","propertyType":"global","rules":[{"t":"eq","v":"stigende","vt":"str"},{"t":"eq","v":"stabil","vt":"str"},{"t":"eq","v":"synkende","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":600,"y":1000,"wires":[[],[],["6f9226d0cdadd9ba"]]},{"id":"e7686474aef338ae","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":750,"y":760,"wires":[["5a349899b3320dc3"],["ce6aace8248832ec"]]},{"id":"d5c5cc64f5b53db3","type":"switch","z":"0b6fe1c209bbe03c","name":"Tempsnitt <=>","property":"tempsnitt115","propertyType":"global","rules":[{"t":"eq","v":"stigende","vt":"str"},{"t":"eq","v":"stabil","vt":"str"},{"t":"eq","v":"synkende","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":600,"y":240,"wires":[["e6ec5387a4da2350"],[],["466a5e2c46645858"]]},{"id":"e6e4e9f5e665fdce","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"gte","v":"19","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":890,"y":140,"wires":[["cb52f7a6d68062dd"]]},{"id":"cb52f7a6d68062dd","type":"link out","z":"0b6fe1c209bbe03c","name":"17","mode":"link","links":["e23b82388757fbba"],"x":1050,"y":140,"wires":[],"l":true},{"id":"e6ec5387a4da2350","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":750,"y":180,"wires":[["e6e4e9f5e665fdce","d926bdc74fdba822"],[]]},{"id":"6f9226d0cdadd9ba","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":1020,"wires":[["b8227e4f75d83cb8"],["1e6594f7d747d566"]]},{"id":"1e6594f7d747d566","type":"link out","z":"0b6fe1c209bbe03c","name":"På-17-A","mode":"link","links":["79464a383716fa77","946f6527bc73eb10","e23b82388757fbba"],"x":1060,"y":1120,"wires":[],"l":true},{"id":"d468b2c2b97e786f","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":750,"y":600,"wires":[["95a7e8166451c4d0"],[]]},{"id":"5482dd8359ed344d","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"eq","v":"17","vt":"num"},{"t":"eq","v":"19","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":890,"y":340,"wires":[["9f0da9b0565a8afb","e22d4e5fcdb2aaf5"],["fd5597f920d7be62","511aaefdde0a0bf2"]]},{"id":"466a5e2c46645858","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":750,"y":360,"wires":[["5482dd8359ed344d"],[]]},{"id":"209bdae8ba1a8bf8","type":"api-current-state","z":"0b6fe1c209bbe03c","name":"Auto?","server":"e3809135.43dbd","version":3,"outputs":2,"halt_if":"Auto","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.varmepumpe_modus","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":100,"y":2200,"wires":[["d01d9ad56da0622e"],[]]},{"id":"ce8a9fa3639a4ada","type":"switch","z":"0b6fe1c209bbe03c","name":"Tempsnitt <=>","property":"tempsnitt115","propertyType":"global","rules":[{"t":"eq","v":"stigende","vt":"str"},{"t":"eq","v":"stabil","vt":"str"},{"t":"eq","v":"synkende","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":600,"y":60,"wires":[["18681042284027da"],[],[]]},{"id":"18681042284027da","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"gte","v":"19","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":750,"y":40,"wires":[["9637d857389c79fa"]]},{"id":"9637d857389c79fa","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":890,"y":40,"wires":[["18a781fb3f450bcc","31f720cc65ee1e8a"],[]]},{"id":"18a781fb3f450bcc","type":"link out","z":"0b6fe1c209bbe03c","name":"17","mode":"link","links":["e23b82388757fbba"],"x":1050,"y":40,"wires":[],"l":true},{"id":"d926bdc74fdba822","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"gte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":890,"y":180,"wires":[["27574503c80f3e21"]]},{"id":"27574503c80f3e21","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":180,"wires":[],"l":true},{"id":"fd5597f920d7be62","type":"link out","z":"0b6fe1c209bbe03c","name":"21","mode":"link","links":["a2148ed1c3e97396"],"x":1050,"y":400,"wires":[],"l":true},{"id":"b8227e4f75d83cb8","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"eq","v":"17","vt":"num"},{"t":"eq","v":"19","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":910,"y":1000,"wires":[["1345241968789710","0901216d5f0e892c"],["ec21a8a867947681","2cab6c5931df9750"]]},{"id":"0901216d5f0e892c","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":980,"wires":[["87f03cbc15912155"]]},{"id":"87f03cbc15912155","type":"link out","z":"0b6fe1c209bbe03c","name":"2","mode":"link","links":["cd1c217896c62831"],"x":1210,"y":980,"wires":[],"l":true},{"id":"1345241968789710","type":"link out","z":"0b6fe1c209bbe03c","name":"19","mode":"link","links":["0cd2aa51b1d08173"],"x":1050,"y":940,"wires":[],"l":true},{"id":"ec21a8a867947681","type":"link out","z":"0b6fe1c209bbe03c","name":"21","mode":"link","links":["a2148ed1c3e97396"],"x":1050,"y":1020,"wires":[],"l":true},{"id":"5a349899b3320dc3","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"eq","v":"17","vt":"num"},{"t":"gte","v":"19","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":890,"y":740,"wires":[["3fb96414884f1fbb","f48d20e6e5aa5d20"],["e8a5ab4db81d680d","b4426756a608db48"]]},{"id":"f48d20e6e5aa5d20","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":720,"wires":[["3ed1d28977f944d7"]]},{"id":"3ed1d28977f944d7","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":720,"wires":[],"l":true},{"id":"3fb96414884f1fbb","type":"link out","z":"0b6fe1c209bbe03c","name":"19","mode":"link","links":["0cd2aa51b1d08173"],"x":1050,"y":680,"wires":[],"l":true},{"id":"e8a5ab4db81d680d","type":"link out","z":"0b6fe1c209bbe03c","name":"21","mode":"link","links":["a2148ed1c3e97396"],"x":1050,"y":760,"wires":[],"l":true},{"id":"95a7e8166451c4d0","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"gte","v":"21","vt":"num"},{"t":"eq","v":"19","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":890,"y":580,"wires":[["71a9a483af85a16b","34e68cb6c08f279e"],["7784f9105446050c","5b048f54315ff3cc"]]},{"id":"71a9a483af85a16b","type":"link out","z":"0b6fe1c209bbe03c","name":"19","mode":"link","links":["0cd2aa51b1d08173"],"x":1050,"y":520,"wires":[],"l":true},{"id":"34e68cb6c08f279e","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"gte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":560,"wires":[["f8825b8e369391d0"]]},{"id":"f8825b8e369391d0","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":560,"wires":[],"l":true},{"id":"7784f9105446050c","type":"link out","z":"0b6fe1c209bbe03c","name":"17","mode":"link","links":["e23b82388757fbba"],"x":1050,"y":600,"wires":[],"l":true},{"id":"b885f15a997e52da","type":"comment","z":"0b6fe1c209bbe03c","name":"Billig strøm NP","info":"","x":100,"y":1360,"wires":[]},{"id":"772345769dd7fae7","type":"cronplus","z":"0b6fe1c209bbe03c","name":"XX:00:10/15","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule1","topic":"topic1","payloadType":"default","payload":"","expressionType":"cron","expression":"10 0/15 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":110,"y":1400,"wires":[["b1c7338e78e6e038"]]},{"id":"b1c7338e78e6e038","type":"api-current-state","z":"0b6fe1c209bbe03c","name":"Auto?","server":"e3809135.43dbd","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.varmepumpe_modus","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":90,"y":1440,"wires":[["71b70365af3e8851"],[]]},{"id":"881c14f568583995","type":"switch","z":"0b6fe1c209bbe03c","name":"SmartVarmeNP","property":"SmartVarmeNordPool","propertyType":"global","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":120,"y":1540,"wires":[["4a6e8f2c609ec062"]]},{"id":"4a6e8f2c609ec062","type":"switch","z":"0b6fe1c209bbe03c","name":"Snitt <=>22","property":"snitt115","propertyType":"global","rules":[{"t":"gte","v":"22","vt":"num"},{"t":"lt","v":"22","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":350,"y":1420,"wires":[["caebd049b356db61"],["a7d8d3fc709ee47a"]]},{"id":"0913de33b9fc0c10","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":1420,"wires":[["b85a1cd97bfb53a7"],["18ae633127cfdbde"]]},{"id":"18ae633127cfdbde","type":"link out","z":"0b6fe1c209bbe03c","name":"På-23-3","mode":"link","links":["263b0e2bb8206384","946f6527bc73eb10","f878a367e309fb22"],"x":1060,"y":1500,"wires":[],"l":true},{"id":"b85a1cd97bfb53a7","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"lte","v":"21","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":1400,"wires":[["102401a3ea67c130","159d849a01fbe671"]]},{"id":"159d849a01fbe671","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"lte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":1440,"wires":[["b7dae201f8d92daf"]]},{"id":"b7dae201f8d92daf","type":"link out","z":"0b6fe1c209bbe03c","name":"3","mode":"link","links":["263b0e2bb8206384"],"x":1210,"y":1440,"wires":[],"l":true},{"id":"102401a3ea67c130","type":"link out","z":"0b6fe1c209bbe03c","name":"23","mode":"link","links":["f878a367e309fb22"],"x":1050,"y":1400,"wires":[],"l":true},{"id":"97f9ed91b477874f","type":"switch","z":"0b6fe1c209bbe03c","name":"SmartVarmeEstSS","property":"SmartVarmeEstSS","propertyType":"global","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":150,"y":240,"wires":[[],["688ec9ce2f1ce4ca"]]},{"id":"e236ad3ac55b8b1f","type":"debug","z":"0b6fe1c209bbe03c","name":"Snitt 115","active":false,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('snitt115')","targetType":"jsonata","statusVal":"$globalContext('tempstue1etg')","statusType":"auto","x":117.99999237060547,"y":543.0000019073486,"wires":[]},{"id":"057b84cf947ad28b","type":"debug","z":"0b6fe1c209bbe03c","name":"TempSnitt115","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('tempsnitt115')","targetType":"jsonata","statusVal":"$globalContext('tempsnittkjokkens')","statusType":"auto","x":140.99999237060547,"y":592.0000009536743,"wires":[]},{"id":"871c21615546a818","type":"debug","z":"0b6fe1c209bbe03c","name":"SV Nordpool","active":false,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('SmartVarmeNordPool')","targetType":"jsonata","statusVal":"$globalContext('tempstue1etg')","statusType":"auto","x":127.99999618530273,"y":447.00000286102295,"wires":[]},{"id":"8235e245d6f8e2d9","type":"debug","z":"0b6fe1c209bbe03c","name":"SV Est","active":false,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('SmartVarmeEstSS')","targetType":"jsonata","statusVal":"$globalContext('tempstue1etg')","statusType":"auto","x":109.99999237060547,"y":495.0000009536743,"wires":[]},{"id":"27720ccf942db442","type":"debug","z":"0b6fe1c209bbe03c","name":"VP Status","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('vpstatus')","targetType":"jsonata","statusVal":"$globalContext('tempsnittkjokkens')","statusType":"auto","x":118.99999618530273,"y":734.0000486373901,"wires":[]},{"id":"f9cadecbe2b75466","type":"debug","z":"0b6fe1c209bbe03c","name":"VP SP","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('spvarmepumpe')","targetType":"jsonata","statusVal":"$globalContext('tempsnittkjokkens')","statusType":"auto","x":107.99999618530273,"y":782.0000486373901,"wires":[]},{"id":"0f76414da6bcee0f","type":"debug","z":"0b6fe1c209bbe03c","name":"VP Vifte","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('varmepumpevifte')","targetType":"jsonata","statusVal":"$globalContext('tempsnittkjokkens')","statusType":"auto","x":117.9999942779541,"y":831.0000486373901,"wires":[]},{"id":"ef69c3ab41105720","type":"debug","z":"0b6fe1c209bbe03c","name":"VP Modus","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('vpmodus')","targetType":"jsonata","statusVal":"$globalContext('tempsnittkjokkens')","statusType":"auto","x":126.9999942779541,"y":879.0000476837158,"wires":[]},{"id":"ce6aace8248832ec","type":"link out","z":"0b6fe1c209bbe03c","name":"På-17-A","mode":"link","links":["946f6527bc73eb10","b1d8fbb0ff13cf91","e23b82388757fbba"],"x":1060,"y":860,"wires":[],"l":true},{"id":"fca5ba23f647b076","type":"switch","z":"0b6fe1c209bbe03c","name":"Snitt <=>23","property":"snitt115","propertyType":"global","rules":[{"t":"gte","v":"23","vt":"num"},{"t":"lt","v":"23","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":350,"y":2220,"wires":[["a7d8d3fc709ee47a"],["688f7d0ccbc308b5","aff4725113fd15cf"]]},{"id":"71b70365af3e8851","type":"switch","z":"0b6fe1c209bbe03c","name":"SmartVarmeEstSS","property":"SmartVarmeEstSS","propertyType":"global","rules":[{"t":"false"}],"checkall":"true","repair":false,"outputs":1,"x":130,"y":1500,"wires":[["881c14f568583995"]]},{"id":"d01d9ad56da0622e","type":"switch","z":"0b6fe1c209bbe03c","name":"SmartVarmeNP","property":"SmartVarmeNordPool","propertyType":"global","rules":[{"t":"false"}],"checkall":"true","repair":false,"outputs":1,"x":110,"y":2260,"wires":[["7d0f3d239048f614"]]},{"id":"6ca9c8f81da05708","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":2300,"wires":[["6fd0de6fb45c32f3"],["a15ec873fa149290"]]},{"id":"6fd0de6fb45c32f3","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"lte","v":"21","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":2220,"wires":[["8ecc7a065a32b107","c8a011b63c21e85c"]]},{"id":"c8a011b63c21e85c","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"lte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":2260,"wires":[["c0b11e5b28962d08"]]},{"id":"c0b11e5b28962d08","type":"link out","z":"0b6fe1c209bbe03c","name":"3","mode":"link","links":["263b0e2bb8206384"],"x":1210,"y":2260,"wires":[],"l":true},{"id":"8ecc7a065a32b107","type":"link out","z":"0b6fe1c209bbe03c","name":"28","mode":"link","links":["966f0b6f3ad956e5"],"x":1050,"y":2220,"wires":[],"l":true},{"id":"a15ec873fa149290","type":"link out","z":"0b6fe1c209bbe03c","name":"På-28-3","mode":"link","links":["263b0e2bb8206384","946f6527bc73eb10","966f0b6f3ad956e5"],"x":1060,"y":2320,"wires":[],"l":true},{"id":"0d43dbdc5375eb0b","type":"switch","z":"0b6fe1c209bbe03c","name":"Tempsnitt <=>","property":"tempsnitt115","propertyType":"global","rules":[{"t":"eq","v":"stigende","vt":"str"},{"t":"eq","v":"stabil","vt":"str"},{"t":"eq","v":"synkende","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":600,"y":1320,"wires":[["e78ca8564b422fcb"],["336c654abf620a68"],["0913de33b9fc0c10"]]},{"id":"cea580e01545df7b","type":"comment","z":"0b6fe1c209bbe03c","name":"< Mindre enn | > Større enn","info":"","x":340,"y":40,"wires":[]},{"id":"e78ca8564b422fcb","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":1220,"wires":[["f675d45ff8a28278"],[]]},{"id":"f675d45ff8a28278","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"gte","v":"21","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":1200,"wires":[["ef92eb3c936b70dc","7a64c491fe1aeda9"]]},{"id":"7a64c491fe1aeda9","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"gte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":1240,"wires":[["c3beae3849060d39"]]},{"id":"c3beae3849060d39","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":1240,"wires":[],"l":true},{"id":"ef92eb3c936b70dc","type":"link out","z":"0b6fe1c209bbe03c","name":"17","mode":"link","links":["e23b82388757fbba"],"x":1050,"y":1200,"wires":[],"l":true},{"id":"688f7d0ccbc308b5","type":"switch","z":"0b6fe1c209bbe03c","name":"Tempsnitt <=>","property":"tempsnitt115","propertyType":"global","rules":[{"t":"eq","v":"stigende","vt":"str"},{"t":"eq","v":"stabil","vt":"str"},{"t":"eq","v":"synkende","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":600,"y":2220,"wires":[["13012304b31026dc","08d4164799e99481"],["6ca9c8f81da05708"],["6ca9c8f81da05708"]]},{"id":"13012304b31026dc","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":2100,"wires":[["a7834188be173258"],["697176b46e5e6a64"]]},{"id":"a7834188be173258","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"gte","v":"21","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":2040,"wires":[["7f8ab2f49bd39e57","af9605f4bb5388c4"]]},{"id":"af9605f4bb5388c4","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"gte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":2080,"wires":[["04280f14655096f3"]]},{"id":"04280f14655096f3","type":"link out","z":"0b6fe1c209bbe03c","name":"1","mode":"link","links":["70ae538701a5be59"],"x":1210,"y":2080,"wires":[],"l":true},{"id":"7f8ab2f49bd39e57","type":"link out","z":"0b6fe1c209bbe03c","name":"19","mode":"link","links":["0cd2aa51b1d08173"],"x":1050,"y":2040,"wires":[],"l":true},{"id":"697176b46e5e6a64","type":"link out","z":"0b6fe1c209bbe03c","name":"På-23-3","mode":"link","links":["263b0e2bb8206384","946f6527bc73eb10","f878a367e309fb22"],"x":1060,"y":2140,"wires":[],"l":true},{"id":"00841d5fa5081973","type":"api-call-service","z":"0b6fe1c209bbe03c","name":"Panelovn av","server":"e3809135.43dbd","version":5,"debugenabled":false,"domain":"switch","service":"turn_off","areaId":[],"deviceId":["ddb1a80a1856f7459d9787ece5c0470a"],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":590,"y":2120,"wires":[[]]},{"id":"26050f5911f7510a","type":"cronplus","z":"0b6fe1c209bbe03c","name":"XX:00:15/15","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule1","topic":"topic1","payloadType":"default","payload":"","expressionType":"cron","expression":"15 0/15 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":127.99999618530273,"y":407.00000286102295,"wires":[["e559ce1a6b3eb5a1"]]},{"id":"336c654abf620a68","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":1320,"wires":[["5ebac60053c264a1"],[]]},{"id":"5ebac60053c264a1","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"gte","v":"19","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":1300,"wires":[["c15267a6b6fba962","0693addbc6225cf0"]]},{"id":"0693addbc6225cf0","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"gte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":1340,"wires":[["d9c69548c0991469"]]},{"id":"d9c69548c0991469","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":1340,"wires":[],"l":true},{"id":"c15267a6b6fba962","type":"link out","z":"0b6fe1c209bbe03c","name":"19","mode":"link","links":["e23b82388757fbba"],"x":1050,"y":1300,"wires":[],"l":true},{"id":"073fa05672089fa9","type":"link out","z":"0b6fe1c209bbe03c","name":"2","mode":"link","links":["cd1c217896c62831"],"x":1210,"y":440,"wires":[],"l":true},{"id":"511aaefdde0a0bf2","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"eq","v":"A","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1050,"y":440,"wires":[["073fa05672089fa9"],[]]},{"id":"5b048f54315ff3cc","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"gte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":640,"wires":[["67724c04d374f303"]]},{"id":"67724c04d374f303","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":640,"wires":[],"l":true},{"id":"b4426756a608db48","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":800,"wires":[["0d969f952dc43ac5"]]},{"id":"0d969f952dc43ac5","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":800,"wires":[],"l":true},{"id":"2cab6c5931df9750","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":1060,"wires":[["4d9b2396d827fb77"]]},{"id":"4d9b2396d827fb77","type":"link out","z":"0b6fe1c209bbe03c","name":"2","mode":"link","links":["cd1c217896c62831"],"x":1210,"y":1060,"wires":[],"l":true},{"id":"9f0da9b0565a8afb","type":"link out","z":"0b6fe1c209bbe03c","name":"19","mode":"link","links":["0cd2aa51b1d08173"],"x":1050,"y":300,"wires":[],"l":true},{"id":"e22d4e5fcdb2aaf5","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":340,"wires":[],"l":true},{"id":"31f720cc65ee1e8a","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":80,"wires":[],"l":true},{"id":"cd4c078924d850cc","type":"api-current-state","z":"0b6fe1c209bbe03c","name":"VP SP","server":"e3809135.43dbd","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.varmepumpe_sp","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","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":350,"y":3280,"wires":[["6b6896bdd6855a33"]]},{"id":"6b6896bdd6855a33","type":"switch","z":"0b6fe1c209bbe03c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"17","vt":"num"},{"t":"eq","v":"18","vt":"num"},{"t":"eq","v":"19","vt":"num"}],"checkall":"true","repair":false,"outputs":3,"x":490,"y":3280,"wires":[["d4a23967f17e3ef5","88879e401126c2a8"],["d4a23967f17e3ef5","88879e401126c2a8"],["f675654b3bea4607","88879e401126c2a8"]]},{"id":"d4a23967f17e3ef5","type":"link out","z":"0b6fe1c209bbe03c","name":"19","mode":"link","links":["0cd2aa51b1d08173"],"x":630,"y":3260,"wires":[],"l":true},{"id":"f675654b3bea4607","type":"link out","z":"0b6fe1c209bbe03c","name":"21","mode":"link","links":["a2148ed1c3e97396"],"x":630,"y":3300,"wires":[],"l":true},{"id":"88879e401126c2a8","type":"link out","z":"0b6fe1c209bbe03c","name":"3","mode":"link","links":["263b0e2bb8206384"],"x":750,"y":3280,"wires":[],"l":true},{"id":"c393cf03ad9d3ccf","type":"cronplus","z":"0b6fe1c209bbe03c","name":"XX:59:50","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule2","topic":"topic2","payloadType":"default","payload":"","expressionType":"cron","expression":"50 59 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":100,"y":3280,"wires":[["427985e3bf95e1c8"]]},{"id":"427985e3bf95e1c8","type":"switch","z":"0b6fe1c209bbe03c","name":"","property":"kaldthus","propertyType":"global","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":230,"y":3280,"wires":[["cd4c078924d850cc"]]},{"id":"688ec9ce2f1ce4ca","type":"switch","z":"0b6fe1c209bbe03c","name":"KaldtHus","property":"kaldthus","propertyType":"global","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":180,"y":280,"wires":[[],["6cadf2976a1e834d"]]},{"id":"2411e0c49fe4e36d","type":"debug","z":"0b6fe1c209bbe03c","name":"KaldtHus","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('kaldthus')","targetType":"jsonata","statusVal":"$globalContext('tempsnittkjokkens')","statusType":"auto","x":117.9999942779541,"y":927.0000476837158,"wires":[]},{"id":"aaa4917b45287d05","type":"api-current-state","z":"0b6fe1c209bbe03c","name":"VP SP","server":"e3809135.43dbd","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.varmepumpe_sp","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","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":350,"y":3420,"wires":[["b3fbc90cef029e08"]]},{"id":"797451ab0d4b2a68","type":"cronplus","z":"0b6fe1c209bbe03c","name":"XX:59:50","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule2","topic":"topic2","payloadType":"default","payload":"","expressionType":"cron","expression":"50 59 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":100,"y":3420,"wires":[["fb182da879d5fc98"]]},{"id":"fb182da879d5fc98","type":"switch","z":"0b6fe1c209bbe03c","name":"","property":"varmthus","propertyType":"global","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":230,"y":3420,"wires":[["aaa4917b45287d05"]]},{"id":"b3fbc90cef029e08","type":"switch","z":"0b6fe1c209bbe03c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"gte","v":"23","vt":"num"},{"t":"btwn","v":"18","vt":"num","v2":"21","v2t":"num"},{"t":"eq","v":"17","vt":"num"}],"checkall":"true","repair":false,"outputs":3,"x":490,"y":3420,"wires":[["e551ec492afadcc6","2af04efbc6ec20de"],["9b5dc805af2e73b7","2af04efbc6ec20de"],["b99189ae6851d63a"]]},{"id":"e551ec492afadcc6","type":"link out","z":"0b6fe1c209bbe03c","name":"19","mode":"link","links":["0cd2aa51b1d08173"],"x":630,"y":3380,"wires":[],"l":true},{"id":"b99189ae6851d63a","type":"link out","z":"0b6fe1c209bbe03c","name":"Av","mode":"link","links":["c0a6fd1c6506cb87"],"x":630,"y":3460,"wires":[],"l":true},{"id":"2af04efbc6ec20de","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":750,"y":3420,"wires":[],"l":true},{"id":"9b5dc805af2e73b7","type":"link out","z":"0b6fe1c209bbe03c","name":"21","mode":"link","links":["e23b82388757fbba"],"x":630,"y":3420,"wires":[],"l":true},{"id":"6cadf2976a1e834d","type":"switch","z":"0b6fe1c209bbe03c","name":"Vedovn","property":"vedovn","propertyType":"global","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":180,"y":320,"wires":[[],["caebd049b356db61"]]},{"id":"b270a41f558bf093","type":"debug","z":"0b6fe1c209bbe03c","name":"Vedovn","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('vedovn')","targetType":"jsonata","statusVal":"$globalContext('tempsnittkjokkens')","statusType":"auto","x":116.99999809265137,"y":1020.0000495910645,"wires":[]},{"id":"d14b2ab8b953a19d","type":"debug","z":"0b6fe1c209bbe03c","name":"VarmtHus","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('varmthus')","targetType":"jsonata","statusVal":"$globalContext('tempsnittkjokkens')","statusType":"auto","x":118,"y":975.000093460083,"wires":[]},{"id":"114676a791f40bee","type":"debug","z":"0b6fe1c209bbe03c","name":"Snitt ute","active":false,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('snittute')","targetType":"jsonata","statusVal":"$globalContext('tempstue1etg')","statusType":"auto","x":117.99999237060547,"y":638.0000047683716,"wires":[]},{"id":"3a3a02d749374d76","type":"debug","z":"0b6fe1c209bbe03c","name":"TempSnittUte","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"$globalContext('utetemp')","targetType":"jsonata","statusVal":"$globalContext('tempsnittkjokkens')","statusType":"auto","x":137.99999618530273,"y":685.9999904632568,"wires":[]},{"id":"a7d8d3fc709ee47a","type":"time-range-switch","z":"0b6fe1c209bbe03c","name":"GoldenHourEnd - 2200","lat":"59.34798681899104","lon":"11.142624975584223","startTime":"goldenHourEnd","endTime":"22:00","startOffset":0,"endOffset":0,"x":410,"y":1480,"wires":[["0d43dbdc5375eb0b"],["4730629fc8b27fc3"]]},{"id":"d88864dfbd37b4e5","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":1800,"wires":[["3115ce1660c01240"],["610e001ebea6807d"]]},{"id":"610e001ebea6807d","type":"link out","z":"0b6fe1c209bbe03c","name":"På-21-A","mode":"link","links":["946f6527bc73eb10","a2148ed1c3e97396","b1d8fbb0ff13cf91"],"x":1060,"y":1880,"wires":[],"l":true},{"id":"3115ce1660c01240","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"lte","v":"21","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":1780,"wires":[["6d2671a6a5868c61","19052a703651570b"]]},{"id":"19052a703651570b","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"lte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":1820,"wires":[["ea4c4dfadf516db7"]]},{"id":"ea4c4dfadf516db7","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":1820,"wires":[],"l":true},{"id":"6d2671a6a5868c61","type":"link out","z":"0b6fe1c209bbe03c","name":"21","mode":"link","links":["a2148ed1c3e97396"],"x":1050,"y":1780,"wires":[],"l":true},{"id":"4730629fc8b27fc3","type":"switch","z":"0b6fe1c209bbe03c","name":"Tempsnitt <=>","property":"tempsnitt115","propertyType":"global","rules":[{"t":"eq","v":"stigende","vt":"str"},{"t":"eq","v":"stabil","vt":"str"},{"t":"eq","v":"synkende","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":600,"y":1700,"wires":[["e68a6dfe3c349f77"],["68f805c3d4b91a07"],["d88864dfbd37b4e5"]]},{"id":"e68a6dfe3c349f77","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":1600,"wires":[["41961f7676c6dcae"],[]]},{"id":"41961f7676c6dcae","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"gte","v":"21","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":1580,"wires":[["277348077033840e","209b37f2e86afe20"]]},{"id":"209b37f2e86afe20","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"gte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":1620,"wires":[["9c5c9298f9bc991a"]]},{"id":"9c5c9298f9bc991a","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":1620,"wires":[],"l":true},{"id":"277348077033840e","type":"link out","z":"0b6fe1c209bbe03c","name":"17","mode":"link","links":["e23b82388757fbba"],"x":1050,"y":1580,"wires":[],"l":true},{"id":"68f805c3d4b91a07","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":1700,"wires":[["0e56dcb0f05b0245"],[]]},{"id":"0e56dcb0f05b0245","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"gte","v":"19","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":1680,"wires":[["3ad9147406e5232b","3d4dce1a2fbdb919"]]},{"id":"3d4dce1a2fbdb919","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"gte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":1720,"wires":[["2027b9855424df91"]]},{"id":"2027b9855424df91","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":1720,"wires":[],"l":true},{"id":"3ad9147406e5232b","type":"link out","z":"0b6fe1c209bbe03c","name":"19","mode":"link","links":["e23b82388757fbba"],"x":1050,"y":1680,"wires":[],"l":true},{"id":"a5917d48113e44b5","type":"comment","z":"0b6fe1c209bbe03c","name":"Fyres i vedovn","info":"","x":100,"y":2380,"wires":[]},{"id":"b369451c6a9069f1","type":"switch","z":"0b6fe1c209bbe03c","name":"","property":"vedovn","propertyType":"global","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":90,"y":2460,"wires":[["1f81afdd06aad1a0"]]},{"id":"917a1efca4e20683","type":"api-call-service","z":"0b6fe1c209bbe03c","name":"Panelovn av","server":"e3809135.43dbd","version":5,"debugenabled":false,"domain":"switch","service":"turn_off","areaId":[],"deviceId":["ddb1a80a1856f7459d9787ece5c0470a"],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":470,"y":2500,"wires":[[]]},{"id":"1f81afdd06aad1a0","type":"switch","z":"0b6fe1c209bbe03c","name":"Snitt <=>23","property":"snitt115","propertyType":"global","rules":[{"t":"gte","v":"23","vt":"num"},{"t":"lt","v":"23","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":350,"y":2460,"wires":[[],["b52732bc6f5cb97f","db22309b335d9d0f"]]},{"id":"b52732bc6f5cb97f","type":"switch","z":"0b6fe1c209bbe03c","name":"Tempsnitt <=>","property":"tempsnitt115","propertyType":"global","rules":[{"t":"eq","v":"stigende","vt":"str"},{"t":"eq","v":"stabil","vt":"str"},{"t":"eq","v":"synkende","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":600,"y":2460,"wires":[["68d9d5ff96169405"],["68d9d5ff96169405"],["68d9d5ff96169405"]]},{"id":"68d9d5ff96169405","type":"switch","z":"0b6fe1c209bbe03c","name":"Status","property":"vpstatus","propertyType":"global","rules":[{"t":"eq","v":"På","vt":"str"},{"t":"eq","v":"Av","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":770,"y":2460,"wires":[["8827402e1b013ba4"],[]]},{"id":"8827402e1b013ba4","type":"switch","z":"0b6fe1c209bbe03c","name":"SP","property":"spvarmepumpe","propertyType":"global","rules":[{"t":"gte","v":"21","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":2440,"wires":[["8c4f729ce708da90","502ef47437c71b74"]]},{"id":"502ef47437c71b74","type":"switch","z":"0b6fe1c209bbe03c","name":"Vifte","property":"varmepumpevifte","propertyType":"global","rules":[{"t":"gte","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1050,"y":2460,"wires":[["8d78bde1e7453a4b"]]},{"id":"8d78bde1e7453a4b","type":"link out","z":"0b6fe1c209bbe03c","name":"A","mode":"link","links":["b1d8fbb0ff13cf91"],"x":1210,"y":2460,"wires":[],"l":true},{"id":"8c4f729ce708da90","type":"link out","z":"0b6fe1c209bbe03c","name":"17","mode":"link","links":["e23b82388757fbba"],"x":1050,"y":2420,"wires":[],"l":true},{"id":"db22309b335d9d0f","type":"api-current-state","z":"0b6fe1c209bbe03c","name":"Er av?","server":"e3809135.43dbd","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.tuya_sp7_lokal","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":310,"y":2500,"wires":[[],["917a1efca4e20683"]]},{"id":"1fe546062332614b","type":"cronplus","z":"0b6fe1c209bbe03c","name":"XX:00:14/50","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule2","topic":"topic2","payloadType":"default","payload":"","expressionType":"cron","expression":"50 0/14 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":110,"y":2420,"wires":[[]]},{"id":"aff4725113fd15cf","type":"api-current-state","z":"0b6fe1c209bbe03c","name":"Er på?","server":"e3809135.43dbd","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.tuya_sp7_lokal","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":350,"y":2280,"wires":[[],["da22242a875c68e7"]]},{"id":"08d4164799e99481","type":"api-current-state","z":"0b6fe1c209bbe03c","name":"Er av?","server":"e3809135.43dbd","version":3,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","entity_id":"switch.tuya_sp7_lokal","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":570,"y":2160,"wires":[["00841d5fa5081973"],[]]},{"id":"e3809135.43dbd","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement