universam1 / iSpindel

electronic Hydrometer
http://www.ispindel.de
Other
827 stars 324 forks source link

Adding support for InfluxDB in HTTPS mode #580

Closed PharmaJap closed 2 years ago

PharmaJap commented 2 years ago

For security purposes, it is inadvisable to run InfluxDB on the public-facing internet in HTTP mode (for example, on a VPS).

This commit adds a checkbox to the InfluxDB service to enable HTTPS, for use with servers that are configured for it.

Compiled and running/sending successfully in both HTTP and HTTPS mode on a Lolin Wemos D1 Mini v4.

PharmaJap commented 2 years ago

Updated with an obvious solution that I missed; no spaghetti. Might be ready to ship?

pppedrillo commented 2 years ago

@PharmaJap Lets tag @universam1