roleoroleo / sonoff-hack

Custom firmware for Sonoff GK-200MP2B camera
GNU General Public License v3.0
200 stars 45 forks source link

Home Assistant mqtt changes #102

Closed darkxst closed 1 year ago

darkxst commented 1 year ago

There were some breaking changes that alter mqtt configurations in Home Assistant 2022.06. Support for old format will be completely removed soon. Examples on the wiki can be updated to the following for new format (and a minor fix for payload values).

mqtt:
  binary_sensor:
    - state_topic: "home-assistant/kitchen/motion_detection"
      name: "Motion detection - kitchen"
      payload_on: "motion_start"
      payload_off: "motion_stop"
      qos: 1
mqtt:
  camera:
    - topic: "home-assistant/kitchen/motion_detection_image"
      name: "Motion detection image - kitchen"
roleoroleo commented 1 year ago

Wiki updated.

darkxst commented 1 year ago

Thanks, will close this now.