If the whole pip, pip3 situation is too confusing, or isn't available on you platform, just use the coapcmd option under step 3b of the Tradfri plugin instructions. That will probably work fine on most Linux based platforms.
@Moroen: I hope you don't mind me posting the necessary GO and GIT installation instructions here, before you can add them to your README.md?
These instructions are writen for an installation on a Synology NAS, but are actually pretty generic and should work for any Linux distro.
To install the coapcmd option of the Tradfri plugin you need to follow these preliminary steps:
These instructions assume that you already have SSH access to your System/Synology NAS. To enable SSH access to your System/Synology NAS do a Google search, there are many instructions regarding this subject.
1. Make sure that you have installed Python3 on your System/Synology NAS. You can find the Python3 package in the DSM Package Manager
2. Make sure that you have installed Git on your System/Synology NAS. You can find the Git package in the ‘Community’ section of the DSM Package Manager
3. Open a SSH connection to your System/Synology NAS and execute the following command on the command line: uname -m
Make a note of the result, in my case the result was ‘armv7l’. This value indicates what type of architecture the CPU in your System/Synology NAS uses, we need this value to find the correct ‘Go’ version for your System/NAS
4. Go to
https://golang.org/dl/ and download the correct Go version for your CPU architecture, save it in an easy to find location on your System/NAS. I recommend using the DSM ‘File Station’ application to upload it to your Synology home folder.
If you can’t find the exact version for your CPU architecture, a lower version will probably work to. ARMv6, for instance, works fine for my ARMv7l CPU
5. On the System/NAS command line go to your home directory by executing this command: cd $HOME
Use the command ‘ll’ (double l) to see a list of files in your home folder, the Go installation file should be in the file list
6. Follow the Go installation instructions here:
https://golang.org/doc/install
7. When Go is successfully installed, go to step 1 of the IKEA-Tradfri plugin installation instructions, skip step 2 (you don’t need PIP) and then proceed to step 3b and follow the rest of the instructions
8. Restart Domoticz through the DSM Package Manager (Stop it, then start it)
You should now see the Tradfri plugin in the Hardware section of Domoticz, where you can add it and configure it.