john30 / ebusd

daemon for communication with eBUS heating systems
GNU General Public License v3.0
594 stars 136 forks source link

ERR: invalid position #1171

Closed prog8 closed 10 months ago

prog8 commented 10 months ago

Description

I hope I write the ticket in the correct queue. If not please let me know I started ebusd and get ERR: invalid position error when trying to get a couple values.

Actual behavior

Example below

ebusctl r PrEnergySumHc1
ERR: invalid position

The output from info is below

address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0807;HW=7603", loaded "vaillant/bai.308523.inc", "vaillant/08.bai.csv"

Expected behavior

I hope ebusd can read all the values without throwing errors.

ebusd version

23.3

ebusd arguments

EBUSD_OPTS="--scanconfig -d ens:192.168.0.117:9999"

Operating system

Debian 12 (Bookworm) / Ubuntu 22-23 / Raspberry Pi OS 12 (including lite)

CPU architecture

x64

Dockerized

None

Hardware interface

Adapter Shield v5 via WiFi

Related integration

No response

Logs

2024-01-26 15:02:58.430 [bus notice] <0304b511010e3f 2024-01-26 15:03:02.099 [update notice] sent read bai externalHwcSwitch QQ=31: off 2024-01-26 15:03:02.099 [bus notice] >3108b509030d00001d<0001009b>00 2024-01-26 15:03:30.223 [update error] unable to parse read bai PowerValue from 3108b509030daa00 / 00: ERR: invalid position 2024-01-26 15:03:30.223 [main error] read bai PowerValue: decode ERR: invalid position 2024-01-26 15:03:30.223 [bus notice] >3108b509030da901000e<000000>00 2024-01-26 15:03:31.079 [bus notice] <0304b511010e3f 2024-01-26 15:04:03.695 [bus notice] <0304b511010e3f 2024-01-26 15:04:36.139 [bus notice] <0304b511010e3f

john30 commented 10 months ago

then the csv does not match your heating unit or at least some of the message definitions don't fit. do you get other values in reasonable scale? check the product number of the heater and see if it is listed in https://github.com/john30/ebusd-configuration/blob/master/ebusd-2.1.x/en/vaillant/08.bai.csv . if not, check if a prefix of that number is there and then try messages from that file. anyway, please continue on https://github.com/john30/ebusd-configuration for further details