At this moment i have:
2 switches (round ones) (removed them now)
3 lamps
1 dimmer
No i have this output:
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ python3 tradfri.tac
IKEA-tradfri COAP-adaptor version 0.8.6 started (command line)!
Connected from IPv4Address(type='TCP', host='127.0.0.1', port ...
Search found 23 matches
- Sunday 18 November 2018 20:57
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
- Sunday 18 November 2018 19:46
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ python3 tradfri.tac --dryrun
IKEA-tradfri COAP-adaptor version 0.8.6 started (command line)!
Initializing gateway
Adding light with ID: 65542
Adding light with ID: 65545
Adding socket with ID: 65538
Adding light with ID: 65546
Adding light with ID: 65544 ...
IKEA-tradfri COAP-adaptor version 0.8.6 started (command line)!
Initializing gateway
Adding light with ID: 65542
Adding light with ID: 65545
Adding socket with ID: 65538
Adding light with ID: 65546
Adding light with ID: 65544 ...
- Thursday 15 November 2018 20:52
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
I did a new install...
And again received errors...:
Nov 15 20:41:24 Domoticz.labots.nl systemd[1]: ikea-tradfri.service: Service hold-off time over, scheduling restart.
Nov 15 20:41:24 Domoticz.labots.nl systemd[1]: Stopped IKEA Tradfri COAP-adapter.
Nov 15 20:41:24 Domoticz.labots.nl systemd[1 ...
And again received errors...:
Nov 15 20:41:24 Domoticz.labots.nl systemd[1]: ikea-tradfri.service: Service hold-off time over, scheduling restart.
Nov 15 20:41:24 Domoticz.labots.nl systemd[1]: Stopped IKEA Tradfri COAP-adapter.
Nov 15 20:41:24 Domoticz.labots.nl systemd[1 ...
- Wednesday 14 November 2018 21:49
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
After a reboot (again) i looked again in the devices.ini...
And there was again a line []
Deleted the line, and restarted the services.
I was able to switch off a lamp..., but not switch it on.
So i had a look in the devices.ini again, and the [] was there again...
And there was again a line []
Deleted the line, and restarted the services.
I was able to switch off a lamp..., but not switch it on.
So i had a look in the devices.ini again, and the [] was there again...
- Wednesday 14 November 2018 21:28
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
[DEFAULT]
hasrgb = False
dimmable = True
haswb = True
[TRADFRI bulb E14 WS opal 400lm]
dimmable = True
haswb = True
hasrgb = False
[TRADFRI bulb E14 W op/ch 400lm]
dimmable = True
haswb = False
hasrgb = False
[TRADFRI bulb E27 W opal 1000lm]
dimmable = True
haswb = False
hasrgb = False
[TRADFRI ...
hasrgb = False
dimmable = True
haswb = True
[TRADFRI bulb E14 WS opal 400lm]
dimmable = True
haswb = True
hasrgb = False
[TRADFRI bulb E14 W op/ch 400lm]
dimmable = True
haswb = False
hasrgb = False
[TRADFRI bulb E27 W opal 1000lm]
dimmable = True
haswb = False
hasrgb = False
[TRADFRI ...
- Wednesday 14 November 2018 19:51
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Had to figure out out to use a develop branch... is it to correct to use git clone -b develop http://etc...?
Now i have this output: (did a reboot)
Nov 14 20:01:46 Domoticz.labots.nl systemd[1]: Started IKEA Tradfri COAP-adapter.
Nov 14 20:01:47 Domoticz.labots.nl twistd[3882]: Unhandled Error
Nov ...
Now i have this output: (did a reboot)
Nov 14 20:01:46 Domoticz.labots.nl systemd[1]: Started IKEA Tradfri COAP-adapter.
Nov 14 20:01:47 Domoticz.labots.nl twistd[3882]: Unhandled Error
Nov ...
- Tuesday 13 November 2018 23:20
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
pi@Domoticz:~ $ sudo journalctl -f -u ikea-tradfri
-- Logs begin at Thu 2016-11-03 18:16:43 CET. --
Nov 12 18:46:06 Domoticz.labots.nl systemd[1]: ikea-tradfri.service: Service hold-off time over, scheduling restart.
Nov 12 18:46:06 Domoticz.labots.nl systemd[1]: Stopped IKEA Tradfri COAP-adapter ...
-- Logs begin at Thu 2016-11-03 18:16:43 CET. --
Nov 12 18:46:06 Domoticz.labots.nl systemd[1]: ikea-tradfri.service: Service hold-off time over, scheduling restart.
Nov 12 18:46:06 Domoticz.labots.nl systemd[1]: Stopped IKEA Tradfri COAP-adapter ...
- Monday 12 November 2018 18:16
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
I tried a new install, using https://github.com/moroen/IKEA-Tradfri-plugin
All the steps work well, config created:
pi@Domoticz:~/domoticz/plugins $ git clone https://github.com/moroen/IKEA-Tradfri-plugin.git IKEA-Tradfri
Cloning into 'IKEA-Tradfri'...
remote: Enumerating objects: 21, done.
remote ...
All the steps work well, config created:
pi@Domoticz:~/domoticz/plugins $ git clone https://github.com/moroen/IKEA-Tradfri-plugin.git IKEA-Tradfri
Cloning into 'IKEA-Tradfri'...
remote: Enumerating objects: 21, done.
remote ...
- Thursday 01 November 2018 20:53
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
I did an uninstall of pytradfri, and removed all the directies.
pi@Domoticz:/ $ which python3
/usr/local/bin/python3
pi@Domoticz:/ $ cd /home/pi/domoticz/plugins/IKEA-Tradfri/
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ which python3
/usr/local/bin/python3
Installed pytradfri again:
sudo pip ...
pi@Domoticz:/ $ which python3
/usr/local/bin/python3
pi@Domoticz:/ $ cd /home/pi/domoticz/plugins/IKEA-Tradfri/
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ which python3
/usr/local/bin/python3
Installed pytradfri again:
sudo pip ...
- Wednesday 31 October 2018 20:50
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
I did not have a folder name pytradfri in /home/pi/domoticz/plugins. I copied a folder with the files from pytradfri in that directory, but no luck..
I have folders with that name in:
pi@Domoticz:/ $ sudo find -name pytradfri
./usr/local/lib/python3.5/dist-packages/pytradfri
./usr/lib/python3.5 ...
I have folders with that name in:
pi@Domoticz:/ $ sudo find -name pytradfri
./usr/local/lib/python3.5/dist-packages/pytradfri
./usr/lib/python3.5 ...
- Tuesday 30 October 2018 7:58
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Correct:
pi@Domoticz:~ $ python3
Python 3.5.2 (default, Oct 29 2018, 18:04:21)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytradfri
>>>
But running the same command in the domoticz/plugins/IKEA folder fails:
pi@Domoticz ...
pi@Domoticz:~ $ python3
Python 3.5.2 (default, Oct 29 2018, 18:04:21)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytradfri
>>>
But running the same command in the domoticz/plugins/IKEA folder fails:
pi@Domoticz ...
- Monday 29 October 2018 21:20
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Quick answers! great!
Now i get this:
pi@Domoticz:~ $ python3 --version
Python 3.5.2
pi@Domoticz:~ $ python3 -m pip install pytradfri
/usr/local/bin/python3: No module named pip
pi@Domoticz:~ $
pi@Domoticz:~ $ sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree ...
Now i get this:
pi@Domoticz:~ $ python3 --version
Python 3.5.2
pi@Domoticz:~ $ python3 -m pip install pytradfri
/usr/local/bin/python3: No module named pip
pi@Domoticz:~ $
pi@Domoticz:~ $ sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree ...
- Monday 29 October 2018 19:33
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Did a fresh install, installen python 3.5, but get this error..
./configure.py IP CODE
Traceback (most recent call last):
File "./configure.py", line 3, in <module>
from pytradfri import Gateway
ImportError: No module named 'pytradfri'
pyttradfi is installed:
sudo pip3 install pytradfri
Looking ...
./configure.py IP CODE
Traceback (most recent call last):
File "./configure.py", line 3, in <module>
from pytradfri import Gateway
ImportError: No module named 'pytradfri'
pyttradfi is installed:
sudo pip3 install pytradfri
Looking ...
- Thursday 25 October 2018 22:17
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
pi@Domoticz:~ $ python -V
Python 2.7.9
After i did a install in this link:
http://www.ramoonus.nl/2018/06/30/installing-python-3-7-on-raspberry-pi/
It reports:
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ python -V
Python 3.7.0
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ sudo ./configure.py 10 ...
Python 2.7.9
After i did a install in this link:
http://www.ramoonus.nl/2018/06/30/installing-python-3-7-on-raspberry-pi/
It reports:
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ python -V
Python 3.7.0
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ sudo ./configure.py 10 ...
- Thursday 25 October 2018 20:47
- Forum: Python
- Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
- Replies: 951
- Views: 187627
Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
I tried to install this plugin according this link:
https://github.com/moroen/IKEA-Tradfri-plugin
Everything goes fine till i enter this command:
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ sudo ./configure.py 10.60.y.z code
Traceback (most recent call last):
File "./configure.py", line 3, in ...
https://github.com/moroen/IKEA-Tradfri-plugin
Everything goes fine till i enter this command:
pi@Domoticz:~/domoticz/plugins/IKEA-Tradfri $ sudo ./configure.py 10.60.y.z code
Traceback (most recent call last):
File "./configure.py", line 3, in ...
- Sunday 17 January 2016 13:59
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 185216
Re: Nefit Easy™
i found how to remove it. Seems a bit hidden....
- Sunday 17 January 2016 13:44
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 185216
Re: Nefit Easy™
Thanks to Pepijn i have a setup that is working, the only thing is that i receive an error, and node-red stops...
My readout when i start node-red:
Welcome to Node-RED
===================
17 Jan 13:37:57 - [info] Node-RED version: v0.12.5
17 Jan 13:37:57 - [info] Node.js version: v4.1.1
17 Jan 13 ...
My readout when i start node-red:
Welcome to Node-RED
===================
17 Jan 13:37:57 - [info] Node-RED version: v0.12.5
17 Jan 13:37:57 - [info] Node.js version: v4.1.1
17 Jan 13 ...
- Saturday 16 January 2016 16:39
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 185216
Re: Nefit Easy™
I followed the steps above, but still receive the same errors..
(i also did a reboot)
(i also did a reboot)
- Saturday 16 January 2016 11:30
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 185216
Re: Nefit Easy™
hmmm, tried to install the node-red, but still get these errors:
Imported unrecognised types:
nefit-easy-config
rbe
nefit-easy
I used this version:
https://www.npmjs.com/package/node-red- ... nefit-easy
Imported unrecognised types:
nefit-easy-config
rbe
nefit-easy
I used this version:
https://www.npmjs.com/package/node-red- ... nefit-easy
- Thursday 14 January 2016 21:32
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 185216
Re: Nefit Easy™ client library (How to install on the Pi)
This is the php-script, I use for importing nefit-easy values:
Thanks for the script!!
When i use the command "easy -V --serial=xxxxxx --access-key=xxxxxx --password=xxxxx status" i get an output, but when used in the update.php i receive an error:
PHP Parse error: syntax error, unexpected ...
Thanks for the script!!
When i use the command "easy -V --serial=xxxxxx --access-key=xxxxxx --password=xxxxx status" i get an output, but when used in the update.php i receive an error:
PHP Parse error: syntax error, unexpected ...