-
Notifications
You must be signed in to change notification settings - Fork 40
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
Signal reception after sending #28
Comments
Same test no with HAP disabled, Now there is no ECHO of the ON and OFF swiching....? But the signal is still received after sending. debug [pimatic-homeduino]: contact1: { id: 1337110, all: false, contact: true, unit: 1 } |
More debugging: Now with the recieving part switched off in the config file: As far as I can see the HAP Plugin does trigger the homeduino module again? debug [pimatic-homeduino]: data: "ACK" |
Which version of pimatic do you use? |
Pimatic version is 0.9 and update to the latest version. |
I don't think this behaviour is caused by homeduino. I haven't been able to reproduce it, at least. Maybe it is the Switch relaying the message?! Well, rather unlikely as these switch are normally just receiving devices. Do you have a 433 Mhz signal repeater, or may be your neighbour has? To work-around the issue you can try the following: With pimatic-homeduino 0.9.9 the |
To my knowledge there is no repeater here and also not at my neighbours. Otherwise I should most probably also receive other signals from contact multiple times...if they are not fast enough. |
I have recompiled the latest homeduino sketch and uploaded this to the Nano and it looks like that this has helped...No more receiving after sending. The original sketch has already been there for quite a few version so maybe something has changed? Now we still have the effect that if I switch something within Pimatic the sending gets triggered twice after feedback from the Hap plugin. |
Great
I am not sure. Possibly this commit: |
When I switch a lamp via the homeduino RF module, it sends out the RF signal but also receives the same signal. This can cause a loop in for example the HAP module. Issue #39 knows what is happening here? Hardware or Software related?
14:58:49 debug [pimatic-homeduino]: pir5: { id: 1337110, all: false, presence: false, unit: 1 }
14:58:49 debug [pimatic-homeduino]: switch1: { id: 1337110, all: false, state: false, unit: 1 }
14:58:49 debug [pimatic-homeduino]: received: [ 224, 356, 1244, 2580, 10188 ] 131012101210121012101212101012121010121012101212101210101210121210121012101012101210121210101212101210101210121012101210121012121014
14:58:49 debug [pimatic-homeduino]: data: "RF receive 356 2580 224 1244 10188 0 0 0 010203020302030203020303020203030202030203020303020302020302030302030203020203020302030302020303020302020302030203020302030203030204"
----> Same signal is received another time no manual switching here 2nd time?
14:58:49 debug [pimatic-homeduino]: data: "ACK"
14:58:48 debug [pimatic-homeduino]: Sending Protocol: switch1 id:1337110 unit:1 all:false state:false Pin:4 Repeats:7
--> Switching LAMP OFF (BUT NO MANUAL ACTION HERE 2nd time?)
14:58:48 debug [pimatic-homeduino]: contact1: { id: 1337110, all: false, contact: true, unit: 1 }
14:58:48 debug [pimatic-homeduino]: pir5: { id: 1337110, all: false, presence: false, unit: 1 }
14:58:48 debug [pimatic-hap]: switching device Lamp Televisie to false
14:58:48 debug [pimatic-homeduino]: switch1: { id: 1337110, all: false, state: false, unit: 1 }
14:58:48 debug [pimatic-homeduino]: received: [ 217, 364, 1236, 2568, 10172 ] 131012101210121012101212101012121010121012101212101210101210121210121012101012101210121210101212101210101210121012101210121012121014
14:58:48 debug [pimatic-homeduino]: data: "RF receive 364 2568 217 1236 10172 0 0 0 010203020302030203020303020203030202030203020303020302020302030302030203020203020302030302020303020302020302030203020302030203030204"
----> Same signal is received
14:58:48 debug [pimatic-homeduino]: data: "ACK"
14:58:48 debug [pimatic-homeduino]: Sending Protocol: switch1 id:1337110 unit:1 all:false state:false Pin:4 Repeats:7
*--> Switching LAMP OFF *
14:58:45 warn [pimatic-fritz]: Re-establishing session at http://fritz.box
14:58:45 debug [pimatic-homeduino]: contact1: { id: 1337110, all: false, contact: false, unit: 1 }
14:58:45 debug [pimatic-homeduino]: pir5: { id: 1337110, all: false, presence: true, unit: 1 }
14:58:45 debug [pimatic-homeduino]: switch1: { id: 1337110, all: false, state: true, unit: 1 }
14:58:45 debug [pimatic-homeduino]: received: [ 216, 364, 1237, 2572, 10176 ] 131012101210121012101212101012121010121012101212101210101210121210121012101012101210121210101212101210101210121210101210121012121014
14:58:45 debug [pimatic-homeduino]: data: "RF receive 364 2572 216 1237 10176 0 0 0 010203020302030203020303020203030202030203020303020302020302030302030203020203020302030302020303020302020302030302020302030203030204"
----> Same signal is received as well for second time?
14:58:45 debug [pimatic-homeduino]: data: "ACK"
14:58:44 debug [pimatic-homeduino]: Sending Protocol: switch1 id:1337110 unit:1 all:false state:true Pin:4 Repeats:7
--> Switching LAMP ON 2nd time no manual action here?
14:58:44 debug [pimatic-homeduino]: contact1: { id: 1337110, all: false, contact: false, unit: 1 }
14:58:44 debug [pimatic-homeduino]: pir5: { id: 1337110, all: false, presence: true, unit: 1 }
14:58:44 debug [pimatic-hap]: switching device Lamp Televisie to true
14:58:44 debug [pimatic-homeduino]: switch1: { id: 1337110, all: false, state: true, unit: 1 }
14:58:44 debug [pimatic-homeduino]: received: [ 216, 364, 1236, 2568, 10176 ] 131012101210121012101212101012121010121012101212101210101210121210121012101012101210121210101212101210101210121210101210121012121014
14:58:44 debug [pimatic-homeduino]: data: "RF receive 364 2568 216 1236 10176 0 0 0 010203020302030203020303020203030202030203020303020302020302030302030203020203020302030302020303020302020302030302020302030203030204"
-----> Signal is received
14:58:44 debug [pimatic-homeduino]: data: "ACK"
14:58:43 debug [pimatic-homeduino]: Sending Protocol: switch1 id:1337110 unit:1 all:false state:true Pin:4 Repeats:7
----> Switching LAMP ON
The text was updated successfully, but these errors were encountered: