Comments (8)
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.
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.
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.
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.
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.
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.
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.
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)
- No parser detected HOT 6
- AMS integration broken after installing core-24.3.0 HOT 2
- AMS integration sensors still missing HOT 2
- Random data read error, aidon_se HOT 13
- Hydrocal M3 integrations HOT 1
- Frame sync problem in code version 1.9 HOT 5
- Feature request: Use serial.serial_for_url() instead of serial.Serial() HOT 8
- [custom_components.ams] Timeout waiting for end of packet. Flush current packet HOT 3
- Kaifa MA105H2E confirmed working. HOT 10
- User input malformed: value must be one of [] for dictionary value @ data['serial_port'] HOT 1
- No read out for meter, and error in Home Assistant HOT 28
- negative current getting corrupt values HOT 4
- using decryption keys possible ? HOT 1
- After upgrading to 1.9.4 integration stopped working swedish Kaifa meter. HOT 3
- Kaifa MA304H4 is working, but with several incorrect redouts HOT 4
- Active power import jumping to 100 000 000 W HOT 5
- See only 5 entities after installation using aidon_se, see zero entities when using aidon HOT 27
- Integration is using deprecated `DEVICE_CLASS_*` constants HOT 1
- MA304H4 Swedish version. State class conflict with the device class. HOT 1
- sensors not generated Homa Assistant 2024.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-ams.