Skip to content

Instantly share code, notes, and snippets.

@marcelmaatkamp
Created November 5, 2015 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelmaatkamp/630e6b40956c36f4d593 to your computer and use it in GitHub Desktop.
Save marcelmaatkamp/630e6b40956c36f4d593 to your computer and use it in GitHub Desktop.
simply push a button to emit a MQTT event

Simply push a button to emit a MQTT event.

[
{
"id":"6ce8b750.931748",
"type":"mqtt-broker",
"broker":"rabbitblack",
"port":"1883",
"clientid":""
},
{
"id":"e37b0294.1c85",
"type":"mqtt out",
"name":"",
"topic":"",
"qos":"",
"retain":"",
"broker":"6ce8b750.931748",
"x":286,
"y":74,
"z":"515fafe9.aea05",
"wires":[
]
},
{
"id":"7a453144.85bad",
"type":"inject",
"name":"",
"topic":"time",
"payload":"",
"payloadType":"date",
"repeat":"",
"crontab":"",
"once":false,
"x":131,
"y":74,
"z":"515fafe9.aea05",
"wires":[
[
"e37b0294.1c85"
]
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment