You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2021. It is now read-only.
Currently only the baud rate can be configured. The number of databits and stopbits is hard-coded. Moreover the parity is hard-coded to none.
My smartmeter device requires settings which deviate from the hard-coded ones, Therefore the bindung should support the configuration of these values.
An approach could be an item configuration like here: Number Strom_Zaehlerstand "Zählerstand [%.0f kWh]" { serial="port=/dev/smartmeter,baud=9600,databits=7,stopbits=1,parity=even,regex=.*1-0:1\\.8\\.0\\*255\\(([0-9]{8}\\.[0-9]{7}).*" }
The text was updated successfully, but these errors were encountered:
You should probably start a discussion in the user forum to see what other interest there is in this.
I certainly think we should support configurable databits (etc.) values. But I wonder if a small redesign might not also be advantageous (eg. to move these settings from the item binding string into a serial.cfg file).
Currently only the baud rate can be configured. The number of databits and stopbits is hard-coded. Moreover the parity is hard-coded to none.
My smartmeter device requires settings which deviate from the hard-coded ones, Therefore the bindung should support the configuration of these values.
An approach could be an item configuration like here:
Number Strom_Zaehlerstand "Zählerstand [%.0f kWh]" { serial="port=/dev/smartmeter,baud=9600,databits=7,stopbits=1,parity=even,regex=.*1-0:1\\.8\\.0\\*255\\(([0-9]{8}\\.[0-9]{7}).*" }
The text was updated successfully, but these errors were encountered: