openHAB Osram Lightify reset

Smart Home – openHAB Osram Lightify Reset

In this post I will show you how to automatically to reset your Osram Lightify products. This post will give you an overview of the Osram Lightify devices and single rules to reset those products. You can imagine the sheer magnitude of work this can be with several plugs and lamps. After working through this post, you will no longer need to tediously reset each of the Osram Lightify products manually. Simply copy the relevant code and it Lightify Plug and openHAB  will do the magic.

openHAB Osram Lightify Reset – Preconditions

I still recommend Hue Bridge to integrate Zigbee. Because the integration is straight forward and the Osram Gateway did not get good reviews.

Sylvania Smart Home 72922 Sylvania LIGHTIFY Smart Plug, 1 Pack, White

Make sure this fits by entering your model number.; A compatible ZigBee hub is required to control this plug. Pair your plug to a compatible ZigBee hub such as SmartThings, Wink, ...
in stock

Sylvania Smart Home 72922 Sylvania LIGHTIFY Smart Plug, 1 Pack, White

Make sure this fits by entering your model number.; A compatible ZigBee hub is required to control this plug. Pair your plug to a compatible ZigBee hub such as SmartThings, Wink, ...
in stock

You need openHAB 2 and have to integrate Hue Bridge via binding. You will find an easy how-to in the post openHAB 2 Hue Binding Installation.

Furthermore, you need a switchable plug. I’m using a Z-Wave plug, but since I assume you will go solely for Zigbee, I recommend the Osram Lightify plug.

In case you don’t know yet what an item and a sitemap is, enroll in my openHAB 2 Smarthome Training.

openHAB Osram Lightify Reset – Osram Lightify Plug Manually 🙁

Of course you have to reset your plug first. To reset the Osram Lightify Plug, press the button on the plug until you hear a clicking sound. After that, integrate the Osram Lightify Plug in openHAB 2.

Create an item for the plug.

Advertisement
smarthome-openhab-eng

openHAB Osram Lightify Reset – Osram Lightify Products automatically :-(=)

Now let’s get started with the automatic reset. First we need an item switch, which we use to activate a rule. You can simply copy the switches into your items file.

Please remember that there may be delays when switching on/off which depend on your individual system. So please adjust the rule to your needs. The information in the command thread::sleep(1000) is given in milliseconds. 1000 is one second.

Reset Osram Lightify Lamps – Items

Now copy the following items into your items file.

Reset Osram Lightify Lamps – Sitemap

Now create the following sitemap or simply copy the frame “Osram Reset” into your own sitemap.

Reset Osram Lightify Lamps – Item and Rule

This rule applies to the Osram Lightify products Lamps, Gartenspots, Downlights, Flex-Strip (CLB 40 , PAR16 , GU10)

You have to switch on 5 times and switch off 5 times. Inbetween, you need a pause of 5 seconds. So you switch on, wait 5 seconds, switch off, wait 5 seconds …

 

This rule applies to the Osram Lightify product Classic A60.

You have to switch on 5 times and switch off 5 times. Here, you leave it on for 3 seconds and leave it off for 5 seconds. So you switch on, wait 3 seconds, switch off, wait 5 seconds …

 

Reset Osram Lightify Surface Light – Item and Rule

This rule applies to the Osram Lightify Surface Light products W23, W38 , W28 , TW.

You have to switch on 5 times and switch off 5 times. This time, you leave it on for 2 seconds and leave it off for 5 seconds. So you switch on, wait 2 seconds, switch off, wait 5 seconds …

After all this waiting and switching, you will be delighted to see your automatic reset running!

Tags:

Thomas has build its own Smarthome in 2010. In 2016 he started a German blog about Smarthome to share his knowledge. 2017  he started consulting customers that needed help setting up their own Smarthome. In 2018 the first German course about cloudless Smarthome was launched at Udemy. This course became one of the top rated Smarthome courses. This Smarthome course is now also available in English.

We will be happy to see your thoughts

      Leave a reply