"time" - outside range
TheNON75 opened this issue · 1 comments
TheNON75 commented
Good morning,
i am kindly asking for some help with using time(stamp).
I've tried following the output example and also by changing the time to string, but in both cases I receive the error:
"HttpError: unable to parse 'temperature,class=sensors,type=environment Kitchen=19.55 1643966422275': time outside range -9223372036854775806 - 9223372036854775806"
The func node with static data (except time):
msg.measurement = "temperature"
msg.payload = [
{
"Kitchen": 19.55,
"time": (new Date().getTime()-60000).toString() // toString was added to see if the error persists
},
{
"class": "sensors",
"type": "environment"
}
]
return msg;
the resulting payload (with simply new Date().getTime()
):
thank you
ps.: i will galdly open a pr to the documentation afterwards :)
TheNON75 commented
my bad... darn morning coffee