Upload data without JSON?

126 views
Skip to first unread message

Lionel

unread,
Nov 24, 2013, 2:18:35 PM11/24/13
to sens...@googlegroups.com
Hello,

I 'm a new user of sen.se, and I try to upload data from my domotic box (Zibase) without using JSON.
I use the following command:


It is accepted by the server (Server api.sen.se answered (T=171ms): HTTP/1.1 200 OK) but the channel is not updated and no new data are printed on the graph...

Have you an explanation, what is wrong in the http command?

Thank you,

Lionel

PS: I have manually inserted data on the sen.se server and when the previous http command is executed with Chrome, I got something that looks like a GET command:

[
    {
        "publish_id": "004ebef723ec70e",
        "value": "17.9",
        "timetag": "2013-11-24T17:19:13+00:00",
        "feed_id": 46550,
        "id": 1483740207,
        "unit": "°C"
    },
    {
        "publish_id": "004ebefbb06b97e",
        "value": "17.8",
        "timetag": "2013-11-24T17:39:34+00:00",
        "feed_id": 46550,
        "id": 1483774971,
        "unit": "°C"
    },
    {
        "publish_id": "004ebefe825639c",
        "value": "18",
        "timetag": "2013-11-24T17:52:11+00:00",
        "feed_id": 46550,
        "id": 1483797616,
        "unit": "°C"
    },
    {
        "publish_id": "004ebf06238b85a",
        "value": "18.1",
        "timetag": "2013-11-24T18:26:19+00:00",
        "feed_id": 46550,
        "id": 1483858462,
        "unit": "°C"
    }
]

Nicolas

unread,
Nov 28, 2013, 11:51:23 AM11/28/13
to sens...@googlegroups.com
Hi
I have the same issue when I'm trying to send data  to sen.se from my zibase (also!!)

I have an emoncms account.
I used to send data from zibase to emoncms using this command:
and it works well.

Can someone help use to find the good syntax!!
Thanks
Reply all
Reply to author
Forward
0 new messages