Giter Site home page Giter Site logo

Comments (5)

justin1977justin avatar justin1977justin commented on September 2, 2024 1

I checked the folder and found that everything was normal, however, I noticed that I had 2 reef-pi folders. One just named reef-pi and another named reef-pi-hass-custom. I'm guessing this was an old folder from the initial versions of reef-pi. I deleted that folder and restarted and everything is normal again. Thanks for the help.

from reef-pi-hass-custom.

tdragon avatar tdragon commented on September 2, 2024

I'll check what can be wrong.
Are there any errors in the log? What version you updated from?

from reef-pi-hass-custom.

tdragon avatar tdragon commented on September 2, 2024

Ok, seems I found one issue that can lead to 'unavailable' status of pH and dosers. I don't use these myself, so please check if the fix helps. The fix is included in version 0.1.7

from reef-pi-hass-custom.

justin1977justin avatar justin1977justin commented on September 2, 2024

I updated but that did not seem to make a difference. The following is what is shown in the entity window:

  This entity is currently unavailable and is an orphan to a removed, changed or dysfunctional integration or device.

The following are reef-pi issues showing in my log:

2021-11-16 13:23:04 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing reef_pi/recorder.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 33, in _process
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 530, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 535, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.reef-pi-hass-custom.recorder'
2021-11-16 13:23:04 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing reef_pi/significant_change.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 33, in _process
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 530, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 535, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.reef-pi-hass-custom.significant_change'
2021-11-16 13:23:04 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing reef_pi/system_health.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 33, in _process
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 530, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 535, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.reef-pi-hass-custom.system_health'

I am not great with the coding side but let me know if you need me to test anything.

from reef-pi-hass-custom.

tdragon avatar tdragon commented on September 2, 2024

This is weird error: there is no such thing "custom_components.reef-pi-hass-custom.recorder" nor "custom_components.reef-pi-hass-custom.system_health". I don't understand why HA tries to load them. It looks like reef-pi integration installation was corrupted somehow.

Could you check what is in your folder where the reef-pi-hass-custom is installed?
That folder should contain only files from the reef pi integration. You can download it from releases to compare.
I am also running 2021.11.3 with the same version of python and don't see any errors in my log. I tried to add a doser into my reef-pi and it shows me a valid config.

from reef-pi-hass-custom.

Related Issues (13)

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.