GithubHelp home page GithubHelp logo

Comments (9)

caiosweet avatar caiosweet commented on September 22, 2024

Hi try this:

  1. install via hacs ok. (or you can copy the entire ingv_centro_nazionale_terremoti folder into custom_components.
  2. Restart home assistant.
  3. Then, insert in configuration.yaml:
geo_location:
  - platform: ingv_centro_nazionale_terremoti

Save it.
Restart again Home Assistant.

from home-assistant-custom-components-ingv.

Pippodomotic avatar Pippodomotic commented on September 22, 2024

Hi, I followed your instructions perfectly but I keep getting this message that does not allow me to restart Home assistant: "Requirements for ingv_centro_nazionale_terremoti not found: ['georss-ingv-centro-Nazionale-earthquakes-client == 0.5']." It seems that required component is missing but I cannot install it.

from home-assistant-custom-components-ingv.

caiosweet avatar caiosweet commented on September 22, 2024

Uhmm.
I don't use HA core in a NAS, but I tried HA Core with virtual env and I don't have any requirements issues. The same goes for HassOs, Supervised and container...

I cannot replicate the problem.
Try deleting the folder or uninstalling from Hacs, clearing the configuration and retrying the above procedure after a reboot.

Do you have other custom components installed or is it the first?

from home-assistant-custom-components-ingv.

Pippodomotic avatar Pippodomotic commented on September 22, 2024

Yes, I have other custom components installed through Hacs and they work (not all the ones I've tried to install have worked).
I also installed "DPC Civil Protection Department" (also this very nice and interesting integration) which works but not perfectly because I get a permanent notification from Home Assistant that says:

"Logger: homeassistant.setup
Source: setup.py:317
First occurred: 22:04:20 (1 occurrences)
Last logged: 22:04:20

Unable to prepare setup for platform dpc.binary_sensor: Platform not found (cannot import name 'BinarySensorDeviceClass' from 'homeassistant.components.binary_sensor' (/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant /components/binary_sensor/init.py)).

from home-assistant-custom-components-ingv.

caiosweet avatar caiosweet commented on September 22, 2024

What version of Home Assistant do you have installed?

In the HA Core installation notes I see that it takes Python 3.9 but in your log I see 3.8.

Try updating your system and see if it fixes these problems.

For DPC the last update must be done only if you have HA 2021.12.x installed.

from home-assistant-custom-components-ingv.

Pippodomotic avatar Pippodomotic commented on September 22, 2024

Hello
I did some tests.

  1. I installed DPC version 2021.8.1 and it works without giving errors: I got 1 Device and 8 entities (with the latest version I only got 2 entities)
  2. for INGV unfortunately I can't proceed even trying to install previous versions. I think the problem is in the python module which I can't install via "pip install georss-ingv-national-center-earthquakes-client == 0.5"
    I currently have Python 3.10 installed on my Synology.

P.S .:
for DPC, how can I view the "Cards: card-mod, markdown" like the ones you can see from your "From my Natural Events project" information?

Thanks and congratulations on your Home Assistant integrations.

from home-assistant-custom-components-ingv.

caiosweet avatar caiosweet commented on September 22, 2024

I installed DPC version 2021.8.1 and it works without giving errors: I got 1 Device and 8 entities (with the latest version I only got 2 entities)

Correct.
The latest update is only for those who have installed version 2021.12.0 or higher.

I think the problem is in the python module..

You need to investigate your system. With HACS, requirements are installed automatically via the manifest.json file.
Check the pip Version and Verify the Installation. Maybe try using pip3 instead of pip, or try python3 -m pip install georss-ingv-centro-nazionale-terremoti-client==0.5
This component I can say that works and tested with HassOs, Supervised, Docker Container and Virtual Environment.
I have no way to test the component with the type of Home Assistant installation you did.

for DPC, how can I view the "Cards: card-mod, markdown" like the ones you can see from your "From my Natural Events project" information?

it is a card that is part of a more complex one, inherent to another complex project. The part is this

You should also provide more specific data. What version of HA do you have? What HACS version? Maybe my component is not compatible with older versions.

from home-assistant-custom-components-ingv.

caiosweet avatar caiosweet commented on September 22, 2024

You solved? The author added support for python 10 maybe that was the problem? I have updated the library to the latest version.

from home-assistant-custom-components-ingv.

caiosweet avatar caiosweet commented on September 22, 2024

A new version has come out, with a new library. this problem is out of date.

from home-assistant-custom-components-ingv.

Related Issues (14)

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.