mirror of
https://github.com/zyphlar/LanternPowerMonitor.git
synced 2024-03-08 14:07:47 +00:00
Update the flanged cases for the 3B and 4B so the screws are recessed.
This commit is contained in:
parent
17815bc579
commit
dabefd1e7c
|
@ -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)
|
[hub_1.0.7.zip](https://cf.lanternpowermonitor.com/hub_1.0.7.zip)
|
||||||
<br><br>
|
<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>
|
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?
|
## 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.
|
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
|
Use the format below to get started
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"hub": 0,
|
"host": "https://lanternpowermonitor.com/currentmonitor",
|
||||||
"host": "https://lanternsoftware.com/currentmonitor",
|
|
||||||
"auto_calibration_voltage": 120.0,
|
|
||||||
"needs_calibration": true
|
"needs_calibration": true
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
case/3B+/LPM_Case_Flange_3B+.blend
Normal file
BIN
case/3B+/LPM_Case_Flange_3B+.blend
Normal file
Binary file not shown.
BIN
case/3B+/LPM_Case_Flange_3B+.stl
Normal file
BIN
case/3B+/LPM_Case_Flange_3B+.stl
Normal file
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.
|
@ -65,10 +65,10 @@ public class ResetPasswordServlet extends FreemarkerServlet {
|
||||||
String email = DaoSerializer.getString(payload, "email");
|
String email = DaoSerializer.getString(payload, "email");
|
||||||
if (EmailValidator.getInstance().isValid(email)) {
|
if (EmailValidator.getInstance().isValid(email)) {
|
||||||
String key = Globals.dao.addPasswordResetKey(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";
|
String subject = "Password Reset - Lantern Power Monitor";
|
||||||
Email to = new Email(email);
|
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);
|
Mail mail = new Mail(from, subject, to, content);
|
||||||
SendGrid sg = new SendGrid(api_key);
|
SendGrid sg = new SendGrid(api_key);
|
||||||
Request request = new Request();
|
Request request = new Request();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user