Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.

Releases: ThomasPrior/EthermineInfo

v1.0.20

08 May 13:21
f1500f2
Compare
Choose a tag to compare

Bug reports are important 🪲
If something's broken, report it. Please don't assume someone else has done so already. If an issues already exists for your specific issue, drop a comment on that issue so I know that it's happening to you as well.

Please use the template for bug reports 📄
If you remove the template and don't give me enough information to fix the problem, I can't fix it.

If I need more information about a problem, please respond to me📨
If you report something, not giving enough information to fix the problem and then stop responding to me, I can't fix it.

Changelog

New attributes as requested by Roemer in the HomeAssistant Community Forum thread

  • Unpaid balance in eth (self._unpaid_eth)
  • Average hashrate 24hrs in MH/s (self._average_hashrate_24h_mh_sec)
  • Reported hashrate in MH/s (self._reported_hashrate_mh_sec)

v1.0.12 - New attribute, fix for "unknown" status on inactive workers

23 Jan 03:04
293996b
Compare
Choose a tag to compare

I'd like for preface this with a few short pleas for the future:

Bug reports are important 🪲
If something's broken, report it. Please don't assume someone else has done so already. If an issues already exists for your specific issue, drop a comment on that issue so I know that it's happening to you as well.

Please use the template for bug reports 📄
If you remove the template and don't give me enough information to fix the problem, I can't fix it.

If I need more information about a problem, please respond to me📨
If you report something, not giving enough information to fix the problem and then stop responding to me, I can't fix it.

Changelog

New features

➕ New attribute "Current Hashrate in MH/s" - this divides the current_hashrate value by 1000000 to give the same value in MH/s.
Create a new template sensor in your configuration.yaml to give this a go!

    current_hashrate:
      friendly_name: "Current Hashrate"
      unit_of_measurement: "MHs"
      value_template: "{{ (states.sensor.ethermineinfo_address.attributes['current_hashrate_mh_sec'] | float) }}"

Bug fixes

🔧 Fixed addresses with 0 active miners not updating the state or active worker attribute #19 #15
🔧 Fixed an issue with the way I was handling requests to the Ethermine API which stopped data coming in after 30/12/2021 #17
🔧 Migrate from device_state_attributes to extra_state_attributes per HomeAssistant recommendation #16

Hotfix: Removing the "unconfirmed" attribute

24 Nov 17:51
e6d5a2b
Compare
Choose a tag to compare

Without notification or documentation, the Ethermine API began to drop the "unconfirmed" value for miners earlier today.

The value has now been removed from the EthermineInfo component.

What's Changed

Full Changelog: v1.0.1...v1.0.11

Hotfix for upper case currency config

21 May 16:13
c49f4a4
Compare
Choose a tag to compare

Fixes

  • Fix component not loading data by setting currency to lowercase to match Coingecko response (#11)

v1.0.0 Mission Accomplished!

21 May 12:17
b5f04bc
Compare
Choose a tag to compare

✨Bumping this to a major version as all goals set when I started the project have now been met!

New features:

  • Converts unpaid balance to local currency via Coingecko API.
  • Add the "coins_per_minute" attribute.
  • Adds in the "unconfirmed" attribute.

Note: In my testing I haven't actually seen the unconfirmed attribute being populated unless there are issues at Ethermine, but Ethermine support have confirmed that it's not used if everything is working normally.

If there are any problems, please open an issue!

Average Hash Rate and Name_Override

17 May 18:05
93edabf
Compare
Choose a tag to compare

New functionality:

📈 Average Hash Rate: displays your average hash rate over the previous 24 hours as calculated by Ethermine
🕵️‍♀️ Name_override: Override the name of your wallet to keep your super secret wallet info super secret!

Once again, these fantastic additions have been added by @scribblrsam. Thanks!

If you experience any issues, please open an issue.

Hotfix for miners with 0 previous payouts

16 May 21:51
4cf78d5
Compare
Choose a tag to compare

Maintenance release with no new functionality.

Changes sensor.py to check if a payout has ever been made before trying to populate the payout-related attributes.

This fix was very kindly highlighted and fixed by @scribblrsam in #5. Thanks! 👍

The "I'm a moron" release

15 May 00:56
5b76b02
Compare
Choose a tag to compare

This one includes the updated const.py required for the new sensor attributes.

Very sorry if you updated to the broken version!

Initial release

15 May 00:47
d69f16e
Compare
Choose a tag to compare

🚀 New feature: Payouts!

Includes new attributes for:

  • Start block
  • End block
  • Amount
  • Transaction hash
  • Paid on timestamp

As with every change, if there are issues please open an issue..

EthermineInfo discussion