Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance does not start after upgrading from v6.1.0 to 6.2.3 #539

Open
MPTrixi opened this issue Jul 12, 2024 · 13 comments
Open

Instance does not start after upgrading from v6.1.0 to 6.2.3 #539

MPTrixi opened this issue Jul 12, 2024 · 13 comments

Comments

@MPTrixi
Copy link

MPTrixi commented Jul 12, 2024

Describe the bug
When updating from v6.1.0 to v6.2.3 I get for one out of three running instances errors in log (adapter stays yellow):
from 1 up to 13

modbus.2 | 2024-07-12 14:43:39.419 | error | Reconnect did not help, restart adapter
modbus.2 | 2024-07-12 14:43:39.418 | warn | [1] Poll error count: 13 code: {"errorCode":130,"exceptionCode":0}

The device is a Protoss-PW11 RS485 to Wi-Fi

To Reproduce
Steps to reproduce the behavior:
happens immediatly after updating the adapter at the attempt to restart instance
Downgrading to 6.1.0 solved the issue

Expected behavior
instance should run after update of adapter

Screenshots & Logfiles

modbus.2
2024-07-12 15:28:34.528	debug	Closing client on purpose.

modbus.2
2024-07-12 15:28:33.527	debug	Cleaning up request fifo.

modbus.2
2024-07-12 15:28:33.526	debug	Socket closed with error

modbus.2
2024-07-12 15:28:33.518	info	Disconnected from slave xxx.xxx.xxx.xxx

modbus.2
2024-07-12 15:28:33.518	debug	Closing client on purpose.

modbus.2
2024-07-12 15:28:33.467	warn	[1] Poll error count: 6 code: {"errorCode":130,"exceptionCode":0}

modbus.2
2024-07-12 15:28:33.466	debug	Received pdu describes an error.

modbus.2
2024-07-12 15:28:33.392	debug	[DevID_1/disInputs] Poll address 0 - 0 bits

modbus.2
2024-07-12 15:28:33.391	debug	[DevID_1] Poll start ---------------------

modbus.2
2024-07-12 15:28:28.339	warn	[1] Poll error count: 5 code: {"errorCode":130,"exceptionCode":0}

modbus.2
2024-07-12 15:28:28.338	debug	Received pdu describes an error.

modbus.2
2024-07-12 15:28:28.261	debug	[DevID_1/disInputs] Poll address 0 - 0 bits

modbus.2
2024-07-12 15:28:28.259	debug	[DevID_1] Poll start ---------------------

modbus.2
2024-07-12 15:28:23.208	warn	[1] Poll error count: 4 code: {"errorCode":130,"exceptionCode":0}

modbus.2
2024-07-12 15:28:23.207	debug	Received pdu describes an error.

modbus.2
2024-07-12 15:28:23.131	debug	[DevID_1/disInputs] Poll address 0 - 0 bits

modbus.2
2024-07-12 15:28:23.130	debug	[DevID_1] Poll start ---------------------

modbus.2
2024-07-12 15:28:18.078	warn	[1] Poll error count: 3 code: {"errorCode":130,"exceptionCode":0}

modbus.2
2024-07-12 15:28:18.076	debug	Received pdu describes an error.

modbus.2
2024-07-12 15:28:18.001	debug	[DevID_1/disInputs] Poll address 0 - 0 bits

modbus.2
2024-07-12 15:28:18.000	debug	[DevID_1] Poll start ---------------------

modbus.2
2024-07-12 15:28:12.949	warn	[1] Poll error count: 2 code: {"errorCode":130,"exceptionCode":0}

modbus.2
2024-07-12 15:28:12.948	debug	Received pdu describes an error.

modbus.2
2024-07-12 15:28:12.873	debug	[DevID_1/disInputs] Poll address 0 - 0 bits

modbus.2
2024-07-12 15:28:12.871	debug	[DevID_1] Poll start ---------------------

modbus.2
2024-07-12 15:28:07.819	warn	[1] Poll error count: 1 code: {"errorCode":130,"exceptionCode":0}

modbus.2
2024-07-12 15:28:07.817	debug	Received pdu describes an error.

modbus.2
2024-07-12 15:28:07.731	debug	[DevID_1/disInputs] Poll address 0 - 0 bits

