Commit Graph

123 Commits

Author SHA1 Message Date
AndyWhittaker 8f3d9b9cf6 Merged the different forks that are floating around and tested this on my Primary/ Secondary LUX 3600ACS set-up 2021-05-18 16:30:54 +01:00
AndyWhittaker 6dd86bb946 There are a few forks of this code, I have attempted to merge the different versions into mine. Don't forget to add a '*' to your inverter serial numbers! 2021-05-03 11:09:03 +01:00
AndyWhittaker 33b373bcdc Synced with Octolux master.
Renamed the master branch to main
2021-04-30 16:17:50 +01:00
AndyWhittaker 725761ca02 Added slave inverter to be able to access it later 2020-11-22 14:57:33 +00:00
AndyWhittaker c1f24c92bf
Corrected some markdown rules 2020-11-10 15:16:58 +00:00
AndyWhittaker 78c4ccd5e5 Modified example config.ini for slave inverter 2020-10-20 15:58:32 +01:00
AndyWhittaker 5821bd5bbd Master/ Slave handling 2020-10-20 15:51:24 +01:00
AndyWhittaker 89aaaf8f4a Changed to Master/ Slave, updated comments 2020-10-20 15:50:49 +01:00
Chris Elsworth 6c1efcf1fe move logline somewhere appropriate 2020-06-03 08:03:36 +01:00
Chris Elsworth 5574536b5c attempt bodge-fix for MQ stopping
I suspect the LuxListener thread is crashing (no idea how, it has
its own rescue inside its own loop), but adding another one to try
and restart it for now.
2020-06-03 07:59:49 +01:00
Chris Elsworth 23bb757e26 unused 2020-05-10 16:19:42 +01:00
Chris Elsworth a8380d24db Add support for requesting input data on demand
Additional docs added in doc/MQ.md
2020-05-08 20:37:02 +01:00
Chris Elsworth cd00265522 make emergency charge SOC % configurable 2020-05-03 11:08:12 +01:00
Chris Elsworth b002ab5c3e remove screen 2020-05-01 21:31:15 +01:00
Chris Elsworth 9069fd18b0 Remove Pi GPIO support
This was requested once but it feels disjointed with the rest of the
application, and doesn't really fit with the scheme of Lux inverter
control generally.

If whoever requested this was using it, let me know and I'll knock up
an alternative solution (probably in another repo).
2020-05-01 21:31:15 +01:00
Chris Elsworth bcd8944916 add mq_ test scripts 2020-05-01 17:18:26 +01:00
Chris Elsworth 14da1d4870 add another octolux.rb retry 2020-04-28 09:21:52 +01:00
Chris Elsworth 796feb5e0a set more keepalive options 2020-04-28 09:08:28 +01:00
Chris Elsworth c4f4f5f7be remove experimental homepage html 2020-04-28 09:07:49 +01:00
Chris Elsworth d51a368256 move to port 8000 on Lux inverter
I think this is the port used by the app so we won't break
the app if we stick with that.
2020-04-22 16:15:07 +01:00
Chris Elsworth ad19153739 Add systemd unit file 2020-04-21 20:34:25 +01:00
Chris Elsworth 0239214ea4 Do not publish to MQ if not configured to 2020-04-20 18:02:09 +01:00
Chris Elsworth c2cae4464f more debug logging 2020-04-16 10:08:15 +01:00
Chris Elsworth 7197497517 fix bundle install --with pi 2020-04-16 09:24:28 +01:00
Chris Elsworth f34ce0e460 Update to lxp-packet 0.6.0 2020-04-10 11:01:18 +01:00
Chris Elsworth 993432e7ce Add packet_dump test script 2020-04-09 11:13:38 +01:00
Chris Elsworth 165a9ad296 update to lxp-packet 0.5.x 2020-04-09 10:45:23 +01:00
Chris Elsworth 020ee3f7c0 Add support for ReadHold#to_h. Add /api/registers 2020-04-07 21:27:40 +01:00
Chris Elsworth 87195bff12 close LuxController after using it for MQ 2020-04-02 19:23:13 +01:00
Chris Elsworth bb5211b38d notes about ruby-dev 2020-04-02 17:20:54 +01:00
Chris Elsworth ab8e76336a use localtime for parsed Octopus times 2020-04-01 22:23:15 +01:00
Chris Elsworth 476cf91c8b make pi support easier 2020-04-01 14:51:16 +01:00
Chris Elsworth bb8679fe88 fix MQ doc link 2020-04-01 14:46:24 +01:00
Chris Elsworth 7d2790e503
Merge pull request #3 from celsworth/mqtt-support
Add MQTT support
2020-04-01 14:45:41 +01:00
Chris Elsworth 071f91ea83 WIP on MQTT support 2020-04-01 12:40:16 +01:00
Chris Elsworth 2813e9a884 work out slots from 6pm 2020-03-31 09:34:59 +01:00
Chris Elsworth 052921b1ae add discharge_on/off test scripts 2020-03-15 12:47:19 +00:00
Chris Elsworth b6ba54a175 add rules/min_discharge config option 2020-03-15 12:40:56 +00:00
Chris Elsworth 4beb9767b9 rewrite rules.example.agile_cheap_slots.rb 2020-03-14 20:08:36 +00:00
Chris Elsworth 23aa78ac2a move required_soc to config 2020-02-29 14:48:18 +00:00
Chris Elsworth 7f477178b3 add rotate.sh 2020-02-28 19:18:49 +00:00
Chris Elsworth 785ed51e32 add separator between runs 2020-02-28 19:10:09 +00:00
Chris Elsworth 01f941c090 Merge branch 'master' of github.com:celsworth/octolux 2020-02-24 19:24:46 +00:00
Chris Elsworth da121343ed add batteries docs/example 2020-02-24 19:24:35 +00:00
Chris Elsworth 2afc5467ee add note on AC Charge times 2020-02-24 19:03:24 +00:00
Chris Elsworth 285813f97a add ac_charge_* test scripts 2020-02-24 11:54:57 +00:00
Chris Elsworth d8df097cfe sleep between runs 2020-02-23 14:13:01 +00:00
Chris Elsworth e0b8c5ccdf note about listening externally 2020-02-23 12:32:50 +00:00
Chris Elsworth f10d5569b1 use server/host and server/port from config 2020-02-23 12:32:22 +00:00
Chris Elsworth 9813b74efe redirect stderr too 2020-02-22 22:01:56 +00:00