beepnl/BEEP

"sensor-write-error"

Closed this issue · 1 comments

Hello,

I have installed the script on a raspberry and evry thing work good. Thanks at first for the work and the nice design.

I have a problem and dont know where to search for the solution.

When i send data to the sensors link i get as message "sensor-write-error"

Ip: xx.xx.xx.xx Request URL: https://api.xxx.xx/api/sensors?key=tfjj075h0sa65j8x&weight_kg=35&t=10&t_i=11&h=100&p=1000&bv=4 Request Method: POST Status Code: 500 Internal Server Error Request Proto: HTTP/1.1 Request Header Content-Type:application/json; Response Header Date:Tue, 26 Oct 2021 22:07:51 GMT; Server:Apache/2.4.41 (Ubuntu); Cache-Control:no-cache, private; X-Ratelimit-Limit:60; X-Ratelimit-Remaining:59; Content-Length:20; Content-Type:application/json;
can you maybe give me a direction where i can find the problem?

Thank you very much

Hi @gorogdaniel, your payload is correct. But you probably need to install Influxdb too. Else the API will not be able to save the posted data. Please read the readme how to install that.