Http integration endpoint. Tutorials

I want to use the http integration of ttn. I have a small raspi running on my home. How can I create an endpoint and collect the data f.e. Node red or JavaScript.
Please do Not suggest to use the TTN api for node red or use mqtt. This is not an working option for me. I tested both.

Install a webserver on your RPi, install a SSL certificate on it. Make the RPi webserver accessible from the internet (be careful not to expose other systems as well) and create an endpoint script to receive the values.
You might be able to use node red for the webserver.

Last step is to implement the http handler at TTN using the documentation.

I personally think the node red MQTT solution is a better option as it does not require your RPi to be exposed to the hostile internet…

2 Likes

@kersing you are right Mqtt and Node are a better solution. But I tried and I have lost data from ttn to my node red or mqtt. Why I don’t know. But I saw the data in my getaway and I saw in in my application console but it was not delivered to node red or mqtt. Only data storage worked but here I have no Meta information and some other disadvantages.

@kersing

create an endpoint script to receive the values.

Yes this is the question how to do.