How to use Data field in HttpLink
Posted: Tuesday 27 March 2018 21:27
I'm trying to use HttpLink to push my P1 meter data to the Google Cloud for extra analyses. I can't figure out what to put in the field 'Data'. I tried this:
When I do this my nodeJS client receives this as:
I tried a lot of other variants, but I'm not able to send a normal JSON object to my client. Does anyone have some tips for me?
I'm using Domoticz 3.8153 on my Synology NAS
Code: Select all
[{"time": "%t4","type": "%V","val": "%v"}]
Code: Select all
{ '{"time": "2018-03-27T19:23:09Z","type": "Usage2","val": "793693"}': '' }
I'm using Domoticz 3.8153 on my Synology NAS