Giter Site home page Giter Site logo

can't add miner about hass-miner HOT 12 CLOSED

schnitzel avatar schnitzel commented on June 3, 2024
can't add miner

from hass-miner.

Comments (12)

schwoi avatar schwoi commented on June 3, 2024 2

@Schnitzel can confirm v1.0.1 seems to be working for me.

from hass-miner.

Schnitzel avatar Schnitzel commented on June 3, 2024 1

This has been addressed in v1.0.1. @pixelcatcher @epper202 @tashgitt can you verify that upgrading solved this issue?

from hass-miner.

schwoi avatar schwoi commented on June 3, 2024

I am also receiving the same error.

Running BraiinsOS+ Version: 2022-06-20-0-288861e4-22.05-plus
Home Assistant 2023.10.3
Supervisor 2023.10.0
Operating System 11.0
Frontend 20231005.0 - latest

from hass-miner.

schwoi avatar schwoi commented on June 3, 2024

@pixelcatcher just an FYI, I have been able to add miners using the v1.0.0-beta1

from hass-miner.

pixelcatcher avatar pixelcatcher commented on June 3, 2024

correct, I can also add it and switch it on and off with the latest version. however I cant control the power limit. there is just one entity for the device which is the switch.

from hass-miner.

schwoi avatar schwoi commented on June 3, 2024

Yeah you were right, I didn't test that until after.

Another workaround until it is sorted it to use the upstream data repo. This is working for me, to add and control power.
https://github.com/UpstreamData/hass-miner

from hass-miner.

tashgitt avatar tashgitt commented on June 3, 2024

Home Assistant and HACS are up to date as of today. I have S19 Pro with original FW (not Braiins).
I tried both both repos (Schnitzel and UpstreamData) and get this on both of them:

`Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 4:02:08 PM (1 occurrences)
Last logged: 4:02:08 PM

Error setting up entry 2x50 for miner
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/miner/init.py", line 24, in async_setup_entry
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

This error originated from a custom integration.

Logger: root
Source: custom_components/miner/config_flow.py:81
Integration: Miner (documentation, issues)
First occurred: 4:01:59 PM (4 occurrences)
Last logged: 4:02:08 PM

Failed to get hostname for miner: BMMinerX19: 192.168.2.50
192.168.2.50: API Command Error: Invalid command`

Is there anything I can do to make this work? Would I be able to change the mode from Normal to Low Power?

from hass-miner.

epper202 avatar epper202 commented on June 3, 2024

Home Assistant and HACS are up to date as of today. I have S19 Pro with original FW (not Braiins). I tried both both repos (Schnitzel and UpstreamData) and get this on both of them:

`Logger: homeassistant.config_entries Source: config_entries.py:402 First occurred: 4:02:08 PM (1 occurrences) Last logged: 4:02:08 PM

Error setting up entry 2x50 for miner Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/miner/init.py", line 24, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

This error originated from a custom integration.

Logger: root Source: custom_components/miner/config_flow.py:81 Integration: Miner (documentation, issues) First occurred: 4:01:59 PM (4 occurrences) Last logged: 4:02:08 PM

Failed to get hostname for miner: BMMinerX19: 192.168.2.50 192.168.2.50: API Command Error: Invalid command`

Is there anything I can do to make this work? Would I be able to change the mode from Normal to Low Power?

Experiencing the same over here.

from hass-miner.

tashgitt avatar tashgitt commented on June 3, 2024

That fixed it for me. S19 Braiins OS+ Version: 2023-11-02-0-fd0c1e56-23.10-plus

from hass-miner.

tashgitt avatar tashgitt commented on June 3, 2024

That's a little off-topic - once a device has been added, can you check what its IP address is?

from hass-miner.

Schnitzel avatar Schnitzel commented on June 3, 2024

That's a little off-topic - once a device has been added, can you check what its IP address is?

yea good question, homeassistant does not really have a way to show the IP of a device, will check how other integrations do this

from hass-miner.

Schnitzel avatar Schnitzel commented on June 3, 2024

created #247 so we can track that there

from hass-miner.

Related Issues (20)

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.