Commit Graph

75 Commits

Author SHA1 Message Date
Mark Milligan
c8319d6369 Migrating from from wiringpi to pigpio. This increases the sample rate by a factor of 3 and will allow creation of a board that can monitor over 30 breakers with a single raspberry pi.
This is based on pi4j 2.0 which is in a beta status.  I have fixed a few bugs in a local version of pi4j 2.0 to get it to work but I haven't submitted those changes to pi4j yet.

This change requires a migration to Java 11 and will *NOT* be backwards compatible.  Upgrading to this hub software will require that java 11 and pigpio be installed on the hub.  This can be done from an ssh session with the following commands:

apt-get update
apt-get install openjdk-11-jre-headless
apt-get install pigpio

Alternatively, you can download a new sd image, reflash your sd card, and re-adopt your hub.
2022-04-29 14:59:56 -05:00
MarkBryanMilligan
079206fcd7 Update the open source PCB to have better ground connections. 2022-04-08 13:28:54 -05:00
MarkBryanMilligan
d30fc4b4ce Fix a bug that was making it impossible to display billing information in the android app. 2022-04-04 17:20:15 -05:00
MarkBryanMilligan
8387216c44 Increase the clearances on the 4B case a little bit so you don't need a rubber mallet to get the Pi in there. 2022-03-10 15:05:08 -06:00
MarkBryanMilligan
119173f2d2 Move the config creation files to their own shaded jar so they can be run from the command line without an IDE or messy classpath specification. 2022-02-25 22:15:54 -06:00
MarkBryanMilligan
c916b25427 Force all console pages to SSL. 2022-02-17 15:26:32 -06:00
MarkBryanMilligan
dabefd1e7c Update the flanged cases for the 3B and 4B so the screws are recessed. 2022-02-12 15:17:30 -06:00
MarkBryanMilligan
17815bc579 Update to version 1.0.7 for the SD Image. 2022-02-10 16:54:26 -06:00
MarkBryanMilligan
a892c7f0e8 Auto-detect frequency on first hub startup. If frequency is 50Hz, assume 230V. (This should work for 95% of cases) 2022-02-10 13:21:18 -06:00
MarkBryanMilligan
94ebf5fa93 Allow exporting all data in bson, json, or csv formats. 2022-01-29 23:10:04 -06:00
MarkBryanMilligan
eaf1e4504f Allow exporting all data in bson, json, or csv formats. 2022-01-29 18:25:19 -06:00
MarkBryanMilligan
eeec6cc697 Update hub image link. 2022-01-13 15:01:44 -06:00
MarkBryanMilligan
ed75ab1f05 Improve 3A+ case, making it easier to take the pi out. Improve the fit of the Z2 case.
Make it possible for a hub to reload a config automatically when it changes without being restarted.
Prevent the auto-calibration on first install from being stomped by the app.
Allow updating the hub software via the app.
2022-01-13 14:33:21 -06:00
MarkBryanMilligan
88ed044ef7
Update README.md 2022-01-04 17:54:19 -06:00
MarkBryanMilligan
3018a2540f
Update README.md 2021-12-04 10:38:50 -06:00
MarkBryanMilligan
c0a706cc13 Merge branch 'main' of https://github.com/MarkBryanMilligan/LanternPowerMonitor into main 2021-12-03 21:55:32 -06:00
MarkBryanMilligan
9f00c2fb8a Added a case for the Zero 2 W. 2021-12-03 21:48:13 -06:00
MarkBryanMilligan
e7aefdf896
Update README.md 2021-12-02 17:24:11 -06:00
MarkBryanMilligan
817f97c72a
Update README.md 2021-11-21 14:09:15 -06:00
MarkBryanMilligan
f5066c541f Add support for adding and removing zwave nodes via software. Support secondary z-wave controllers. 2021-10-28 21:45:56 -05:00
MarkBryanMilligan
88933a2286 Add rudimentary support for DS18B120 Thermometers, MH-Z19B CO2 Sensors, and ZWave.me controllers. 2021-10-26 15:45:13 -05:00
MarkBryanMilligan
883cf7865d Add billing plans so different plans can be compared. Performance enhancements to charge calculations. 2021-10-18 15:46:25 -05:00
MarkBryanMilligan
ecbf438082 Merge remote-tracking branch 'origin/main' into main 2021-09-07 22:56:50 -05:00
MarkBryanMilligan
0cfdaaa272 Keep track of peak production, peak consumption, peak from grid, and peak to grid values to aid in solar panel and storage sizing. 2021-09-07 22:56:22 -05:00
MarkBryanMilligan
db09633ec7
Update README.md 2021-08-30 00:04:03 -05:00
MarkBryanMilligan
d63f6df1fd Performance improvement for returning energy summaries from DB. Change the way MQTT values are posted. Add a BOM utf-8 char to the BOM csv, yo dawg, bom. 2021-08-29 22:53:41 -05:00
MarkBryanMilligan
77ceec745c Update summaries when billing rate configuration changes. Refactor some of the billing rate variable names to be more clear. 2021-08-11 14:12:27 -05:00
MarkBryanMilligan
cb774d1950 Fix some timezone bugs. 2021-08-09 12:43:47 -05:00
MarkBryanMilligan
5a1f97abca Add some boilerplate to the password reset. 2021-08-07 17:01:11 -05:00
MarkBryanMilligan
8d09ac39f2 Add billing rates and track cost for all energy readings. 2021-08-03 16:47:28 -05:00
MarkBryanMilligan
8221e8ebd5 Make sure the switch states stay in sync across zwave controller nodes. Allow switches to be grouped in a hierarchy. 2021-07-19 15:22:06 -05:00
MarkBryanMilligan
d8da4df1e3 Merge remote-tracking branch 'origin/main' into main 2021-07-15 23:34:26 -05:00
MarkBryanMilligan
3d5cd6500f Add a rules engine so I can be notified when I forget to close my garage door. 2021-07-15 23:34:15 -05:00
MarkBryanMilligan
0641161956
Merge pull request #19 from sskinnider/main
Added mounting flanges to the 3B+ and 4B cases
2021-07-02 12:10:00 -05:00
MarkBryanMilligan
de50645a2c Password reset functionality, ZWave switch schedule improvement, support zwave controller on pi, support relay switches and security sensors. 2021-07-02 12:06:37 -05:00
ScottS
aa1b157735
Added 4B case with flange Sketchup file 2021-06-18 11:18:52 -04:00
ScottS
7d114a607f
Added Sketchup file 2021-06-18 11:16:41 -04:00
ScottS
3fe334b051
Add flange to 3B+ case 2021-06-18 11:09:56 -04:00
ScottS
17a26a1dd2
Add flange to 4B case 2021-06-18 11:09:29 -04:00
ScottS
5880f55153
Delete LPM_Case_4B_with_Flange.stl 2021-06-18 11:09:00 -04:00
ScottS
4891678c5b
Delete LPM_Case_3B+_With_Flange.stl 2021-06-18 11:08:53 -04:00
ScottS
e94a5aa134
Add files via upload 2021-06-18 11:07:54 -04:00
MarkBryanMilligan
6c2b567536
Update README.md 2021-03-24 12:30:29 -05:00
MarkBryanMilligan
dec8fa8d8c Add a 3B+ case. 2021-03-10 13:28:00 -06:00
MarkBryanMilligan
494a172d09 Fix 'lifetime' aggregation. 2021-03-06 23:43:57 -06:00
MarkBryanMilligan
2a5674b736 Allow the pi to be shutdown from the app via bluetooth. 2021-03-06 20:20:55 -06:00
MarkBryanMilligan
a43222049d Fix some timezone bugs. 2021-03-06 15:45:09 -06:00
MarkBryanMilligan
181513c06d Add a case for the pi4. 2021-03-06 10:12:48 -06:00
MarkBryanMilligan
a31ca7b549 Courtesy of JamesAndrews352, added a flanged case STL for the 3A+ that allows surface mounting. 2021-03-01 11:55:17 -06:00
MarkBryanMilligan
16c853bf86 Allow pulling part of the log file from a hub via bluetooth. 2021-02-28 23:36:58 -06:00