Possible error in Homematic addon

This week I tryed to install Homematic Addon. Everything went right except on little error. In HomeMatic WebUI (OCCU) it wasn’t possible to access Einstellungen > Systemsteuerung (Settings> system control)

I got this error in log file:
syntax error in expression "*1"
    while executing
"expr $product*1"
    (procedure "getProduct" line 6)
    invoked from within
    (file "/opt/hm/www/config/control_panel.cgi" line 1) 

It happens because in common.tlc the first line in proc get_Version was commented out
#return [read_var /boot/VERSION VERSION]
and a new line was put under it
return [read_var /VERSION VERSION]

The mistake: there is no file in /VERSION

My fast fix: I just copy the file from /boot/VERSION to /VERSION
But maybe there is an elegant solution? And does anybody know, why this happend on my installation?
Best Regards

Fine. Better you create an issue here.

1 Like