Closed AhmyOhlin closed 6 years ago
iam working with L-MBUS20 of Loytec. I installed Rscada on Raspberry Pi3 i got this error, when i scan /usr/share/mbus/libmbus/bin $ sudo ./mbus-serial-scan -d -b 2400 /dev/ttyUSB0 Scanning primary addresses: 0 [2018-01-16 16:05:53] SEND (005): 10 40 00 40 16 1 [2018-01-16 16:05:53] SEND (005): 10 40 01 41 16 2 [2018-01-16 16:05:53] SEND (005): 10 40 02 42 16 3 [2018-01-16 16:05:53] SEND (005): 10 40 03 43 16 4 [2018-01-16 16:05:54] SEND (005): 10 40 04 44 16 [2018-01-16 16:05:54] RECV (001): FD Collision at address 4 5 [2018-01-16 16:05:55] SEND (005): 10 40 05 45 16 6 [2018-01-16 16:05:55] SEND (005): 10 40 06 46 16 [2018-01-16 16:05:55] RECV (001): FE Collision at address 6 7 [2018-01-16 16:05:56] SEND (005): 10 40 07 47 16 8 [2018-01-16 16:05:56] SEND (005): 10 40 08 48 16 [2018-01-16 16:05:56] RECV (001): FC Collision at address 8 How can i fix it? Any advice will be appreciated
Since you try to scan for primary addresses, i assume that some of your M-Bus devices have the same primary address. So you have two options:
But this isn't a bug of libmbus.
iam working with L-MBUS20 of Loytec. I installed Rscada on Raspberry Pi3 i got this error, when i scan /usr/share/mbus/libmbus/bin $ sudo ./mbus-serial-scan -d -b 2400 /dev/ttyUSB0 Scanning primary addresses: 0 [2018-01-16 16:05:53] SEND (005): 10 40 00 40 16 1 [2018-01-16 16:05:53] SEND (005): 10 40 01 41 16 2 [2018-01-16 16:05:53] SEND (005): 10 40 02 42 16 3 [2018-01-16 16:05:53] SEND (005): 10 40 03 43 16 4 [2018-01-16 16:05:54] SEND (005): 10 40 04 44 16 [2018-01-16 16:05:54] RECV (001): FD Collision at address 4 5 [2018-01-16 16:05:55] SEND (005): 10 40 05 45 16 6 [2018-01-16 16:05:55] SEND (005): 10 40 06 46 16 [2018-01-16 16:05:55] RECV (001): FE Collision at address 6 7 [2018-01-16 16:05:56] SEND (005): 10 40 07 47 16 8 [2018-01-16 16:05:56] SEND (005): 10 40 08 48 16 [2018-01-16 16:05:56] RECV (001): FC Collision at address 8 How can i fix it? Any advice will be appreciated