Closed mkmt closed 1 year ago
Maybe @bilbolodz or @ochykysh would know?
Looks like you are missing the "--comset 8E1" part.
Aka:
mbmd run -a /dev/ttyUSB1 -d orno1p:1,orno1p:31 --raw --comset 8E1 --api 0.0.0.0:8083
or similar
Sorry no idea
@ochykysh meaning I should compile with this option?
no,
mbmd run -a /dev/tty.usb-1.3 -d ORNO3P:1,ORNO1P504:2,ORNO1P504:3 --comset 8E1
@ochykysh with this option ORNO3P works fine but ORNO1P504 doesn't work. Any way to make both run at the same time?
Or is there any way to make just one run, so I can run a script reading 516 stopping then reading 504.
Can't place another cable there, need to do both meters on a same cable.
It depends how your meters are configured. You can set the speed and mode with the windows software. Check that all of them use the same settings(with different IDs). Mbmd only supports setting speed and mode on the port level, not per device.
@ochykysh can set speed not the parity in windows.
@mkmt just connect them to two different USB-RS485 adapters, so you will have different port settings. Or replace the WE504 with a WE514
Seems this might have been resolved, closing.
I have ORNO WE-516 configured on address 1. I also have two ORNO 504 configured as 2 and 3.
No matter how I connect them (just one, or two or three) WE-516 doesn't work. Same RS485 adapter connected to windows computer and using orno software works on all devices, so hardware is OK, connection is OK.
mbmd can't communicate with WE-516. Here is command I'am using:
mbmd run -a /dev/tty.usb-1.3 -d ORNO3P:1,ORNO1P504:2,ORNO1P504:3
here is output:
2022/08/31 04:06:46 device ORNO3P1.1 did not respond (1/3): read failed: serial: timeout 2022/08/31 04:06:47 device ORNO3P1.1 did not respond (2/3): read failed: serial: timeout 2022/08/31 04:06:49 device ORNO3P1.1 did not respond (3/3): read failed: serial: timeout
What can I do to make it work?