I’m trying to set up Zigbee devices to be controlled via MQTT and Tasmota10.0 on the Sonoff ZBBridge
All the components (Tasmota, ZB device, Broker, Integration) seem to be working.
I can publish topics manually on the MQTT Config page and control a device.
I can listen to topics and see devices status
But … there doesn’t seem to be either
a) and kind of discovery system (I’ve tried SetOption19 1 on the Tasmota console and nothing happens
b) any documentation as to how to set up configuration.yaml to access these devices
There are many simple examples that seem to define lights and switches in terms of a ‘topic’ that turns them off and on - but nothing that explains how to control devices when the ID is in the payload
Does any one have pointers to the appropriate documentation or examples? Or is there a discovery system that I’m completely failing to understand?
Do you know of any references for setting up configuration.yaml to control devices via zigbee2tasmota?
I have searched long and hard and found nothing?
Check config throws an error saying that state_on and state_off are not valid options.
Searched about a bit and found the ‘state_value_template’ used in a few places - tried that in this way
But neither seem to update the state appropriately, so the lights shos as beign ‘off’ even when succesfully switched on …
Is there anyway to debug these templates (I’ve looked at the template checker in the development tools - but it doesnt seem to operate in content so value_json is not available to be evaluated
By setting SetOption89 to 1, each device is given their own topic, tele/%topic%/<device>/SENSOR
SetOption112 to 1 so that the friendly name will be used in the MQTT topic instead of the unique identifier etOption83 1 sensor readings will use the friendly name as JSON key,