Giter Club home page Giter Club logo

Comments (8)

turbokongen avatar turbokongen commented on May 25, 2024

Thanks for using my software.
Your issue is not a problem. It's how the meter is programmed. I do not know the reasons to why it is so.
It's noted here in this document on page 3: https://www.nek.no/wp-content/uploads/2018/11/Kaifa-KFM_001.pdf

from hass-ams.

TheDiverM avatar TheDiverM commented on May 25, 2024

another issue, migth be that I use a pi3, but the software runs for about 1 hour, then stops, while measurement comes in it is a load of 1.4 to 1.9, when it stops measure, load drops to 0.1

is the pi 3 just to small or is there something else.

the pi that has the mbus adapter only runs the norwegian han sensor, nothing else.
last log entry

from log on rpi:

2020-03-21 15:21:26 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for ams which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-03-21 15:22:01 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 425, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.ams_active_power_import_none. Platform ams does not generate unique IDs
2020-03-21 15:43:30 WARNING (MainThread) [asyncio] socket.send() raised exception.
2020-03-21 15:43:31 WARNING (MainThread) [asyncio] socket.send() raised exception.
2020-03-21 15:43:31 WARNING (MainThread) [asyncio] socket.send() raised exception.
2020-03-21 15:43:31 WARNING (MainThread) [asyncio] socket.send() raised exception.
2020-03-21 15:43:31 WARNING (MainThread) [asyncio] socket.send() raised exception.
2020-03-21 15:43:31 WARNING (MainThread) [asyncio] socket.send() raised exception.`

from hass-ams.

turbokongen avatar turbokongen commented on May 25, 2024

The unique_id error is known, but it will not stop homeassistant from working.
The socket.send() error might though.
I have the software running on a pi3 as well, without problems. (I also get the entity id error on the hourly package)

from hass-ams.

TheDiverM avatar TheDiverM commented on May 25, 2024

for me this halts the entire homeassistant collection of data from the meter, only way to get it running again is to restart the PI.

im open to suggestions for how to fix this issue

from hass-ams.

TheDiverM avatar TheDiverM commented on May 25, 2024

I found this line:

homeassistant.exceptions.HomeAssistantError: Entity id already exists: sensor.ams_active_power_import_none. Platform ams does not generate unique IDs

seems like system try to create the ID:
sensor.ams_active_power_import_none
but it already exists

another question, do you use 32bit or 64 bit version?

from hass-ams.

turbokongen avatar turbokongen commented on May 25, 2024

I am running:
/bin/bash: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=3e5e2847bbc51da2ab313bc53d4bdcff0faf2462, stripped
Please try the unique_id branch and see if that will fix it for you.

from hass-ams.

turbokongen avatar turbokongen commented on May 25, 2024

Make sure you use the latest code. Just published another fix for this.
https://github.com/turbokongen/hass-AMS/tree/unique_id

from hass-ams.

TheDiverM avatar TheDiverM commented on May 25, 2024

now Im running on 32 bit hassio for rpi3 (was running on 64 bit when errors occured)
and now it seems like all runs fine, and no errors in the logs.
so maybe put something in readme about error in 64bit version..., ill give another feedback tomorrow if test runs fine all nigth

edit: still running stable, so I guess, 32 bit was the trick

from hass-ams.

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.