Comments (4)
Here's what worked for me:
garage_door:
platform: mqtt
name: Garage Door
state_topic: "smartthings/Garage Door Opener/contact"
command_topic: "smartthings/Garage Door Opener/door"
state_open: 'open'
state_closed: 'closed'
service_open: 'open'
service_close: 'closed'
retain: true
from smartthings-mqtt-bridge.
@chilicheech is right, the smartapp looks for certain payloads:
https://github.com/stjohnjohnson/smartthings-mqtt-bridge/blob/master/smartapps/stj/mqtt-bridge.src/mqtt-bridge.groovy#L590-L596
from smartthings-mqtt-bridge.
@stjohnjohnson last night when trying this I had the same payloads as the config @chilicheech provided and encountered the same issue, so I reverted to the defaults from HA. The major difference between this config and mine is that my state topic was door and not contact. After updating my state topic to contact and reverting back to the payloads from the example above I encountered the same issue. I changed the optimistic property to true and that seems to have done the trick in combination with the update to the state topic and payloads. I am using a GoControl/Linear GD00Z-4 Garage door opener in case this information is of value to anyone else. Here is my updated and functional config.
garage_door:
platform: mqtt
name: 'Garage Door'
state_topic: 'smartthings/Garage Door/contact'
command_topic: 'smartthings/Garage Door/door'
state_open: 'open'
state_closed: 'closed'
service_open: 'open'
service_close: 'closed'
retain: true
optimistic: true
from smartthings-mqtt-bridge.
Interesting, so for the garage door is has both a contact and door value. Different from the docs: http://docs.smartthings.com/en/latest/capabilities-reference.html#garage-door
Thanks for the feedback!
from smartthings-mqtt-bridge.
Related Issues (20)
- New Smartthings restful API HOT 5
- Device Network ID collision with another DTH HOT 5
- Socket error on client <unknown>, disconnecting
- Continued support HOT 1
- trying to get this running as a service in windows 10 powershell HOT 1
- Unsure where to add IP / port / MAC to the IDE settings? HOT 2
- Set process.title HOT 1
- SmartApp triggers ok, but bridge.deviceNotification(json) not triggered HOT 1
- Issue during Docker installation with "-v /opt/mqtt-bridge:/config" HOT 1
- Questions... questions... and more questions HOT 1
- Release of new Bridge based on smartthings-mqtt-bridge HOT 5
- MQTT on different port HOT 4
- Python HOT 3
- Docker Exits when starting HOT 1
- the bridge works but nothing on HA HOT 1
- Cant uninstall anything .. HOT 3
- config.yml file does not exist
- New Smartthings app/platform HOT 8
- Config.yml help HOT 1
- No HUB, but using ST cloud
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartthings-mqtt-bridge.