Object Object in front of message

Hi

I have 2 questions. For my morning routine, I want my speaker to tell me 'Good morning, Christophe', read my calendar, tell me the weather and de sunrise/sunset times.

The first question is for the last two (the weather and sunrise/sunset times). I have a function for it, which gets everything from the openweather api and spits out the output. Problem is, it puts the words '[object Object]' in front of it. The function is:

var now = new Date();
var location = "Beringen";
var weather = msg.payload.daily[0].weather[0].main;
var currentTemp = msg.payload.current.temp;
var weatherToday = msg.payload.daily[0].weather[0].description;
var maxTemp = msg.payload.daily[0].temp.max;
var minTemp = msg.payload.daily[0].temp.min;
var feelTemp = msg.payload.daily[0].feels_like.day;
var sunrise = msg.data.current.sunrise;
var sunriseDate = new Date(sunrise * 1000);
var sunriseHour = sunriseDate.getHours();
var sunriseMin = sunriseDate.getMinutes();
var sunset = msg.data.current.sunset;
var sunsetDate = new Date(sunset * 1000);
var sunsetHour = sunsetDate.getHours();
var sunsetMin = sunsetDate.getMinutes();
var fullmsg = "The weather in " + location + " is " + weather + " at " + currentTemp + " degrees. Today is expected to be " + weatherToday + " with a high of " + maxTemp + ", a low of " + minTemp + " and it will feel like " + feelTemp + " degrees.";

if(sunriseHour > now.getHours()){
    fullmsg += "The sun will riset at ";
} else {
    fullmsg += "The sun rose at ";
}
if (sunriseHour < 10)
{
    fullmsg += 0;
}
fullmsg += sunriseHour + ":";
if (sunriseMin < 10)
{
    fullmsg += 0;
}
fullmsg += sunriseMin;

if(sunsetHour > now.getHours()){
    fullmsg += " and will set at ";
} else {
    fullmsg += " and was set at ";
}
fullmsg += sunsetHour;
fullmsg += ":";
if (sunsetMin < 10)
{
   fullmsg += 0;
}
fullmsg += sunsetMin;

msg.payload += fullmsg;
return msg;

so, how could I get rid of the [object Object] text?

The second question is, when I have the whole message ('Good morning Christophe. You have a calendar event called ... at .... The weather in Beringen is clouds with a hight of....The sun will rise at .. and set at ..'), it reads the . (dots) aloud, so it says: Good moning Christophe dot You have a calendar...dot The weather in Beringen is ... dot The sun....

Hope anyone can help me here. FYI: still new to this all.

Regards

Can you show us what you mean with the objects output please? Feed it into a debug node.

[Edit] Oh, I see it you have

Which will append the message to whatever is in the payload already, which is presumable the Object. Change it to
msg.payload = fullmsg

Ok, I get that, but there is already text in the payload, it already has: "Good morning, Christophe. You have an event on your calendar called ... at ... (and after this, the weather should come)"

Here is the output:

image

and the nodes:

[{"id":"c1a307c9.6c0d98","type":"tab","label":"Morning routine","disabled":false,"info":""},{"id":"a120de63.0d68d","type":"api-call-service","z":"c1a307c9.6c0d98","name":"Lights on bedroom","server":"6ab5feac.b916d","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.bedroom","data":"{\"profile\":\"relax\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":530,"y":340,"wires":[["a474c21f.62c0e"]]},{"id":"b25102af.4e59e","type":"api-current-state","z":"c1a307c9.6c0d98","name":"get work calendar","server":"6ab5feac.b916d","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"calendar.work","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":530,"y":420,"wires":[["3ac4ebba.c59a84"]]},{"id":"c3076a75.a9e438","type":"api-current-state","z":"c1a307c9.6c0d98","name":"get main calendar","server":"6ab5feac.b916d","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"calendar.main","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":530,"y":480,"wires":[["74da2db4.7a2f74"]]},{"id":"f657cf45.f62d4","type":"api-current-state","z":"c1a307c9.6c0d98","name":"get family calendar","server":"6ab5feac.b916d","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"calendar.family","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":530,"y":580,"wires":[["531ed66e.faa408"]]},{"id":"3ac4ebba.c59a84","type":"function","z":"c1a307c9.6c0d98","name":"Work event today?","func":"var nextWork = msg.data.attributes.start_time;\nvar work_date = new Date(nextWork);\nvar today = new Date();\nvar nextWorkTitle = msg.data.attributes.message;\nvar nextWorkTime = msg.data.attributes.start_time;\n\nmsg.payload = \"Good morning, Christophe. \";\n\nif((work_date.getDate() === today.getDate()) &&\n    (work_date.getMonth() === today.getMonth()) &&\n    (work_date.getFullYear() === today.getFullYear())){\n    \n    if(nextWorkTitle !== \"undefined\" && nextWorkTime !== \"undefined\"){\n        msg.payload += \"You have a work event called: \" + nextWorkTitle + \" at \" + nextWorkTime;\n    } else{\n        msg.payload += \"You don't have any work events anymore today.\";\n    }\n} else {\n    msg.payload += \"There are no work events today.\";\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":750,"y":420,"wires":[["66a1a2d4.05b59c"]]},{"id":"26acf3d9.4282ac","type":"function","z":"c1a307c9.6c0d98","name":"Main event today?","func":"var nextMain = msg.data.attributes.start_time;\nvar main_date = new Date(nextMain);\nvar today = new Date();\nvar nextMainTitle = msg.data.attributes.message;\nvar nextMainTime = msg.data.attributes.start_time;\n\nif((main_date.getDate() === today.getDate()) &&\n    (main_date.getMonth() === today.getMonth()) &&\n    (main_date.getFullYear() === today.getFullYear())){\n    \n    if(nextMainTitle !== \"undefined\" && nextMainTime !== \"undefined\"){\n        msg.payload += \"You have a main event called: \" + nextMainTitle + \" at \" + nextMainTime;\n    } else{\n        msg.payload += \"You don't have any main events anymore today\";\n    }\n} else {\n    msg.payload = \"There are no main events today.\";\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":910,"y":480,"wires":[["66a1a2d4.05b59c"]]},{"id":"5456bf66.efda5","type":"function","z":"c1a307c9.6c0d98","name":"Family event today?","func":"var nextFamily = msg.data.attributes.start_time;\nvar family_date = new Date(nextFamily);\nvar today = new Date();\nvar nextFamilyTitle = msg.data.attributes.message;\nvar nextFamilyTime = msg.data.attributes.start_time;\n\nif((family_date.getDate() === today.getDate()) &&\n    (family_date.getMonth() === today.getMonth()) &&\n    (family_date.getFullYear() === today.getFullYear())){\n    \n    if(nextFamilyTitle !== \"undefined\" && nextFamilyTime !== \"undefined\"){\n        msg.payload += \"You have a family event called: \" + nextFamilyTitle + \" at \" + nextFamilyTime;\n    } else {\n        msg.payload += \"You don't have any family evnents anymore today.\";\n    }\n} else {\n    msg.payload = \"There are no family events today.\";\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":920,"y":580,"wires":[["66a1a2d4.05b59c"]]},{"id":"66a1a2d4.05b59c","type":"join","z":"c1a307c9.6c0d98","name":"Join the messages","mode":"custom","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":" ","joinerType":"str","accumulate":false,"timeout":"","count":"4","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1190,"y":480,"wires":[["8c6ef48a.10a468"]]},{"id":"e5bb2fa.356aed","type":"openweathermap","z":"c1a307c9.6c0d98","name":"","wtype":"onecall","lon":"5.22","lat":"51.05","city":"","country":"","language":"en","x":550,"y":660,"wires":[["3aa5840c.96547c"]]},{"id":"93250a1f.096d68","type":"function","z":"c1a307c9.6c0d98","name":"Weather","func":"var now = new Date();\nvar location = \"Beringen\";\nvar weather = msg.payload.daily[0].weather[0].main;\nvar currentTemp = msg.payload.current.temp;\nvar weatherToday = msg.payload.daily[0].weather[0].description;\nvar maxTemp = msg.payload.daily[0].temp.max;\nvar minTemp = msg.payload.daily[0].temp.min;\nvar feelTemp = msg.payload.daily[0].feels_like.day;\nvar sunrise = msg.data.current.sunrise;\nvar sunriseDate = new Date(sunrise * 1000);\nvar sunriseHour = sunriseDate.getHours();\nvar sunriseMin = sunriseDate.getMinutes();\nvar sunset = msg.data.current.sunset;\nvar sunsetDate = new Date(sunset * 1000);\nvar sunsetHour = sunsetDate.getHours();\nvar sunsetMin = sunsetDate.getMinutes();\nvar fullmsg = \"The weather in \" + location + \" is \" + weather + \" at \" + currentTemp + \" degrees. Today is expected to be \" + weatherToday + \" with a high of \" + maxTemp + \", a low of \" + minTemp + \" and it will feel like \" + feelTemp + \" degrees.\";\n\nif(sunriseHour > now.getHours()){\n    fullmsg += \"The sun will rise at \";\n} else {\n    fullmsg += \"The sun rose at \";\n}\nif (sunriseHour < 10)\n{\n    fullmsg += 0;\n}\nfullmsg += sunriseHour + \":\";\nif (sunriseMin < 10)\n{\n    fullmsg += 0;\n}\nfullmsg += sunriseMin;\n\nif(sunsetHour > now.getHours()){\n    fullmsg += \" and will set at \";\n} else {\n    fullmsg += \" and was set at \";\n}\nfullmsg += sunsetHour;\nfullmsg += \":\";\nif (sunsetMin < 10)\n{\n   fullmsg += 0;\n}\nfullmsg += sunsetMin;\n\nmsg.payload += fullmsg;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":900,"y":660,"wires":[["66a1a2d4.05b59c"]]},{"id":"8c6ef48a.10a468","type":"function","z":"c1a307c9.6c0d98","name":"Set the volume","func":"var now = new Date();\nvar hh = now.getHours();\n\nif(hh > 9 || hh < 22){\n    msg.volume = 60;\n    return msg;\n}else{\n    msg.volume = 30;\n    return msg;\n}","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1380,"y":480,"wires":[["1c8e358a.d1cf8a"]]},{"id":"95e84d04.d8dab","type":"ha-webhook","z":"c1a307c9.6c0d98","name":"Morning activation","server":"6ab5feac.b916d","outputs":1,"webhookId":"morning","payloadLocation":"payload","payloadLocationType":"msg","headersLocation":"","headersLocationType":"none","x":90,"y":520,"wires":[["7ef2f74.0e56208"]]},{"id":"a474c21f.62c0e","type":"stoptimer","z":"c1a307c9.6c0d98","duration":"5","units":"Minute","payloadtype":"num","payloadval":"0","name":"wait 5 minutes","x":760,"y":340,"wires":[["53274132.3267d"],[]]},{"id":"53274132.3267d","type":"api-call-service","z":"c1a307c9.6c0d98","name":"Lights off bedroom","server":"6ab5feac.b916d","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"light.bedroom","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":950,"y":340,"wires":[[]]},{"id":"7ef2f74.0e56208","type":"api-current-state","z":"c1a307c9.6c0d98","name":"christophe home?","server":"6ab5feac.b916d","version":1,"outputs":2,"halt_if":"Home","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_select.christophe","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":310,"y":520,"wires":[["a120de63.0d68d","e5bb2fa.356aed","b25102af.4e59e","c3076a75.a9e438","f657cf45.f62d4"],[]]},{"id":"68f5f362.2d657c","type":"inject","z":"c1a307c9.6c0d98","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":660,"wires":[["7ef2f74.0e56208"]]},{"id":"a9f4a321.67841","type":"join-message","z":"c1a307c9.6c0d98","name":"send to phone","text":"","title":"","url":"","notificationicon":"","joinConfig":"95c9ad7f.6b91a","x":1960,"y":480,"wires":[[]]},{"id":"1c8e358a.d1cf8a","type":"function","z":"c1a307c9.6c0d98","name":"","func":"msg.text = msg.payload\nmsg.title = \"Good morning\"\nmsg.devices = \"chaos mobile\"\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1540,"y":480,"wires":[["3dcc5793.a3dfa8"]]},{"id":"508c0ac5.8cca04","type":"cronplus","z":"c1a307c9.6c0d98","name":"describer","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[],"x":520,"y":800,"wires":[[]]},{"id":"65bc085.bc865f8","type":"change","z":"c1a307c9.6c0d98","name":"Describe solar events","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"command\":\"describe\",\"expressionType\":\"solar\",\"solarType\":\"selected\",\"solarEvents\":\"sunrise,sunset\",\"location\":\"51.05 5.22\"}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":800,"wires":[["508c0ac5.8cca04"]]},{"id":"74da2db4.7a2f74","type":"stoptimer","z":"c1a307c9.6c0d98","duration":"5","units":"Second","payloadtype":"num","payloadval":"0","name":"wait 5 seconds","x":720,"y":480,"wires":[["26acf3d9.4282ac"],[]]},{"id":"531ed66e.faa408","type":"stoptimer","z":"c1a307c9.6c0d98","duration":"10","units":"Second","payloadtype":"num","payloadval":"0","name":"wait 10seconds","x":720,"y":580,"wires":[["5456bf66.efda5"],[]]},{"id":"3aa5840c.96547c","type":"stoptimer","z":"c1a307c9.6c0d98","duration":"20","units":"Second","payloadtype":"num","payloadval":"0","name":"wait 20seconds","x":740,"y":660,"wires":[["93250a1f.096d68"],[]]},{"id":"3dcc5793.a3dfa8","type":"debug","z":"c1a307c9.6c0d98","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1740,"y":560,"wires":[]},{"id":"6ab5feac.b916d","type":"server","z":"","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"95c9ad7f.6b91a","type":"join-config","z":"","name":"chaosha","register":true}]

payload is an object

here you append fullmsg to an object


proof...

...
if (sunsetMin < 10)
{
   fullmsg += 0;
}
fullmsg += sunsetMin;
node.warn(typeof msg.payload); //<< add this
msg.payload += fullmsg;
return msg;

Check what the payload looks like on the way into that function node.

Ok, so how shoud I fix it? Do I change fullmsg to msg.payload of what do I do?

Without fully understanding your flow - it looks to me like you simply need to do

msg.payload = fullmsg;
return msg;
1 Like

No can do, cause that would replace all the text, and I still need the Good morning/calendar anouncements that come before the weather :frowning:

where do they come from - msg.payload?

what happens if you do this...

var temp = msg.payload.toString();
msg.payload = temp + ". " + fullmsg;
return msg;

PS, put debug nodes before and after this function and let us see what is going on.

It comes from the openweathermap node. That one already gives an Object (that is why you say that it is already an Object, you are right, but I don't know how to fix it, that's it), than the function runs and gives a string appended to the first Object. Finally it spits out the whole message as a string. Here's the output of the 3 debug nodes (one after the openweathermap, one after the function, one after the whole message):

Still cant see where "Good morning" is coming from.

You do this: msg.payload += fullmsg; which suggests it is in msg.payload but this doesnt make sense as it is clearly an object.

The Good morning comes from the calendar check, since it's the first thing it checks, I added a string in front of it to just say Good morning. Here's the code of the calendar check:

var nextWork = msg.data.attributes.start_time;
var work_date = new Date(nextWork);
var today = new Date();
var nextWorkTitle = msg.data.attributes.message;
var nextWorkTime = msg.data.attributes.start_time;

msg.payload = "Good morning, Christophe. ";

if((work_date.getDate() === today.getDate()) &&
    (work_date.getMonth() === today.getMonth()) &&
    (work_date.getFullYear() === today.getFullYear())){
    
    if(nextWorkTitle !== "undefined" && nextWorkTime !== "undefined"){
        msg.payload += "You have a work event called: " + nextWorkTitle + " at " + nextWorkTime;
    } else{
        msg.payload += "You don't have any work events anymore today.";
    }
} else {
    msg.payload += "There are no work events today.";
}
return msg;

After this, it check 2 different calendars in the same way, except for the 'Good morning' part then, and then doest the weather/sunrise/sunset.

Edit: just did an output check on this function, it returns a string. So it is only converted into an Object when the openweathermap node runs on it.

So i think i know the issue - its in one of your other functions.

Grab a copy of all messages going into your join node...

image

then paste them like this...

debug 1...
```
the copied msg pasted here between backticks
```

debug 2...
```
the copied msg
```

Steve is correct here
run this example and see the two different outputs.

