Input node und da usb auswählen. Das mit debug verknüpfen: wenn du dann was empfängst ist gut (sofern du schon Sensoren hast)
Hier ist mein Flow für Wunderground:
[{"id":"38175747.f26ec8","type":"http request","z":"465fa3e6.cece8c","name":"Wunderground","method":"GET","ret":"txt","paytoqs":false,"url":"https://api.weather.com/v2/pws/observations/current?stationId=...&format=json&units=m&apiKey=...","tls":"","proxy":"","authType":"basic","x":120,"y":280,"wires":[["101e0b56.54ab75"]]},{"id":"516eadff.3b9944","type":"inject","z":"465fa3e6.cece8c","name":"Start Wetterdaten","topic":"","payload":"","payloadType":"date","repeat":"60","crontab":"","once":true,"onceDelay":"","x":130,"y":240,"wires":[["38175747.f26ec8"]]},{"id":"ebc29f05.8adf8","type":"json","z":"465fa3e6.cece8c","name":"Konvertieren zu Objekt","property":"payload","action":"","pretty":false,"x":140,"y":360,"wires":[["438ce20a.af884c","def647c.135e7b8","bf0eb391.5d079","45c43eef.5b506","ba1158da.0d5dd8","6c815277.9c00dc","e9107cbc.4eb","858628de.6bc068","28c08efc.aa7ff2","a3266d89.b12d3"]]},{"id":"101e0b56.54ab75","type":"delay","z":"465fa3e6.cece8c","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":120,"y":320,"wires":[["ebc29f05.8adf8"]]},{"id":"3486739f.80adcc","type":"ui_gauge","z":"465fa3e6.cece8c","name":"","group":"b448b2a.8f7ed5","order":1,"width":8,"height":5,"gtype":"gage","title":"Sonnenstrahlung","label":"W/m²","format":"{{value}}","min":0,"max":"1000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":690,"y":100,"wires":[]},{"id":"73f338af.62b108","type":"ui_gauge","z":"465fa3e6.cece8c","name":"","group":"78f70bd1.526c74","order":2,"width":8,"height":5,"gtype":"gage","title":"Regenmenge total","label":"","format":"{{value}} mm","min":0,"max":"100","colors":["#006bb5","#0045b5","#000fb5"],"seg1":"","seg2":"","x":690,"y":500,"wires":[]},{"id":"438ce20a.af884c","type":"function","z":"465fa3e6.cece8c","name":"Regenmenge total","func":"msg.payload=msg.payload.observations[0].metric.precipTotal;\nreturn msg;","outputs":1,"noerr":0,"x":450,"y":500,"wires":[["73f338af.62b108"]]},{"id":"def647c.135e7b8","type":"function","z":"465fa3e6.cece8c","name":"Windrichtung","func":"msg.payload=msg.payload.observations[0].winddir;\nreturn msg;","outputs":1,"noerr":0,"x":430,"y":300,"wires":[["90a671bd.fafb8"]]},{"id":"90a671bd.fafb8","type":"ui_gauge","z":"465fa3e6.cece8c","name":"","group":"9bd67957.70dfa8","order":1,"width":8,"height":5,"gtype":"compass","title":"Windrichtung","label":"","format":"{{value}} °","min":0,"max":"360","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":710,"y":300,"wires":[]},{"id":"e726f2f4.f82c7","type":"ui_chart","z":"465fa3e6.cece8c","name":"","group":"2361e78c.9b49c8","order":3,"width":"35","height":"6","label":"Sonnenstrahlung","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"1000","removeOlder":"16","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":690,"y":140,"wires":[[]]},{"id":"bf0eb391.5d079","type":"function","z":"465fa3e6.cece8c","name":"Sonnenstrahlung","func":"msg.payload=msg.payload.observations[0].solarRadiation;\nreturn msg;","outputs":1,"noerr":0,"x":450,"y":120,"wires":[["3486739f.80adcc","e726f2f4.f82c7","de0fb215.e77bb","780e512.7dfb4b"]]},{"id":"45c43eef.5b506","type":"function","z":"465fa3e6.cece8c","name":"Temperatur","func":"msg.payload=msg.payload.observations[0].metric.temp;\nreturn msg;","outputs":1,"noerr":0,"x":430,"y":200,"wires":[["aebac0e9.9b70c","599755b7.bc10fc"]]},{"id":"aebac0e9.9b70c","type":"ui_gauge","z":"465fa3e6.cece8c","name":"","group":"a49d1413.abb888","order":1,"width":8,"height":5,"gtype":"gage","title":"Temperatur","label":"","format":"{{value}} °C","min":"-20","max":"40","colors":["#001fb5","#02d600","#ca3838"],"seg1":"0","seg2":"25","x":710,"y":180,"wires":[]},{"id":"858628de.6bc068","type":"function","z":"465fa3e6.cece8c","name":"Regenmenge aktuell","func":"msg.payload=msg.payload.observations[0].metric.precipRate;\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":440,"wires":[["5374acf1.3d2e44","b22d18f0.9d12b8"]]},{"id":"5374acf1.3d2e44","type":"ui_gauge","z":"465fa3e6.cece8c","name":"","group":"78f70bd1.526c74","order":1,"width":8,"height":5,"gtype":"gage","title":"Regenmenge aktuell","label":"","format":"{{value}} mm","min":0,"max":"75","colors":["#0045b5","#0045b5","#000fb5"],"seg1":"","seg2":"","x":680,"y":420,"wires":[]},{"id":"ba1158da.0d5dd8","type":"function","z":"465fa3e6.cece8c","name":"UV-Index","func":"msg.payload=msg.payload.observations[0].uv;\nreturn msg;","outputs":1,"noerr":0,"x":420,"y":600,"wires":[["ed146008.f6ad1","fdc2a7ec.3688f8"]]},{"id":"ed146008.f6ad1","type":"ui_gauge","z":"465fa3e6.cece8c","name":"","group":"b448b2a.8f7ed5","order":2,"width":8,"height":5,"gtype":"gage","title":"UV-Index","label":"","format":"{{value}}","min":0,"max":"10","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":720,"y":580,"wires":[]},{"id":"6c815277.9c00dc","type":"function","z":"465fa3e6.cece8c","name":"Luftfeuchte","func":"msg.payload=msg.payload.observations[0].humidity;\nreturn msg;","outputs":1,"noerr":0,"x":430,"y":260,"wires":[["ee9c92de.25245"]]},{"id":"ee9c92de.25245","type":"ui_gauge","z":"465fa3e6.cece8c","name":"","group":"a49d1413.abb888","order":2,"width":8,"height":5,"gtype":"gage","title":"Luftfeuchte","label":"","format":"{{value}} %","min":"0","max":"100","colors":["#00b500","#00b500","#00b500"],"seg1":"","seg2":"","x":710,"y":260,"wires":[]},{"id":"599755b7.bc10fc","type":"ui_chart","z":"465fa3e6.cece8c","name":"","group":"2361e78c.9b49c8","order":1,"width":"35","height":"6","label":"Temperatur","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"-20","ymax":"40","removeOlder":"16","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":710,"y":220,"wires":[[]]},{"id":"e9107cbc.4eb","type":"function","z":"465fa3e6.cece8c","name":"Windgeschwindigkeit","func":"msg.payload=msg.payload.observations[0].metric.windSpeed;\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":360,"wires":[["af0b163f.69c378","dbc3453b.d455e8"]]},{"id":"af0b163f.69c378","type":"ui_gauge","z":"465fa3e6.cece8c","name":"","group":"9bd67957.70dfa8","order":2,"width":8,"height":5,"gtype":"gage","title":"Windgeschwindigkeit","label":"","format":"{{value}} km/h","min":0,"max":"50","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":680,"y":340,"wires":[]},{"id":"dbc3453b.d455e8","type":"ui_chart","z":"465fa3e6.cece8c","name":"","group":"2361e78c.9b49c8","order":2,"width":"35","height":"6","label":"Windgeschwindigkeit","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"50","removeOlder":"16","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":680,"y":380,"wires":[[]]},{"id":"b22d18f0.9d12b8","type":"ui_chart","z":"465fa3e6.cece8c","name":"","group":"2361e78c.9b49c8","order":4,"width":"35","height":"6","label":"Regenmenge aktuell","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"75","removeOlder":"16","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":680,"y":460,"wires":[[]]},{"id":"fdc2a7ec.3688f8","type":"ui_chart","z":"465fa3e6.cece8c","name":"","group":"2361e78c.9b49c8","order":6,"width":"35","height":"6","label":"UV-Index","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"10","removeOlder":"16","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":720,"y":620,"wires":[[]]},{"id":"28c08efc.aa7ff2","type":"function","z":"465fa3e6.cece8c","name":"Temperatur, Luftfeuchtigkeit","func":"var temp = msg.payload.observations[0].metric.temp;\nvar hum = msg.payload.observations[0].humidity;\nvar message = {\"meta\":{\"eep\":\"a5-04-03\",\"channel\":1,\"type\":\"data\",\"status\":1},\"data\":{\"TMP\":temp,\"HUM\":hum}};\nmsg.payload = message;\nreturn msg;","outputs":1,"noerr":0,"x":920,"y":200,"wires":[["860e0555.a3a508"]]},{"id":"780e512.7dfb4b","type":"function","z":"465fa3e6.cece8c","name":"Sonnenstrahlung","func":"var ill = msg.payload;\nvar message = {\"meta\":{\"eep\":\"a5-06-03\",\"channel\":7,\"type\":\"data\"},\"data\":{\"ILL\":ill}};\nmsg.payload = message;\nreturn msg;","outputs":1,"noerr":0,"x":950,"y":120,"wires":[["860e0555.a3a508"]]},{"id":"a3266d89.b12d3","type":"function","z":"465fa3e6.cece8c","name":"Luftdruck","func":"msg.payload=msg.payload.observations[0].metric.pressure;\nreturn msg;","outputs":1,"noerr":0,"x":420,"y":660,"wires":[["5392d37b.e3b88c"]]},{"id":"5392d37b.e3b88c","type":"function","z":"465fa3e6.cece8c","name":"Luftdruck","func":"var bar = msg.payload;\nvar message = {\"meta\":{\"eep\":\"a5-05-01\",\"channel\":2,\"type\":\"data\"},\"data\":{\"BAR\":bar}};\nmsg.payload = message;\nreturn msg;","outputs":1,"noerr":0,"x":980,"y":660,"wires":[["860e0555.a3a508"]]},{"id":"860e0555.a3a508","type":"link out","z":"465fa3e6.cece8c","name":"","links":["75aa5579.4397ec"],"x":1115,"y":200,"wires":[]},{"id":"b448b2a.8f7ed5","type":"ui_group","z":"","name":"Sonne aktuell","tab":"93c6bbb7.618b18","order":5,"disp":true,"width":8,"collapse":false},{"id":"78f70bd1.526c74","type":"ui_group","z":"","name":"Regen aktuell","tab":"93c6bbb7.618b18","order":4,"disp":true,"width":8,"collapse":false},{"id":"9bd67957.70dfa8","type":"ui_group","z":"","name":"Wind aktuell","tab":"93c6bbb7.618b18","order":3,"disp":true,"width":8,"collapse":false},{"id":"2361e78c.9b49c8","type":"ui_group","z":"","name":"Charts","tab":"9e49cafb.334a18","order":1,"disp":false,"width":"35","collapse":false},{"id":"a49d1413.abb888","type":"ui_group","z":"","name":"Temperatur aktuell","tab":"93c6bbb7.618b18","order":2,"disp":true,"width":8,"collapse":false},{"id":"93c6bbb7.618b18","type":"ui_tab","z":"","name":"Wetterdaten aktuell","icon":"wb_sunny","order":5,"disabled":false,"hidden":false},{"id":"9e49cafb.334a18","type":"ui_tab","z":"","name":"Wetterdaten Charts","icon":"fa-line-chart","order":7,"disabled":false,"hidden":false}]
Bei der StationID musst du die drei Punkte durch deine ID ersetzen, bei der API ebenso. Der Link-Node geht zum Enocean Output-Node.
Hi danke
ich kann den Link node irgendwie nicht mit dem Output verbinden. Die linie ist gestrichelt.
Kannst du bitte deinen Kommentar nochmal bearbeiten. Wenn dort der ganze Flow da steht sieht das echt … aus.
Bitte die flows als Datei oder als vorformatierter Text einstellen.
Danke dir
Edit : Danke so ist es etwas übersichtlicher wieder
Ich habe den Enocean Output-Node in einem anderen Flow. Über zwei Link-Nodes verbindest du die halt.
im debug wird nun {„payload“:„55000a0701eba5fc01a608ffd498010103ffffffffff003b“,„return“:{„syncByte“:85,„header“:{„dataLength“:1,„optionalLength“:0,„packetType“:2},„crc8Header“:101,„data“:[0],„optionalData“:,„crc8Data“:0},„_msgid“:„bad48385.bf4b8“}
gesendet aber im homee wird nichts angelernt
Ich bin jetzt nicht ganz bei deiner Sache.
Welchen Flow hast du benutz und welches Gerät magst du wie anlernen an homee?
Hast du von @SteffenTM den flow genommen den er eingestellt hat ?
VG
Ich habe von Steffen den Workflow von Underground genommen und dann den flow zum anlernen von medicus07 vom 3. Oktober. In Homee habe ich nun auch ein Gerät Wetterstation angelernt. Allerdings irgendwie bekommt dies keine Werte
Hast du dir die richtige EEP von deinem angelernten Gerät gesucht? Da siehst du dann auch die Daten, welche du verwenden kannst.
Also in den Beispielen hier für die Wetterstation steht:
{
“meta”: {
“eep”: “a5-13-01”,
“channel”: 2,
“type”: “teach-in”
},
“teach-in”: {
“type”: “4BS”
},
“data”: {
“LRN”: 0
}
}
so habe ich das auch angelernt. In dem Flow von Steffen zur Wetterstation gehen drei dinge zur Output node: “Sonneneinstrahlung”, “Temperatur und Luftfeuchtigkeit” und “Lufdruck”
Diese habe ich geöffnet und dort die eep von oben (also “a5-13-01”) reingeschrieben. Scheint aber nicht viel zu passieren.
var bar = msg.payload;
var message = {“meta”:{“eep”:“a5-13-01”,“channel”:2,“type”:“data”},“data”:{“BAR”:bar}};
msg.payload = message;
return msg;
Mein Input Node meldet beim erfolgreichen Einlernen folgendes
18.10.2019, 13:15:26node: cbd6e1b0.88107msg.payload : string[48]
“55000a0701eba54c0ffff0050a0e148000ffd498052c0040”
Wie schaut dein msg.payload hinter dem Konvertierungs-Node aus?
Sollte so aussehen:
object
observations: array[1]
0: object
stationID: “…”
obsTimeUtc: “2019-10-18T13:59:37Z”
obsTimeLocal: “2019-10-18 15:59:37”
neighborhood: “…”
softwareType: “EasyWeatherV1.2.0”
country: “DE”
solarRadiation: 57.3
lon: …
realtimeFrequency: null
epoch: 1571407177
lat: …
uv: 0
winddir: 152
humidity: 95
qcStatus: 1
metric: object
temp: 10
heatIndex: 10
dewpt: 10
windChill: 10
windSpeed: 0
windGust: 0
pressure: 1001.69
precipRate: 0
precipTotal: 3.81
elev: 356
roger, wenn ich ein debug node setze dann sieht das so aus.
Jungs das ist ein Wiki.
Irgendwie leer…
ähm, stelle ich zu viele Fragen? Wenn ja sorry. Ich vermute ich habe irgendwas einfaches Übersehen.
@SteffenTM hier der gesamte Flow den ich von dir haben. Besten Dank schonmal, aber irgendwas habe ich übersehen
[
{
"id": "17dbcaef.01b335",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
"id": "a58fc7e9.d67488",
"type": "http request",
"z": "17dbcaef.01b335",
"name": "Wunderground",
"method": "GET",
"ret": "txt",
"paytoqs": false,
"url": "https://api.weather.com/v2/pws/observations/current?stationId=xxx&format=json&units=m&apiKey=xxx",
"tls": "",
"proxy": "",
"authType": "basic",
"x": 678.3333129882812,
"y": 274,
"wires": [
[
"124d8f6b.e146c1"
]
]
},
{
"id": "3566a6f8.ecc4ca",
"type": "inject",
"z": "17dbcaef.01b335",
"name": "Start Wetterdaten",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "60",
"crontab": "",
"once": true,
"onceDelay": "",
"x": 688.3333129882812,
"y": 234,
"wires": [
[
"a58fc7e9.d67488"
]
]
},
{
"id": "9252b005.e4e02",
"type": "json",
"z": "17dbcaef.01b335",
"name": "Konvertieren zu Objekt",
"property": "payload",
"action": "",
"pretty": false,
"x": 698.3333129882812,
"y": 354,
"wires": [
[
"7342774f.1e75d8",
"5874981a.010cb8",
"84032879.7d48f8",
"73c00b3a.064a24",
"6ca14ff7.b54d4",
"26fc7aed.3e4fd6",
"9792c427.c1e598",
"68c45846.ca81a8",
"9fbdb80b.686048",
"1d720d27.852853",
"6f0cc656.776948",
"764c2e12.3a261"
]
]
},
{
"id": "124d8f6b.e146c1",
"type": "delay",
"z": "17dbcaef.01b335",
"name": "",
"pauseType": "delay",
"timeout": "3",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"x": 678.3333129882812,
"y": 314,
"wires": [
[
"9252b005.e4e02"
]
]
},
{
"id": "f390c4e7.2be638",
"type": "ui_gauge",
"z": "17dbcaef.01b335",
"name": "",
"group": "47897e6f.26b96",
"order": 1,
"width": 8,
"height": 5,
"gtype": "gage",
"title": "Sonnenstrahlung",
"label": "W/m²",
"format": "{{value}}",
"min": 0,
"max": "1000",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"x": 1248.3333129882812,
"y": 94,
"wires": []
},
{
"id": "279a058d.66e39a",
"type": "ui_gauge",
"z": "17dbcaef.01b335",
"name": "",
"group": "3afd6b02.b10174",
"order": 2,
"width": 8,
"height": 5,
"gtype": "gage",
"title": "Regenmenge total",
"label": "",
"format": "{{value}} mm",
"min": 0,
"max": "100",
"colors": [
"#006bb5",
"#0045b5",
"#000fb5"
],
"seg1": "",
"seg2": "",
"x": 1248.3333129882812,
"y": 494,
"wires": []
},
{
"id": "7342774f.1e75d8",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Regenmenge total",
"func": "msg.payload=msg.payload.observations[0].metric.precipTotal;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 1008.3333129882812,
"y": 494,
"wires": [
[
"279a058d.66e39a"
]
]
},
{
"id": "5874981a.010cb8",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Windrichtung",
"func": "msg.payload=msg.payload.observations[0].winddir;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 988.3333129882812,
"y": 294,
"wires": [
[
"d3fd83f1.c2f4d"
]
]
},
{
"id": "d3fd83f1.c2f4d",
"type": "ui_gauge",
"z": "17dbcaef.01b335",
"name": "",
"group": "46926e78.85f8e",
"order": 1,
"width": 8,
"height": 5,
"gtype": "compass",
"title": "Windrichtung",
"label": "",
"format": "{{value}} °",
"min": 0,
"max": "360",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"x": 1268.3333129882812,
"y": 294,
"wires": []
},
{
"id": "6b7e51c2.82a16",
"type": "ui_chart",
"z": "17dbcaef.01b335",
"name": "",
"group": "5cf19841.e05488",
"order": 3,
"width": "35",
"height": "6",
"label": "Sonnenstrahlung",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "0",
"ymax": "1000",
"removeOlder": "16",
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": 0,
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"useOldStyle": false,
"outputs": 1,
"x": 1248.3333129882812,
"y": 134,
"wires": [
[]
]
},
{
"id": "84032879.7d48f8",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Sonnenstrahlung",
"func": "msg.payload=msg.payload.observations[0].solarRadiation;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 1008.3333129882812,
"y": 114,
"wires": [
[
"f390c4e7.2be638",
"6b7e51c2.82a16",
"119ebf0b.f20281"
]
]
},
{
"id": "73c00b3a.064a24",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Temperatur",
"func": "msg.payload=msg.payload.observations[0].metric.temp;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 988.3333129882812,
"y": 194,
"wires": [
[
"381dd5a0.84fc6a",
"597e9f61.702da"
]
]
},
{
"id": "381dd5a0.84fc6a",
"type": "ui_gauge",
"z": "17dbcaef.01b335",
"name": "",
"group": "4e8c2aaa.911744",
"order": 1,
"width": 8,
"height": 5,
"gtype": "gage",
"title": "Temperatur",
"label": "",
"format": "{{value}} °C",
"min": "-20",
"max": "40",
"colors": [
"#001fb5",
"#02d600",
"#ca3838"
],
"seg1": "0",
"seg2": "25",
"x": 1268.3333129882812,
"y": 174,
"wires": []
},
{
"id": "68c45846.ca81a8",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Regenmenge aktuell",
"func": "msg.payload=msg.payload.observations[0].metric.precipRate;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 1018.3333129882812,
"y": 434,
"wires": [
[
"fff5ab5e.582838",
"919b679c.ce9d38"
]
]
},
{
"id": "fff5ab5e.582838",
"type": "ui_gauge",
"z": "17dbcaef.01b335",
"name": "",
"group": "3afd6b02.b10174",
"order": 1,
"width": 8,
"height": 5,
"gtype": "gage",
"title": "Regenmenge aktuell",
"label": "",
"format": "{{value}} mm",
"min": 0,
"max": "75",
"colors": [
"#0045b5",
"#0045b5",
"#000fb5"
],
"seg1": "",
"seg2": "",
"x": 1238.3333129882812,
"y": 414,
"wires": []
},
{
"id": "6ca14ff7.b54d4",
"type": "function",
"z": "17dbcaef.01b335",
"name": "UV-Index",
"func": "msg.payload=msg.payload.observations[0].uv;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 978.3333129882812,
"y": 594,
"wires": [
[
"3c6fbb5f.39bcc4",
"ba29d8e.6f63b28"
]
]
},
{
"id": "3c6fbb5f.39bcc4",
"type": "ui_gauge",
"z": "17dbcaef.01b335",
"name": "",
"group": "47897e6f.26b96",
"order": 2,
"width": 8,
"height": 5,
"gtype": "gage",
"title": "UV-Index",
"label": "",
"format": "{{value}}",
"min": 0,
"max": "10",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"x": 1278.3333129882812,
"y": 574,
"wires": []
},
{
"id": "26fc7aed.3e4fd6",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Luftfeuchte",
"func": "msg.payload=msg.payload.observations[0].humidity;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 988.3333129882812,
"y": 254,
"wires": [
[
"b1ab4f56.bf5bf"
]
]
},
{
"id": "b1ab4f56.bf5bf",
"type": "ui_gauge",
"z": "17dbcaef.01b335",
"name": "",
"group": "4e8c2aaa.911744",
"order": 2,
"width": 8,
"height": 5,
"gtype": "gage",
"title": "Luftfeuchte",
"label": "",
"format": "{{value}} %",
"min": "0",
"max": "100",
"colors": [
"#00b500",
"#00b500",
"#00b500"
],
"seg1": "",
"seg2": "",
"x": 1268.3333129882812,
"y": 254,
"wires": []
},
{
"id": "597e9f61.702da",
"type": "ui_chart",
"z": "17dbcaef.01b335",
"name": "",
"group": "5cf19841.e05488",
"order": 1,
"width": "35",
"height": "6",
"label": "Temperatur",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "-20",
"ymax": "40",
"removeOlder": "16",
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": 0,
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"useOldStyle": false,
"outputs": 1,
"x": 1268.3333129882812,
"y": 214,
"wires": [
[]
]
},
{
"id": "9792c427.c1e598",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Windgeschwindigkeit",
"func": "msg.payload=msg.payload.observations[0].metric.windSpeed;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 1018.3333129882812,
"y": 354,
"wires": [
[
"32f4b9c.83bfc46",
"5c841f91.1730c"
]
]
},
{
"id": "32f4b9c.83bfc46",
"type": "ui_gauge",
"z": "17dbcaef.01b335",
"name": "",
"group": "46926e78.85f8e",
"order": 2,
"width": 8,
"height": 5,
"gtype": "gage",
"title": "Windgeschwindigkeit",
"label": "",
"format": "{{value}} km/h",
"min": 0,
"max": "50",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"x": 1238.3333129882812,
"y": 334,
"wires": []
},
{
"id": "5c841f91.1730c",
"type": "ui_chart",
"z": "17dbcaef.01b335",
"name": "",
"group": "5cf19841.e05488",
"order": 2,
"width": "35",
"height": "6",
"label": "Windgeschwindigkeit",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "0",
"ymax": "50",
"removeOlder": "16",
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": 0,
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"useOldStyle": false,
"outputs": 1,
"x": 1238.3333129882812,
"y": 374,
"wires": [
[]
]
},
{
"id": "919b679c.ce9d38",
"type": "ui_chart",
"z": "17dbcaef.01b335",
"name": "",
"group": "5cf19841.e05488",
"order": 4,
"width": "35",
"height": "6",
"label": "Regenmenge aktuell",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "0",
"ymax": "75",
"removeOlder": "16",
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": 0,
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"useOldStyle": false,
"outputs": 1,
"x": 1238.3333129882812,
"y": 454,
"wires": [
[]
]
},
{
"id": "ba29d8e.6f63b28",
"type": "ui_chart",
"z": "17dbcaef.01b335",
"name": "",
"group": "5cf19841.e05488",
"order": 6,
"width": "35",
"height": "6",
"label": "UV-Index",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "0",
"ymax": "10",
"removeOlder": "16",
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": 0,
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"useOldStyle": false,
"outputs": 1,
"x": 1278.3333129882812,
"y": 614,
"wires": [
[]
]
},
{
"id": "9fbdb80b.686048",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Temperatur, Luftfeuchtigkeit",
"func": "var temp = msg.payload.observations[0].metric.temp;\nvar hum = msg.payload.observations[0].humidity;\nvar message = {\"meta\":{\"eep\":\"a5-13-01\",\"channel\":5,\"type\":\"data\",\"status\":1},\"data\":{\"TMP\":temp,\"HUM\":hum}};\nmsg.payload = message;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 1478.3333129882812,
"y": 194,
"wires": [
[]
]
},
{
"id": "119ebf0b.f20281",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Sonnenstrahlung",
"func": "var ill = msg.payload;\nvar message = {\"meta\":{\"eep\":\"a5-13-01\",\"channel\":5,\"type\":\"data\"},\"data\":{\"ILL\":ill}};\nmsg.payload = message;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 1508.3333129882812,
"y": 114,
"wires": [
[]
]
},
{
"id": "1d720d27.852853",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Luftdruck",
"func": "msg.payload=msg.payload.observations[0].metric.pressure;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 978.3333129882812,
"y": 654,
"wires": [
[
"af04ff48.21913"
]
]
},
{
"id": "af04ff48.21913",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Luftdruck",
"func": "var bar = msg.payload;\nvar message = {\"meta\":{\"eep\":\"a5-13-01\",\"channel\":5,\"type\":\"data\"},\"data\":{\"BAR\":bar}};\nmsg.payload = message;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 1538.3333129882812,
"y": 654,
"wires": [
[]
]
},
{
"id": "96ced19f.59731",
"type": "inject",
"z": "17dbcaef.01b335",
"name": "Wetterstation CH5",
"topic": "",
"payload": "{\"meta\":{\"eep\":\"a5-13-01\",\"channel\":5,\"type\":\"teach-in\"},\"teach-in\":{\"type\":\"4BS\"},\"data\":{\"LRN\":0}}",
"payloadType": "json",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 754,
"y": 882,
"wires": [
[
"17733f2b.28e281",
"964b09e3.70ef28"
]
]
},
{
"id": "16f1b352.4138cd",
"type": "inject",
"z": "17dbcaef.01b335",
"name": "Wetterstation werte setzen",
"topic": "",
"payload": "{\"meta\":{\"eep\":\"a5-13-01\",\"channel\":5,\"type\":\"data\",\"status\":1},\"data\":{\"DWS\":5,\"ID\":1,\"TMP\":5,\"WND\":10,\"RAN\":1}}",
"payloadType": "json",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 787.0000152587891,
"y": 983.0001106262207,
"wires": [
[
"17733f2b.28e281",
"d3b4d674.3c22d8"
]
]
},
{
"id": "17733f2b.28e281",
"type": "enocean-out",
"z": "17dbcaef.01b335",
"serialport": "583494b1.c6f0ac",
"name": "enocean",
"logOutput": true,
"x": 1797.6667175292969,
"y": 803.0000238418579,
"wires": [
[
"a2f9f281.4d4aa"
]
]
},
{
"id": "a2f9f281.4d4aa",
"type": "debug",
"z": "17dbcaef.01b335",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 2012.6667232513428,
"y": 534.0000152587891,
"wires": []
},
{
"id": "7ff840b6.80833",
"type": "debug",
"z": "17dbcaef.01b335",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 1796.666748046875,
"y": 191,
"wires": []
},
{
"id": "964b09e3.70ef28",
"type": "debug",
"z": "17dbcaef.01b335",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 929.666748046875,
"y": 807,
"wires": []
},
{
"id": "d3b4d674.3c22d8",
"type": "debug",
"z": "17dbcaef.01b335",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 976.666748046875,
"y": 1010,
"wires": []
},
{
"id": "6f0cc656.776948",
"type": "debug",
"z": "17dbcaef.01b335",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 776.6666870117188,
"y": 481,
"wires": []
},
{
"id": "764c2e12.3a261",
"type": "function",
"z": "17dbcaef.01b335",
"name": "Temperatur",
"func": "var temp = msg.payload.observations[0].metric.temp;\nvar message = {\"meta\":{\"eep\":\"a5-13-01\",\"channel\":5,\"type\":\"data\",\"status\":1},\"data\":{\"TMP\":temp}};\nmsg.payload = message;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 1503.0000381469727,
"y": 259.00000762939453,
"wires": [
[
"7ff840b6.80833",
"17733f2b.28e281"
]
]
},
{
"id": "47897e6f.26b96",
"type": "ui_group",
"z": "",
"name": "Sonne aktuell",
"tab": "bdc9bd5f.aa437",
"order": 5,
"disp": true,
"width": 8,
"collapse": false
},
{
"id": "3afd6b02.b10174",
"type": "ui_group",
"z": "",
"name": "Regen aktuell",
"tab": "bdc9bd5f.aa437",
"order": 4,
"disp": true,
"width": 8,
"collapse": false
},
{
"id": "46926e78.85f8e",
"type": "ui_group",
"z": "",
"name": "Wind aktuell",
"tab": "bdc9bd5f.aa437",
"order": 3,
"disp": true,
"width": 8,
"collapse": false
},
{
"id": "5cf19841.e05488",
"type": "ui_group",
"z": "",
"name": "Charts",
"tab": "ecf8503f.8e843",
"order": 1,
"disp": false,
"width": "35",
"collapse": false
},
{
"id": "4e8c2aaa.911744",
"type": "ui_group",
"z": "",
"name": "Temperatur aktuell",
"tab": "bdc9bd5f.aa437",
"order": 2,
"disp": true,
"width": 8,
"collapse": false
},
{
"id": "583494b1.c6f0ac",
"type": "enocean-config-node",
"z": "",
"serialport": "/dev/ttyUSB0"
},
{
"id": "bdc9bd5f.aa437",
"type": "ui_tab",
"z": "",
"name": "Wetterdaten aktuell",
"icon": "wb_sunny",
"order": 5,
"disabled": false,
"hidden": false
},
{
"id": "ecf8503f.8e843",
"type": "ui_tab",
"z": "",
"name": "Wetterdaten Charts",
"icon": "fa-line-chart",
"order": 7,
"disabled": false,
"hidden": false
}
]
Könnte das ein Mod ( @hblaschka @Kappezkopp @coffeelover @Wildsparrow) mal in ein separates Thema packen ? Danke
Ab Beitrag 110
Passt das?
Perfekt danke
Nochmal die Frage was du hinter dem Konvertierungs-Node für Daten erhältst? Wenn da nix ankommt, dann funktioniert deine API nicht.