modbus.2
2024-07-12 15:28:07.728	debug	[DevID_1] Poll start ---------------------

modbus.2
2024-07-12 15:28:07.726	info	Connected to slave xxx.xxx.xxx.xxx

modbus.2
2024-07-12 15:28:06.951	debug	Add holdingRegisters.4_Cooling_Mode_Temp_Range: {"_id":"holdingRegisters.4_Cooling_Mode_Temp_Range","type":"state","common":{"name":"Zieltemperatur im Kühlmodus","role":"value.temperature","type":"number","read":true,"write":true,"def":0,"unit":"°C"},"native":{"regType":"holdingRegs","address":4,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5,"poll":true}}

modbus.2
2024-07-12 15:28:06.951	debug	Add holdingRegisters.3_Heating_Mode_Temp__Range: {"_id":"holdingRegisters.3_Heating_Mode_Temp__Range","type":"state","common":{"name":"Zieltemperatur im Heizmodus","role":"value.temperature","type":"number","read":true,"write":true,"def":0,"unit":"°C"},"native":{"regType":"holdingRegs","address":3,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5,"poll":true}}

modbus.2
2024-07-12 15:28:06.950	debug	Add holdingRegisters.2_Auto_Mode_Temp_Range: {"_id":"holdingRegisters.2_Auto_Mode_Temp_Range","type":"state","common":{"name":"Zieltemperatur im Automodus","role":"value.temperature","type":"number","read":true,"write":true,"def":0,"unit":"°C"},"native":{"regType":"holdingRegs","address":2,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5,"poll":true}}

modbus.2
2024-07-12 15:28:06.950	debug	Add holdingRegisters.1_Working_Mode_Selection: {"_id":"holdingRegisters.1_Working_Mode_Selection","type":"state","common":{"name":"(0=Smart, 1=Silence, 3=Turbo)","role":"state","type":"number","read":true,"write":true,"def":0,"unit":""},"native":{"regType":"holdingRegs","address":1,"deviceId":1,"type":"uint16be","len":1,"offset":0,"factor":1,"poll":true}}

modbus.2
2024-07-12 15:28:06.949	debug	Add holdingRegisters.0_Function_Selection: {"_id":"holdingRegisters.0_Function_Selection","type":"state","common":{"name":"(0=Auto, 1=Heizung, 2=Kühlung)","role":"state","type":"number","read":true,"write":true,"def":0,"unit":""},"native":{"regType":"holdingRegs","address":0,"deviceId":1,"type":"uint16be","len":1,"offset":0,"factor":1,"poll":true}}

modbus.2
2024-07-12 15:28:06.948	debug	Initialize Objects for holdingRegs: [{"_address":0,"name":"Function Selection","description":"(0=Auto, 1=Heizung, 2=Kühlung)","unit":"","type":"uint16be","len":1,"factor":1,"offset":0,"formula":"","role":"state","room":"","poll":true,"wp":"","cw":"","isScale":"","address":0,"deviceId":1,"id":"holdingRegisters.0_Function_Selection"},{"_address":1,"name":"Working Mode Selection","description":"(0=Smart, 1=Silence, 3=Turbo)","unit":"","type":"uint16be","len":1,"factor":1,"offset":0,"formula":"","role":"state","room":"","poll":true,"wp":"","cw":false,"isScale":"","deviceId":1,"address":1,"id":"holdingRegisters.1_Working_Mode_Selection"},{"_address":2,"name":"Auto Mode Temp Range","description":"Zieltemperatur im Automodus","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","poll":true,"wp":"","cw":false,"isScale":"","deviceId":1,"address":2,"id":"holdingRegisters.2_Auto_Mode_Temp_Range"},{"_address":3,"name":"Heating Mode Temp Range","description":"Zieltemperatur im Heizmodus","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","poll":true,"wp":"","cw":false,"isScale":"","address":3,"deviceId":1,"id":"holdingRegisters.3_Heating_Mode_Temp__Range"},{"_address":4,"name":"Cooling Mode Temp Range","description":"Zieltemperatur im Kühlmodus","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","poll":true,"wp":"","cw":false,"isScale":"","deviceId":1,"address":4,"id":"holdingRegisters.4_Cooling_Mode_Temp_Range"}]

modbus.2
2024-07-12 15:28:06.947	debug	Add inputRegisters.4_Water_Outlet_Temp_(AIN2): {"_id":"inputRegisters.4_Water_Outlet_Temp_(AIN2)","type":"state","common":{"name":"","role":"value.temperature","type":"number","read":true,"write":false,"def":0,"unit":"°C"},"native":{"regType":"inputRegs","address":4,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5}}

modbus.2
2024-07-12 15:28:06.947	debug	Add inputRegisters.3_Water_Inlet_Temp_(AIN1): {"_id":"inputRegisters.3_Water_Inlet_Temp_(AIN1)","type":"state","common":{"name":"","role":"value.temperature","type":"number","read":true,"write":false,"def":0,"unit":"°C"},"native":{"regType":"inputRegs","address":3,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5}}

modbus.2
2024-07-12 15:28:06.946	debug	Initialize Objects for inputRegs: [{"_address":3,"name":"Water Inlet Temp (AIN1)","description":"","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","cw":"","isScale":"","address":3,"deviceId":1,"id":"inputRegisters.3_Water_Inlet_Temp_(AIN1)"},{"_address":4,"name":"Water Outlet Temp (AIN2)","description":"","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","cw":"","isScale":"","address":4,"deviceId":1,"id":"inputRegisters.4_Water_Outlet_Temp_(AIN2)"}]

modbus.2
2024-07-12 15:28:06.946	debug	Add coils.0_Power_switch: {"_id":"coils.0_Power_switch","type":"state","common":{"name":"Ein-/Ausschalten","role":"switch","type":"boolean","read":true,"write":true,"def":false},"native":{"regType":"coils","address":0,"deviceId":1,"poll":true,"wp":""}}

modbus.2
2024-07-12 15:28:06.946	debug	Initialize Objects for coils: [{"_address":0,"name":"Power switch","description":"Ein-/Ausschalten","formula":"","role":"switch","room":"","poll":true,"wp":"","cw":"","isScale":"","address":0,"deviceId":1,"id":"coils.0_Power_switch","len":1}]

modbus.2
2024-07-12 15:28:06.945	debug	Add discreteInputs.16_Malfunction_/_Protection_indicator: {"_id":"discreteInputs.16_Malfunction_/_Protection_indicator","type":"state","common":{"name":"0: None / 1: Yes","role":"state","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":16,"deviceId":1}}

modbus.2
2024-07-12 15:28:06.944	debug	Add discreteInputs.0_On_Off: {"_id":"discreteInputs.0_On_Off","type":"state","common":{"name":"","role":"switch","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":0,"deviceId":1}}

modbus.2
2024-07-12 15:28:06.943	debug	Initialize Objects for disInputs: [{"_address":0,"name":"On_Off","description":"","formula":"","role":"switch","room":"","cw":"","isScale":"","address":0,"deviceId":1,"id":"discreteInputs.0_On_Off","len":1},{"_address":16,"name":"Malfunction / Protection indicator","description":"0: None / 1: Yes","formula":"","role":"state","room":"","cw":"","isScale":"","deviceId":1,"address":16,"id":"discreteInputs.16_Malfunction_/_Protection_indicator","len":1}]

modbus.2
2024-07-12 15:28:06.507	info	starting. Version 6.2.3 in /opt/iobroker/node_modules/iobroker.modbus, node: v20.14.0, js-controller: 5.0.19

modbus.2
2024-07-12 15:28:04.474	debug	Plugin sentry Initialize Plugin (enabled=true)

image

Versions:

  • Adapter version: 6.2.3
  • JS-Controller version: 5.0.19
  • Node version: 20.14.0
  • Operating system: Debian (Raspberry)

Additional context
Add any other context about the problem here.

@Apollon77
Copy link
Contributor

And you are sure that it is not the devcie which has issues?

@MPTrixi
Copy link
Author

MPTrixi commented Jul 12, 2024

when I go back to 6.1.0 it works. Device is reachable. Config wasn't changed.

modbus.2
2024-07-12 15:34:51.536	debug	[DevID_1/holdingRegs] Poll address 0 DONE

modbus.2
2024-07-12 15:34:51.455	debug	[DevID_1/holdingRegs] Poll address 0 - 5 registers

modbus.2
2024-07-12 15:34:51.454	debug	[DevID_1/inputRegs] Poll address 3 DONE

modbus.2
2024-07-12 15:34:51.376	debug	[DevID_1/inputRegs] Poll address 3 - 2 registers

modbus.2
2024-07-12 15:34:51.266	debug	[DevID_1/coils] Poll address 0 - 16 bits

modbus.2
2024-07-12 15:34:51.191	debug	[DevID_1/disInputs] Poll address 16 - 16 bits

modbus.2
2024-07-12 15:34:51.116	debug	[DevID_1/disInputs] Poll address 0 - 16 bits

modbus.2
2024-07-12 15:34:51.116	debug	[DevID_1] Poll start ---------------------

modbus.2
2024-07-12 15:34:46.063	debug	[DevID_1/holdingRegs] Poll address 0 DONE

modbus.2
2024-07-12 15:34:45.981	debug	[DevID_1/holdingRegs] Poll address 0 - 5 registers

modbus.2
2024-07-12 15:34:45.979	debug	[DevID_1/inputRegs] Poll address 3 DONE

modbus.2
2024-07-12 15:34:45.903	debug	[DevID_1/inputRegs] Poll address 3 - 2 registers

modbus.2
2024-07-12 15:34:45.827	debug	[DevID_1/coils] Poll address 0 - 16 bits

modbus.2
2024-07-12 15:34:45.742	debug	[DevID_1/disInputs] Poll address 16 - 16 bits

modbus.2
2024-07-12 15:34:45.664	debug	[DevID_1/disInputs] Poll address 0 - 16 bits

modbus.2
2024-07-12 15:34:45.663	debug	[DevID_1] Poll start ---------------------

modbus.2
2024-07-12 15:34:40.605	debug	[DevID_1/holdingRegs] Poll address 0 DONE

modbus.2
2024-07-12 15:34:40.514	debug	[DevID_1/holdingRegs] Poll address 0 - 5 registers

modbus.2
2024-07-12 15:34:40.509	debug	[DevID_1/inputRegs] Poll address 3 DONE

modbus.2
2024-07-12 15:34:40.430	debug	[DevID_1/inputRegs] Poll address 3 - 2 registers

modbus.2
2024-07-12 15:34:40.424	debug	Initialization of scale factors done!

modbus.2
2024-07-12 15:34:40.336	debug	[DevID_1/coils] Poll address 0 - 16 bits

modbus.2
2024-07-12 15:34:40.257	debug	[DevID_1/disInputs] Poll address 16 - 16 bits

modbus.2
2024-07-12 15:34:40.165	debug	[DevID_1/disInputs] Poll address 0 - 16 bits

modbus.2
2024-07-12 15:34:40.162	debug	[DevID_1] Poll start ---------------------

modbus.2
2024-07-12 15:34:40.160	info	Connected to slave xxx.xxx.xxx.xxx

modbus.2
2024-07-12 15:34:37.617	debug	Add holdingRegisters.4_Cooling_Mode_Temp_Range: {"_id":"holdingRegisters.4_Cooling_Mode_Temp_Range","type":"state","common":{"name":"Zieltemperatur im Kühlmodus","role":"value.temperature","type":"number","read":true,"write":true,"def":0,"unit":"°C"},"native":{"regType":"holdingRegs","address":4,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5,"poll":true}}

modbus.2
2024-07-12 15:34:37.612	debug	Add holdingRegisters.3_Heating_Mode_Temp__Range: {"_id":"holdingRegisters.3_Heating_Mode_Temp__Range","type":"state","common":{"name":"Zieltemperatur im Heizmodus","role":"value.temperature","type":"number","read":true,"write":true,"def":0,"unit":"°C"},"native":{"regType":"holdingRegs","address":3,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5,"poll":true}}

modbus.2
2024-07-12 15:34:37.611	debug	Add holdingRegisters.2_Auto_Mode_Temp_Range: {"_id":"holdingRegisters.2_Auto_Mode_Temp_Range","type":"state","common":{"name":"Zieltemperatur im Automodus","role":"value.temperature","type":"number","read":true,"write":true,"def":0,"unit":"°C"},"native":{"regType":"holdingRegs","address":2,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5,"poll":true}}

modbus.2
2024-07-12 15:34:37.610	debug	Add holdingRegisters.1_Working_Mode_Selection: {"_id":"holdingRegisters.1_Working_Mode_Selection","type":"state","common":{"name":"(0=Smart, 1=Silence, 3=Turbo)","role":"state","type":"number","read":true,"write":true,"def":0,"unit":""},"native":{"regType":"holdingRegs","address":1,"deviceId":1,"type":"uint16be","len":1,"offset":0,"factor":1,"poll":true}}

modbus.2
2024-07-12 15:34:37.609	debug	Add holdingRegisters.0_Function_Selection: {"_id":"holdingRegisters.0_Function_Selection","type":"state","common":{"name":"(0=Auto, 1=Heizung, 2=Kühlung)","role":"state","type":"number","read":true,"write":true,"def":0,"unit":""},"native":{"regType":"holdingRegs","address":0,"deviceId":1,"type":"uint16be","len":1,"offset":0,"factor":1,"poll":true}}

modbus.2
2024-07-12 15:34:37.608	debug	Initialize Objects for holdingRegs: [{"_address":0,"name":"Function Selection","description":"(0=Auto, 1=Heizung, 2=Kühlung)","unit":"","type":"uint16be","len":1,"factor":1,"offset":0,"formula":"","role":"state","room":"","poll":true,"wp":"","cw":"","isScale":"","address":0,"deviceId":1,"id":"holdingRegisters.0_Function_Selection"},{"_address":1,"name":"Working Mode Selection","description":"(0=Smart, 1=Silence, 3=Turbo)","unit":"","type":"uint16be","len":1,"factor":1,"offset":0,"formula":"","role":"state","room":"","poll":true,"wp":"","cw":false,"isScale":"","deviceId":1,"address":1,"id":"holdingRegisters.1_Working_Mode_Selection"},{"_address":2,"name":"Auto Mode Temp Range","description":"Zieltemperatur im Automodus","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","poll":true,"wp":"","cw":false,"isScale":"","deviceId":1,"address":2,"id":"holdingRegisters.2_Auto_Mode_Temp_Range"},{"_address":3,"name":"Heating Mode Temp Range","description":"Zieltemperatur im Heizmodus","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","poll":true,"wp":"","cw":false,"isScale":"","address":3,"deviceId":1,"id":"holdingRegisters.3_Heating_Mode_Temp__Range"},{"_address":4,"name":"Cooling Mode Temp Range","description":"Zieltemperatur im Kühlmodus","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","poll":true,"wp":"","cw":false,"isScale":"","deviceId":1,"address":4,"id":"holdingRegisters.4_Cooling_Mode_Temp_Range"}]

modbus.2
2024-07-12 15:34:37.607	debug	Add inputRegisters.4_Water_Outlet_Temp_(AIN2): {"_id":"inputRegisters.4_Water_Outlet_Temp_(AIN2)","type":"state","common":{"name":"","role":"value.temperature","type":"number","read":true,"write":false,"def":0,"unit":"°C"},"native":{"regType":"inputRegs","address":4,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5}}

modbus.2
2024-07-12 15:34:37.606	debug	Add inputRegisters.3_Water_Inlet_Temp_(AIN1): {"_id":"inputRegisters.3_Water_Inlet_Temp_(AIN1)","type":"state","common":{"name":"","role":"value.temperature","type":"number","read":true,"write":false,"def":0,"unit":"°C"},"native":{"regType":"inputRegs","address":3,"deviceId":1,"type":"uint16be","len":1,"offset":-30,"factor":0.5}}

modbus.2
2024-07-12 15:34:37.605	debug	Initialize Objects for inputRegs: [{"_address":3,"name":"Water Inlet Temp (AIN1)","description":"","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","cw":"","isScale":"","address":3,"deviceId":1,"id":"inputRegisters.3_Water_Inlet_Temp_(AIN1)"},{"_address":4,"name":"Water Outlet Temp (AIN2)","description":"","unit":"°C","type":"uint16be","len":1,"factor":0.5,"offset":-30,"formula":"","role":"value.temperature","room":"","cw":"","isScale":"","address":4,"deviceId":1,"id":"inputRegisters.4_Water_Outlet_Temp_(AIN2)"}]

modbus.2
2024-07-12 15:34:37.604	debug	Add coils.0_Power_switch: {"_id":"coils.0_Power_switch","type":"state","common":{"name":"Ein-/Ausschalten","role":"switch","type":"boolean","read":true,"write":true,"def":false},"native":{"regType":"coils","address":0,"deviceId":1,"poll":true,"wp":""}}

modbus.2
2024-07-12 15:34:37.602	debug	Initialize Objects for coils: [{"_address":0,"name":"Power switch","description":"Ein-/Ausschalten","formula":"","role":"switch","room":"","poll":true,"wp":"","cw":"","isScale":"","address":0,"deviceId":1,"id":"coils.0_Power_switch","len":1}]

modbus.2
2024-07-12 15:34:37.600	debug	Add discreteInputs.16_Malfunction_/_Protection_indicator: {"_id":"discreteInputs.16_Malfunction_/_Protection_indicator","type":"state","common":{"name":"0: None / 1: Yes","role":"state","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":16,"deviceId":1}}

modbus.2
2024-07-12 15:34:37.598	debug	Add discreteInputs.0_On_Off: {"_id":"discreteInputs.0_On_Off","type":"state","common":{"name":"","role":"switch","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":0,"deviceId":1}}

modbus.2
2024-07-12 15:34:37.596	debug	Initialize Objects for disInputs: [{"_address":0,"name":"On_Off","description":"","formula":"","role":"switch","room":"","cw":"","isScale":"","address":0,"deviceId":1,"id":"discreteInputs.0_On_Off","len":1},{"_address":16,"name":"Malfunction / Protection indicator","description":"0: None / 1: Yes","formula":"","role":"state","room":"","cw":"","isScale":"","deviceId":1,"address":16,"id":"discreteInputs.16_Malfunction_/_Protection_indicator","len":1}]

modbus.2
2024-07-12 15:34:36.959	info	starting. Version 6.1.0 in /opt/iobroker/node_modules/iobroker.modbus, node: v20.14.0, js-controller: 5.0.19

modbus.2
2024-07-12 15:34:33.777	debug	Plugin sentry Initialize Plugin (enabled=true)

@dolomiti70
Copy link

dolomiti70 commented Jul 14, 2024

I had the same problem. I was wondering why it works with my testsytem and not with my main system. In my testsytem im not using "discrete inputs". So i added an discrete input and i had the same error as described above.
When i marked "Do not align addresses to 16 bits" everything is working fine.

P.S. I'm using a WAGO 750-880 Controller.

@Dirk-Ma
Copy link

Dirk-Ma commented Jul 18, 2024

I have the same problem with Wago. I have no "discete inputs". If I marked "Do not align addresses to 16 bits" everything is working fine.

@GermanBluefox
Copy link
Contributor

The error could only come because of it: #510

@GermanBluefox
Copy link
Contributor

Please try 6.3.3 and if the version works without "Do not align addresses to 16 bits" too. If it works, so the PR #510 must be checked again

@Dirk-Ma
Copy link

Dirk-Ma commented Aug 28, 2024

Hello, where can I get 6.3.3? With 6.3.0 it works with and without "Do not align addresses to 16 bits".

@GermanBluefox
Copy link
Contributor

Hello, where can I get 6.3.3? With 6.3.0 it works with and without "Do not align addresses to 16 bits".

I meant 6.3.0

@GermanBluefox
Copy link
Contributor

GermanBluefox commented Aug 29, 2024

@Q7Jensen #510 (lets discuss in this issue)

I think that here: https://github.com/ioBroker/ioBroker.modbus/pull/510/files#diff-58417e0f781b6656949d37258c8b9052ed266e2eb7a5163cad7b0863e6b2916aR753

Should be result.blocks[b].start and not 'result.blocks[b].count'

@GermanBluefox
Copy link
Contributor

@Dirk-Ma I think I could find the error. Please test the 6.3.1

@Q7Jensen
Copy link
Contributor

@GermanBluefox
I looked at my PullRequest again and tested it and could not see the problem. Please lets discuss this issue promptly and preferably in German.

@Q7Jensen
Copy link
Contributor

@GermanBluefox
You're absolutely right.
It should read result.blocks[b].count += (oldstart - result.blocks[b].start);

@MPTrixi
Copy link
Author

MPTrixi commented Aug 30, 2024

@Dirk-Ma I think I could find the error. Please test the 6.3.1

@GermanBluefox Installed 6.3.2 from GitHub and instances are coming up green, I get data and can trigger the devices. Looks good now for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants