Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Bridge.things
- Bridge mqtt:broker:mybroker "MQTT Broker: MyBroker"
- [
- host="192.168.178.23",
- port=1883,
- secure="false",
- username="xxx",
- password="xxx"
- ]
- //shelly.things
- Thing mqtt:topic:mybroker:garage "Shelly Garage"
- (mqtt:broker:mybroker)
- {
- Channels:
- Type switch : power "Power"
- [
- stateTopic = "shellies/shelly1-xxxxxx/relay/0",
- commandTopic = "shellies/shelly1-xxxxxx/relay/0/command",
- on="on",
- off="off"
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement