Skip to content

MQTT Support #129

Description

@ClementAbadie

Hello,

First of all, a big Thank you for this amazing work ! :)
3 Neato saved here ;)

The web interface is really nice but the support of MQTT could allow to make this project compatible with virtually any home automation system since MQTT is a very common protocol.

Futhermore, it's really easy to add it to the project since ESPhome support it natively.
The only things to add are :

  • In the YAML :
mqtt:
  broker: !secret mqtt_ip
  port: !secret mqtt_port
  username: !secret mqtt_username
  password: !secret mqtt_password
  topic_prefix: esphomeneato
  discovery: false
  discovery_prefix: esphome
  log_topic: esphomelog
  • In the web interface : A way to input the secrets like you did for wifi credentials.
  • In the doc : The names of the commands (button, switch, sensor etc.). For example :
    • Start cleaning :
      • TOPIC : button/house_clean/command
      • MESSAGE : PRESS
    • Send to base :
      • TOPIC : button/send_to_base/command
      • MESSAGE : PRESS
    • Led ON :
      • TOPIC : switch/led/command
      • MESSAGE : ON
    • Led OFF :
      • TOPIC : switch/led/command
      • MESSAGE : OFF
    • UI State :
      • TOPIC : sensor/ui_state/state

Easy to say, harder to do. I know... but it could be a great improvement for the projet :)

Best regards,
Clément.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions