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

Data is received multiple times? #35

Open
flatsiedatsie opened this issue Dec 10, 2018 · 2 comments
Open

Data is received multiple times? #35

flatsiedatsie opened this issue Dec 10, 2018 · 2 comments

Comments

@flatsiedatsie
Copy link
Contributor

The code below shows what happens after a single "requestTime();"

Hello world!
Connected to gateway!
**Received time: 1544457418
Received time: 15:56
Received time: 1544457418
Received time: 15:56
Received time: 1544457418
Received time: 15:56
Received time: 1544457418
Received time: 15:56
Received time: 1544457418
Received time: 15:56
Received time: 1544457418
Received time: 15:56**
-1-2Received time: 15:57
Loop number and motion sensor movements: 1 -> 2
Sending motion total:2
Connection is ok
__Incoming change for child: 1

__Incoming change for child: 1

__Incoming change for child: 1

__Incoming change for child: 1

__Incoming change for child: 1

__Incoming change for child: 1

__Incoming change for child: 1

Similarly, as you can see above, there are 7 incoming messages for child 1. This child is a temperature sensor value, so there should be no reason for it to be receiving messages.

@flatsiedatsie
Copy link
Contributor Author

It might be at my end. I see a lot of repetition on the network:

Dec 10 17:35:41 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;18;PING
Dec 10 17:35:43 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:25
Dec 10 17:35:43 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:25
Dec 10 17:35:43 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:25
Dec 10 17:35:43 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:25
Dec 10 17:35:43 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:25
Dec 10 17:35:43 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:25
Dec 10 17:35:43 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:25
Dec 10 17:35:48 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:25
Dec 10 17:35:51 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;18;PING
Dec 10 17:35:53 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:26
Dec 10 17:35:58 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:26
Dec 10 17:35:58 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:26
Dec 10 17:35:58 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:26
Dec 10 17:35:58 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:26
Dec 10 17:35:58 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:26
Dec 10 17:35:58 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:26
Dec 10 17:36:01 DEBUG GWT:RFC:C=0,MSG=0;0;3;0;18;PING
Dec 10 17:36:03 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:27
Dec 10 17:36:03 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:27
Dec 10 17:36:08 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:27
Dec 10 17:36:08 DEBUG TSF:MSG:READ,15-14-0,s=1,c=1,t=0,pt=2,l=2,sg=0:47
Dec 10 17:36:11 DEBUG GWT:RFC:C=0,MSG=0;255;3;0;2;0;0;3;0;18;PING
Dec 10 17:36:13 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:27
Dec 10 17:36:13 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:27
Dec 10 17:36:13 DEBUG TSF:MSG:READ,15-14-0,s=3,c=1,t=3,pt=1,l=1,sg=0:27

@flatsiedatsie
Copy link
Contributor Author

U suspect I created a loop somewhere..

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

No branches or pull requests

1 participant