NorthernMan54 / homebridge-dht

Homebridge plugin for DHT22 Temperature / Humidity Sensors
72 stars 14 forks source link

Use proxy to log data into google drive #6

Closed troyliu0105 closed 6 years ago

troyliu0105 commented 7 years ago

I have some problems to access google service and must use proxy, is there any ways to log data via proxy?

NorthernMan54 commented 7 years ago

@troyliu0105

I did a quick google, and this is feasible see below.

https://github.com/google/google-api-nodejs-client#example-specifying-a-default-proxy-and-auth-to-be-used-for-each-request

This would go into the file logger.js, in the mcuiot-logger package.