Commit graph

45 commits

Author SHA1 Message Date
Michael Hope 23c0a49a26 vedirect: use the systemd watchdog
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-09 14:20:10 +02:00
Michael Hope 66cb355392 vedirect: add the Phenix NVM group
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-18 14:34:22 +02:00
Michael Hope 0d26752550 vedirect: add a work-around for an empty serial number 2021-04-18 14:33:58 +02:00
Michael Hope 9a36e59d38 vedirect: fixed up the MPPT scale factors
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-28 17:45:23 +02:00
Michael Hope e14e5afa34 vedirect: looks stable, so poll less often.
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-21 17:02:01 +01:00
Michael Hope c682c172d8 vedirect: added frame metrics
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-21 16:30:39 +01:00
Michael Hope dda687d25b vedirect: add support for setting enums
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-21 14:14:54 +01:00
Michael Hope 659546a35b vedirect: move the MPPT code out of cli.py and add detection.
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-21 13:41:24 +01:00
Michael Hope 235f6b26df vedirect: move to the same register definition across products 2021-03-21 13:40:58 +01:00
Michael Hope 8c7bb58c6b vedirect: add registers for the Phoenix inverters. 2021-03-21 13:40:34 +01:00
Michael Hope 950548a9c3 vedirect: add flake8
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-10 21:28:14 +01:00
Michael Hope 32fde540f8 vedirect: fix the missing payload
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-07 20:14:55 +01:00
Michael Hope f0e797f2d6 vedirect: moved unpacking to hex.py
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-07 20:12:34 +01:00
Michael Hope 59ddf1a2c1 vedirect: move to drone for CI
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-07 20:04:38 +01:00
Michael Hope b521c25dd9 vedirect: put locks around the serial port usage 2021-02-28 11:30:18 +01:00
Michael Hope be80f12825 vedirect: on set, awaken the poller to get the new value 2021-02-28 11:19:14 +01:00
Michael Hope 83db956dfd vedirect: poll once a minute 2021-02-26 19:24:11 +01:00
Michael Hope 2469ebaed0 vedirect: use the serial number as the ID 2021-02-26 19:09:28 +01:00
Michael Hope 8bc6764988 vedirect: add the baud rate, dont die on a protocol error 2021-02-26 17:54:38 +00:00
Michael Hope 414a761918 vedirect: fix the apt-get deps command 2021-02-26 17:54:13 +01:00
Michael Hope f960699d2d vedirect: drop the power support, run flake8 2021-02-26 17:53:33 +01:00
Michael Hope 0f299386d9 vedirect: move to requirements.txt to pick up janet 2021-02-26 17:46:01 +01:00
Michael Hope 945a1c5a5f vedirect: tidy up the new HEX protocol. 2021-02-25 16:55:26 +01:00
Michael Hope c179cbc7c8 vedirect: move to the HEX protocol and janet libraries 2021-02-25 11:45:08 +01:00
Michael Hope 29f60a58f1 vedirect: ran YAPF and tidied up power.py 2021-01-02 17:37:49 +01:00
Michael Hope d74b2ec66b Merge branch 'master' of ssh://juju.nz:3022/michaelh/vedirect 2021-01-02 13:36:56 +00:00
Michael Hope b8057275a8 vedirect: add support for exporting directory entries 2021-01-02 13:33:31 +00:00
Michael Hope 808ca9b9e5 vedirect: be clear about this being for Victron devices 2020-11-21 16:32:04 +01:00
Michael Hope 2bf9b909cb vedirect: added some type annotations 2020-11-17 21:33:33 +01:00
Michael Hope c1c60fd7ed vedirect: expanded the README 2020-11-17 21:06:20 +01:00
Michael Hope a5701f88b6 vedirect: added the Apache license and CONTRIBUTING 2020-11-17 20:54:29 +01:00
Michael Hope 65818066e0 vedirect: fix the readme after setting the entry point 2020-11-17 20:52:07 +01:00
Michael Hope 19a4a9d029 vedirect: added comments, tidied up the files. 2020-11-17 20:50:45 +01:00
Michael Hope 28322e5897 vedirect: add a console script 2020-11-17 20:43:01 +01:00
Michael Hope dfd9e39637 vedirect: add a first order filter to smooth the low resolution values 2020-11-14 08:40:11 +00:00
Michael Hope 1d6c27a9e8 vedirect: retain the discovery records
This fixes a startup ordering issue between HASS and the exporter.
2020-11-01 16:33:15 +01:00
Michael Hope 886b8a9114 vedirect: add a parser test 2020-11-01 16:18:00 +01:00
Michael Hope 68a6f152de vedirect: added a README 2020-11-01 15:53:33 +01:00
Michael Hope deb494a57e vedirect: ran flake8 2020-11-01 15:24:02 +01:00
Michael Hope 77fb254781 vedirect: round the magnitude to fix float false precision errors 2020-11-01 14:17:57 +00:00
Michael Hope 13e987cf02 vedirect: add click to setup.py 2020-10-31 20:22:42 +00:00
Michael Hope fa06afacab vedirect: move the MQTT and Prometheus exporters to classes and add a CLI. 2020-10-31 20:22:23 +00:00
Michael Hope e3130abc13 vedirect: added MQTT output 2020-10-30 21:09:02 +00:00
Michael Hope d4556042a5 vedirect: add a setup.py 2020-10-30 19:39:25 +00:00
Michael Hope dd3911f15c vedirect: added the initial Prometheus exporter 2020-10-30 19:23:01 +00:00