Sending data to Influxdb

Good question! I’ve not looked at this as my InfluxDB instance in on my local LAN and I’ve not needed to lock down writing data to the HTTP API by using logins or HTTPS. I’ll mark this as something to look at in the future though, I suspect HubAction should be able to use basic authentication, but perhaps not OAUTH or SSL (?)

Very good point. I haven’t noticed any performance issues due to the round trip, but having the options for both methods is a good idea. You can see in the code I left the httpPost method in the comments.

Even better would be if SmartThings pulled their finger out and enabled local execution on the hub for SmartApps! :disappointed:

Yes, already discussed here: Accessing group within a SmartApp

Z.