It seems Osram Lightify has a published api, granted it’s not local, but perhaps someone smarter than Me would be able to create an app to interface the two while we wait for the zigbee HA bulbs to be able to be directly included into Veraplus?
Hi I am using a Osram bulb on Vera Plus with not issues. I could not get the Cree bulb to work.
Can you please share the procedure you used to pair the Osram Lightify bulb(s) to the Vera Plus? Thanks.
How? which model bulbs?
CTVROD I would also like to know how you got the Osram to work. Mine connect but I can only control it from the “plugin control” tab so I can’t add it to any scenes or other automation. I have the lightify hub, so I have upgraded the firmware on the bulbs.
This reply is long after the original post, but I figured out how to add Osram Lightify bulbs (model#73824, 60watt - purchased at Lowes in Iris section) successfully to my system today. Hope this is helpful to others.
After a few unsuccessful attempts using different options from the Dimmers and Lights menu, I was able to add two light bulbs using the steps below. Both are working well and can be controlled via Scenes.
1 - Add device
2 - Select device: Dimmable LED light bulb OSRAM Slyvania iQBR30 [flood light]
3 - Lamp switch should be off - insert the bulb; Click Next
4- Turn the lamp switch on - the light bulb probably will not flash as indicated in the instructions
5 - Wait until the 60 second countdown timer reaches 0
6- Click Retry and wait for the countdown time to start again
7 - Following the directions on the screen (Turn the switch at the lamp off wait one second; turn on wait one second; repeat for a total of 8 times; after the eighth time, the bulb will flash.) VERY important to wait for one second each time. I used the countdown timer to help me time it.
8 - Click Retry and wait for the light bulb to flash.
9 - You will receive the following message: “Expected device was Dimmable LED Light Bulb - OSRAM SYLVANIA OSRAM SYLVANIA iQBR30 (id: 3202), but you have paired a different one ( Unknown Model - id: 2) However, you can name it and assign it to a room.”
10 - Name your device, choose a room, click Finish.
11- At first it will not show the on/off control or dimmer slider under the device in your device list.
12- Log out of your VeraPlus controller, then log back in and voila! the switch and slider show up.
For the record, this procedure works for the “Commerical Electic” 5/6 LED lights as well.
On/Off/Dim all work. but I haven’t found a way to “tune” them yet.
It was much more simple with my VeraPlus, most recently updated at this time.
This is what was necessary for my recent purchase of OSRAM Sylvania Lightify A19 LED bulbs:
[ol][li]Install the bulb in a socket close to my veraplus controller[/li]
[li]go through the steps to add a new generic zigbee device[/li]
[li]the device adds successfully, binking twice[/li]
[li]note that it initially does not show up with a slide bar. For me it presented as a plugin module. Hand-wave this and just log out.[/li]
[li]log back in. Everything should show up as a normal light, and now it can be added to scenes. It reports as the correct device LIGHTIFY A19 Tunable White[/li][/ol]
And for anyone who may wonder the same thing as myself. You do not need any kind of extra hub. The VeraPlus controller and the bulb is all that is required.
[/list]
Getting them to pair wasnt an issue. Its using the colors thats I cant currently do with Vera.
Hello,
I just started to try using the Lightify API to control my ligths…
I’m currently using a LUA script to switch on / off a device / group… Still lot’s of work to write a nice plugin
(this sample code switch groupe 1 lights on)
local https = require(“ssl.https”)
local ltn12 = require(“ltn12”)
local json = require(“dkjson”)
function sendRequest()
local path = “https://eu.lightify-api.org/lightify/services/”
local payload = [[ {"username":"email@address.com,“password”:“xxxxx”,“serialNumber”:“OSR0xxxxx”} ]]
local response_body = { }
local res, code, response_headers, status = https.request
{
url = path … ‘session’,
method = “POST”,
headers =
{
[“Content-Type”] = “application/json”,
[“Content-Length”] = payload:len()
},
source = ltn12.source.string(payload),
sink = ltn12.sink.table(response_body)
}
local resp = table.concat(response_body)
luup.log('Post Response: = ’ … resp … ’ code = ’ … code … ’ status = ’ … status)
local t = json.decode( resp )
if (t[“securityToken”] == nil) then
return
end
local token = t[“securityToken”];
luup.log(‘token :’ … token )
local res, code, response_headers, status = https.request
{
url = path … ‘group/set?idx=1&onoff=1’,
method = “GET”,
headers =
{
[“Content-Type”] = “application/json”,
[“authorization”] = token
},
}
end
sendRequest()
return true