
- #Smartthings device handler send message to calling smartapp full version#
- #Smartthings device handler send message to calling smartapp update#
The MBS-SmartApp controls the mappings between the Devices and the Server config.

Please read this to ensure appropriate configuration. Smartthings MBS-SmartApp maintains mappings for each capability of what attribute to subscribe (for publishing to MQTT Broker) and what action method to call for an event received form the MQTT broker via the MBS-Server.If device is not found it follows the old flow. On the flip side, when the server receives an MQTT message from the broker, it checks the device config file for mapping of to and sends the command back to Smartthings.If the device is not in the device config file it assumes the standard old flow and publishes a message /SUFFIX corresponding to the old flow. Once the server receives the event from Smartthings, if the device is in the config file it uses the mapping to publish to MQTT broker.The devices.yml config file maintains a mapping of to the MQTT to be published.For every event Smartthings generates a event package that the SmartApp is subscribed to and sends it to the mbs-server.Within the 'MBS - SmartApp' you describe a capability map and specify which attribute(s) (and corresponding event(s)), the SmartApp will subscribe to.You may choose to define custom attriutes for handling functionality beyond standard attributes - e.g combo devices or more functional tiles Smartthings events are generated from attributes - both standard and custom.Please read the original readme on the previous project for the original flow. While the original flow is preserved as is - a new flow has been introduced to make the bridge more flexible. If you use the SmartThings virtual switches or contact sensors they will just process the commands
#Smartthings device handler send message to calling smartapp update#
The Tasmota Device Type Handlers periodically update other information from device like SSID, RSSI, LWT etc.Use the 'lite' version if you are primary interested in configuring devices using the external device config file and primarily using Tasmota device handlers provided with this package.
#Smartthings device handler send message to calling smartapp full version#
I have a lite and full version of the SmartApp and sample tasmota Device Type Handlers. The use case tested was for primarily Tasmota devices.All dependencies have been updated to the latest versions.'Log' and 'Data' directories store logs and state information The logging and configurations have beem significantly streamlined.Smartthings attribute 'events' are use to publish messages to MQTT broker smartapp and device handlers have a generic processMQTT method to process subscription messages. MQTT wildcards can be used in subscribe topics.

