roarfred / AmsToMqttBridge

Minimalistic system to read AMS/HAN data from electrical meter
218 stars 45 forks source link

[Bug] Selected Meter Aidon and Kamstrup #41

Open xibriz opened 6 years ago

xibriz commented 6 years ago

When booting as AP an selecting meter, the numbers are:

1: kaifa 2: Aidon 3: Kamstrup

But in the switch (ap.config.meterType) Aidon is 3 and Kamstrup is 2.

Also, I don't see where you set the hanreader to SERIAL_8N1 for Kamstrup.

roarfred commented 6 years ago

Good catch, thanks! Both are valid issues that will have to be corrected