The idea of the project is very simple, i have an arduino mega and esp8266 that will send with the webhooks the sensor’s state to a python API i made with flask and redis. The API work fine.
I have an issue with blynk 1.5 on arduino mega and an esp8266.
The esp is correctly logged to the wifi and to blynk cloud.
When i write on the virtual pin the button is correctly toggle on the blynk app. And the webhook is called.
I use my API this way :
"uuid" : uuid,
"status" : true
The webhooks throw an error 410, and i don’t understand why.
If someone could help me it would be great.
https is not mandatory for me, if there is a way to use http only in webhooks it will be fine.
Some note :
→ the certificate is not signed, so i have to disable ssl check to acces it on chrome or use it with postman.
→ When my api was in http only i could get some data on flask’s log file. When i added https, i couldn’t get any things on the api. (at the moment i only use https to meet https requierment of the webhooks)
If you were using something better than the Mega + ESP-01 (An ESP8266 or ESP32 for example) then you’d be able to make the API call from within your sketch, but I don’t know of any way to do that with your hardware.