Domoticz & OSRAM Lightify
Moderator: leecollings
-
- Posts: 3
- Joined: Tuesday 19 August 2014 14:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Domoticz & OSRAM Lightify
Is there any possibility that work with domoticz?
I know that use ZigBee
I know that use ZigBee
Re: Domoticz & OSRAM Lightify
I second this request! Would be a good and cheap alternative to the rather costly phillips hue and lifx.
Edit: Should be a walk in the park for the gifted people behind Domoticz
http://www.reddit.com/r/huelights/comme ... _question/
Edit: Should be a walk in the park for the gifted people behind Domoticz
http://www.reddit.com/r/huelights/comme ... _question/
-
- Posts: 5
- Joined: Sunday 04 January 2015 15:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Domoticz & OSRAM Lightify
The fact that they are compatible with Hue doesn't mean native support in Domoticz is easy, it just means you can "attach" them to a Hue bridge and use the current support for Hue in Domoticz.BluesBro wrote: Edit: Should be a walk in the park for the gifted people behind Domoticz
To get native support for the Lightify Gateway Osram needs to hurry up and get the API out.
- fl1p
- Posts: 17
- Joined: Friday 19 July 2013 12:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Belgium
- Contact:
Re: Domoticz & OSRAM Lightify
So if I understand this well, you can use the Lightify lamps with the Hue bridge and they work in Domoticz like they are Hue lamps?
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Domoticz & OSRAM Lightify
Are the lightify working well in Domoticz?
Also the led strips???
And the garden lights?
Also the led strips???
And the garden lights?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Re: Domoticz & OSRAM Lightify
I asked Osram about the API and here is their answer:
"Dear Oyvind,
I am happy to tell you that we are currently working on the publishing of an open Cloud API as well as Documentation.
The information will be published on our website: www.osram.com/lightify You can also find updated info in our FAQ.
Please let me know if I can help you with any other matter.
Kind regards,
Stefan
Your LIGHTIFY Support-Team"
"Dear Oyvind,
I am happy to tell you that we are currently working on the publishing of an open Cloud API as well as Documentation.
The information will be published on our website: www.osram.com/lightify You can also find updated info in our FAQ.
Please let me know if I can help you with any other matter.
Kind regards,
Stefan
Your LIGHTIFY Support-Team"
-
- Posts: 110
- Joined: Friday 20 September 2013 18:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.3530
- Location: Finland
- Contact:
Re: Domoticz & OSRAM Lightify
I'm very interested.
Don't like Philips 'safety feature' so Osram in local control sounds good.
Don't like Philips 'safety feature' so Osram in local control sounds good.
-
- Posts: 110
- Joined: Friday 20 September 2013 18:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.3530
- Location: Finland
- Contact:
Re: Domoticz & OSRAM Lightify
I check that documentation about light controlling and managed somehow control my one Lightify lamp with python script. There seems to be light in the end of the tunnel - train maybe.
Here is everything needed: https://github.com/skx/Device-Osram-Lig ... ify/API.pm
I also managed to get light temperature setting working with own python code, but couldn't figure out the logic in it.
My knowledge about programming isn't enough to code anything 'real', but I think that I'm at least able to master my single Lightify bulb.
Here is everything needed: https://github.com/skx/Device-Osram-Lig ... ify/API.pm
I also managed to get light temperature setting working with own python code, but couldn't figure out the logic in it.
My knowledge about programming isn't enough to code anything 'real', but I think that I'm at least able to master my single Lightify bulb.

