tasmota/tasmotizer

Installing tasmotizer on Ubuntu 22.04 LTS

yonz2 opened this issue · 1 comments

yonz2 commented

Error running un UBUNTU 22.04

After cloning the dispo and installing the app, I got the follwoing error message:
~/tasmotizer$ python3 tasmotizer.py qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
The problem was solved by installing libxcb-xinerama0
sudo apt install libxcb-xinerama0

There are a couple of other things to lookout for on Ubuntu 22.04 LTS:

  1. You must remmove the brltty package (https://brltty.app/), otherwise tasmotizer won't start: sudo apt-get remove brltty
  2. The next thing to watchout for are the permissions for the /dev/ttyUSBx device. Your current user needs read and write permissions to it. As it is created each time you plug in a USB device, you can savely set the permissions with sudo chmod 777 /dev/USBx

yonz

The user should be added to the dialout group rather than chmoding the device normally, then logout/login again.

Arduino IDE installation instructions also recommend this method.

Also on a stock Kubuntu 22.04 installation I already seem to have libxcb-xinerama0 installed and I don't have brltty installed, so all I should really have to do is add myself to the dialout group.