Nymea-plugin-dht not installing

Hi all I am new here.

Trying to install the nymea-plugin-dht plugin on a raspberry pi 3b+ but it is not installing.
Following a similar post in the forum I ssh and installed the plugin using apt and i get the below error. (note that I have installed manually RPi.GPIO = 0.7.1 but for some reason it is trying to use 0.7.0)

nymea@nymea:~ $ sudo apt install nymea-plugin-dht
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  nymea-plugin-dht
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/12.7 kB of archives.
After this operation, 34.8 kB of additional disk space will be used.
A nymea package will be changed. Scheduling nymead restart after upgrade.
Selecting previously unselected package nymea-plugin-dht.
(Reading database ... 76189 files and directories currently installed.)
Preparing to unpack .../nymea-plugin-dht_1.3.1+202207121353~bullseye+rpi1_armhf.deb ...
Unpacking nymea-plugin-dht (1.3.1+202207121353~bullseye+rpi1) ...
Setting up nymea-plugin-dht (1.3.1+202207121353~bullseye+rpi1) ...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting adafruit-circuitpython-dht==3.6.1
  Using cached https://www.piwheels.org/simple/adafruit-circuitpython-dht/adafruit_circuitpython_dht-3.6.1-py3-none-any.whl (8.9 kB)
Collecting Adafruit-Blinka==6.13.0
  Using cached https://www.piwheels.org/simple/adafruit-blinka/Adafruit_Blinka-6.13.0-py3-none-any.whl (179 kB)
Collecting pyftdi==0.53.2
  Using cached https://www.piwheels.org/simple/pyftdi/pyftdi-0.53.2-py3-none-any.whl (141 kB)
Collecting Adafruit-PureIO==1.1.9
  Using cached https://www.piwheels.org/simple/adafruit-pureio/Adafruit_PureIO-1.1.9-py3-none-any.whl (12 kB)
Collecting pyusb==1.1.0
  Using cached https://www.piwheels.org/simple/pyusb/pyusb-1.1.0-py3-none-any.whl (58 kB)
Collecting pyserial==3.5
  Using cached https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting Adafruit-PlatformDetect==3.15.3
  Using cached https://www.piwheels.org/simple/adafruit-platformdetect/Adafruit_PlatformDetect-3.15.3-py3-none-any.whl (18 kB)
Collecting RPi.GPIO==0.7.0
  Using cached RPi.GPIO-0.7.0.tar.gz (30 kB)
Collecting sysv-ipc==1.1.0
  Using cached sysv_ipc-1.1.0.tar.gz (99 kB)
Collecting rpi-ws281x==4.3.0
  Using cached rpi_ws281x-4.3.0.tar.gz (63 kB)
Building wheels for collected packages: RPi.GPIO, rpi-ws281x, sysv-ipc
  Building wheel for RPi.GPIO (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_819xuxe/rpi-gpio_dd39374e508e42688a61aa10c9bc643c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_819xuxe/rpi-gpio_dd39374e508e42688a61aa10c9bc643c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-i846olcs
       cwd: /tmp/pip-install-_819xuxe/rpi-gpio_dd39374e508e42688a61aa10c9bc643c/

Any suggestions are welcome!

Hi,
So nymea does not use the system wide installed python packages. This would likely result in breakages if one plugin requires a different verison of a module than another plugin.
Instead, every plugin brings their own moduls in /usr/lib/arm-linux-gnueabihf/nymea/plugins/<pluginname>/modules/

Now, that does explain why it wants to install another version. Now on to the question why it fails. I’m not sure why it suddenly starts to fail building… This really shouldn’t happen as nymea plugins pick certain package versions and stay on that (which is why it still pull 0.7.0) and the versions in the repositories really should not change. Anyhow, I could reproduce it and I have bumped the version to 0.7.1 which seems to fix this. It’s currently building in experimental.

Thank you @mzanetti for the quick response and actions. I will wait until change gets merged to master branch and retry