- gizmocuz
- Posts: 2491
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Domoticz & OSRAM Lightify
Nice, looks easy to implement
Maybe you can start with the philips hue class as example ?
Maybe you can start with the philips hue class as example ?
Quality outlives Quantity!
-
- Posts: 110
- Joined: Friday 20 September 2013 18:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.3530
- Location: Finland
- Contact:
Re: Domoticz & OSRAM Lightify
Seems that API still uses Osram cloud to control lights instead of local port. Not good.
-
- Posts: 8
- Joined: Thursday 18 February 2016 16:54
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Domoticz & OSRAM Lightify
Ah, yes indeed. I guess they will not create an api which works locally.
-
- Posts: 8
- Joined: Thursday 18 February 2016 16:54
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Domoticz & OSRAM Lightify
I finally built my own zigbee gateway with a rest api (perl) to control it.
Is a rest client included in domoticz to be able to use it?
Is a rest client included in domoticz to be able to use it?
-
- Posts: 31
- Joined: Friday 21 August 2015 16:04
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Domoticz & OSRAM Lightify
Has anyone figured out how to use lightify bulbs with Domoticz. I got hue to work with it but it won't completely turn off the bulbs.
Any ideas before I send them back
Any ideas before I send them back
-
- Posts: 31
- Joined: Friday 21 August 2015 16:04
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Domoticz & OSRAM Lightify
Found solution using the perl script -
https://github.com/skx/Device-Osram-Lightify
Call perl script using shell script.
Then create a dummy switch on domoticz and give the path of the script to the on and off parameters, and it should work.
https://github.com/skx/Device-Osram-Lightify
Call perl script using shell script.
Then create a dummy switch on domoticz and give the path of the script to the on and off parameters, and it should work.
-
- Posts: 48
- Joined: Saturday 24 September 2016 9:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Germany
- Contact:
Re: Domoticz & OSRAM Lightify
Is this now locally controlling Lightify or through OSRAM cloud services? Does it only work for bulbs or also other devices like wall-plugs, for instance?
-
- Posts: 8
- Joined: Thursday 18 February 2016 16:54
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Domoticz & OSRAM Lightify
Hello antares,
I'm working on a zigbee gateway without cloud service which works with osram bulbs.
Read more in this topic: viewtopic.php?f=56&t=12464
I'm working on a zigbee gateway without cloud service which works with osram bulbs.
Read more in this topic: viewtopic.php?f=56&t=12464
-
- Posts: 113
- Joined: Thursday 20 November 2014 22:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Norway
- Contact:
Re: Domoticz & OSRAM Lightify
How would I use this? There isn't any how-to for dummies on that git .amz4u2nv wrote:Found solution using the perl script -
https://github.com/skx/Device-Osram-Lightify
Call perl script using shell script.
Then create a dummy switch on domoticz and give the path of the script to the on and off parameters, and it should work.
What command do I use to download it on my pi. And do I have to compile it somehow?
Thanks!
2xRaspberry Pi Model 2 w/RaZberry z-wave chip (master/slave)|Fibaro Wall Plug|Fibaro Universal Dimmer 500W|Aeon Labs Multisensor|RFXtrx433E|Nexa WMR-1000|Nexa Pe-3|Nexa Remote|Nexa LGDR3500|Lightify Gateway|Lightify RGBW bulb
-
- Posts: 74
- Joined: Thursday 24 September 2015 11:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz & OSRAM Lightify
I use this also for a lightify hub and dimmable white leds (no rgb).
Set everything up first using lightify android/ios app. Also figure out the Lightify hub lan ip address
Clone this to your Rpi
cd into Device-Osram-Lightify directory
You should now be able to query your hub and get similar output
Note the name of each device, eg "B40TW 01"
Create (in my case) 2 dummy dimmer switches with the following in the on/off action of the devices

Next for the dimming, create a script in ~/domoticz/scripts/lua called "script_device_lightify.lua"
NOTE:
Possibly better ways to do this but it works for me
RGB lights should be possible also but you will need to figure out the ol command string and also the lua side.
Set everything up first using lightify android/ios app. Also figure out the Lightify hub lan ip address
Clone this to your Rpi
Code: Select all
git clone [email protected]:skx/Device-Osram-Lightify.git
Code: Select all
make
sudo make install
Code: Select all
pi@raspberrypi ~ $ ol --hub 192.168.1.13 --list
Name: B40TW 01
MAC:841826000009688f
version:1.2.4.0
Brightness:6
RGBW:1,0,0,255
Temperature:2702
Status:on
Name: B40TW 02
MAC:84182600000965c0
version:1.2.4.0
Brightness:7
RGBW:1,0,0,255
Temperature:2702
Status:on
Create (in my case) 2 dummy dimmer switches with the following in the on/off action of the devices
Code: Select all
script:///usr/local/bin/ol --hub 192.168.1.13 --on="B40TW 01"
script:///usr/local/bin/ol --hub 192.168.1.13 --off="B40TW 01"

Next for the dimming, create a script in ~/domoticz/scripts/lua called "script_device_lightify.lua"
Code: Select all
commandArray = {}
if (devicechanged['Bedroom Sidelamp']) then
v = otherdevices_svalues['Bedroom Sidelamp']
print("Brightness V= " ..v)
if (tonumber(v) <= 6) then
v=6
os.execute('ol --hub 192.168.1.13 --name="B40TW 01" --brightness=' ..v)
print("Bedroom Sidelamp brightness " ..v)
else
os.execute('ol --hub 192.168.1.13 --name="B40TW 01" --brightness=' ..v)
print("Bedroom Sidelamp brightness " ..v)
end
end
if (devicechanged['Bedroom Sidelamp 2']) then
v = otherdevices_svalues['Bedroom Sidelamp 2']
print("Brightness V= " ..v)
if (tonumber(v) <= 6) then
v=6
os.execute('ol --hub 192.168.1.13 --name="B40TW 02" --brightness=' ..v)
print("Bedroom Sidelamp 2 brightness " ..v)
else
os.execute('ol --hub 192.168.1.13 --name="B40TW 02" --brightness=' ..v)
print("Bedroom Sidelamp 2 brightness " ..v)
end
end
Possibly better ways to do this but it works for me
RGB lights should be possible also but you will need to figure out the ol command string and also the lua side.
Who is online
Users browsing this forum: No registered users and 1 guest