Last active
December 6, 2017 15:02
-
-
Save cpq/cba067029a478951162efe4851dfac42 to your computer and use it in GitHub Desktop.
btgw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name_pattern": "*", | |
"addr_pattern": "c2:*|01:*", | |
"actions": { | |
"00001530-1212-efde-1523-785feabcd123": { | |
"00001111-2222-3456-6543-785feabcd456": { | |
"notify": { | |
"dst": { "type": "http", "url": "http://127.0.0.1:1234/bt/${name}" } | |
}, | |
"write": { | |
"src": { "type": "mqtt", "topic": "bt/${name}" } | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"name_pattern": "*", | |
"addr_pattern": "18:*", | |
"actions": { | |
"1234": { | |
"5678": { | |
"read": { | |
"interval": 10, | |
"dst": { "type": "shadow", "key": "foo" } | |
} | |
} | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment