Giter Site home page Giter Site logo

Base32 Key? about simple-wyze-vac HOT 5 CLOSED

romedtino avatar romedtino commented on May 23, 2024
Base32 Key?

from simple-wyze-vac.

Comments (5)

hopkinsag1 avatar hopkinsag1 commented on May 23, 2024 1

This is now fixed for me after the latest update! Thank you!

from simple-wyze-vac.

pjuhl2313 avatar pjuhl2313 commented on May 23, 2024

Here are my logs when I try to install:

Logger: homeassistant.config_entries
Source: components/system_log/init.py:96
First occurred: 10:35:57 AM (1 occurrences)
Last logged: 10:35:57 AM

Error setting up entry Simple Wyze Vac for simple_wyze_vac
Traceback (most recent call last):
  File "/config/custom_components/simple_wyze_vac/__init__.py", line 70, in async_setup_entry
    if vac_info.current_map.rooms is not None:
  File "/usr/local/lib/python3.10/site-packages/wyze_sdk/models/devices/vacuums.py", line 380, in rooms
    return [VacuumMapRoom(**room) for room in map_data['12']]
  File "/usr/local/lib/python3.10/site-packages/wyze_sdk/models/devices/vacuums.py", line 380, in <listcomp>
    return [VacuumMapRoom(**room) for room in map_data['12']]
TypeError: wyze_sdk.models.devices.vacuums.VacuumMapRoom() argument after ** must be a mapping, not str

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 357, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/simple_wyze_vac/__init__.py", line 75, in async_setup_entry
    _LOGGER.warn("Failed to query vacuum rooms. If your firmware is higher than 1.6.113, rooms is currently not supported. Exception: ", err)
  File "/usr/local/lib/python3.10/logging/__init__.py", line 1494, in warn
    self.warning(msg, *args, **kwargs)
  File "/usr/local/lib/python3.10/logging/__init__.py", line 1489, in warning
    self._log(WARNING, msg, args, **kwargs)
  File "/usr/local/lib/python3.10/logging/__init__.py", line 1624, in _log
    self.handle(record)
  File "/usr/local/lib/python3.10/logging/__init__.py", line 1634, in handle
    self.callHandlers(record)
  File "/usr/local/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
    hdlr.handle(record)
  File "/usr/local/lib/python3.10/logging/__init__.py", line 968, in handle
    self.emit(record)
  File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 179, in emit
    entry = LogEntry(
  File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 96, in __init__
    self.message = deque([record.getMessage()], maxlen=5)
  File "/usr/local/lib/python3.10/logging/__init__.py", line 368, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting

from simple-wyze-vac.

romedtino avatar romedtino commented on May 23, 2024

The Base32 key is optional for those who want to use 2FA (through TOTP) on their account. See here for more information - https://github.com/romedtino/simple-wyze-vac#totp

As for your error, it looks like you're vacuuming is on a completely new firmware version. Looks similar to what this person was seeing - #31

from simple-wyze-vac.

hopkinsag1 avatar hopkinsag1 commented on May 23, 2024

I get the same error. Firmware has been the same for months. Only thing that has changed was a Home Assistant update.

from simple-wyze-vac.

romedtino avatar romedtino commented on May 23, 2024

Workaround fixes issue

from simple-wyze-vac.

Related Issues (20)

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.