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

communication detection #122

Open
mabunixda opened this issue Oct 6, 2022 · 0 comments
Open

communication detection #122

mabunixda opened this issue Oct 6, 2022 · 0 comments

Comments

@mabunixda
Copy link
Owner

    > Yeah - that seems to be the implementation of the alexa devices of a single account, that these devices create a kind of swarm and select a leader which does all the communication. Sadly there is no more information available - even on the headers that are included on a single request. And the mac address is not available on such a HTTP request

Hmm, im not so sure about this. have a look at this outputs:

30.9.2022, 19:26:29[node: debug 4](http://192.168.178.29:1880/#)
msg : Object
{ username: "c6260f982b43a226b5542b967f612c…", payload: object, alexa_ip: **"192.168.178.25"**, change_direction: 0, device_name: "Licht" … }
30.9.2022, 19:26:34[node: debug 4](http://192.168.178.29:1880/#)
msg : Object
{ username: "c6260f982b43a226b5542b967f612c…", payload: object, alexa_ip: **"192.168.178.35"**, change_direction: 0, device_name: "Leinwand" … }
30.9.2022, 19:26:39[node: debug 4](http://192.168.178.29:1880/#)
msg : Object
{ username: "c6260f982b43a226b5542b967f612c…", payload: object, alexa_ip: **"192.168.178.49"**, change_direction: 0, device_name: "Computer" … }

So the behavior is strange. I used the same echo for all commands.
It dos not matter wich echo i speak to, when i say:

turn on "Leinwand" it uses this ip:192.168.178.25
turn on "Licht" it uses this ip:192.168.178.35
turn on "Computer" it uses this ip:192.168.178.49
The result is always the same.

What Whireshark cptured for "Licht":
[{"topic":"status/ca05e505da27ac27","data":{"text":"On","fill":"blue","shape":"dot"}},{"topic":"debug","data":{"id":"5dc66ecc4481e7c5","z":"94c4242c8a9ec666","path":"94c4242c8a9ec666","name":"debug 4","msg":"{"username":"c6260f982b43a226b5542b967f612ce","payload":{"on":true,"bri":254,"command":"switch","bri_normalized":100},"alexa_ip":"192.168.178.25","change_direction":0,"device_name":"Licht","light_id":"ca05e505da27ac27","_msgid":"84b40b7a5b67fd7a"}","format":"Object"}},{"topic":"status/0255662fbc4e181a","data":{"text":"broadlink2.0.RM:Broadlink-RMPROPLUS-c7-c8-4d.L.LichtAn: [object Object]","fill":"green","shape":"dot"}}]

Originally posted by @stereodruid in #113 (comment)

@Sylvan86. opening this new issue...

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