MarkBryanMilligan / LanternPowerMonitor

The Lantern Power Monitor is a Raspberry Pi service, Java Web Service, and Android application that allow you to monitor every electrical breaker in your house, regardless of how many panels or breakers you have.
GNU General Public License v3.0
80 stars 26 forks source link

[Android APP] - Ability to configure hubs via WiFi for hubs that are already configured #18

Open jeremyparks opened 3 years ago

jeremyparks commented 3 years ago

I'd say this is a low priority. It would be nice to configure the hubs from the app if they are out of bluetooth range ( I assume they are always within WiFi). The initial setup via bluetooth would likely have to stay the same. I'm not sure if WiFi or bluetooth should be the preference after a hub is configured.

This is not critical, just an enhancement idea.

MarkBryanMilligan commented 3 years ago

I think there are basically two ways to improve the configuration process.

  1. Have the hubs start their wifi in AP mode if the hub hasn't been configured yet. I went with bluetooth originally because I'd never done it before and wanted work with something new. BLE tends to be a little flaky though and having it do wifi would probably be more reliable. The only downside is your phone would have to disconnect from your actual wifi while you configure a hub which is a little annoying.

  2. Have the commands for a pre-configured hub (restart, reboot, shutdown, network info, view log) be able to be sent over the connected wifi network (via the server that the hubs are constantly posting to anyway). I think this is basically what you're suggesting here except it would go through the internet so you could actually send the commands from anywhere rather than only on your local network.

I think both of these features would be cool, but I agree probably pretty low priority since the current method lets users do what they need to do.