Closed teanooki closed 2 years ago
It would be great having the ability to send data to Grainfather. I managed to communicate with their API on the console:
{"SG":1.102, "Temp":23.9, "Unit": "C"}
Example curl -H 'Content-Type: application/json' -H 'Accept: application/json' --data '{"SG":1.102, "Temp":23.9, "Unit":"C"}' -X POST https://community.grainfather.com/iot/XXXX-XXXX/tilt
curl -H 'Content-Type: application/json' -H 'Accept: application/json' --data '{"SG":1.102, "Temp":23.9, "Unit":"C"}' -X POST https://community.grainfather.com/iot/XXXX-XXXX/tilt
Result: HTTP/2 201 {"result":"success"}
HTTP/2 201 {"result":"success"}
Error: HTTP/2 429 { "message": "Too Many Attempts." }
HTTP/2 429 { "message": "Too Many Attempts." }
Feature request
Data received in Grainfather
I already have Grainfather as a supported target in Fermentrack, it shouldn't be an issue to get this added to TiltBridge as well.
This is now merged to master
It would be great having the ability to send data to Grainfather. I managed to communicate with their API on the console:
{"SG":1.102, "Temp":23.9, "Unit": "C"}
. Once per 15 minutes,Example
curl -H 'Content-Type: application/json' -H 'Accept: application/json' --data '{"SG":1.102, "Temp":23.9, "Unit":"C"}' -X POST https://community.grainfather.com/iot/XXXX-XXXX/tilt
Result:
HTTP/2 201 {"result":"success"}
Error:
HTTP/2 429 { "message": "Too Many Attempts." }
Feature request
Data received in Grainfather![Selection_005](https://user-images.githubusercontent.com/9087820/113563565-318a8b00-9608-11eb-8e50-3972f129a658.png)