arnemauer / Ducobox-ESPEasy-Plugin

Plugin voor ESPEasy om een Ducobox Silent / Focus / WTW Energy Comfort aan te sturen en sensoren uit te lezen. Er zijn twee plugins: een ducobox RF gateway en ducobox serial gateway.
73 stars 16 forks source link

No feedback from ducobox when changing ventilationmode #132

Closed arnemauer closed 1 year ago

arnemauer commented 1 year ago

Received my Ventilation Gateway today by mail and I have exact the same issue. Clicking the blue buttons in espeasy does change the modes but Ventilationmode of the RF gateway stays on Automatic.

Log ``` 546509: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 546509: [P150] RF GW: 1 - Bytes:14; Counter:15; RSSI:-59 (0x1F); LQI: 0x30 546509: [P150] RF GW: 2 - 30,00,40,00,05, 546509: [P150] RF GW: 3 - Received messagetype: Normal message 546509: [P150] RF GW: 4 - Received messagetype: Normal message 548031: [P150] RF GW: 2 - 20,00,12,86, 548331: HTTP: VENTMODE,LOW 548334: Command: VENTMODE 548335: [P150] RF GW: Sent command 'VENTMODE low' to DUCO unit 548342: [P150] RF GW: 0 - requestVentilationMode(); 548342: [P150] RF GW: 1 - sendVentilationModeMessage(); 548342: [P150] RF GW: 2 - SENT message (outboxQ 0): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0010e899;Type: 7; 548342: [P150] RF GW: 3 - Bytes:18; Counter:7; WaitForAck: 1; 548342: [P150] RF GW: 4 - 00,07,00,10,E8,99,10,44,17,00,60,00,22,00,0C,6E,00,09, 548343: [P150] RF GW: 5 - Start waiting for ack... 548374: [P150] RF GW: 548348 - 548374 = 26 548374: [P150] RF GW: rxBYTES: 38 (hex) 56 (dec); getMarcState 0D 548376: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:3; DEST:1; ORG.SRC:3; ORG.DEST:1; Ntwrk:0010e899;Type: 6; 548376: [P150] RF GW: 1 - Bytes:9; Counter:1; RSSI:-96 (0xD4); LQI: 0x31 548376: [P150] RF GW: 2 - 548660: [P150] RF GW: 0 - CheckforAck: check if 300ms is verstreken 548660: [P150] RF GW: 1 - CheckforAck: still waiting for ACK. Sending message again... 548661: [P150] RF GW: 2 - SENT message (outboxQ 0): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0010e899;Type: 7; 548661: [P150] RF GW: 3 - Bytes:18; Counter:7; WaitForAck: 1; 548661: [P150] RF GW: 4 - 00,07,00,10,E8,99,10,44,17,00,60,00,22,00,0C,6E,00,09, 548661: [P150] RF GW: 5 - Start waiting for ack... 548673: [P150] RF GW: 548666 - 548673 = 7 548674: [P150] RF GW: rxBYTES: 41 (hex) 65 (dec); getMarcState 11 548675: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 548675: [P150] RF GW: 1 - Bytes:13; Counter:2; RSSI:-59 (0x1F); LQI: 0x2E 548675: [P150] RF GW: 2 - 20,00,52,01, 548675: [P150] RF GW: 3 - Received messagetype: Normal message 548675: [P150] RF GW: 4 - Received messagetype: Normal message 548725: [P150] RF GW: RX FIFO OVERFLOW -> idle, flush RX FIFO and switch to RX state. 548988: [P150] RF GW: 6 - Received ACK for message outboxQ 0 we've sent. 549325: [P150] RF GW: 549318 - 549325 = 7 549326: [P150] RF GW: rxBYTES: 11 (hex) 17 (dec); getMarcState 0D 549327: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 549327: [P150] RF GW: 1 - Bytes:14; Counter:3; RSSI:-59 (0x1F); LQI: 0x2E 549327: [P150] RF GW: 2 - 30,00,40,00,05, 549327: [P150] RF GW: 3 - Received messagetype: Normal message 549327: [P150] RF GW: 4 - Received messagetype: Normal message 549645: [P150] RF GW: 549639 - 549645 = 6 549646: [P150] RF GW: rxBYTES: 11 (hex) 17 (dec); getMarcState 0D 549647: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 549647: [P150] RF GW: 1 - Bytes:14; Counter:3; RSSI:-58 (0x20); LQI: 0x2F 549647: [P150] RF GW: 2 - 30,00,40,00,05, 549648: [P150] RF GW: 3 - Received messagetype: Normal message 549648: [P150] RF GW: 4 - Received messagetype: Normal message 549977: [P150] RF GW: 549962 - 549976 = 14 549977: [P150] RF GW: rxBYTES: 11 (hex) 17 (dec); getMarcState 0D 549979: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 549979: [P150] RF GW: 1 - Bytes:14; Counter:3; RSSI:-59 (0x1F); LQI: 0x2D 549979: [P150] RF GW: 2 - 30,00,40,00,05, 549979: [P150] RF GW: 3 - Received messagetype: Normal message 549979: [P150] RF GW: 4 - Received messagetype: Normal message 550715: [P150] RF GW: UPDATE by PLUGIN_READ 550930: [P150] RF GW: 550928 - 550930 = 2 550931: [P150] RF GW: rxBYTES: 11 (hex) 17 (dec); getMarcState 0D 550932: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 550932: [P150] RF GW: 1 - Bytes:14; Counter:4; RSSI:-58 (0x20); LQI: 0x2E 550932: [P150] RF GW: 2 - 30,00,40,00,05, 550932: [P150] RF GW: 3 - Received messagetype: Normal message 550933: [P150] RF GW: 4 - Received messagetype: Normal message 551270: [P150] RF GW: 551250 - 551270 = 20 551271: [P150] RF GW: rxBYTES: 11 (hex) 17 (dec); getMarcState 0D 551272: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 551272: [P150] RF GW: 1 - Bytes:14; Counter:4; RSSI:-59 (0x1F); LQI: 0x2A 551272: [P150] RF GW: 2 - 30,00,40,00,05, 551272: [P150] RF GW: 3 - Received messagetype: Normal message 551272: [P150] RF GW: 4 - Received messagetype: Normal message 551960: [P150] RF GW: 4 - Received messagetype: Normal message 552217: [P150] RF GW: 552216 - 552217 = 1 552218: [P150] RF GW: rxBYTES: 10 (hex) 16 (dec); getMarcState 0D 552219: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 552219: [P150] RF GW: 1 - Bytes:13; Counter:5; RSSI:-59 (0x1F); LQI: 0x2D 552219: [P150] RF GW: 2 - 20,00,12,84, 552219: [P150] RF GW: 3 - Received messagetype: Normal message 552219: [P150] RF GW: 4 - Received messagetype: Normal message 552557: [P150] RF GW: 552538 - 552557 = 19 552558: [P150] RF GW: rxBYTES: 10 (hex) 16 (dec); getMarcState 0D 552559: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 552559: [P150] RF GW: 1 - Bytes:13; Counter:5; RSSI:-58 (0x20); LQI: 0x2F 552559: [P150] RF GW: 2 - 20,00,12,84, 552559: [P150] RF GW: 3 - Received messagetype: Normal message 552559: [P150] RF GW: 4 - Received messagetype: Normal message 553197: [P150] RF GW: 553183 - 553197 = 14 553198: [P150] RF GW: rxBYTES: 11 (hex) 17 (dec); getMarcState 0D 553199: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 553199: [P150] RF GW: 1 - Bytes:14; Counter:6; RSSI:-59 (0x1F); LQI: 0x2D 553199: [P150] RF GW: 2 - 30,00,40,00,05, 553199: [P150] RF GW: 3 - Received messagetype: Normal message 553199: [P150] RF GW: 4 - Received messagetype: Normal message 553558: [P150] RF GW: 4 - Received messagetype: Normal message 553835: [P150] RF GW: 553827 - 553835 = 8 553836: [P150] RF GW: rxBYTES: 11 (hex) 17 (dec); getMarcState 0D 553837: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 553837: [P150] RF GW: 1 - Bytes:14; Counter:6; RSSI:-58 (0x20); LQI: 0x2B 553837: [P150] RF GW: 2 - 30,00,40,00,05, 553838: [P150] RF GW: 3 - Received messagetype: Normal message 553838: [P150] RF GW: 4 - Received messagetype: Normal message 554475: [P150] RF GW: 554471 - 554475 = 4 554476: [P150] RF GW: rxBYTES: 10 (hex) 16 (dec); getMarcState 0D 554477: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 554477: [P150] RF GW: 1 - Bytes:13; Counter:7; RSSI:-58 (0x20); LQI: 0x2E 554477: [P150] RF GW: 2 - 20,00,12,84, 554477: [P150] RF GW: 3 - Received messagetype: Normal message 554477: [P150] RF GW: 4 - Received messagetype: Normal message 554795: [P150] RF GW: 554793 - 554795 = 2 554796: [P150] RF GW: rxBYTES: 10 (hex) 16 (dec); getMarcState 0D 554797: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 554797: [P150] RF GW: 1 - Bytes:13; Counter:7; RSSI:-58 (0x20); LQI: 0x2C 554797: [P150] RF GW: 2 - 20,00,12,84, 554797: [P150] RF GW: 3 - Received messagetype: Normal message 554797: [P150] RF GW: 4 - Received messagetype: Normal message 555129: [P150] RF GW: 555115 - 555128 = 13 555129: [P150] RF GW: rxBYTES: 10 (hex) 16 (dec); getMarcState 0D 555131: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 555131: [P150] RF GW: 1 - Bytes:13; Counter:7; RSSI:-59 (0x1F); LQI: 0x2F 555131: [P150] RF GW: 2 - 20,00,12,84, 555131: [P150] RF GW: 3 - Received messagetype: Normal message 555131: [P150] RF GW: 4 - Received messagetype: Normal message 555766: [P150] RF GW: 4 - Received messagetype: Normal message 556083: [P150] RF GW: 556081 - 556083 = 2 556084: [P150] RF GW: rxBYTES: 11 (hex) 17 (dec); getMarcState 0D 556085: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 556085: [P150] RF GW: 1 - Bytes:14; Counter:8; RSSI:-58 (0x20); LQI: 0x30 556085: [P150] RF GW: 2 - 30,00,40,00,05, 556085: [P150] RF GW: 3 - Received messagetype: Normal message 556085: [P150] RF GW: 4 - Received messagetype: Normal message 556423: [P150] RF GW: 556403 - 556423 = 20 556424: [P150] RF GW: rxBYTES: 11 (hex) 17 (dec); getMarcState 0D 556425: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0010e899;Type: 7; 556425: [P150] RF GW: 1 - Bytes:14; Counter:8; RSSI:-58 (0x20); LQI: 0x2E 556425: [P150] RF GW: 2 - 30,00,40,00,05, 556425: [P150] RF GW: 3 - Received messagetype: Normal message 556425: [P150] RF GW: 4 - Received messagetype: Normal message ```

Originally posted by @SkyThes in https://github.com/arnemauer/Ducobox-ESPEasy-Plugin/issues/120#issuecomment-1380586158

arnemauer commented 1 year ago

@SkyThes You have no other RF duco remotes?

I think the flash memory is corrupted. Could you please flash the gateway with this firmware https://github.com/arnemauer/Ducobox-ESPEasy-Plugin/blob/master/Binaries/Binary%20based%20on%20ESPEasy_mega-20220427/20221024%20Flasher%20c785203%2024-10-2022%20(ESPEasy%20mega-20220427).zip

Write all settings down like networkid, address and all other settings before flashing.

SkyThes commented 1 year ago

@arnemauer Thanks a lot for your quick reply! After flashing the blank image and then the firmware image it is working as expected. So looks indeed like some sort of corruption. 👍