Tuya motion sensor is not supported in Home Assistant

All,

The Mirabella Smart Home (Tuya based) motion sensor now works well in Home Assistant, if flashed with the latest version of Tasmota.

I flashed with Tuya Convert, added the recommended template and TuyaMCU commands from the Tasmota supported devices wiki, then added to my config:

  - platform: mqtt
    name: "Garage PIR"
    state_topic: "GaragePIR/tele/RESULT"
    value_template: "{{ value_json.TuyaReceived.CmndData | truncate(9, false, '') }}"
    payload_on: "650100010"
    off_delay: 3
    device_class: motion

It’s possible (probable) that other Tuya based motion sensors will work with this method. The OP on the Tasmota wiki also refers to reed switches so they may also work with this method.

Details on flashing and Tasmota configs are in the Mirabella thread.

3 Likes