forked from homeean/node-red-contrib-homee-flows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Wetter von Wunderground als Netatmo Station.json
1 lines (1 loc) · 6.56 KB
/
Wetter von Wunderground als Netatmo Station.json
1
[{"id":"1e102600.27b82a","type":"function","z":"465fa3e6.cece8c","name":"Wetterdaten holen","func":"var Aussentemp = global.get('Aussentemp');\nvar Aussenfeuchte = global.get('Aussenfeuchte');\nvar Luftdruck = global.get('Luftdruck');\nvar RegenAktuell = global.get('RegenAktuell');\nvar RegenHeute = global.get('RegenHeute');\nvar Windgeschwindigkeit = global.get('Windgeschwindigkeit');\n\nif (RegenAktuell === 0)\n var RegenEin = 0;\nelse\nvar RegenEin = 1;\n\nnode.send ({payload:{\"id\":1451,\"value\":Aussentemp}});\nnode.send ({payload:{\"id\":1452,\"value\":Aussenfeuchte}});\nnode.send ({payload:{\"id\":1455,\"value\":Luftdruck}});\nnode.send ({payload:{\"id\":1461,\"value\":Windgeschwindigkeit}});\nnode.send ({payload:{\"id\":1467,\"value\":RegenEin}});\nnode.send ({payload:{\"id\":1468,\"value\":RegenAktuell}});\nnode.send ({payload:{\"id\":1469,\"value\":RegenHeute}});","outputs":1,"noerr":0,"x":610,"y":780,"wires":[["88191b6a.62f888"]]},{"id":"88191b6a.62f888","type":"homeeDevice","z":"465fa3e6.cece8c","virtual-homee":"29d21f9f.87f03","name":"netatmo","nodeId":"30","profile":"3014","attributes":"[{\"id\":1451,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":50,\"current_value\":22.7,\"target_value\":22.7,\"last_value\":22.6,\"unit\":\"%C2%B0C\",\"step_value\":0.5,\"editable\":0,\"type\":5,\"state\":1,\"last_changed\":1572631605,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1452,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":100,\"current_value\":48,\"target_value\":48,\"last_value\":47,\"unit\":\"%25\",\"step_value\":1,\"editable\":0,\"type\":7,\"state\":1,\"last_changed\":1572634008,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1453,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":5000,\"current_value\":550,\"target_value\":550,\"last_value\":510,\"unit\":\"ppm\",\"step_value\":50,\"editable\":0,\"type\":20,\"state\":1,\"last_changed\":1572634009,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1454,\"node_id\":30,\"instance\":0,\"minimum\":35,\"maximum\":120,\"current_value\":47,\"target_value\":47,\"last_value\":42,\"unit\":\"dB\",\"step_value\":1,\"editable\":0,\"type\":93,\"state\":1,\"last_changed\":1572634009,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1455,\"node_id\":30,\"instance\":0,\"minimum\":260,\"maximum\":1160,\"current_value\":1004.5,\"target_value\":1004.5,\"last_value\":1005,\"unit\":\"mBar\",\"step_value\":5,\"editable\":0,\"type\":94,\"state\":1,\"last_changed\":1572634009,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1456,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":4,\"current_value\":3,\"target_value\":3,\"last_value\":4,\"unit\":\"n%2Fa\",\"step_value\":1,\"editable\":0,\"type\":33,\"state\":1,\"last_changed\":1572634009,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1461,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":180,\"current_value\":1,\"target_value\":1,\"last_value\":0,\"unit\":\"km%2Fh\",\"step_value\":2,\"editable\":0,\"type\":146,\"state\":1,\"last_changed\":1553897472,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1462,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":15,\"current_value\":12,\"target_value\":12,\"last_value\":14,\"unit\":\"n%2Fa\",\"step_value\":1,\"editable\":0,\"type\":147,\"state\":1,\"last_changed\":1553919105,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1463,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":180,\"current_value\":2,\"target_value\":2,\"last_value\":1,\"unit\":\"km%2Fh\",\"step_value\":2,\"editable\":0,\"type\":230,\"state\":1,\"last_changed\":1553896270,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1464,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":15,\"current_value\":12,\"target_value\":12,\"last_value\":14,\"unit\":\"n%2Fa\",\"step_value\":1,\"editable\":0,\"type\":231,\"state\":1,\"last_changed\":1553919105,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1465,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":4,\"current_value\":4,\"target_value\":4,\"last_value\":3,\"unit\":\"n%2Fa\",\"step_value\":1,\"editable\":0,\"type\":33,\"state\":1,\"last_changed\":1553774258,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":1,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1466,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":1,\"current_value\":0,\"target_value\":0,\"last_value\":1,\"unit\":\"n%2Fa\",\"step_value\":1,\"editable\":0,\"type\":69,\"state\":1,\"last_changed\":1564823054,\"changed_by\":2,\"changed_by_id\":1,\"based_on\":1,\"data\":\"\",\"node\":\"[Circular ~.node]\"},{\"id\":1467,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":1,\"current_value\":0,\"target_value\":0,\"last_value\":1,\"unit\":\"n%2Fa\",\"step_value\":1,\"editable\":0,\"type\":101,\"state\":1,\"last_changed\":1543894975,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\"},{\"id\":1468,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":50,\"current_value\":0,\"target_value\":0,\"last_value\":0.202,\"unit\":\"mm\",\"step_value\":0.5,\"editable\":0,\"type\":168,\"state\":1,\"last_changed\":1543897983,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\"},{\"id\":1469,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":1200,\"current_value\":0,\"target_value\":0,\"last_value\":0.4,\"unit\":\"mm\",\"step_value\":5,\"editable\":0,\"type\":169,\"state\":1,\"last_changed\":1543965308,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\"},{\"id\":1470,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":4,\"current_value\":1,\"target_value\":1,\"last_value\":0,\"unit\":\"n%2Fa\",\"step_value\":1,\"editable\":0,\"type\":33,\"state\":1,\"last_changed\":1544029118,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\"},{\"id\":1471,\"node_id\":30,\"instance\":0,\"minimum\":0,\"maximum\":1,\"current_value\":0,\"target_value\":0,\"last_value\":0,\"unit\":\"n%2Fa\",\"step_value\":1,\"editable\":0,\"type\":69,\"state\":1,\"last_changed\":1521641096,\"changed_by\":1,\"changed_by_id\":0,\"based_on\":4,\"data\":\"\"}]","x":940,"y":780,"wires":[[]]},{"id":"29d21f9f.87f03","type":"virtualHomee","z":"","name":"Homee_2"}]