Commit Graph

31 Commits

Author SHA1 Message Date
Brian Berg
df20a0686d refactor: replace requests_async w/ httpx 2020-07-12 02:40:39 +00:00
Brian Berg
74d9f14439 docs: minor updates
- punctuation
- reference configuration template
- update configuration examples
2020-07-11 21:28:48 +00:00
Brian Berg
7def679730 chore: add template configuration.yaml
- remove configuration.yaml
- hoping to avoid committing sensitive info
2020-07-11 19:04:10 +00:00
Brian Berg
2cdbc21fdd fix(RigStatusSensor): remove unit of measurement 2020-07-11 18:57:54 +00:00
Brian Berg
b4ba0bf5cc refactor: rename data coordinators file 2020-07-11 18:56:56 +00:00
Brian Berg
78fc79e7a7 refactor(sensors): minor simplification 2020-07-11 18:41:22 +00:00
Brian Berg
eefd191e51 feat(sensor): add recent payout sensor
- fetches payouts every hour
- displays most recently created in BTC
2020-07-11 18:40:42 +00:00
Brian Berg
5c99904287 refactor(sensors): update params/types
- remove device number from rig status sensor
2020-07-11 12:54:16 -04:00
Brian Berg
24488a8eb7 refactor(data_coordinators): rename 2020-07-11 16:17:02 +00:00
Brian Berg
92bd188ea9 docs(readme): remove folder structure
- not fun to maintain
2020-07-09 02:25:36 +00:00
Brian Berg
2747966501 docs: update readme/info config example 2020-07-09 02:24:21 +00:00
Brian Berg
4438bd3d6a refactor(sensor): add classes
- add mining rig and device classes
2020-07-09 02:20:55 +00:00
Brian Berg
743fd0febf refactor(sensor): rename sensors 2020-07-09 00:31:02 +00:00
Brian Berg
a31d524e10 refactor(sensor): separate sensors 2020-07-09 00:05:11 +00:00
Brian Berg
1f33d3e05d feat: allow disabling rig/device sensors
- via "rigs" and "devices" configuration options
- both default to false
2020-07-08 23:50:44 +00:00
Brian Berg
d5f9f56f98 feat(sensor): add device sensors
- status, algorithm, speed, temp, load, rpm
2020-07-05 18:02:46 +00:00
Brian Berg
7f79e0e739 chore(sensors): update docs
- fix typo
2020-06-20 20:09:17 -04:00
Brian Berg
4b79b3f80f docs: update/format readme and info
- apply auto-formats
- tweak configuration example
- update info to match readme
- update directory files
2020-06-17 19:42:30 -04:00
Brian Berg
945a50dff3 feat(sensor): add rig status sensors
- refactor rig temperature sensor
  - include state value in attributes
  - remove debug logs
2020-06-17 03:18:24 +00:00
Brian Berg
04820e1aa9 feat(sensors): record all device temperatures
- stop attempting to ignore inactive/disabled devices
- remove active devices count attribute
- minor import cleanup
2020-06-17 02:07:23 +00:00
Brian Berg
7ca95d8ca2 fix(sensors): fix balance sensor attributes
- not in same currency as state
2020-06-17 02:05:30 +00:00
Brian Berg
f0fa8ede74 docs(nicehash): update references 2020-06-17 01:47:11 +00:00
Brian Berg
96498e580e refactor: split out data coordinators and sensors
- remove unused imports
2020-06-17 01:46:53 +00:00
Brian Berg
da7e12c75d feat(sensor): ignore inactive sensor by status
- add data attribution to account and temp sensors
- add active device temp sensor attribute
- rename total device temp sensor attribute
2020-06-17 01:00:44 +00:00
Brian Berg
8456fa4c34 feat(nicehash): add more acount balance sensors
- add total and pending sensors for BTC
- add total and pending sensors for currency
- default currency to USD
- only support EUR or USD currency
  - in addition to BTC
- ignore non-BTC exchange rates
2020-06-17 00:58:47 +00:00
Brian Berg
2ef6ad9ac1 fix(sensor): fix rig temperature sensor state
- was short-circuiting after first device
- ignore inactive (-1) temperatures
2020-06-16 23:43:13 +00:00
Brian Berg
6c0a39e7c7 chore: update info/readme
- update readme install instructions
- update badge links
2020-06-16 00:29:33 -04:00
Brian Berg
93d9ca79a1 feat: add data update coordinators
- add account and rig update coordinators
- sensors share data
2020-06-16 00:28:01 -04:00
Brian Berg
fe8f8233a8 feat: add platform integration
- add configuration support
- add english config translations for later
- add account balance sensor
- add mining rig temperature sensors
2020-06-16 00:28:01 -04:00
Brian Berg
b0d1102f80 chore: update config
- remove blueprint
- update names
- update gitignore
2020-06-16 00:27:38 -04:00
Brian Berg
e86e5b5183 Initial commit 2020-06-14 15:01:07 -04:00