Code Monkey home page Code Monkey logo

ha-nicehash-excavator-monitor's People

Contributors

ilmlv avatar messerschmittx avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

ha-nicehash-excavator-monitor's Issues

Start/Stop Miner

Start/Stop miner. I'd love to be able to start and stop my miner based on automation (in my case surplus solar energy exporting to the grid). I have that trigger but can't figure how to do the post described below...

image

https://www.nicehash.com/docs/rest

[BUG] Blocking HA startup

Describe the bug
This component blocks HA from starting if mining is not active (even though Quick Hash / Excavator is running)

To Reproduce
Steps to reproduce the behavior:

  1. Stop mining, but leave Quick Hash / Excavator running
  2. Restart HA
  3. Watch it block startup
  4. Now disable integration or uninstall
  5. Restart HA
  6. Notice no issues

Expected behavior
Component needs to better handle if mining is not active.

Screenshots
If applicable, add screenshots to help explain your problem.

Home Assistant (please complete the following information):

  • Version 2022.2.9
  • Installation docker

Additional context
HA has a fail-safe built in when components are blocking proper startup, so it eventually ignores the components and starts after about 600 seconds

Web UI error:

Starting nicehash_excavator, not everything will be available until it is finished.

Log snippets:

2022-02-22 08:30:36 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nicehash_excavator
2022-02-22 08:31:36 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nicehash_excavator
2022-02-22 08:32:36 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nicehash_excavator
2022-02-22 08:33:36 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nicehash_excavator
2022-02-22 08:34:19 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward
2022-02-22 08:39:19 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap - moving forward
2022-02-22 08:39:19 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 600.86s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.