Tradfri in domotics Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Basssment
Posts: 38
Joined: Thursday 18 October 2018 14:04
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: netherlands, Kuuk
Contact:

Tradfri in domotics

Post by Basssment »

Hello,

I'm struggeling at the moment with domoticz on mi pi3 installinge ikea tradfri.
I have been installing difrent modulles the last couple of days but I cant seem te get it to work.
I followed the next howto:
https://rutger.kirkels.nl/2018/02/01/do ... s-tradfri/

And also this one:
https://github.com/moroen/IKEA-Tradfri-plugin

But when i'm getting to the next code to enter in to the pi i get some errors

Code: Select all

cd IKEA_tradfri
sudo cp ikea-tradfri.service /lib/systemd/system/
sudo systemctl daemon-reload
sudo systemctl start ikea-tradfri.service
The map does not seem to exsist, so manually went to the correct folder (there seems to be a typo) it looks like it is working except for the start service.
the next error apears:
Failed to start ikea-tradfri.service: Unit ikea-tradfri.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status ikea-tradfri.service' for details.

I tried installing everything again but the same problem.
Installed coap first of couse, also i found that Twisted should be installed with the sudo command but still no luck.

I'm not verry good with linux so i hope someone could guid me a bit. ;)

Thank you before hand!
Bas
User avatar
heggink
Posts: 980
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Tradfri in domotics

Post by heggink »

I noticed your signature says Synology, correct? I don't know synology at all but I suspect it does not support systemd which means that you need to use the synology way of autostarting these services.

A quick google for synology and systemd gave this: https://www.home-assistant.io/docs/autostart/synology/

The ikeas-tradfri.service file tells systemd what programme to start at boot. See what is different in the synology autostart and create your own autostart file for synology.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Basssment
Posts: 38
Joined: Thursday 18 October 2018 14:04
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: netherlands, Kuuk
Contact:

Re: Tradfri in domotics

Post by Basssment »

Hello Heggink,

Thank you for your reply!
You paid good attention, i am using Domoticz on my nas. But just because of the huge support for rpi i am configuring a rpi now.
So my synology is running it now but will be geplaced with the raspberry soon. Atleast when i get everything to work ;)
Basssment
Posts: 38
Joined: Thursday 18 October 2018 14:04
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: netherlands, Kuuk
Contact:

Re: Tradfri in domotics

Post by Basssment »

Everyone,
After many hours i finaly seem go get it to work.
Had to add a lot of extra plugins ans aplications on my standard raspbian.
Learned al lot about the way everything works!
:D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest