turbokongen / hass-AMS

Custom component reading AMS through MBus adapter into HomeAssistant
44 stars 10 forks source link

Missing sensor #37

Closed polroa closed 3 years ago

polroa commented 3 years ago

Hi! The ams_current_l2 sensor is not available in my Home Assistant. as seen in the enclosed screenshot in my sensors list. All the other ams sensors, a total of 13, works fine. My configuration is : Raspberry Pi 3B Home assistant 0.117.6 HassOS 4.16 hass-AMS v 1.13

My AMS is Aidon 6525, and the module I'm using is https://www.ebay.com/itm/USB-To-MBUS-Slave-Module-Master-slave-Communication-Debugging-Bus-Monitoring/174403021186?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2648

My configuration.yaml looks like this:

AMS Smartmåler Configuration

ams: serial_port: '/dev/ttyUSB0' # Required parity: 'N' # Optional, defaults to 'N' meter_manufacturer: 'aidon' # Optional, defaults to 'auto'

2020-11-12 (3)_LI

Any ideas?

turbokongen commented 3 years ago

Some aidon meters does not provide l2 data. See https://www.nek.no/wp-content/uploads/2019/02/Aidon-HAN-Interface-Description-v11A-ID-34331.pdf Could you send me the debug output of the large packets?

polroa commented 3 years ago

Is this what you asked for?

home-assistant.log

turbokongen commented 3 years ago

Yes, thank you. That is package type 12. That confirms my initial thought. You have a "3W" meter which does not provide data for I2 according to aidon's description: **missing from 3-phase 3W meters and 1-phase meters in page 11 of their documentation. 3W is 3-wire i'm guessing?? I will be closing this as it is normal behaviour.