Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Repeating messages (Spam from gbridge) #38

Closed
rm2kdev opened this issue Sep 18, 2019 · 1 comment
Closed

Repeating messages (Spam from gbridge) #38

rm2kdev opened this issue Sep 18, 2019 · 1 comment

Comments

@rm2kdev
Copy link

rm2kdev commented Sep 18, 2019

Instance Type : hosted
UserID: u2682

1, Create an outlet device
2, Register a MQTT listener in node_red for said device
3, Connect MQTT to debug
4, "Okay google, turn on DeviceName power"
5, Observe the debug window

18/09/2019, 22:35:24node: e62bf2ac.5a06a gBridge/u2682/dxxxx/onoff : msg.payload : string[14] "{"state":"ON"}" 18/09/2019, 22:35:24node: e62bf2ac.5a06a gBridge/u2682/dxxxx/onoff : msg.payload : string[14] "{"state":"ON"}" 18/09/2019, 22:35:25node: e62bf2ac.5a06a gBridge/u2682/dxxxx/onoff : msg.payload : string[14] "{"state":"ON"}" 18/09/2019, 22:35:25node: e62bf2ac.5a06a gBridge/u2682/dxxxx/onoff : msg.payload : string[14] "{"state":"ON"}" 18/09/2019, 22:35:25node: e62bf2ac.5a06a gBridge/u2682/dxxxx/onoff : msg.payload : string[14] "{"state":"ON"}" 18/09/2019, 22:35:26node: e62bf2ac.5a06a gBridge/u2682/dxxxx/onoff : msg.payload : string[14] "{"state":"ON"}"

Expected Behavior
Receive one payload from gBridge

Actual Behavior
gBridge spams the mqtt server as fast as it can send

@rm2kdev
Copy link
Author

rm2kdev commented Sep 18, 2019

My Fault.

I had setup something like this
image
where by the entry point on the left was pushing back into its self (Causing a loop) rather than pushing into /set to inform the hosted service the switch was on

@rm2kdev rm2kdev closed this as completed Sep 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant