Tradfri in domotics Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc
Post Reply
Basssment
Posts: 6
Joined: Thursday 18 October 2018 14:04
Target OS: Raspberry Pi
Domoticz version: 4.9700
Contact:

Tradfri in domotics

Post by Basssment » Friday 23 November 2018 15:26

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: 621
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi
Domoticz version: V4.9999
Location: NL
Contact:

Re: Tradfri in domotics

Post by heggink » Friday 23 November 2018 17:48

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.
Pi3, latest beta
RFXCOM, z-wave (AEOTEC, switches, temhum, pir, contacts),
Plugwise2py, P1 'smart'meter & solar panel
Alexa, Wifi Cams motion detection
ESP: relays, PIR & Temp/TempHum
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest

Basssment
Posts: 6
Joined: Thursday 18 October 2018 14:04
Target OS: Raspberry Pi
Domoticz version: 4.9700
Contact:

Re: Tradfri in domotics

Post by Basssment » Friday 23 November 2018 19:37

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: 6
Joined: Thursday 18 October 2018 14:04
Target OS: Raspberry Pi
Domoticz version: 4.9700
Contact:

Re: Tradfri in domotics

Post by Basssment » Saturday 01 December 2018 0:02

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 0 guests