toreamun / amshan-homeassistant

Home Assistant integrasjon for strømmålere (AMS/HAN/P1). Integrasjonen støter både streaming (serieport/TCP-IP) og MQTT (Tibber Pulse, energyintelligence.se etc)
MIT License
146 stars 9 forks source link

MQTT timeout when configuring integration #46

Closed aherbjornsen closed 1 year ago

aherbjornsen commented 1 year ago

I'm trying to enable the integration, (version 2022.4.0) using Ams2MQTTBridge 2.1.7.

I have configured my Ams reader to send Raw data (bytes) and see the data coming in every couple of seconds, like this:

amsleser 0101020309060100010700FF0600000AE002020F00161B amsleser 0101020309060100010700FF0600000AD602020F00161B amsleser 0101020309060100010700FF0600000AE002020F00161B amsleser 0109020209060101000281FF0A0B4149444F4E5F5630303031020209060000600100FF0A1037333539393932383939343832303535020209060000600107FF0A0436353135020309060100010700FF0600000ADC02020F00161B020309060100020700FF060000000002020F00161B020309060100030700FF060000000002020F00161D020309060100040700FF060000007402020F00161D0203090601001F0700FF10007602020FFF1621020309060100200700FF12094302020FFF1623 amsleser 0101020309060100010700FF0600000ADA02020F00161B amsleser 0101020309060100010700FF0600000ADC02020F00161B amsleser 0101020309060100010700FF0600000AEA02020F00161B amsleser 0109020209060101000281FF0A0B4149444F4E5F5630303031020209060000600100FF0A1037333539393932383939343832303535020209060000600107FF0A0436353135020309060100010700FF0600000AE802020F00161B020309060100020700FF060000000002020F00161B020309060100030700FF060000000002020F00161D020309060100040700FF060000007602020F00161D0203090601001F0700FF10007602020FFF1621020309060100200700FF12094902020FFF1623 amsleser 0101020309060100010700FF0600000AF202020F00161B

But when trying to add the integration I get a timeout while waiting for MQTT topic:

Screenshot from 2022-10-01 13-07-27

I have been using the reader for a long time using MQTT "raw values" and an integration sensor. That is working just fine, but using this integration seems to be an even better solution.

aherbjornsen commented 1 year ago

Sorry I see now that this is duplicate of #44