Installing "Other" software

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Ian
Posts: 11
Joined: Thu Feb 28, 2019 12:45 pm

Installing "Other" software

Post by Ian »

Hello,

I wish to install this Client/Daemon into my already running Dietpi setup: https://github.com/ThomDietrich/miflora-mqtt-daemon and have it talk to the already installed Dietpi MQTT software.

Could someone advise me on how to install it correctly so it works and doesn't conflict with the current setup?

Thanks
Ian
Ian
Posts: 11
Joined: Thu Feb 28, 2019 12:45 pm

Re: Installing "Other" software

Post by Ian »

No takers :(
User avatar
Joulinar
Posts: 2052
Joined: Sat Nov 16, 2019 12:49 am

Re: Installing "Other" software

Post by Joulinar »

well it's quite a specific peace of software and I guess there not that much people on this board who could help with it.

Anyway I tried to install the miflora-mqtt-daemon. In general it seems working, except one small error message. But this looks like an issue out of the software requirements. So something for the miflora developer.

Code: Select all

root@DietPi3:~# git clone https://github.com/ThomDietrich/miflora-mqtt-daemon.git /opt/miflora-mqtt-daemon
Klone nach '/opt/miflora-mqtt-daemon' ...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 305 (delta 7), reused 7 (delta 3), pack-reused 291
Empfange Objekte: 100% (305/305), 426.15 KiB | 1.20 MiB/s, Fertig.
Löse Unterschiede auf: 100% (188/188), Fertig.
root@DietPi3:~# cd /opt/miflora-mqtt-daemon
root@DietPi3:/opt/miflora-mqtt-daemon# sudo pip3 install -r requirements.txt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting miflora==0.6 (from -r requirements.txt (line 2))
  Downloading https://www.piwheels.org/simple/miflora/miflora-0.6-py3-none-any.whl
Collecting bluepy==1.3.0 (from -r requirements.txt (line 3))
  Downloading https://www.piwheels.org/simple/bluepy/bluepy-1.3.0-cp37-cp37m-linux_armv7l.whl (560kB)
    100% |████████████████████████████████| 563kB 491kB/s
Collecting btlewrap==0.0.9 (from -r requirements.txt (line 4))
  Downloading https://www.piwheels.org/simple/btlewrap/btlewrap-0.0.9-py3-none-any.whl
Collecting paho-mqtt==1.4.0 (from -r requirements.txt (line 5))
  Downloading https://www.piwheels.org/simple/paho-mqtt/paho_mqtt-1.4.0-py3-none-any.whl (48kB)
    100% |████████████████████████████████| 51kB 923kB/s
Collecting wheel==0.29.0 (from -r requirements.txt (line 6))
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/8a/e9/8468cd68b582b06ef554be0b96b59f59779627131aad48f8a5bce4b13450/wheel-0.29.0-py2.py3-none-any.whl (66kB)
    100% |████████████████████████████████| 71kB 850kB/s
Collecting sdnotify==0.3.1 (from -r requirements.txt (line 7))
  Downloading https://www.piwheels.org/simple/sdnotify/sdnotify-0.3.1-py3-none-any.whl
Collecting colorama==0.3.9 (from -r requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Collecting Unidecode==0.4.21 (from -r requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/01/a1/9d7f3138ee3d79a1ab865a2cb38200ca778d85121db19fe264c76c981184/Unidecode-0.04.21-py2.py3-none-any.whl (228kB)
    100% |████████████████████████████████| 235kB 1.1MB/s
Collecting typing<4,>=3 (from miflora==0.6->-r requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/fe/2e/b480ee1b75e6d17d2993738670e75c1feeb9ff7f64452153cf018051cc92/typing-3.7.4.1-py3-none-any.whl
miflora 0.6 has requirement btlewrap==0.0.8, but you'll have btlewrap 0.0.9 which is incompatible.
Installing collected packages: typing, btlewrap, miflora, bluepy, paho-mqtt, wheel, sdnotify, colorama, Unidecode
Successfully installed Unidecode-0.4.21 bluepy-1.3.0 btlewrap-0.0.9 colorama-0.3.9 miflora-0.6 paho-mqtt-1.4.0 sdnotify-0.3.1 typing-3.7.4.1 wheel-0.29.0
root@DietPi3:
on my Demo System I installed following DietPi software packages before. And I activated bluetooth within DietPi settings

Code: Select all

id 16 | build-essentials
id 17 | git client
id 130 | python pip
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Ian
Posts: 11
Joined: Thu Feb 28, 2019 12:45 pm

Re: Installing "Other" software

Post by Ian »

I was mainly asking if it would cause any problems, not that someone should do it for me.

Thanks a lot for trying.

So with the DietPi System it is possible to install other software and the system will recognise it.
User avatar
Joulinar
Posts: 2052
Joined: Sat Nov 16, 2019 12:49 am

Re: Installing "Other" software

Post by Joulinar »

So with the DietPi System it is possible to install other software and the system will recognise it.
Not sure what you mean by this. For RPi's DietPi is based on Raspbian Lite. Maens it's nearly a normal Raspbian system with some cool scripts on top. So installation of software packages will work same way as on all other systems.

As far as I have seen, your application is just a set of python scripts. I guess there will be no impact on the system.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
WarHawk
Posts: 608
Joined: Thu Jul 20, 2017 8:55 am

Re: Installing "Other" software

Post by WarHawk »

If it's supported in arm by the apt sources list...it should install it without issue

However it will be a manually operated program which means you don't get a cool gui to click and make work

I install lshw on my boards and sensors-lm and they work fine
Many other programs too...without issue

Rasbian is Debian built for arm processors and then tons of scripting...but usually the packages work just fine
Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware. An operating system is the set of basic programs and utilities that make your Raspberry Pi run.
https://www.raspbian.org/RaspbianAbout

I have used some Raspberry Pi tutorials without issue...but you have to sort thru the username and some of the locations of files in order to not get errors.
Post Reply