krogk / AgroPi

Automated cultivation system for plants & mushrooms using Raspberry Pi
https://www.facebook.com/AgroPiOfficial
GNU General Public License v3.0
23 stars 11 forks source link

httplib is not compatible with current software architecture #24

Closed krogk closed 3 years ago

krogk commented 3 years ago

Describe the bug httplib doesn't allow to easily use callbacks in the receiver. This library is difficult to understand as no good documentations exists. httplib is going to be ditched in favour of the following:

jQuery -> flask server -> nginx -> CGI handler -> CPP

This implementation is going to use callbacks as per example: https://github.com/berndporr/rpi_AD7705_daq