Update the flanged cases for the 3B and 4B so the screws are recessed.

This commit is contained in:
MarkBryanMilligan 2022-02-12 15:17:30 -06:00
parent 17815bc579
commit dabefd1e7c
13 changed files with 4 additions and 6 deletions

View File

@ -48,7 +48,7 @@ The easiest way to run the software on a hub is to download a pre-built SD card
[hub_1.0.7.zip](https://cf.lanternpowermonitor.com/hub_1.0.7.zip)
<br><br>
Flash this to any micro sd card (4gig or larger) and you're good to go. Fire up the hub and the phone app should be able to connect to it via bluetooth to finish the configuration. The default password on this image is pi/LanternPowerMonitor<br><br>
When you add the hub to your configuration via the app, you can change where the hub posts data. If you use lanternsoftware.com (the default host), your data will be stored there securely and won't be shared with or sold to anyone. If you really want to run your own server, you're of course welcome to do that instead, instructions are located further down.
When you add the hub to your configuration via the app, you can change where the hub posts data. If you use lanternpowermonitor.com (the default host), your data will be stored there securely and won't be shared with or sold to anyone. If you really want to run your own server, you're of course welcome to do that instead, instructions are located further down.
## Now that the service is running on the pi, how do I configure everything in the android app?
1. Create your panel in the "Configure Panels" page from the main menu. Before you have your hub connected, there will be no place to select a hub and port for each breaker. Don't worry, we'll get to that later.
@ -82,9 +82,7 @@ Create a configuration file at /opt/currentmonitor/config.json<br>
Use the format below to get started
```
{
"hub": 0,
"host": "https://lanternsoftware.com/currentmonitor",
"auto_calibration_voltage": 120.0,
"host": "https://lanternpowermonitor.com/currentmonitor",
"needs_calibration": true
}
```

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -65,10 +65,10 @@ public class ResetPasswordServlet extends FreemarkerServlet {
String email = DaoSerializer.getString(payload, "email");
if (EmailValidator.getInstance().isValid(email)) {
String key = Globals.dao.addPasswordResetKey(email);
Email from = new Email("info@lanternsoftware.com");
Email from = new Email("mark.milligan@lanternsoftware.com");
String subject = "Password Reset - Lantern Power Monitor";
Email to = new Email(email);
Content content = new Content("text/plain", "Reset your password using this link:\nhttps://lanternsoftware.com/currentmonitor/resetPassword/" + key);
Content content = new Content("text/plain", "Reset your password using this link:\nhttps://lanternpowermonitor.com/currentmonitor/resetPassword/" + key);
Mail mail = new Mail(from, subject, to, content);
SendGrid sg = new SendGrid(api_key);
Request request = new Request();