diff --git a/README.md b/README.md index be45a70..9fee0ac 100644 --- a/README.md +++ b/README.md @@ -31,23 +31,23 @@ Availability of **wmbusmeters** for other Linux distributions can be checked on Remove the wmbus dongle (im871a,amb8465,cul,rc1180,rfmrx2,d1tc) or the generic rtlsdr dongle (RTL2838) from your computer. -`make; sudo make install` will install wmbusmeters as a daemon. +`./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` and you are using a im871a,amb8465,rc1180 or cul device, -then you can now start the daemon with `sudo systemctl start wmbusmeters`. +has `device=auto:c1` 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` -When the daemon is running it will scan for wmbus devices every few seconds -and detect whenever a device is plugged in or removed. +Wmbusmeters will scan for wmbus devices every few seconds and detect whenever +a device is plugged in or removed. -To have wmbusmeters start automatically when the computer boots do: +To have the wmbusmeters daemon start automatically when the computer boots do: `sudo systemctl enable wmbusmeters` You can trigger a reload of the config files with `sudo killall -HUP wmbusmetersd` (Note! make install only works for GNU/Linux. For MacOSX try to start -`wmbusmetersd /tmp/thepidfile` from a script instead. Here you can also override the device: -`wmbusmetersd --device=/dev/ttyXXY --listento=t1 /tmp/thepidfile`) +`wmbusmetersd /tmp/thepidfile` from a script instead.) Check the config file /etc/wmbusmeters.conf and edit the device to point to your dongle or use auto @@ -121,9 +121,9 @@ Or you can start wmbusmeters with your own config files: wmbusmeters --useconfig=/home/me/.config/wmbusmeters ``` -You can add --device and --listento to override the settings in the config. Like this: +You can add --device to override the settings in the config. Like this: ``` -wmbusmeters --useconfig=/home/me/.config/wmbusmeters --device=/dev/ttyXXY --listento=t1` +wmbusmeters --useconfig=/home/me/.config/wmbusmeters --device=rtlwmbus ``` The files/dir should then be located here: @@ -137,7 +137,7 @@ depending on if you are running as a daemon or not. # Running without config files, good for experimentation and test. ``` wmbusmeters version: 0.9.36 -Usage: wmbusmeters {options} {:suffix} ( [meter_name] [meter_type]{:} [meter_id] [meter_key] )* +Usage: wmbusmeters {options} ( [meter_name] [meter_type]{:} [meter_id] [meter_key] )* As you can use: @@ -149,11 +149,6 @@ As you can use: --exitafter=