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

RF- Percentage value not taken into account #143

Open eazores opened 11 months ago

eazores commented 11 months ago

Hi!

I'm using the hardware from https://enri.nl/pcb/?page=itho placed at around 2m from the DucoBox Silent Connect. I'm running the Build: ESP_Easy_mega_20230518_custom_ESP8266_4M1M May 18 2023

I'm fully capable of sending the HIGH, LOW, PERMANENTLOW, AUTO, NOTHOME... commands and they are reflected in the ESPEasy UI but sending commands with desired the percentage like

VENTMODE,AUTO,05
VENTMODE,AUTO,90

only set the mode to AUTO and the percentage value is not taken into account (by comparing the noise it produces compared to LOW, HIGH, or AUTO mode).

Also, inside the box are the stock wired CO2 and humidity sensors. I don’t know if they influence the percentage overrule so I have tried disconnecting them, turning off and on the DucoBox and sending the commands but the issue remains.

Could anyone help me find what I am doing wrong?

Thanks!

Here are some logs of the "VENTMODE,AUTO,60" command: ``` 4019357: HTTP: VENTMODE,AUTO,90 4019358: HTTP after parseTemplate: VENTMODE,AUTO,90 4019359: Command: VENTMODE 4019360: VENTMODE,AUTO,90 4019360: Par1: 0 Par2: 90 Par3: 0 Par4: 0 Par5: 0 4019361: [P150] RF GW: Sent command 'VENTMODE auto' to DUCO unit 4019369: [P150] RF GW: 0 - requestVentilationMode(); 4019369: [P150] RF GW: 1 - sendVentilationModeMessage(); 4019369: [P150] RF GW: 2 - SENT message (outboxQ 0): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0012bec9;Type: 7; 4019369: [P150] RF GW: 3 - Bytes:18; Counter:13; WaitForAck: 1; 4019369: [P150] RF GW: 4 - 00,07,00,12,BE,C9,10,44,1D,00,60,00,22,5A,08,6E,00,08, 4019369: [P150] RF GW: 5 - Start waiting for ack... 4019580: static_file: favicon.ico 4019581: HTML : Request file favicon.ico 4019773: [P150] RF GW: 6 - 00,06,00,12,BE,C9,10,44,1D,00, 4019773: [P150] RF GW: 7 - SEND ACK for inboxQ 0 done 4019773: [P150] RF GW: 8 - Received change ventilation command 4019773: [P150] RF GW: 9 - ventilationMode changed! 4019773: [P150] RF GW: 10 - Send sendConfirmationNewVentilationMode 4019774: [P150] RF GW: 11 - SENT message (outboxQ 1): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0012bec9;Type: 7; 4019774: [P150] RF GW: 12 - Bytes:18; Counter:14; WaitForAck: 1; 4019774: [P150] RF GW: 13 - 00,07,00,12,BE,C9,10,44,1E,00,60,00,22,00,00,6E,00,00, 4019774: [P150] RF GW: LogMessage buffer is full! New log messages are not logged! 4019781: [P150] RF GW: 0 - CheckforAck: check if 300ms is verstreken 4019781: [P150] RF GW: 1 - CheckforAck: still waiting for ACK. Sending message again... 4019781: [P150] RF GW: 2 - SENT message (outboxQ 0): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0012bec9;Type: 7; 4019781: [P150] RF GW: 3 - Bytes:18; Counter:13; WaitForAck: 1; 4019782: [P150] RF GW: 4 - 00,07,00,12,BE,C9,10,44,1D,00,60,00,22,5A,08,6E,00,08, 4019782: [P150] RF GW: 5 - Start waiting for ack... 4020096: [P150] RF GW: 11 - Start waiting for ack... 4020101: [P150] RF GW: ventilation mode changed - UPDATE by PLUGIN_ONCE_A_SECOND 4020121: [P150] RF GW: 4020115 - 4020121 = 6 4020122: [P150] RF GW: rxBYTES: 10 (hex) 16 (dec); getMarcState 0D 4020129: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0012bec9;Type: 7; 4020129: [P150] RF GW: 1 - Bytes:13; Counter:14; RSSI:-70 (0x08); LQI: 0x7F 4020129: [P150] RF GW: 2 - 20,00,12,00, 4020129: [P150] RF GW: 3 - Received messagetype: Normal message 4020129: [P150] RF GW: 4 - SENT message (outboxQ 2): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0012bec9;Type: 6; 4020129: [P150] RF GW: 5 - Bytes:10; Counter:14; WaitForAck: 0; 4020129: [P150] RF GW: 6 - 00,06,00,12,BE,C9,10,44,1E,00, 4020129: [P150] RF GW: 7 - SEND ACK for inboxQ 0 done 4020129: [P150] RF GW: 8 - Received change ventilation command 4020129: [P150] RF GW: 9 - Ventilationmode did not changed, no need to send confirmation. 4020130: [P150] RF GW: 10 - No data to send! 4020404: [P150] RF GW: 0 - CheckforAck: check if 300ms is verstreken 4020404: [P150] RF GW: 1 - CheckforAck: still waiting for ACK. Sending message again... 4020404: [P150] RF GW: 2 - SENT message (outboxQ 0): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0012bec9;Type: 7; 4020405: [P150] RF GW: 3 - Bytes:18; Counter:13; WaitForAck: 1; 4020405: [P150] RF GW: 4 - 00,07,00,12,BE,C9,10,44,1D,00,60,00,22,5A,08,6E,00,08, 4020405: [P150] RF GW: 5 - Start waiting for ack... 4020405: [P150] RF GW: 6 - CheckforAck: check if 300ms is verstreken 4020405: [P150] RF GW: 7 - CheckforAck: still waiting for ACK. Sending message again... 4020405: [P150] RF GW: 8 - SENT message (outboxQ 1): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0012bec9;Type: 7; 4020405: [P150] RF GW: 9 - Bytes:18; Counter:14; WaitForAck: 1; 4020405: [P150] RF GW: 10 - 00,07,00,12,BE,C9,10,44,1E,00,60,00,22,00,00,6E,00,00, 4020405: [P150] RF GW: 11 - Start waiting for ack... 4020577: [P150] RF GW: 7 - SEND ACK for inboxQ 0 done 4020577: [P150] RF GW: 8 - Received change ventilation command 4020577: [P150] RF GW: 9 - Ventilationmode did not changed, no need to send confirmation. 4020577: [P150] RF GW: 10 - No data to send! 4020715: [P150] RF GW: 0 - CheckforAck: check if 300ms is verstreken 4020716: [P150] RF GW: 1 - CheckforAck: no ack received, cancel retrying. 4020716: [P150] RF GW: 2 - CheckforAck: check if 300ms is verstreken 4020716: [P150] RF GW: 3 - CheckforAck: still waiting for ACK. Sending message again... 4020716: [P150] RF GW: 4 - SENT message (outboxQ 1): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0012bec9;Type: 7; 4020716: [P150] RF GW: 5 - Bytes:18; Counter:14; WaitForAck: 1; 4020716: [P150] RF GW: 6 - 00,07,00,12,BE,C9,10,44,1E,00,60,00,22,00,00,6E,00,00, 4020716: [P150] RF GW: 7 - Start waiting for ack... 4021028: [P150] RF GW: 0 - CheckforAck: check if 300ms is verstreken 4021028: [P150] RF GW: 1 - CheckforAck: no ack received, cancel retrying. 4021387: [P150] RF GW: UPDATE by PLUGIN_READ 4021806: [P150] RF GW: 4021804 - 4021806 = 2 4021806: [P150] RF GW: rxBYTES: 10 (hex) 16 (dec); getMarcState 0D 4021813: [P150] RF GW: 0 - RECEIVED message (inboxQ 0): SRC:1; DEST:2; ORG.SRC:1; ORG.DEST:2; Ntwrk:0012bec9;Type: 7; 4021813: [P150] RF GW: 1 - Bytes:13; Counter:1; RSSI:-69 (0x0B); LQI: 0x7F 4021814: [P150] RF GW: 2 - 20,00,12,00, 4021814: [P150] RF GW: 3 - Received messagetype: Normal message 4021814: [P150] RF GW: 4 - SENT message (outboxQ 0): SRC:2; DEST:1; ORG.SRC:2; ORG.DEST:1; Ntwrk:0012bec9;Type: 6; 4021814: [P150] RF GW: 5 - Bytes:10; Counter:1; WaitForAck: 0; 4021814: [P150] RF GW: 6 - 00,06,00,12,BE,C9,10,44,11,00, 4021814: [P150] RF GW: 7 - SEND ACK for inboxQ 0 done 4021814: [P150] RF GW: 8 - Received change ventilation command 4021814: [P150] RF GW: 9 - Ventilationmode did not changed, no need to send confirmation. 4021814: [P150] RF GW: 10 - No data to send! 4022653: WD : Uptime 67 ConnectFailures 0 FreeMem 12664 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init ```
eazores commented 11 months ago

Reading https://github.com/arnemauer/Ducobox-ESPEasy-Plugin/issues/123 made me realise that my antenna was not close enough to the box. I can now send the values, although I would have thought that the engine power at VENTMODE,AUTO,100 would equal the VENTMODE,PERMANENTHIGH mode but it is nowhere as powerful, closer to PERMANENTMID. The issue can be closed :-)