asillye / pyubbink

Ubiflux Vigor ventilation system RS485 Modbus communications with Python
MIT License
9 stars 3 forks source link

how to troubleshoot errors 'no response received' #2

Open deelerke opened 3 years ago

deelerke commented 3 years ago

Hi , when I run your example, I'm getting:

sudo python3 ubbink.py ERROR:root:get_serial_number: error reading ModBus control register command=4010, result=Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response Device serial number: error ERROR:root:get_supply_temperature: error reading ModBus control register command=4036, result=Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response Intake temperature: -1 Celsius ERROR:root:get_supply_pressure: error reading ModBus control register command=4023, result=Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response Intake pressure: -1 Pa ERROR:root:get_supply_airflow_actual: error reading ModBus control register command=4032, result=Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response Intake actual airflow: -1 m3/h ERROR:root:get_supply_airflow_preset: error reading ModBus control register command=4031, result=Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response

any idea how to move forward with troubleshooting ? I'm using the same black USB adapter like you do. I've tried differnent polarity on the wires to the Ubbink, but no luck

thanks !!

asillye commented 2 years ago

I think it should be the serial port settings. As I wrote in #1 it is 19200 - 8 - Even parity, 1 stop bit

bramvanhoof commented 1 year ago

Hi, I too have the same problem. I did use the correct setting and same adapter. Are there other pitfalls I might be missing? In the documentation I read that the touchscreen is not usable when modbus is "used", does the machine go to this state as soon as you send some instructions or do you actively need to "go" to this state? Thank :)