wain-pc / roomba-mqtt-homeassistant Goto Github PK
View Code? Open in Web Editor NEWAdd Smart Home integration to your iRobot Roomba vacuum. 600, 700, 800 series are supported.
Add Smart Home integration to your iRobot Roomba vacuum. 600, 700, 800 series are supported.
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']
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.