Commit Graph

14 Commits

Author SHA1 Message Date
Mark Milligan
e0d4dafd3a Implement 3-phase voltage logic. 2022-08-20 21:20:50 -05:00
Mark Milligan
d7edf3db4a Turns out we don't actually need 30MB of bloated jars to make a single HTTP post to get a Google SSO auth token. Don't need them for Firebase either. And not for Apple SSO. Shoot while we're at it, might as well get rid of pi4j too since making a JNI wrapper for PiGPio is easy enough. 2022-05-02 18:20:03 -05:00
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
eaf1e4504f Allow exporting all data in bson, json, or csv formats. 2022-01-29 18:25:19 -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
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
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
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
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
Mark Milligan
7075c702df Allow binary and dimmer switches to be grouped together. Allow a custom host to be sent to the power monitor hubs. 2021-01-30 17:11:12 -06:00
Mark Milligan
1334c110ff Initial Commit 2021-01-14 16:28:24 -06:00