Hi all,
when i retrive the wps status from a Fritz!Box i get the payload:
{"NewX_AVM-DE_WPSMode":"stop","NewX_AVM-DE_WPSStatus":"err_timeout"}
to display the values i have split node:
var Mode = {payload: msg.payload.NewX_AVM-DE_WPSMode};
var Status = {payload: msg.payload.NewX_AVM-DE_WPSStatus};return [Mode,Status];
here comes the error:
ReferenceError: DE_WPSMode is not defined (line 1, col 43)
the first part of the payload object is not read. Is there a option to rename the part of payload object or how to get the right value?
Thanks to all
Hubertus