Repository navigation
OpenSenseMap based API endpoint #6
Replies: 4 comments 6 replies
|
Hey CargoBikoMeter, thank you for the idea and giving Stadtpuls a try. We will discuss your idea in the team! |
|
You could additionally add data like our formatter returns it and API expects it. I think the opensensemap part should be ignored by api.stadtpuls.com. Like so: If it throws an error let me know. It's a small change in the schema. |
|
Hi, did I understand the Stadtpuls API correctly: The API does not support key/value JSON pairs for dedicated measurement values? I would like to send the data from my logstash based system by using the logstash filter plugin: By using the output plugin I could avoid all the staff which is coming from the TTN system, only the required data for the API would be send. But the mapping function does not support nested JSON arrays. Because I use a dedicated Uplink-URL for each sensor (e.g. https://api.stadtpuls.com/api/v3/sensors/72/records), it would be easier to send a key/value pair. What I understand is, I have to encode the measurement JSON without a dedicated key identifier, only the values, why? Could you provide a curl based command line for posting measurements to the API in the documentation https://stadtpuls.com/docs? |
|
Hallo @CargoBikoMeterl, wir hatten am Freitag in der offenen Werkstatt zu Pipedream gesprochen. Kannst Du mir eine Mail schreiben an ingo.hinterding@ts.berlin? |
Uh oh!
There was an error while loading. Please reload this page.
I would be nice, if the application could work with OpenSenseMap based paylaod decoder for TTN. Then I could send the data of my already existing IoT sensors to the stadpuls api to. TTN console allows to define multiple Webhooks for a device but only one payload decoder function for a device. If you could provide a second API endpoint, that would be very nice. In the stadtpuls sensor configuration menu it should be possible to assign the OpenSenseMap internal hex values to stadtpuls measurement values.
My OpenSenseMap Payload Decoder:
Regards,
Adlerkiez-IoT from Berlin Adlershof
All reactions