Evan Lawrence
0e94842c9d
Added switches for each device which allow for enabling/disabling mining.
...
very basic, needs testing.
* To do: Set switch to reflect the current state on init. (Currently defaults to off after HA reboot.)
* Occasionally the custom component fails to load on HA start. Usually fixed by restarting HA.
* When switches are toggled occasionally a false error is reported. This could be due to async call. The desired behavior still occurs though.
2023-07-03 17:51:08 +02:00
Pascal Berski
829d1cd3f7
added DevicePowerSensor (sensor.py / nicehash.py)
2023-07-03 17:44:54 +02:00
Pascal Berski
df9651b148
change device_id to rig_id+device_id
2023-07-03 17:41:52 +02:00
Ben Campbell
ff944ade69
Use reason_phrase
...
https://www.python-httpx.org/api/
2023-07-03 17:39:18 +02:00
Brian Berg
46f1346551
fix(nicehash): fix quickminer gpu temps
...
fix(sensor): handle no temps
- remove unused parameter
fix(nicehash): handle no devices
2021-06-18 16:11:54 -04:00
Brian Berg
72543f69f6
feat(sensor): add rig algorithm and speed sensors
2021-01-20 11:34:09 -05:00
Brian Berg
a9816914d9
fix(sensors): fix recent payout sensor value
...
- to be payout amount minus mining fee
2020-08-02 17:56:17 -04:00
Brian Berg
42a30ce201
chore: add debug logging
2020-07-12 23:25:38 +00:00
Brian Berg
cc9410510b
refactor(sensors): refactor rig temperature
...
- remove rig temperatures attribute
2020-07-12 21:03:16 +00:00
Brian Berg
ecea93959c
feat(sensor): simpler device names
...
- refactor sensor params
- simpifiy rig/device id attributes
2020-07-12 20:20:43 +00:00
Brian Berg
df20a0686d
refactor: replace requests_async w/ httpx
2020-07-12 02:40:39 +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
4438bd3d6a
refactor(sensor): add classes
...
- add mining rig and device classes
2020-07-09 02:20:55 +00:00
Brian Berg
f0fa8ede74
docs(nicehash): update references
2020-06-17 01:47:11 +00: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