[{"id":"36c10362.a63dec","type":"inject","z":"185fe998.93524e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"},{"p":"location","v":"{\"lat\":52,\"lon\":5}","vt":"json"},{"p":"data","v":"{\"lat\":52,\"lon\":5,\"timezone\":\"Europe/Amsterdam\",\"timezone_offset\":3600,\"current\":{\"dt\":1607278483,\"sunrise\":1607239973,\"sunset\":1607268589,\"temp\":2.69,\"feels_like\":-0.15,\"pressure\":1000,\"humidity\":95,\"dew_point\":1.97,\"uvi\":0,\"clouds\":99,\"visibility\":10000,\"wind_speed\":1.66,\"wind_deg\":349,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}]},\"minutely\":[{\"dt\":1607278500,\"precipitation\":0},{\"dt\":1607282100,\"precipitation\":0}],\"hourly\":[{\"dt\":1607277600,\"temp\":2.69,\"feels_like\":-0.15,\"pressure\":1000,\"humidity\":95,\"dew_point\":1.97,\"uvi\":0,\"clouds\":99,\"visibility\":10000,\"wind_speed\":1.66,\"wind_deg\":349,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607446800,\"temp\":1.64,\"feels_like\":-1.61,\"pressure\":1006,\"humidity\":89,\"dew_point\":0.1,\"uvi\":0,\"clouds\":0,\"visibility\":10000,\"wind_speed\":1.81,\"wind_deg\":50,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01n\"}],\"pop\":0}],\"daily\":[{\"dt\":1607252400,\"sunrise\":1607239973,\"sunset\":1607268589,\"temp\":{\"day\":3.82,\"min\":0.82,\"max\":4.6,\"night\":3.25,\"eve\":2.8,\"morn\":0.84},\"feels_like\":{\"day\":0.22,\"night\":-0.93,\"eve\":-0.11,\"morn\":-2.97},\"pressure\":1001,\"humidity\":80,\"dew_point\":0.76,\"wind_speed\":2.45,\"wind_deg\":59,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04d\"}],\"clouds\":100,\"pop\":0.08,\"uvi\":0.38},{\"dt\":1607511600,\"sunrise\":1607499382,\"sunset\":1607527734,\"temp\":{\"day\":3.4,\"min\":0.21,\"max\":3.96,\"night\":0.65,\"eve\":1.05,\"morn\":0.25},\"feels_like\":{\"day\":0.71,\"night\":-1.92,\"eve\":-1.12,\"morn\":-2.56},\"pressure\":1011,\"humidity\":81,\"dew_point\":0.57,\"wind_speed\":1.1,\"wind_deg\":19,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"clouds\":0,\"pop\":0,\"uvi\":0.5},{\"dt\":1607598000,\"sunrise\":1607585847,\"sunset\":1607614123,\"temp\":{\"day\":3.28,\"min\":-0.15,\"max\":3.28,\"night\":0.1,\"eve\":0.43,\"morn\":-0.15},\"feels_like\":{\"day\":0.48,\"night\":-2.89,\"eve\":-2.39,\"morn\":-3.36},\"pressure\":1009,\"humidity\":78,\"dew_point\":-0.45,\"wind_speed\":1.13,\"wind_deg\":123,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"clouds\":8,\"pop\":0,\"uvi\":0.55},{\"dt\":1607684400,\"sunrise\":1607672309,\"sunset\":1607700514,\"temp\":{\"day\":3.11,\"min\":-0.44,\"max\":3.11,\"night\":0.27,\"eve\":0.52,\"morn\":-0.44},\"feels_like\":{\"day\":-0.56,\"night\":-3.86,\"eve\":-3.61,\"morn\":-3.86},\"pressure\":1008,\"humidity\":79,\"dew_point\":-0.26,\"wind_speed\":2.37,\"wind_deg\":143,\"weather\":[{\"id\":801,\"main\":\"Clouds\",\"description\":\"few clouds\",\"icon\":\"02d\"}],\"clouds\":14,\"pop\":0,\"uvi\":0.56},{\"dt\":1607770800,\"sunrise\":1607758768,\"sunset\":1607786910,\"temp\":{\"day\":4.04,\"min\":0.35,\"max\":4.04,\"night\":2.66,\"eve\":2.66,\"morn\":1.5},\"feels_like\":{\"day\":-0.08,\"night\":-0.29,\"eve\":-0.67,\"morn\":-2.98},\"pressure\":1006,\"humidity\":79,\"dew_point\":0.82,\"wind_speed\":3.2,\"wind_deg\":129,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"clouds\":100,\"pop\":0.32,\"rain\":0.57,\"uvi\":1},{\"dt\":1607857200,\"sunrise\":1607845224,\"sunset\":1607873309,\"temp\":{\"day\":5.94,\"min\":2.69,\"max\":6.22,\"night\":6.22,\"eve\":5.68,\"morn\":3.01},\"feels_like\":{\"day\":1.72,\"night\":1.1,\"eve\":0.74,\"morn\":-0.02},\"pressure\":1014,\"humidity\":89,\"dew_point\":4.39,\"wind_speed\":4.22,\"wind_deg\":185,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"clouds\":100,\"pop\":0.36,\"rain\":0.19,\"uvi\":1}]}","vt":"json"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"current\":{\"dt\":1607278483,\"sunrise\":1607239973,\"sunset\":1607268589,\"temp\":2.69,\"feels_like\":-0.15,\"pressure\":1000,\"humidity\":95,\"dew_point\":1.97,\"uvi\":0,\"clouds\":99,\"visibility\":10000,\"wind_speed\":1.66,\"wind_deg\":349,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}]},\"hourly\":[{\"dt\":1607277600,\"temp\":2.69,\"feels_like\":-0.15,\"pressure\":1000,\"humidity\":95,\"dew_point\":1.97,\"uvi\":0,\"clouds\":99,\"visibility\":10000,\"wind_speed\":1.66,\"wind_deg\":349,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607281200,\"temp\":2.64,\"feels_like\":-0.2,\"pressure\":1000,\"humidity\":92,\"dew_point\":1.47,\"uvi\":0,\"clouds\":99,\"visibility\":10000,\"wind_speed\":1.55,\"wind_deg\":332,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.04},{\"dt\":1607284800,\"temp\":2.7,\"feels_like\":-0.51,\"pressure\":999,\"humidity\":91,\"dew_point\":1.38,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":2.05,\"wind_deg\":303,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.04},{\"dt\":1607288400,\"temp\":2.62,\"feels_like\":-0.91,\"pressure\":999,\"humidity\":91,\"dew_point\":1.3,\"uvi\":0,\"clouds\":99,\"visibility\":10000,\"wind_speed\":2.49,\"wind_deg\":285,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.04},{\"dt\":1607292000,\"temp\":3.25,\"feels_like\":-0.93,\"pressure\":999,\"humidity\":89,\"dew_point\":1.61,\"uvi\":0,\"clouds\":99,\"visibility\":10000,\"wind_speed\":3.49,\"wind_deg\":288,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.08},{\"dt\":1607295600,\"temp\":4.01,\"feels_like\":-0.01,\"pressure\":998,\"humidity\":87,\"dew_point\":2.13,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.36,\"wind_deg\":293,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.16},{\"dt\":1607299200,\"temp\":4.47,\"feels_like\":0.37,\"pressure\":998,\"humidity\":87,\"dew_point\":2.66,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.59,\"wind_deg\":295,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.2},{\"dt\":1607302800,\"temp\":4.86,\"feels_like\":0.57,\"pressure\":997,\"humidity\":87,\"dew_point\":3.01,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.95,\"wind_deg\":290,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.2},{\"dt\":1607306400,\"temp\":4.94,\"feels_like\":1.04,\"pressure\":996,\"humidity\":88,\"dew_point\":3.22,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.45,\"wind_deg\":290,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.16},{\"dt\":1607310000,\"temp\":4.93,\"feels_like\":1.79,\"pressure\":995,\"humidity\":90,\"dew_point\":3.44,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":2.45,\"wind_deg\":278,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.28},{\"dt\":1607313600,\"temp\":4.95,\"feels_like\":1.5,\"pressure\":995,\"humidity\":91,\"dew_point\":3.65,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":2.94,\"wind_deg\":268,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10n\"}],\"pop\":0.64,\"rain\":{\"1h\":0.31}},{\"dt\":1607317200,\"temp\":5.37,\"feels_like\":1.41,\"pressure\":996,\"humidity\":91,\"dew_point\":4.13,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.78,\"wind_deg\":274,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10n\"}],\"pop\":0.96,\"rain\":{\"1h\":0.81}},{\"dt\":1607320800,\"temp\":5.58,\"feels_like\":1.15,\"pressure\":995,\"humidity\":91,\"dew_point\":4.32,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":4.51,\"wind_deg\":281,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10n\"}],\"pop\":0.96,\"rain\":{\"1h\":0.44}},{\"dt\":1607324400,\"temp\":5.5,\"feels_like\":1.59,\"pressure\":995,\"humidity\":92,\"dew_point\":4.39,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.79,\"wind_deg\":275,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10n\"}],\"pop\":0.96,\"rain\":{\"1h\":0.63}},{\"dt\":1607328000,\"temp\":5.57,\"feels_like\":1.79,\"pressure\":995,\"humidity\":92,\"dew_point\":4.39,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.62,\"wind_deg\":261,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"pop\":0.92,\"rain\":{\"1h\":0.69}},{\"dt\":1607331600,\"temp\":5.61,\"feels_like\":2.06,\"pressure\":995,\"humidity\":90,\"dew_point\":4.25,\"uvi\":0.09,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.21,\"wind_deg\":251,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"pop\":0.92,\"rain\":{\"1h\":0.44}},{\"dt\":1607335200,\"temp\":6.03,\"feels_like\":2.82,\"pressure\":996,\"humidity\":88,\"dew_point\":4.33,\"uvi\":0.25,\"clouds\":100,\"visibility\":10000,\"wind_speed\":2.75,\"wind_deg\":248,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"pop\":0.92,\"rain\":{\"1h\":0.25}},{\"dt\":1607338800,\"temp\":6.65,\"feels_like\":2.93,\"pressure\":996,\"humidity\":85,\"dew_point\":4.33,\"uvi\":0.35,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.51,\"wind_deg\":229,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04d\"}],\"pop\":0.72},{\"dt\":1607342400,\"temp\":7.13,\"feels_like\":2.72,\"pressure\":996,\"humidity\":82,\"dew_point\":4.37,\"uvi\":0.36,\"clouds\":100,\"visibility\":10000,\"wind_speed\":4.49,\"wind_deg\":222,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"pop\":0.92,\"rain\":{\"1h\":0.25}},{\"dt\":1607346000,\"temp\":7.13,\"feels_like\":2.57,\"pressure\":997,\"humidity\":81,\"dew_point\":4.15,\"uvi\":0.3,\"clouds\":100,\"visibility\":10000,\"wind_speed\":4.66,\"wind_deg\":221,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"pop\":0.8,\"rain\":{\"1h\":0.38}},{\"dt\":1607349600,\"temp\":6.8,\"feels_like\":2.56,\"pressure\":997,\"humidity\":82,\"dew_point\":4,\"uvi\":0.16,\"clouds\":100,\"visibility\":10000,\"wind_speed\":4.16,\"wind_deg\":229,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"pop\":0.76,\"rain\":{\"1h\":0.56}},{\"dt\":1607353200,\"temp\":6.07,\"feels_like\":1.68,\"pressure\":998,\"humidity\":84,\"dew_point\":3.64,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":4.27,\"wind_deg\":222,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"pop\":0.76,\"rain\":{\"1h\":0.44}},{\"dt\":1607356800,\"temp\":5.09,\"feels_like\":0.61,\"pressure\":998,\"humidity\":84,\"dew_point\":2.7,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":4.16,\"wind_deg\":209,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.72},{\"dt\":1607360400,\"temp\":3.85,\"feels_like\":-0.58,\"pressure\":999,\"humidity\":87,\"dew_point\":1.91,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.91,\"wind_deg\":192,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.68},{\"dt\":1607364000,\"temp\":3.24,\"feels_like\":-1.31,\"pressure\":1000,\"humidity\":87,\"dew_point\":1.34,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.94,\"wind_deg\":189,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0.64},{\"dt\":1607367600,\"temp\":2.93,\"feels_like\":-1.39,\"pressure\":1001,\"humidity\":87,\"dew_point\":1.05,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.54,\"wind_deg\":188,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607371200,\"temp\":2.67,\"feels_like\":-1.34,\"pressure\":1001,\"humidity\":88,\"dew_point\":1,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":3.08,\"wind_deg\":180,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607374800,\"temp\":2.41,\"feels_like\":-1.37,\"pressure\":1001,\"humidity\":90,\"dew_point\":0.97,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":2.76,\"wind_deg\":174,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607378400,\"temp\":2.18,\"feels_like\":-1.54,\"pressure\":1002,\"humidity\":90,\"dew_point\":0.82,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":2.63,\"wind_deg\":167,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607382000,\"temp\":2.23,\"feels_like\":-1.45,\"pressure\":1002,\"humidity\":90,\"dew_point\":0.77,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":2.58,\"wind_deg\":158,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607385600,\"temp\":2.23,\"feels_like\":-1.55,\"pressure\":1002,\"humidity\":90,\"dew_point\":0.77,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":2.73,\"wind_deg\":149,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607389200,\"temp\":1.83,\"feels_like\":-1.82,\"pressure\":1002,\"humidity\":90,\"dew_point\":0.5,\"uvi\":0,\"clouds\":100,\"visibility\":10000,\"wind_speed\":2.45,\"wind_deg\":152,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607392800,\"temp\":1.5,\"feels_like\":-1.84,\"pressure\":1002,\"humidity\":90,\"dew_point\":0.13,\"uvi\":0,\"clouds\":74,\"visibility\":10000,\"wind_speed\":1.95,\"wind_deg\":146,\"weather\":[{\"id\":803,\"main\":\"Clouds\",\"description\":\"broken clouds\",\"icon\":\"04n\"}],\"pop\":0},{\"dt\":1607396400,\"temp\":1.19,\"feels_like\":-2.18,\"pressure\":1002,\"humidity\":91,\"dew_point\":-0.19,\"uvi\":0,\"clouds\":50,\"visibility\":10000,\"wind_speed\":1.95,\"wind_deg\":139,\"weather\":[{\"id\":802,\"main\":\"Clouds\",\"description\":\"scattered clouds\",\"icon\":\"03n\"}],\"pop\":0},{\"dt\":1607400000,\"temp\":0.99,\"feels_like\":-2.55,\"pressure\":1003,\"humidity\":92,\"dew_point\":-0.44,\"uvi\":0,\"clouds\":42,\"visibility\":10000,\"wind_speed\":2.19,\"wind_deg\":132,\"weather\":[{\"id\":802,\"main\":\"Clouds\",\"description\":\"scattered clouds\",\"icon\":\"03n\"}],\"pop\":0},{\"dt\":1607403600,\"temp\":0.86,\"feels_like\":-2.63,\"pressure\":1003,\"humidity\":93,\"dew_point\":-0.59,\"uvi\":0,\"clouds\":34,\"visibility\":10000,\"wind_speed\":2.12,\"wind_deg\":127,\"weather\":[{\"id\":802,\"main\":\"Clouds\",\"description\":\"scattered clouds\",\"icon\":\"03n\"}],\"pop\":0},{\"dt\":1607407200,\"temp\":0.73,\"feels_like\":-2.59,\"pressure\":1004,\"humidity\":93,\"dew_point\":-0.68,\"uvi\":0,\"clouds\":28,\"visibility\":10000,\"wind_speed\":1.85,\"wind_deg\":117,\"weather\":[{\"id\":802,\"main\":\"Clouds\",\"description\":\"scattered clouds\",\"icon\":\"03n\"}],\"pop\":0},{\"dt\":1607410800,\"temp\":0.6,\"feels_like\":-2.86,\"pressure\":1004,\"humidity\":94,\"dew_point\":-0.66,\"uvi\":0,\"clouds\":0,\"visibility\":10000,\"wind_speed\":2.05,\"wind_deg\":101,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01n\"}],\"pop\":0},{\"dt\":1607414400,\"temp\":0.57,\"feels_like\":-3.07,\"pressure\":1004,\"humidity\":94,\"dew_point\":-0.56,\"uvi\":0,\"clouds\":0,\"visibility\":10000,\"wind_speed\":2.31,\"wind_deg\":91,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"pop\":0},{\"dt\":1607418000,\"temp\":1.43,\"feels_like\":-2.02,\"pressure\":1004,\"humidity\":90,\"dew_point\":-0.04,\"uvi\":0.16,\"clouds\":7,\"visibility\":10000,\"wind_speed\":2.08,\"wind_deg\":94,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"pop\":0},{\"dt\":1607421600,\"temp\":2.75,\"feels_like\":-0.2,\"pressure\":1004,\"humidity\":84,\"dew_point\":0.46,\"uvi\":0.34,\"clouds\":10,\"visibility\":10000,\"wind_speed\":1.44,\"wind_deg\":103,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"pop\":0},{\"dt\":1607425200,\"temp\":3.96,\"feels_like\":1.17,\"pressure\":1005,\"humidity\":79,\"dew_point\":0.68,\"uvi\":0.47,\"clouds\":7,\"visibility\":10000,\"wind_speed\":1.29,\"wind_deg\":93,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"pop\":0},{\"dt\":1607428800,\"temp\":4.61,\"feels_like\":1.72,\"pressure\":1005,\"humidity\":77,\"dew_point\":0.94,\"uvi\":0.49,\"clouds\":6,\"visibility\":10000,\"wind_speed\":1.49,\"wind_deg\":80,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"pop\":0},{\"dt\":1607432400,\"temp\":4.77,\"feels_like\":1.78,\"pressure\":1005,\"humidity\":77,\"dew_point\":1.19,\"uvi\":0.4,\"clouds\":0,\"visibility\":10000,\"wind_speed\":1.67,\"wind_deg\":67,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"pop\":0},{\"dt\":1607436000,\"temp\":4.37,\"feels_like\":1.47,\"pressure\":1005,\"humidity\":81,\"dew_point\":1.48,\"uvi\":0.21,\"clouds\":0,\"visibility\":10000,\"wind_speed\":1.61,\"wind_deg\":55,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"pop\":0},{\"dt\":1607439600,\"temp\":3.09,\"feels_like\":-0.18,\"pressure\":1005,\"humidity\":86,\"dew_point\":1,\"uvi\":0,\"clouds\":0,\"visibility\":10000,\"wind_speed\":2.04,\"wind_deg\":53,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"pop\":0},{\"dt\":1607443200,\"temp\":2.11,\"feels_like\":-1.32,\"pressure\":1006,\"humidity\":88,\"dew_point\":0.39,\"uvi\":0,\"clouds\":0,\"visibility\":10000,\"wind_speed\":2.14,\"wind_deg\":49,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01n\"}],\"pop\":0},{\"dt\":1607446800,\"temp\":1.64,\"feels_like\":-1.61,\"pressure\":1006,\"humidity\":89,\"dew_point\":0.1,\"uvi\":0,\"clouds\":0,\"visibility\":10000,\"wind_speed\":1.81,\"wind_deg\":50,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01n\"}],\"pop\":0}],\"daily\":[{\"dt\":1607252400,\"sunrise\":1607239973,\"sunset\":1607268589,\"temp\":{\"day\":3.82,\"min\":0.82,\"max\":4.6,\"night\":3.25,\"eve\":2.8,\"morn\":0.84},\"feels_like\":{\"day\":0.22,\"night\":-0.93,\"eve\":-0.11,\"morn\":-2.97},\"pressure\":1001,\"humidity\":80,\"dew_point\":0.76,\"wind_speed\":2.45,\"wind_deg\":59,\"weather\":[{\"id\":804,\"main\":\"Clouds\",\"description\":\"overcast clouds\",\"icon\":\"04d\"}],\"clouds\":100,\"pop\":0.08,\"uvi\":0.38},{\"dt\":1607338800,\"sunrise\":1607326445,\"sunset\":1607354967,\"temp\":{\"day\":6.65,\"min\":2.18,\"max\":7.13,\"night\":2.18,\"eve\":3.85,\"morn\":5.37},\"feels_like\":{\"day\":2.93,\"night\":-1.54,\"eve\":-0.58,\"morn\":1.41},\"pressure\":996,\"humidity\":85,\"dew_point\":4.33,\"wind_speed\":3.51,\"wind_deg\":229,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"clouds\":100,\"pop\":0.96,\"rain\":5.2,\"uvi\":0.36},{\"dt\":1607425200,\"sunrise\":1607412915,\"sunset\":1607441349,\"temp\":{\"day\":3.96,\"min\":0.57,\"max\":4.77,\"night\":0.84,\"eve\":1.64,\"morn\":0.86},\"feels_like\":{\"day\":1.17,\"night\":-2.15,\"eve\":-1.61,\"morn\":-2.63},\"pressure\":1005,\"humidity\":79,\"dew_point\":0.68,\"wind_speed\":1.29,\"wind_deg\":93,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"clouds\":7,\"pop\":0,\"uvi\":0.49},{\"dt\":1607511600,\"sunrise\":1607499382,\"sunset\":1607527734,\"temp\":{\"day\":3.4,\"min\":0.21,\"max\":3.96,\"night\":0.65,\"eve\":1.05,\"morn\":0.25},\"feels_like\":{\"day\":0.71,\"night\":-1.92,\"eve\":-1.12,\"morn\":-2.56},\"pressure\":1011,\"humidity\":81,\"dew_point\":0.57,\"wind_speed\":1.1,\"wind_deg\":19,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"clouds\":0,\"pop\":0,\"uvi\":0.5},{\"dt\":1607598000,\"sunrise\":1607585847,\"sunset\":1607614123,\"temp\":{\"day\":3.28,\"min\":-0.15,\"max\":3.28,\"night\":0.1,\"eve\":0.43,\"morn\":-0.15},\"feels_like\":{\"day\":0.48,\"night\":-2.89,\"eve\":-2.39,\"morn\":-3.36},\"pressure\":1009,\"humidity\":78,\"dew_point\":-0.45,\"wind_speed\":1.13,\"wind_deg\":123,\"weather\":[{\"id\":800,\"main\":\"Clear\",\"description\":\"clear sky\",\"icon\":\"01d\"}],\"clouds\":8,\"pop\":0,\"uvi\":0.55},{\"dt\":1607684400,\"sunrise\":1607672309,\"sunset\":1607700514,\"temp\":{\"day\":3.11,\"min\":-0.44,\"max\":3.11,\"night\":0.27,\"eve\":0.52,\"morn\":-0.44},\"feels_like\":{\"day\":-0.56,\"night\":-3.86,\"eve\":-3.61,\"morn\":-3.86},\"pressure\":1008,\"humidity\":79,\"dew_point\":-0.26,\"wind_speed\":2.37,\"wind_deg\":143,\"weather\":[{\"id\":801,\"main\":\"Clouds\",\"description\":\"few clouds\",\"icon\":\"02d\"}],\"clouds\":14,\"pop\":0,\"uvi\":0.56},{\"dt\":1607770800,\"sunrise\":1607758768,\"sunset\":1607786910,\"temp\":{\"day\":4.04,\"min\":0.35,\"max\":4.04,\"night\":2.66,\"eve\":2.66,\"morn\":1.5},\"feels_like\":{\"day\":-0.08,\"night\":-0.29,\"eve\":-0.67,\"morn\":-2.98},\"pressure\":1006,\"humidity\":79,\"dew_point\":0.82,\"wind_speed\":3.2,\"wind_deg\":129,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"clouds\":100,\"pop\":0.32,\"rain\":0.57,\"uvi\":1},{\"dt\":1607857200,\"sunrise\":1607845224,\"sunset\":1607873309,\"temp\":{\"day\":5.94,\"min\":2.69,\"max\":6.22,\"night\":6.22,\"eve\":5.68,\"morn\":3.01},\"feels_like\":{\"day\":1.72,\"night\":1.1,\"eve\":0.74,\"morn\":-0.02},\"pressure\":1014,\"humidity\":89,\"dew_point\":4.39,\"wind_speed\":4.22,\"wind_deg\":185,\"weather\":[{\"id\":500,\"main\":\"Rain\",\"description\":\"light rain\",\"icon\":\"10d\"}],\"clouds\":100,\"pop\":0.36,\"rain\":0.19,\"uvi\":1}],\"minutely\":[{\"dt\":1607278500,\"precipitation\":0},{\"dt\":1607278560,\"precipitation\":0},{\"dt\":1607278620,\"precipitation\":0},{\"dt\":1607278680,\"precipitation\":0},{\"dt\":1607278740,\"precipitation\":0},{\"dt\":1607278800,\"precipitation\":0},{\"dt\":1607278860,\"precipitation\":0},{\"dt\":1607278920,\"precipitation\":0},{\"dt\":1607278980,\"precipitation\":0},{\"dt\":1607279040,\"precipitation\":0},{\"dt\":1607279100,\"precipitation\":0},{\"dt\":1607279160,\"precipitation\":0},{\"dt\":1607279220,\"precipitation\":0},{\"dt\":1607279280,\"precipitation\":0},{\"dt\":1607279340,\"precipitation\":0},{\"dt\":1607279400,\"precipitation\":0},{\"dt\":1607279460,\"precipitation\":0},{\"dt\":1607279520,\"precipitation\":0},{\"dt\":1607279580,\"precipitation\":0},{\"dt\":1607279640,\"precipitation\":0},{\"dt\":1607279700,\"precipitation\":0},{\"dt\":1607279760,\"precipitation\":0},{\"dt\":1607279820,\"precipitation\":0},{\"dt\":1607279880,\"precipitation\":0},{\"dt\":1607279940,\"precipitation\":0},{\"dt\":1607280000,\"precipitation\":0},{\"dt\":1607280060,\"precipitation\":0},{\"dt\":1607280120,\"precipitation\":0},{\"dt\":1607280180,\"precipitation\":0},{\"dt\":1607280240,\"precipitation\":0},{\"dt\":1607280300,\"precipitation\":0},{\"dt\":1607280360,\"precipitation\":0},{\"dt\":1607280420,\"precipitation\":0},{\"dt\":1607280480,\"precipitation\":0},{\"dt\":1607280540,\"precipitation\":0},{\"dt\":1607280600,\"precipitation\":0},{\"dt\":1607280660,\"precipitation\":0},{\"dt\":1607280720,\"precipitation\":0},{\"dt\":1607280780,\"precipitation\":0},{\"dt\":1607280840,\"precipitation\":0},{\"dt\":1607280900,\"precipitation\":0},{\"dt\":1607280960,\"precipitation\":0},{\"dt\":1607281020,\"precipitation\":0},{\"dt\":1607281080,\"precipitation\":0},{\"dt\":1607281140,\"precipitation\":0},{\"dt\":1607281200,\"precipitation\":0},{\"dt\":1607281260,\"precipitation\":0},{\"dt\":1607281320,\"precipitation\":0},{\"dt\":1607281380,\"precipitation\":0},{\"dt\":1607281440,\"precipitation\":0},{\"dt\":1607281500,\"precipitation\":0},{\"dt\":1607281560,\"precipitation\":0},{\"dt\":1607281620,\"precipitation\":0},{\"dt\":1607281680,\"precipitation\":0},{\"dt\":1607281740,\"precipitation\":0},{\"dt\":1607281800,\"precipitation\":0},{\"dt\":1607281860,\"precipitation\":0},{\"dt\":1607281920,\"precipitation\":0},{\"dt\":1607281980,\"precipitation\":0},{\"dt\":1607282040,\"precipitation\":0},{\"dt\":1607282100,\"precipitation\":0}]}","payloadType":"json","x":750,"y":660,"wires":[["7b3430dd.f7f98","764f321.bcc4a4c"]]},{"id":"7b3430dd.f7f98","type":"function","z":"185fe998.93524e","name":"Weather","func":"var now = new Date();\nvar location = \"Beringen\";\nvar weather = msg.payload.daily[0].weather[0].main;\nvar currentTemp = msg.payload.current.temp;\nvar weatherToday = msg.payload.daily[0].weather[0].description;\nvar maxTemp = msg.payload.daily[0].temp.max;\nvar minTemp = msg.payload.daily[0].temp.min;\nvar feelTemp = msg.payload.daily[0].feels_like.day;\nvar sunrise = msg.data.current.sunrise;\nvar sunriseDate = new Date(sunrise * 1000);\nvar sunriseHour = sunriseDate.getHours();\nvar sunriseMin = sunriseDate.getMinutes();\nvar sunset = msg.data.current.sunset;\nvar sunsetDate = new Date(sunset * 1000);\nvar sunsetHour = sunsetDate.getHours();\nvar sunsetMin = sunsetDate.getMinutes();\nvar fullmsg = \"The weather in \" + location + \" is \" + weather + \" at \" + currentTemp + \" degrees. Today is expected to be \" + weatherToday + \" with a high of \" + maxTemp + \", a low of \" + minTemp + \" and it will feel like \" + feelTemp + \" degrees.\";\n\nif(sunriseHour > now.getHours()){\n    fullmsg += \"The sun will rise at \";\n} else {\n    fullmsg += \"The sun rose at \";\n}\nif (sunriseHour < 10)\n{\n    fullmsg += 0;\n}\nfullmsg += sunriseHour + \":\";\nif (sunriseMin < 10)\n{\n    fullmsg += 0;\n}\nfullmsg += sunriseMin;\n\nif(sunsetHour > now.getHours()){\n    fullmsg += \" and will set at \";\n} else {\n    fullmsg += \" and was set at \";\n}\nfullmsg += sunsetHour;\nfullmsg += \":\";\nif (sunsetMin < 10)\n{\n   fullmsg += 0;\n}\nfullmsg += sunsetMin;\n\nmsg.payload = fullmsg;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":900,"y":660,"wires":[["e272f0b.61ca99"]]},{"id":"764f321.bcc4a4c","type":"function","z":"185fe998.93524e","name":"Weather","func":"var now = new Date();\nvar location = \"Beringen\";\nvar weather = msg.payload.daily[0].weather[0].main;\nvar currentTemp = msg.payload.current.temp;\nvar weatherToday = msg.payload.daily[0].weather[0].description;\nvar maxTemp = msg.payload.daily[0].temp.max;\nvar minTemp = msg.payload.daily[0].temp.min;\nvar feelTemp = msg.payload.daily[0].feels_like.day;\nvar sunrise = msg.data.current.sunrise;\nvar sunriseDate = new Date(sunrise * 1000);\nvar sunriseHour = sunriseDate.getHours();\nvar sunriseMin = sunriseDate.getMinutes();\nvar sunset = msg.data.current.sunset;\nvar sunsetDate = new Date(sunset * 1000);\nvar sunsetHour = sunsetDate.getHours();\nvar sunsetMin = sunsetDate.getMinutes();\nvar fullmsg = \"The weather in \" + location + \" is \" + weather + \" at \" + currentTemp + \" degrees. Today is expected to be \" + weatherToday + \" with a high of \" + maxTemp + \", a low of \" + minTemp + \" and it will feel like \" + feelTemp + \" degrees.\";\n\nif(sunriseHour > now.getHours()){\n    fullmsg += \"The sun will rise at \";\n} else {\n    fullmsg += \"The sun rose at \";\n}\nif (sunriseHour < 10)\n{\n    fullmsg += 0;\n}\nfullmsg += sunriseHour + \":\";\nif (sunriseMin < 10)\n{\n    fullmsg += 0;\n}\nfullmsg += sunriseMin;\n\nif(sunsetHour > now.getHours()){\n    fullmsg += \" and will set at \";\n} else {\n    fullmsg += \" and was set at \";\n}\nfullmsg += sunsetHour;\nfullmsg += \":\";\nif (sunsetMin < 10)\n{\n   fullmsg += 0;\n}\nfullmsg += sunsetMin;\n\nmsg.payload += fullmsg;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":890,"y":700,"wires":[["e272f0b.61ca99"]]},{"id":"e272f0b.61ca99","type":"debug","z":"185fe998.93524e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1090,"y":660,"wires":[]}]
1 Like

debug 1:

{"_msgid":"145eb56b.2d518b","payload":"Good morning, Christophe. There are no work events today.","topic":"","data":{"entity_id":"calendar.work","state":"off","attributes":{"message":"Watergroep","all_day":false,"start_time":"2020-12-07 08:00:00","end_time":"2020-12-07 16:30:00","location":"Herbert Hooverplein 23, 3000 Leuven, Belgium","description":"","offset_reached":false,"friendly_name":"Work"},"last_changed":"2020-12-04T15:00:43.542528+00:00","last_updated":"2020-12-04T15:12:43.974098+00:00","context":{"id":"091e64ac1bc089c22d66fb0660205d77","parent_id":null,"user_id":null},"timeSinceChangedMs":185281230}}

debug 2:

{"_msgid":"145eb56b.2d518b","payload":"There are no main events today.","topic":"","data":{"entity_id":"calendar.christophe_vandingelen_gmail_com","state":"off","attributes":{"message":"Huisvuil","all_day":true,"start_time":"2020-12-09 00:00:00","end_time":"2020-12-10 00:00:00","location":"","description":"","offset_reached":false,"friendly_name":"christophe.vandingelen@gmail.com"},"last_changed":"2020-12-06T10:00:46.570399+00:00","last_updated":"2020-12-06T10:08:47.396667+00:00","context":{"id":"7edbb87d5d9482ce91acaecfdc474086","parent_id":null,"user_id":null},"timeSinceChangedMs":30478203},"_timerpass":true}

debug 3:

{"_msgid":"145eb56b.2d518b","payload":"There are no family events today.","topic":"","data":{"entity_id":"calendar.family","state":"off","attributes":{"message":"communie lily","all_day":false,"start_time":"2021-05-08 11:00:00","end_time":"2021-05-08 18:00:00","location":"","description":"","offset_reached":false,"friendly_name":"Family"},"last_changed":"2020-12-02T20:33:39.439265+00:00","last_updated":"2020-12-03T18:08:41.365219+00:00","context":{"id":"2d989407378908b068b36ad62ef4daa6","parent_id":null,"user_id":null},"timeSinceChangedMs":338105334},"_timerpass":true}

debug 4 - the weather:

{"_msgid":"145eb56b.2d518b","payload":"[object Object]. The weather in Beringen is Clouds at 2.14 degrees. Today is expected to be overcast clouds with a high of 5.33, a low of 0.66 and it will feel like 1.24 degrees.The sun rose at 08:27 and was set at 16:33","topic":"","data":{"lat":51.05,"lon":5.22,"timezone":"Europe/Brussels","timezone_offset":3600,"current":{"dt":1607279324,"sunrise":1607239647,"sunset":1607268809,"temp":2.14,"feels_like":-0.21,"pressure":1000,"humidity":100,"dew_point":2.14,"uvi":0,"clouds":100,"visibility":1900,"wind_speed":1,"wind_deg":0,"weather":[{"id":701,"main":"Mist","description":"mist","icon":"50n"}]},"minutely":[{"dt":1607279340,"precipitation":0},{"dt":1607279400,"precipitation":0},{"dt":1607279460,"precipitation":0},{"dt":1607279520,"precipitation":0},{"dt":1607279580,"precipitation":0},{"dt":1607279640,"precipitation":0},{"dt":1607279700,"precipitation":0},{"dt":1607279760,"precipitation":0},{"dt":1607279820,"precipitation":0},{"dt":1607279880,"precipitation":0},{"dt":1607279940,"precipitation":0},{"dt":1607280000,"precipitation":0},{"dt":1607280060,"precipitation":0},{"dt":1607280120,"precipitation":0},{"dt":1607280180,"precipitation":0},{"dt":1607280240,"precipitation":0},{"dt":1607280300,"precipitation":0},{"dt":1607280360,"precipitation":0},{"dt":1607280420,"precipitation":0},{"dt":1607280480,"precipitation":0},{"dt":1607280540,"precipitation":0},{"dt":1607280600,"precipitation":0},{"dt":1607280660,"precipitation":0},{"dt":1607280720,"precipitation":0},{"dt":1607280780,"precipitation":0},{"dt":1607280840,"precipitation":0},{"dt":1607280900,"precipitation":0},{"dt":1607280960,"precipitation":0},{"dt":1607281020,"precipitation":0},{"dt":1607281080,"precipitation":0},{"dt":1607281140,"precipitation":0},{"dt":1607281200,"precipitation":0},{"dt":1607281260,"precipitation":0},{"dt":1607281320,"precipitation":0},{"dt":1607281380,"precipitation":0},{"dt":1607281440,"precipitation":0},{"dt":1607281500,"precipitation":0},{"dt":1607281560,"precipitation":0},{"dt":1607281620,"precipitation":0},{"dt":1607281680,"precipitation":0},{"dt":1607281740,"precipitation":0},{"dt":1607281800,"precipitation":0},{"dt":1607281860,"precipitation":0},{"dt":1607281920,"precipitation":0},{"dt":1607281980,"precipitation":0},{"dt":1607282040,"precipitation":0},{"dt":1607282100,"precipitation":0},{"dt":1607282160,"precipitation":0},{"dt":1607282220,"precipitation":0},{"dt":1607282280,"precipitation":0},{"dt":1607282340,"precipitation":0},{"dt":1607282400,"precipitation":0},{"dt":1607282460,"precipitation":0},{"dt":1607282520,"precipitation":0},{"dt":1607282580,"precipitation":0},{"dt":1607282640,"precipitation":0},{"dt":1607282700,"precipitation":0},{"dt":1607282760,"precipitation":0},{"dt":1607282820,"precipitation":0},{"dt":1607282880,"precipitation":0},{"dt":1607282940,"precipitation":0}],"hourly":[{"dt":1607277600,"temp":2.14,"feels_like":-0.8,"pressure":1000,"humidity":100,"dew_point":2.14,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":1.84,"wind_deg":354,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0.08},{"dt":1607281200,"temp":2.4,"feels_like":-0.63,"pressure":1000,"humidity":92,"dew_point":1.24,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":1.76,"wind_deg":351,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607284800,"temp":2.39,"feels_like":-0.03,"pressure":999,"humidity":89,"dew_point":0.77,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":0.79,"wind_deg":317,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607288400,"temp":2.44,"feels_like":-0.82,"pressure":999,"humidity":87,"dew_point":0.5,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":1.92,"wind_deg":288,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607292000,"temp":2.16,"feels_like":-1.15,"pressure":999,"humidity":89,"dew_point":0.54,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.01,"wind_deg":282,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607295600,"temp":1.7,"feels_like":-1.87,"pressure":999,"humidity":91,"dew_point":0.44,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.34,"wind_deg":266,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607299200,"temp":1.97,"feels_like":-2.23,"pressure":998,"humidity":89,"dew_point":0.46,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":3.24,"wind_deg":279,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0.01},{"dt":1607302800,"temp":1.76,"feels_like":-2.37,"pressure":997,"humidity":90,"dew_point":0.37,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":3.13,"wind_deg":266,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0.02},{"dt":1607306400,"temp":2.1,"feels_like":-2.25,"pressure":997,"humidity":87,"dew_point":0.3,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":3.41,"wind_deg":259,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0.08},{"dt":1607310000,"temp":2.16,"feels_like":-2.24,"pressure":997,"humidity":86,"dew_point":0.15,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":3.46,"wind_deg":246,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0.2},{"dt":1607313600,"temp":2.23,"feels_like":-2.14,"pressure":997,"humidity":87,"dew_point":0.37,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":3.47,"wind_deg":248,"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"pop":0.49,"rain":{"1h":0.6}},{"dt":1607317200,"temp":2.32,"feels_like":-2.03,"pressure":997,"humidity":88,"dew_point":0.58,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":3.49,"wind_deg":245,"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"pop":0.54,"rain":{"1h":0.63}},{"dt":1607320800,"temp":2.42,"feels_like":-2.39,"pressure":997,"humidity":87,"dew_point":0.52,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":4.14,"wind_deg":245,"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"pop":0.54,"rain":{"1h":0.23}},{"dt":1607324400,"temp":2.24,"feels_like":-2.26,"pressure":997,"humidity":87,"dew_point":0.39,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":3.66,"wind_deg":232,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0.46},{"dt":1607328000,"temp":2.12,"feels_like":-2.76,"pressure":998,"humidity":87,"dew_point":0.31,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":4.17,"wind_deg":234,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0.42},{"dt":1607331600,"temp":2.45,"feels_like":-2.43,"pressure":998,"humidity":86,"dew_point":0.47,"uvi":0.1,"clouds":100,"visibility":10000,"wind_speed":4.21,"wind_deg":227,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0.35},{"dt":1607335200,"temp":3.11,"feels_like":-1.83,"pressure":998,"humidity":84,"dew_point":0.74,"uvi":0.32,"clouds":100,"visibility":10000,"wind_speed":4.37,"wind_deg":224,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0.31},{"dt":1607338800,"temp":3.94,"feels_like":-1.05,"pressure":998,"humidity":81,"dew_point":1.08,"uvi":0.43,"clouds":100,"visibility":10000,"wind_speed":4.5,"wind_deg":213,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0.31},{"dt":1607342400,"temp":4.36,"feels_like":-0.83,"pressure":999,"humidity":80,"dew_point":1.33,"uvi":0.46,"clouds":100,"visibility":10000,"wind_speed":4.84,"wind_deg":211,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0.31},{"dt":1607346000,"temp":4.61,"feels_like":-0.34,"pressure":999,"humidity":79,"dew_point":1.43,"uvi":0.35,"clouds":98,"visibility":10000,"wind_speed":4.52,"wind_deg":210,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0.04},{"dt":1607349600,"temp":4.39,"feels_like":-0.32,"pressure":999,"humidity":80,"dew_point":1.4,"uvi":0.19,"clouds":99,"visibility":10000,"wind_speed":4.17,"wind_deg":208,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0.04},{"dt":1607353200,"temp":3.47,"feels_like":-0.49,"pressure":1000,"humidity":85,"dew_point":1.26,"uvi":0,"clouds":99,"visibility":10000,"wind_speed":3.08,"wind_deg":203,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0.04},{"dt":1607356800,"temp":2.5,"feels_like":-1.36,"pressure":1000,"humidity":89,"dew_point":0.98,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.87,"wind_deg":192,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0.04},{"dt":1607360400,"temp":2.14,"feels_like":-1.78,"pressure":1000,"humidity":89,"dew_point":0.64,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.87,"wind_deg":187,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0.04},{"dt":1607364000,"temp":1.89,"feels_like":-2.04,"pressure":1001,"humidity":89,"dew_point":0.42,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.83,"wind_deg":175,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0.04},{"dt":1607367600,"temp":1.87,"feels_like":-1.95,"pressure":1001,"humidity":89,"dew_point":0.4,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.67,"wind_deg":171,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607371200,"temp":1.85,"feels_like":-1.68,"pressure":1002,"humidity":89,"dew_point":0.33,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.26,"wind_deg":165,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607374800,"temp":1.74,"feels_like":-1.94,"pressure":1002,"humidity":89,"dew_point":0.22,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.45,"wind_deg":153,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607378400,"temp":1.69,"feels_like":-2.2,"pressure":1002,"humidity":88,"dew_point":0.05,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.71,"wind_deg":143,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607382000,"temp":1.56,"feels_like":-2.16,"pressure":1002,"humidity":89,"dew_point":-0.17,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":2.46,"wind_deg":139,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607385600,"temp":1.69,"feels_like":-1.78,"pressure":1002,"humidity":88,"dew_point":-0.24,"uvi":0,"clouds":98,"visibility":10000,"wind_speed":2.11,"wind_deg":134,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1607389200,"temp":1.79,"feels_like":-1.59,"pressure":1002,"humidity":87,"dew_point":-0.24,"uvi":0,"clouds":64,"visibility":10000,"wind_speed":1.96,"wind_deg":123,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"pop":0},{"dt":1607392800,"temp":1.53,"feels_like":-1.73,"pressure":1002,"humidity":89,"dew_point":-0.3,"uvi":0,"clouds":75,"visibility":10000,"wind_speed":1.81,"wind_deg":107,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"pop":0},{"dt":1607396400,"temp":0.96,"feels_like":-2.35,"pressure":1002,"humidity":92,"dew_point":-0.56,"uvi":0,"clouds":74,"visibility":10000,"wind_speed":1.85,"wind_deg":88,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"pop":0},{"dt":1607400000,"temp":0.84,"feels_like":-2.74,"pressure":1002,"humidity":93,"dew_point":-0.65,"uvi":0,"clouds":68,"visibility":10000,"wind_speed":2.24,"wind_deg":78,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"pop":0},{"dt":1607403600,"temp":0.96,"feels_like":-2.83,"pressure":1003,"humidity":92,"dew_point":-0.58,"uvi":0,"clouds":67,"visibility":10000,"wind_speed":2.54,"wind_deg":79,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"pop":0},{"dt":1607407200,"temp":1.29,"feels_like":-2.67,"pressure":1003,"humidity":90,"dew_point":-0.49,"uvi":0,"clouds":71,"visibility":10000,"wind_speed":2.78,"wind_deg":82,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"pop":0},{"dt":1607410800,"temp":0.6,"feels_like":-3.23,"pressure":1003,"humidity":94,"dew_point":-0.71,"uvi":0,"clouds":74,"visibility":10000,"wind_speed":2.58,"wind_deg":79,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"pop":0},{"dt":1607414400,"temp":0.19,"feels_like":-3.52,"pressure":1004,"humidity":97,"dew_point":-0.8,"uvi":0,"clouds":52,"visibility":10000,"wind_speed":2.41,"wind_deg":71,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"pop":0},{"dt":1607418000,"temp":1.42,"feels_like":-2.39,"pressure":1004,"humidity":89,"dew_point":-0.29,"uvi":0.18,"clouds":36,"visibility":10000,"wind_speed":2.57,"wind_deg":73,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1607421600,"temp":2.77,"feels_like":-1.12,"pressure":1004,"humidity":83,"dew_point":0.2,"uvi":0.37,"clouds":27,"visibility":10000,"wind_speed":2.76,"wind_deg":74,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1607425200,"temp":3.67,"feels_like":0.11,"pressure":1004,"humidity":80,"dew_point":0.56,"uvi":0.5,"clouds":25,"visibility":10000,"wind_speed":2.36,"wind_deg":72,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1607428800,"temp":4.35,"feels_like":0.99,"pressure":1004,"humidity":77,"dew_point":0.81,"uvi":0.53,"clouds":23,"visibility":10000,"wind_speed":2.11,"wind_deg":62,"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"pop":0},{"dt":1607432400,"temp":4.63,"feels_like":1.1,"pressure":1004,"humidity":77,"dew_point":1.06,"uvi":0.42,"clouds":3,"visibility":10000,"wind_speed":2.41,"wind_deg":47,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1607436000,"temp":4.38,"feels_like":0.81,"pressure":1004,"humidity":79,"dew_point":1.23,"uvi":0.22,"clouds":5,"visibility":10000,"wind_speed":2.5,"wind_deg":41,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1607439600,"temp":3.02,"feels_like":-0.26,"pressure":1005,"humidity":86,"dew_point":1.05,"uvi":0,"clouds":24,"visibility":10000,"wind_speed":2.04,"wind_deg":41,"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"pop":0},{"dt":1607443200,"temp":2.2,"feels_like":-1.22,"pressure":1005,"humidity":90,"dew_point":0.81,"uvi":0,"clouds":40,"visibility":10000,"wind_speed":2.21,"wind_deg":44,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}],"pop":0},{"dt":1607446800,"temp":1.83,"feels_like":-1.63,"pressure":1006,"humidity":91,"dew_point":0.55,"uvi":0,"clouds":49,"visibility":10000,"wind_speed":2.21,"wind_deg":50,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}],"pop":0}],"daily":[{"dt":1607252400,"sunrise":1607239647,"sunset":1607268809,"temp":{"day":4.29,"min":0.66,"max":5.33,"night":2.16,"eve":2.94,"morn":0.82},"feels_like":{"day":1.24,"night":-1.15,"eve":-0.23,"morn":-3.09},"pressure":1001,"humidity":75,"dew_point":0.42,"wind_speed":1.58,"wind_deg":72,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":100,"pop":0.08,"uvi":0.41},{"dt":1607338800,"sunrise":1607326117,"sunset":1607355190,"temp":{"day":3.94,"min":1.69,"max":4.61,"night":1.69,"eve":2.14,"morn":2.32},"feels_like":{"day":-1.05,"night":-2.2,"eve":-1.78,"morn":-2.03},"pressure":998,"humidity":81,"dew_point":1.08,"wind_speed":4.5,"wind_deg":213,"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":100,"pop":0.54,"rain":1.46,"uvi":0.46},{"dt":1607425200,"sunrise":1607412585,"sunset":1607441574,"temp":{"day":3.67,"min":0.19,"max":4.63,"night":0.44,"eve":1.83,"morn":0.96},"feels_like":{"day":0.11,"night":-2.86,"eve":-1.63,"morn":-2.83},"pressure":1004,"humidity":80,"dew_point":0.56,"wind_speed":2.36,"wind_deg":72,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"clouds":25,"pop":0,"uvi":0.53},{"dt":1607511600,"sunrise":1607499050,"sunset":1607527961,"temp":{"day":2.83,"min":-0.74,"max":3.28,"night":-0.4,"eve":-0.08,"morn":-0.6},"feels_like":{"day":0.23,"night":-3.42,"eve":-2.41,"morn":-3.61},"pressure":1011,"humidity":81,"dew_point":0,"wind_speed":0.85,"wind_deg":0,"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"clouds":21,"pop":0,"uvi":0.53},{"dt":1607598000,"sunrise":1607585513,"sunset":1607614351,"temp":{"day":3.77,"min":-0.98,"max":3.77,"night":-0.37,"eve":-0.04,"morn":-0.98},"feels_like":{"day":1.16,"night":-3.58,"eve":-3.26,"morn":-4.16},"pressure":1009,"humidity":74,"dew_point":-1.3,"wind_speed":0.81,"wind_deg":149,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":5,"pop":0,"uvi":0.58},{"dt":1607684400,"sunrise":1607671973,"sunset":1607700744,"temp":{"day":4.08,"min":-0.79,"max":4.08,"night":-0.58,"eve":0.36,"morn":-0.79},"feels_like":{"day":0.62,"night":-4.41,"eve":-3.63,"morn":-4.07},"pressure":1008,"humidity":73,"dew_point":-0.76,"wind_speed":2.04,"wind_deg":139,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":6,"pop":0,"uvi":0.58},{"dt":1607770800,"sunrise":1607758431,"sunset":1607787141,"temp":{"day":3.76,"min":-0.15,"max":3.76,"night":3.7,"eve":3.39,"morn":1.43},"feels_like":{"day":0.58,"night":1.05,"eve":0.43,"morn":-2.63},"pressure":1006,"humidity":87,"dew_point":1.87,"wind_speed":2.11,"wind_deg":131,"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":100,"pop":0.58,"rain":1.05,"uvi":1},{"dt":1607857200,"sunrise":1607844886,"sunset":1607873541,"temp":{"day":7.33,"min":3.79,"max":7.33,"night":6.95,"eve":5.95,"morn":4.35},"feels_like":{"day":3.34,"night":1.76,"eve":1.04,"morn":1.1},"pressure":1015,"humidity":80,"dew_point":4.17,"wind_speed":3.84,"wind_deg":200,"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":73,"pop":0.4,"rain":0.3,"uvi":1}],"alerts":[{"sender_name":"Royal Meteorological Institute of Belgium","event":"Geel Mist Waarschuwingen","start":1607273940,"end":1607324399,"description":"Zondagavond en nacht wordt het op veel plaatsen nevelig met soms vorming van mist die in combinatie met de temperaturen net onder het vriespunt kan aanvriezen. Er is dus kans op beperkt zicht (minder dan 500 m en op sommige plaatsen minder dan 200 m) en rijmplekken."}]},"location":{"lat":51.05,"lon":5.22},"_timerpass":true}

Could you perhaps post your full flow? All these snippets make it hard to reverse engineer

1 Like

See post 3

Yes, but like I said, then you replace the payload with fullmsg and I don't get my calendar information anymore

It is as @Steve-Mcl stated:

msg.payload = fullmsg;
return msg;

You are joining multiple msg.payload into a string, it cannot be that it overwrites another.

1 Like

Yes, tried it (again) and it indeed didn't overwrite it. Don't know what was different before, cause I'm sure I tried it already and then it did overwrite it. So, sorry about it. Anyway, works now, thank you all for the help. I'll check @Steve-Mcl as the solution since he was the first to bring this up.