Giter Site home page Giter Site logo

wain-pc / roomba-mqtt-homeassistant Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 4.0 10 KB

Add Smart Home integration to your iRobot Roomba vacuum. 600, 700, 800 series are supported.

C++ 89.36% C 10.64%
irobot roomba roomba600 roomba700 roomba800 homeassistant

roomba-mqtt-homeassistant's Issues

MQTT Vacuum autodiscovery failure

Hello,

Was able to get the firmware flashed onto my D1 Mini and communicating with my MQTT broker without any issues.

However, upon looking into my Home Assistant install, the board is having issues being auto discovered as a vacuum. The individual sensor data appears without issue, but the MQTT vacuum fails to work with the error:

Exception in async_discover when dispatching 'mqtt_discovery_new_vacuum_mqtt': ({'name': 'roomba', 'unique_id': 'roomba', 'state_topic': 'roomba/state', 'availability_topic': 'roomba/status', 'device': {'manufacturer': 'iRobot', 'model': 'Roomba 880', 'name': 'Roomba', 'sw_version': '1.0.0-dev.0', 'connections': [['mac', 'MACADDR']], 'identifiers': ['roomba']}, 'platform': 'mqtt'},) Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py", line 160, in async_discover config = schema(discovery_payload) File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 218, in call return self._exec((Schema(val) for val in self.validators), v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 341, in _exec raise e if self.msg is None else AllInvalid(self.msg, path=path) File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 337, in _exec v = func(v) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in call return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable return schema(data) File "/usr/src/homeassistant/homeassistant/components/mqtt/vacuum/init.py", line 19, in validate_mqtt_vacuum return schemasvalue[CONF_SCHEMA]
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in call return self._compiled([], data) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: extra keys not allowed @ data['state_topic']

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.