diff --git a/CHANGES b/CHANGES index df82680..1a1a2d6 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,4 @@ +Version 1.3.0: 2021-04-09 You can now use "auto" as a meter driver. Wmbusmeters will then pick the right driver when @@ -37,7 +38,7 @@ This was due to the fact that the meter state in the driver was updated through multiple different telegrams (this is how the meter works). Clearly a single state object could not properly maintain the state for all possible meters matching the wildcard, the state became a random mix -of whater telegrams arrived. +of whatever telegrams arrived. The fix now, is that a meter C++ object for a uniqe id (not wildcard) is created only when the first telegram arrives that matches the wildcard. diff --git a/README.md b/README.md index 9bd257d..c099439 100644 --- a/README.md +++ b/README.md @@ -44,9 +44,9 @@ from your computer. Then do: `./configure; make; sudo make install` will install wmbusmeters as a daemon. Check the contents of your `/etc/wmbusmeters.conf` file, assuming it -has `device=auto:c1` and you are using a im871a,amb8465,rc1180 or cul device, +has `device=auto:t1` and you are using a im871a,amb8465,rc1180 or cul device, then you can now start the daemon with `sudo systemctl start wmbusmeters` -or you can try it from the command line `wmbusmeters auto:c1` +or you can try it from the command line `wmbusmeters auto:t1` Wmbusmeters will scan for wmbus devices every few seconds and detect whenever a device is plugged in or removed. @@ -60,7 +60,7 @@ You can trigger a reload of the config files with `sudo killall -HUP wmbusmeters `wmbusmetersd /tmp/thepidfile` from a script instead.) Check the config file /etc/wmbusmeters.conf and edit the device. For example: -`auto:c1` or `im871a:c1` or `im871a[457200101056]:t1` or `/dev/ttyUSB2:amb8465:c1,t1` +`auto:c1` or `im871a:c1,t1` or `im871a[457200101056]:t1` or `/dev/ttyUSB2:amb8465:c1,t1` Adding a device like auto or im871a will trigger an automatic probe of all serial ttys to auto find or to find on which tty the im871a resides. @@ -169,7 +169,7 @@ depending on if you are running as a daemon or not. # Running without config files, good for experimentation and test. ``` -wmbusmeters version: 1.0.3 +wmbusmeters version: 1.3.0 Usage: wmbusmeters {options} ( [meter_name] [meter_driver]{:} [meter_id] [meter_key] )* As you can use: