Internet Of Things: Difference between revisions
m Red moved page Smart Lighting to Internet Of Things |
|||
(148 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= contoller = | = Protocols = | ||
You would think that this would be straightforward but it isn't. Common protocols are: | |||
- Wifi | |||
- Zigbee - this means your bridge has to speak the Zigbee language (see below) the device has to work with it | |||
-- LightLink (EU) | |||
-- Home Automation (US) Note - these two protocols don't play well with each other. It looks like HA is being phased out in favour of LL. | |||
-- Smart Energy | |||
- Z-Wave | |||
Nowadays we have [https://z-wavealliance.org/z-wave_plus_certification/ Z-wave Plus] which offers various benefits, so make sure any device you have is Plus. | |||
Home Assistant has the following list of compatible [https://www.home-assistant.io/docs/z-wave/controllers/ USB controllers] and OpenHab has [https://docs.openhab.org/v2.2/addons/bindings/zwave1/readme.html this list of USB bindings]. The one they share is the [https://shop.zwave.eu/products/z-wave-controller/pc-adaptors-usb-dongles/981/vision-z-wave-usb-stick-gen5 Vision Z-Wave USB Stick Gen5] (around EUR 34,-) | |||
- X-Wave | |||
= contoller / Smart Hub = | |||
The controller runs the bridge devices that each individual vendor brings with their devices. It's a single central place to run all of the devices from. | |||
The absolute Ferrari on controllers is: | The absolute Ferrari on controllers is: | ||
[http://store.homeseer.com/store/HomeSeer-HomeTroller-S6-PRO-Home-Automation-Controller-P1876.aspx HomeSeer HomeTroller S6: $ | [http://store.homeseer.com/store/HomeSeer-HomeTroller-S6-PRO-Home-Automation-Controller-P1876.aspx HomeSeer HomeTroller S6: $899] | ||
[https://shop.smartthings.com/#!/products/samsung-smartthings-hub Smartthings hub] which supports Wifi, Zigbee, Z-Wave at $99, now owned by Samsung - but depends on the cloud to use! | |||
[https://www.smartthings.com/compatible-products This is the list of compatible devices] | [https://www.smartthings.com/compatible-products This is the list of compatible devices] | ||
= lighting = | As an alternative you can run open source software, which will run on a raspberry pi with a zigbee usb controller. | ||
[https://www.home-assistant.io Home Assistant] Is a python written open source controller which has a larger community than OpenHab | |||
[https://blog.mozilla.org/blog/2018/02/06/announcing-project-things-open-framework-connecting-devices-web/ Project Things] from Mozilla | |||
[https://github.com/mozilla-iot/wiki/wiki/Supported-Hardware list of compatible devices] | |||
https://www.home-assistant.io/ Is a python written open source controller which has a larger community than OpenHab | |||
[http://www.openhab.org/ OpenHAB] written in java | |||
[https://www.zipato.com/shop?country=nl Zipato, which comes with a beatiful tile interace thingie] | |||
[[Domoticz]] | |||
[[Snips]] is an offline AI Raspberry PI DIY voice controller which functions as a private version of Alexa or Google Home | |||
== best bet currently == | |||
[https://www.home-assistant.io/ Home Assistant], Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. It runs on [https://www.home-assistant.io/hassio Hass.io], which turns your Raspberry Pi (or another device) into the ultimate home automation hub powered by Home Assistant. With Hass.io you can focus on integrating your devices and writing automations. | |||
Home Assistant has huge amounts of compatible [https://www.home-assistant.io/components/#search/ components] | |||
It's championed in the bottom of [https://developers.meethue.com/content/one-house-two-bridges-how this thread] | |||
= Bridges = | |||
Bridges are hardware connections. | |||
The HUE bridge has a limit of 50 connections. You can add another bridge to your HUE app, but you will have to switch bridges within the app, which is annoying. You also can't backup your setup. | |||
The [https://www.dresden-elektronik.de/raspbee/ Dresden Elektronik Raspbee Premium] (SD card image [https://www.dresden-elektronik.de/funktechnik/solutions/wireless-light-control/raspbee-gw-sd-card-image/]) doesn't have the 50 device limitation and has a backup function. It can be used through the HUE app itself. It also uses deConz software to detect devices. These also support Xiaomi devices. | |||
The [https://www.dresden-elektronik.de/conbee/ Dresden Elektronik Conbee] is a usb zigbee stick for windows machines | |||
The husbzb-1 Z-Wave / Zigbee USB device. From [https://community.home-assistant.io/t/husbzb-1-what-i-have-learned-abouto-this-dongle-so-far-in-terms-of-z-wave-and-zigbee-features/41732] | |||
<pre> | |||
I have husbzb-1. I went out of my way to find out more about this device. I contacted both Nortek and SiliconLabs for help, which is not that helpful. | |||
It turned out that husbzb-1 is mostly a z-wave device. The zigbee is just something the OEM threw in as “added value” and the OEM themselves doesn’t know much about it. | |||
As result, you can expect this thing work well with z-wave. | |||
Zigbee, on the other hand, is a bit tricky. | |||
Much of the tricky part is due to zigbee standard itself. Unlike z-wave, which is practically all-in-one, so as long as there is the word “z-wave”, it should work with each other within a country/region. | |||
Zigbee, on the other hand, by itself doesn’t mean anything from an user’s perspective, because much of compatibility rely on zigbee PLUS some libraries built into the device. | |||
if you have a zigbee device (e.g. light bulb, sensors, etc), you kind of need to know which library that device uses, and you need to make sure your zigbee dongle (husbzb-1) has that built-in as well. These library, though mostly software, can not be added or delete once the device is out of factory. | |||
For our purposes, home automation, there are THREE libraries that may be relevant: | |||
home automation | |||
light link | |||
smart energy | |||
The worse part is that zigbee allow vendor to create their own proprietary library, renders device from that company incompatible with anything else on the market. | |||
The best example of such is Xiaomi. Xiaomi devices are zigbee devices, but they uses proprietary library thus none of xiaomi devices will work with anything else from other companies out of box. Security companies such as ADT probably also uses proprietary zigbee devices so you won’t able to connect your husbzb-1 to their devices directly. | |||
As result, when you buy a zigbee compatible light bulb, for example, you need to know if that bulb uses “light link” profile or “home automation” profile. and you need to compare with that with the dongle(husbzb-1) you have. | |||
And here is the frustration part, being an owner of husbzb-1: the OEM nor Siliconlabs (the maker of zigbee chips inside husbzb-1 dongle) knows for sure what zigbee library does husbzb-1 contains. | |||
The closest answer I have gotten is from Siliconlabs, after I told them which chip and what software stack does this dongle contains (in case you are curious: chip used is Silicon Labs EM3581, and software stack is EmberZNet Pro Release 5.4), the tech support says that it MOST LIKELY include | |||
Home Automation version 1.2 | |||
What does it mean? | |||
It means that it is UNLIKELY that zigbee light bulb which uses light link profile would work with husbzb-1 out of box. | |||
And here is where this community comes in: if someone got a light bulb uses standard zigbee light link profile (ikea tradfri… kudos to ikea for using standard profile) and managed to get it to work without ikea hub, then, it means husbzb-1 has light link built in. | |||
if someone got a zigbee smart energy monitor device (many utility company in USA is selling such device at heavy discount to promote energy saving) and managed to get it to work with husbzb-1 out of box, then, it means husbzb-1 also contains “smart energy” profile. | |||
but it means someone has to be willing to take the chance and buy the product and see it connect to husbzb-1 or not. | |||
</pre> | |||
= ABB free@home = | |||
'''One of the kitchen rails gives an error on turning off''' | |||
[https://manuals.busch-jaeger.de/Systems/Freeathome/EN/ABB/SETT/page_1.html Online manual] | |||
Manual for 7" touch display DP7-S-611 [[:File:DP7-S-6xx Product manual EN V1-1 2TMD041700D0025 ABB.pdf]] | |||
[https://faq.abb-buildingautomation.com/index.php?sid=554662&lang=en& ABB Home and Building Automation FAQ News] | |||
You can access a product assistant in the app by clicking on the hamburger (more menu) and then going to the help center | |||
[https://www-freeathome--forum-de.translate.goog/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=nui https://www.freeathome-forum.de translated in google forum link] | |||
[https://new.abb.com/buildings/smarter-home ABB Smarter Home homepage] | |||
[https://gathering.tweakers.net/forum/list_messages/1645760/1 tweakers thread] | |||
[https://new.abb.com/buildings/developer-program developer program] | |||
[https://developer.eu.mybuildings.abb.com/fah_local/prerequisites/ Prerequisites for using the free@home local API] | |||
[https://online.flippingbook.com/view/159730839/88/ Online brochure] | |||
== Scenes vs Light Groups == | |||
Groups come in two types: | |||
# switchable light group | |||
# dimmable light group | |||
Scenes also: | |||
# automatic scene | |||
# custom scene | |||
Dimmable groups can collectively be set to the same specific dimming level (eg 70%) when turned on, even if there are lights which only switch on and off in the group. This is in contrast to a custom scene, where you can choose the dim level per light in it. | |||
When adding a light group all the lights in the house are automatically added to it and you have to remove them. | |||
When adding a scene you have to choose which lights are added one by one. | |||
Scenes can be given different icons, whereas there is no real way to tell the difference between a light group (sometimes seen as an actuator) and a lamp. | |||
=== Adding > 6 light groups / scenes === | |||
It seems that you can't add more than 6 light groups / scenes in the web app. You can, however in the mobile app, by clicking on the clock (automation), then going to Groups and then clicking the + icon and adding as usual. This scene / group will then show up in the web app under the Devices floor plan and can be used however you like in the web app. | |||
== Setting dimmer brightnesses == | |||
By clicking on the blue icon you can set more or less brightness by clicking on the + and - signs. This will increment up 1%. By holding the click, you can increment 10%. By clicking on the bulb itself you can turn it on and off. | |||
== Timers == | |||
=== Dimmable lighting timers === | |||
When you create a lighting group make sure it's a dimmable group and add the lights. You can click on the stories of the house to select graphically. Make sure you only have lights with dimmers (you can tell because they have a % brightness on the blue icon). In the time control you have to add on states for each dimmer, eg 06:45 = 30%, 06:50 = 50% etc). You can set the dim level by clicking on the + and - signs on the blue icon Put all your non-dimmable lights in another timer. | |||
=== Schedules === | |||
wakeup dimmable | |||
[[File:dimmable wakeup timers.png|1000px]] | |||
[[File:dimmable wakeup timers 2.png|1000px]] | |||
wakeup | |||
on 0700 no astro mo-fri | |||
off astro +1:00 earliest 0830 latest 2359 mo - fri | |||
Dark during the day | |||
on 7:46 astro offset -0:30 at the earliest 7:00 latest 23:59 mon - sun | |||
'''NOTE: If you leave this in here the lights will turn off even if it's dark outside due to cloud - this will interfere with the brightness lights on action, which even at 0 switching time is too slow to turn the lights on fast enough. So GET RID OF THIS!'''off: 8:46 astro offset 0:30 earliest 0:00 latest 23:59 mon - sun | |||
on astro 15:23 offset -0:30 earliest 0:00 latest 23:59 mon - sun | |||
off 23:30 mon - sun | |||
== Actions == | |||
[https://manuals.busch-jaeger.de/Systems/Freeathome/EN/ABB/SETT/page_48.html ABB-Free@home manual page Examples of possible actions] | |||
[https://search.abb.com/library/Download.aspx?DocumentID=9AKK106930A5412&LanguageCode=en&DocumentPartId=&Action=Launch engineering guide (pdf)] | |||
=== activating / deactivating === | |||
By selecting the time profile in the bottom you can see if it is active due to the tick on it. To change this, select the spanner top right and then click on the icon behind the state. This will activate / deactivate the time profile. | |||
=== light brightness actions === | |||
It seems that 5000 lux is enough to not need the lights on by day. If you have a weather station, set the following '''two''' actions: | |||
''Action 1'': Turn on if dark | |||
Precondition: Time - Start 7:05, End 23:25, repeat mon - sun (note get this to start after and end before any timers you may have!) | |||
Event: Outdoor brightness Less than 5000 (you can empty the more than field), Switching delay 2 s | |||
ALSO Event: dining room light actuator dim level set to 0 or less (delete the value from more) - this is because if the lights turn off (eg because you have a timer shutting down the lights about an hour after sunrise) then the action will not trigger immediately because it takes some time (or forever?) to poll the brightness level and turn on the lights again after they have been turned off | |||
Actuator: can be a light or a group. The first time you set the actuator it creates a for: occurence of the event action. You can then add the same actuator again and it will create a for: cancellation of the event action. | |||
* If it's a single light, keep it on standard operation and set the brightness / dim level on the icon (high or off [by clicking on the light bulb itself] for occurence | |||
* If it's a group, you can't set the operation status. You have to click on the icon to set the status. So make sure it's on and set the dim level (by clicking on the plus on the icon many times) for occurence | |||
'''NOTE''' if you set it to '''Forced operation mode''', you lock the channel and lose the possibility to use this light or group using the app or other timers / events. It will '''only''' be controlled by the action that forces the operation mode. | |||
You can add a notification without email or push message by clicking on Display device and selecting the display panels if you have them | |||
''Action 2'': Turn off if bright | |||
Precondition: Time - Start 7:01, End 23:27, repeat mon - sun (note get this to start after and end before any timers you may have, also start before and after the turn on events!) | |||
Event: Outdoor brightness more than 6500 Lux; Delay: 120 sec; Switch off delay: 120 sec | |||
'''NOTE''' We set the delays and the difference in Lux levels so that the lights don't keep switching on and off in 'edge' cases, where eg clouds are going in front of the sun. | |||
Actuator: light group set to off | |||
You can add a notification without email or push message by clicking on Display device and selecting the display panels if you have them | |||
=== Turn on a ceiling actuator with hue lamp if turned off === | |||
Sometimes a button or action will turn off a switch actuator channel with a hue lamp on it, turning off / unpowering the hue lamp without being able to turn it on again easily (if the light switch is connected to the hue lamp and not the ceiling actuator) | |||
- event: switch actuators, select the channel, set to Deactivation, switching delay 2s | |||
- actuator: select the lamp, standard operation, for occurence of the event | |||
=== Motion detection === | |||
The Busch-Jaeger [https://www.busch-jaeger.de/en/archive?tx_nlbjproducts_catalog%5Baction%5D=show&tx_nlbjproducts_catalog%5BcatBjeProdukt%5D=40833&tx_nlbjproducts_catalog%5Bcontroller%5D=CatStdArtikel&cHash=7faf912f796ebfeb021cd26989bcfb79 Movement Detector 90] is the only one I have found so far that works on batteries | |||
You can actually use a HUE motion detector by having it trigger a lamp or a power socket. Then you can use the HUE internal triggering of that lamp as a trigger for an action [https://www-freeathome--forum-de.translate.goog/community/sonos-philips-hue-amazon-alexa/integration-hue-sensor-bewegungsmelder-outdoor-in-fh/?_x_tr_sl=auto&_x_tr_tl=en-GB&_x_tr_hl=en-US&_x_tr_pto=nui#post-2813 see here] | |||
[https://www-freeathome--forum-de.translate.goog/community/allgemeines/bewegungsmelder-zeitverlaengerung-bei-bewegung/?_x_tr_sl=auto&_x_tr_tl=en-GB&_x_tr_hl=en-US&_x_tr_pto=nui#post-1816 a tip for extending a motion event based on if motion is detected again] | |||
So for night motion on: | |||
''Action 1: turn on if activated'' | |||
- precondition: at night | |||
- event: switch actuator select the plug and Activation | |||
- actuator: occurrence of the event select the group | |||
and to turn it off | |||
So for night motion off: | |||
''Action 2: turn off after activation'' | |||
- precondition: at night | |||
- event: switch actuator select the plug and Deactivation | |||
- actuator: occurrence of the event select the group | |||
==== depreciated ==== | |||
This system below (trying to turn them on and off in a single action) caused conflicts with the cancellation turning off lights which then weren't being turned on again because of 2 reasons | |||
The timer setting the lights on is set to start just before sunset (using the astro function) which means: | |||
# If for some reason brightness goes up between the period of the timer going on and sunset, the action cancels and turns off the lights, which won't go on again (because the timer only switches them on once at the astro time) and | |||
# The day action cancels anyway at sunset (because it's set to by day) so turns off the lights, which won't go on again (because the timer only switches them on once at the astro time). So the precondition for the turn on if dark action was changed to time from by day. | |||
Took some figuring out that this was causing conflicts. | |||
[[File:turn on if dark action.png|1000px]] | |||
== Icon meanings / blocked lights == | |||
If the icon has a triangle with a ! under the light and then a lock symbol in front, this means that the device channel has been locked. The app will have an i overlay saying this device is disabled and if you press it, will tell you: "This element is deactivated because the channel is currently in locked mode". To solve this check actions for the device and see if there is an icon with a lock overlay. This means it is in forced operation mode, which locks the channel. | |||
If a light in a light group is locked in this way, the icon will appear over the light group too. | |||
Sometimes you need to go to the light in the phone app, click on settings, then block settings and unblock either or both permanent switched on or permanent off. In the settings you can see what timer programs a light is part of | |||
== Changing icon == | |||
right click on the light icon under devices and you can change it | |||
== seeing to what groups / scenes a light is connected == | |||
right click on the light icon under devices to see what actuators are connected to it | |||
== Finding specific devices == | |||
In device settings you can search for the actuator / light by typing to the right of the filter button on the bottom left. | |||
You can also select the filter "push identification" by cliking on the filter button which allows you to press the button you are looking for and it will select the device configuration | |||
== Rebooting / resetting specific devices == | |||
In the device configuration select the channel, then the device and then click on the text "maintenance" and the possibility to reboot or reset will appear | |||
== Adding favorites == | |||
In the blue screen after logging on (the control mode), click and hold / longpress the light / scene / group you want to add as a favorite and a popup will appear allowing you to add it as a favorite. | |||
I haven't figured out how to add weather station information as a favorite. | |||
== Connecting extensions (eg Hue / Sonos) == | |||
Hue and Sonos will appear in the settings menu only if they are on the same subnet as the SAP is - also see [[Ubiquiti#Getting Sonos to work across VLANs]] for the Ubiquiti UDM Pro | |||
You can find them under Device Configuration (bottom right) and device type. If you click on Hue Actuator you can assign it a floor and a room. This will give it an ID and make it appear in the floor plan. You will see the Hue groups in the same way as you see individual lights / plugs, be aware of this. | |||
Once you have assigned this to an area you can then click on the text 'Hue light' underneath where you assign the position and you can change the icon | |||
== Thermostats == | |||
To see the actual measured temperature you have to use the app and select the thermostat by clicking on the icon with the mercury thermometer. The actual temperature will be displayed top left. | |||
In the website you have to click hold on the device, where you can set the thermostat to eco mode, raise or lower the temp or add it as a favorite - but not see the measured temp. If you set the temp below the measured temp, the icon goes white. If you set the temp above measured temp, the icon goes orange. You can click and hold over the temperature display and move the mouse up and down to change the set temp. | |||
== REST API tools == | |||
[https://developer.eu.mybuildings.abb.com/ ABB developer portal] | |||
[https://www-freeathome--forum-de.translate.goog/community/neue-funktionen-updates/tools-fuer-die-neue-lokale-rest-api/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=nui Forum link to a guy who has made some stuff] | |||
[https://github.com/guckykv/freeathome-go-fahapi freeathome go fahapi Very first version of a GoLang library for accessing the local free@home API of the System Access Point 2.0 für Busch-free@home® (needs at least Access Point Software Version 2.6).] | |||
[https://github.com/guckykv/freeathome-go-tools free at home GO tools] | |||
[https://snyk.io/advisor/npm-package/freeathome-api This API exposes a websocket and HTTP API which can be used to receive and set state changes of free@home actuators. It can be used as a library as well in other applications. It requires a System Access Point with version 2.3.1 or higher.] | |||
= Smart Lighting = | |||
== Transforming dumb switches == | |||
=== Busch Jaeger === | |||
[https://www.busch-jaeger.de/en/product-solution/future-linear/remote-control Busch Jaeger] has three Remote control zigbee light link / radio control dimmer switches (rocker, LED dimmer) which will integrate with the HUE bridge. Once you put in a wall insert, you can put different controllers on top of it (one, two or four lane) to control the dumb light. You can then add extra remote control light switches in other location to control the same lights. | |||
So you need: | |||
the insert (6715 U for 4 switches, 6711 for 2 switches) | |||
A front panel switch | |||
A panel for around the switch ([https://www.busch-jaeger.de/en/products/switch-design/future-linear Future design]) | |||
[[https://www.busch-jaeger.de/en/products/switch-design/future-linear Other options such as multimedia, checking if doors and windows are open]] | |||
[[File:busch-jaeger-zigbee-cross-circuit.png|400px]] | |||
[[:File:busch-jaeger-zigbee-light-link.pdf]] Read the systems manual here | |||
[https://www.idealo.de/preisvergleich/OffersOfProduct/4938124_-led-dimmer-einsatz-6715-u-busch-jaeger.html Idealo] has the best prices for the dimmers I have found so far. Around EUR 80 | |||
[https://elelabs.com/products/elelabs_zigbee_shield.html Elelabs Zigbee Shield] is another raspberry pi addon which works with OpenHab | |||
=== Robbshop === | |||
[https://en.robbshop.nl/zigbee-knob-smartdimmer-robb-smarrt ROBB Smarrt HUE compatible rotary dimmer Zigbee SKU: ROB_200-014-0] Philips HUE compatible rotary dimmer with Zigbee. Max. 300Watt for LED and 600Watt for traditional lights. Use a dimmer bypass when connecting it 2-wire. Zigbee version which can be connected to a Hue bridge, Z1 or Z1S or Homey, but he is also in one Z-wave version. Around EUR 80,- | |||
==== Pairing ==== | |||
In the front to the right of the dimmer wheel attachment is the reset button hole. Press five times rapidly and the lamp itself will start blinking rapidly and the red status light on the wall insert (above the reset button) will also start blinking rapidly. Start the search in the Hue bridge and it will find it as a normal lamp. | |||
=== LED Dimmer === | |||
[https://www.amazon.de/Controller-Dimmaktor-kompatibel-Lightify%C2%AE-TR%C3%85DFRI%C2%AE/dp/B076KPQWFW/ref=sr_1_5?ie=UTF8&qid=1543076224&sr=8-5&keywords=hue+led+dimmer 230V Controller Treiber Dimmer Dimmaktor ZIGBEE, kompatibel mit Philips HUE®, Osram Lightify® und IKEA TRÅDFRI® [Energieklasse A++]] around EUR 60,- | |||
== Philips HUE == | |||
It's worth getting a Philips Hue starter Pack with the 2.0 bridge to start you off. NB Philips Hue Lux (only white dimmers) controllers can't control LED lamps with colours, but the full HUE kit ''can'' control the white LUX lamps | It's worth getting a Philips Hue starter Pack with the 2.0 bridge to start you off. NB Philips Hue Lux (only white dimmers) controllers can't control LED lamps with colours, but the full HUE kit ''can'' control the white LUX lamps | ||
=== identifying connected items === | |||
To identify lights, click on their name in light setup and they will flash. | |||
To idenfity sensors, click on their name in accessory setup and the LED will flash. | |||
To identify dimmer switches, go to accessory setup and press a button. The last button pressed will be shown under the name of the accessory. I haven't found a way to get the LED to flash yet. | |||
=== compatible devices === | |||
[https://iconnecthue.com/supported-devices/ iconnect hue supported devices list] | |||
[https://hackernoon.com/integrating-dumb-lights-in-my-smart-home-philips-hue-busch-jaeger-zigbee-homekit-658bfdfd1cd0 Integrating dumb lights in my smart home] | |||
[https://www.busch-jaeger.de/en/products/product-solutions/remote-control/zigbee-light-link/ Busch Jaeger] will integrate with the HUE bridge (note: max 100W) | |||
[https://en.robbshop.nl/build-in-dimmer-hue-zigbee-robb Robb] has a Hue insert dimmer that works with LED up to 200W and conventional light up to 400W. It requires a blue wire | |||
[https://en.robbshop.nl/zigbee-knob-smartdimmer-robb-smarrt The Robb knob smartdimmer] comes with a knob and insert and works for up to 300W for LED. You can install a [https://en.robbshop.nl/dimmer-bypass-robb-smarrt dimmer bypass] with it if you need to connect it with 2 wires instead of 3 (with blue). | |||
[https://en.robbshop.nl/switches/dimmers/works-with/philips-hue# Robb] also has LED drivers for with Hue. | |||
[https://www.amazon.co.uk/Zigbee-Switch-Compatible-Echo-Plus/dp/B07XJRBJXT/ref=sr_1_2?keywords=samotech&qid=1578656097&sr=8-2 Samotech has Hue switches] | |||
To control 1-10V LED lighting you need a LED Dimmer controller. The order is: Light switch -> 1 - 10V LED driver -> Zigbee LED Dimmer Controller -> LED light/lightstrip | |||
Applamp has the [https://www.applamp.nl/gledopto-dimmer-controller-zigbee-light-link-zll-c.html GLEDOPTO GL-C-009 ZigBee LED Dimmer Controller (ZLL) / Artikelnummer: AL-CO-ZLL-DIM-GLC009] for EUR 30,- | |||
Robbshop has the [https://www.robbshop.nl/led-driver-zigbee-12-36v-robb-smarrt LEDstrip driver Zigbee 12-36V] which should also be a dimmer controller despite the name for EUR 40,- | |||
Lightanshade has the [https://lightandshade.be/en/recessed-lighting-accessories/13323-modular-hue-dim-circuit-module-150-300w-0-1-10v-5413987284342.html Modular Hue dim circuit module 150-300W 0/1-10V ] Reference 131901 for EUR 75,-. Modular lighting is an official friend of Hue. | |||
I found [https://www.ebay.de/itm/ZigBee-0-10V-Smart-Wireless-LED-Dimmer-Fernbedienung-schalter-fur-Hue-Echo-Plus-/123602182728 ZigBee 0-10V Smart Wireless LED Dimmer Fernbedienung schalter für Hue Echo Plus] for EUR 30,- and ordered it but it never arrived. The manual can be found [https://www.matcall.nl/wp-content/uploads/2018/06/Handleiding-ZigBee-ZLL-interface.pdf 122551 MINI ZLL Interface] but Matcall doesn't sell this thing. | |||
Apparently Friends of Hue will launch a large range of dumb light switches but probably only for Hue bulbs [https://huehomelighting.com/hue-compatible-light-switches-coming-this-year/ Hue Home Lighting]. The partners will be Busch-Jaeger, Feller, Illumra, Niko and Vimar. | |||
Hue also has a [https://www2.meethue.com/en-us/p/hue-motion-sensor/046677473389 motion sensor] to trigger the lights. No good for outdoor use. It's very easy to set up but only compatible with Hue lights and won't work with homekit stuff. They are also temperature sensors which you can see in smarthings. | |||
=== Tips and tricks === | |||
When you add lights to a scene, delete the alarm which contains the scene and set it up again. Otherwise not all the lights will always turn on when the alarm goes off. | |||
Use the HUE 1 app for most things, but use the HUE 2 app for the light switches / dimmers. It has more options | |||
The HUE 1 app has support for the Random setting in the alarnms, allowing lights to turn on / off +- up to 30 minutes from the set time. For some reason, Hue2 doesn't have this | |||
[https://play.google.com/store/apps/details?id=com.rrapps.huerestore Hue restore] lets you backup your lights | |||
=== Hue dimmer === | |||
To identify, go to settings, accessory setup in the Hue app. Press a button on the dimmer and in the app you can see which dimmer switch was pressed. | |||
If you can't connect after a power failure / reboot, press all four buttons at once until the green / red light flashes. Resetting the switches by holding down all four buttons until the green light flashed got connectivity back. (Resetting the hub itself didn't do the trick) | |||
This requires a CR2450 battery. Battery levels can be checked in the settings -> accessory setup | |||
=== Computer control === | |||
You can [https://www.newhometricks.com/blog/2018/3/28/philips-hue-pc-control-take-2 run the official Hue apps on the PC] Android Emulator [https://www.bluestacks.com/nl/index.html Bluestacks] | |||
[https://www.huedynamic.com/ Hue Dynamic] works on Android, IOS, Windows 10 and Xbox One | |||
[https://www.microsoft.com/en-us/p/huetro-for-hue/9wzdncrfjj3t?activetab=pivot:overviewtab Huetro for Hue] (Windows store) works on Windows 10 | |||
[http://www.screenbloom.com/ Screenbloom] syncs Hue lights to your screen (PC and Mac) - Open Source | |||
=== Routines and Labs settings === | |||
Morning | |||
<pre> | |||
Wake up downstairs (lights on in the morning - routines replaces personal wakeup from labs) | |||
07:00, M/T/W/T/F, Fade in 20 minutes, master bedroom and bedroom serra | |||
Wake up upstairs (lights on in the morning - routines replaces personal wakeup from labs) | |||
07:00, M/T/W/T/F, Fade in 10 minutes, living room, dining room, hall upstairs | |||
Sunrise turn off upstairs (other routines) | |||
Every day, Fade: 30 minutes | |||
Rooms off: hall upstairs, living room, dining room | |||
Sunrise turn off (other routines) | |||
Every day, Fade: 30 minutes | |||
Rooms off: master bedroom, bedroom serra | |||
</pre> | |||
Evening | |||
<pre> | |||
Hue labs: sunset to sunrise (turn lights on at night - labs because of offset possibility) | |||
offset 45 minutes | |||
living room, scene relax | |||
dining room, scene evening | |||
study, scene relax | |||
hall upstairs, scene bright | |||
fade in at sunset 5 minutes | |||
turn off at a fixed time: 00:00 | |||
fade out time 5 minutes | |||
</pre> | |||
<pre> | |||
Hue labs: sunset to sunrise (turn lights on at night - labs because of offset possibility) | |||
offset 45 minutes | |||
kitchen outdoor, scene bright | |||
fade in at sunset 5 minutes | |||
Turn off at sunrise | |||
fade in at sunrise 30 minutes | |||
</pre> | |||
'''disabled''' | |||
Morning | |||
<pre> | |||
Personal wake up (lights on in the morning - labs) | |||
Relax wake up | |||
Brightness is 70% | |||
Fade in time is 15 minutes | |||
Max brightness at 0700 | |||
Days: M/T/W/T/F | |||
Light selection: Living room, master bedroom, bedroom serra, dining room, hall upstairs | |||
</pre> | |||
Evening | |||
<pre> | |||
light schedules with randomness (off, for holidays - labs) | |||
Home except kastenkamer, hall beneden, garage, gastenkamer, trappengat | |||
Select time: 20:00 | |||
Days: M - S | |||
Turn lights back off at 23:00, add 30 minutes randomness | |||
outdoor living scene: disabled | |||
Forumla scheduler: disabled - sets a formula (eg outdoor living scene) on a timer | |||
</pre> | |||
== Innr == | |||
These lights don't allow you to change the default on behaviour to last setting in the Hue app, but are a lot cheaper and look good. | |||
They also have a large selection of products advertised to connect with the Osram or Hue brigdes (including a GU10 for EUR 20) [https://shop.innrlighting.com/en/shop shop here] | |||
The e14 candle lights are a bit shorter than the Hue candles. A two pack costs around EUR 37 [https://www.amazon.de/dp/B07HB37DJ9/ref=pe_3044161_189395811_TE_SCE_dp_1 Amazon.de] and work well. | |||
Their smart plug works just as well as the Osram one, but is smaller and less obtrusive (it's all white and has no grey bit). They are around EUR 30 [https://www.amazon.de/dp/B074MD6W37/ref=pe_3044161_189395811_TE_SCE_dp_2 Amazon.de] | |||
The ambience type e27 (white range) looks good and costs EUR 22 [https://www.amazon.de/dp/B0758HL9FY/ref=pe_3044161_189395811_TE_SCE_dp_3 Amazon DE]. | |||
A double pack of e27 coloured costs EUR 55, also good value [https://www.amazon.de/dp/B07GT12JTJ/ref=pe_3044161_189395811_TE_SCE_dp_4 Amazon DE] | |||
=== Connection with Hue === | |||
In order to connect these lights / accessories to the Hue bridge, you have to have them on, start the search in Hue, turn the power off and then on and the app will find them. | |||
If the smart plug becomes unresponsive: | |||
* delete the plug from the Hue app | |||
* press the button for min 5 seconds and the light will flash blue and then go out. | |||
* Unplug the smart plug | |||
* start the search for new lights in the Hue app | |||
* then put it back in. | |||
It may take a while. When the light goes red it should be connected properly. | |||
== Osram == | == Osram == | ||
Osram Lightify lights work very well with the Hue system, as they are both Zigbee. However, both Philips as Osram are being a bit silly in their implementation of the Zigbee protocol, which leads to some strange workarounds. | Osram Lightify lights should work very well with the Hue system, as they are both Zigbee. However, both Philips as Osram are being a bit silly in their implementation of the Zigbee protocol, which leads to some strange workarounds. | ||
=== | === Smart Plug === | ||
These work very well. | |||
=== connecting to Hue === | ==== connecting ==== | ||
# start searching for lights in Hue app | |||
# plug in the smart plug | |||
# It turns up as an on/off plug in Hue | |||
If it isn't found, plug it in closer to the Hue Bridge or a Hue light | |||
==== resetting ==== | |||
Hold the on/off button until you hear a click and the light goes off quickly | |||
If this doesn't work, you can try the 5x5 reset: plug it in for 5 seconds, remove it for 5 seconds, repeat 5 times. | |||
Otherwise remove the light from the bridge. | |||
=== GU10 lights === | |||
'''Don't use these things, they don't work well with Hue''' | |||
Currently the GU10 lights are unstable due to Philips Hue updates, which means that all my connected lights won't turn off fully using the Hue controller, after I added 1 new GU10 light. | |||
The plugs work well too, but it could be that they need resetting or touchlink connections before they work. They didn't need an update from the lightify gateway for me. Detect them as a light with the switch set to on (light is green) and they will turn up as an on/off switch. | |||
==== resetting ==== | |||
turn the light or plug off for 3 seconds, turn it on for 3 seconds, repeat 5 times. Leave on and wait (10s). If the light blinks, it has worked, if not, repeat. | |||
==== connecting to Hue ==== | |||
# First you need to upgrade the firmware. If you don't do this, the lights will not go all the way off. This can only be done through the Osram Lightify Gateway (see below). | # First you need to upgrade the firmware. If you don't do this, the lights will not go all the way off. This can only be done through the Osram Lightify Gateway (see below). | ||
# After the update, unplug the Osram Lightify Gateway entirely, otherwise it will pick up the lights after the reset | # After the update, unplug the Osram Lightify Gateway entirely, otherwise it will pick up the lights after the reset | ||
Line 29: | Line 555: | ||
# profit | # profit | ||
=== upgrading Osram Firmware === | ==== Using touchlink ==== | ||
# Download the [http://philipshue.com/lamp-finder-for-mac/ lamp finder jar] or [[File:LampFinder.jar]] | |||
# Plug the lamp / plug close to the Hue bridge (< 30cm away) | |||
# start the jar | |||
# press the button on the Hue bridge to connect | |||
# search for the lamp. | |||
Alternatively | |||
<pre> | |||
You can do light stealing from the Hue local API. In a web browser go to | |||
http://x.x.x.x/debug/clip.html | |||
where x.x.x.x is your IP address of the hub. This should bring up a web page. Put the light you want to steal within 30cm’s of the hub | |||
You need to URL and/or message body | |||
Register a user | |||
URL: /api | |||
Message Body: {“devicetype”: “HueLights#API”} | |||
Press the Post Button | |||
This will give you a long user name in the response box | |||
URL: /api/YOUR_USERNAME/config | |||
example: /api/7773d8bf606360d23d968ff165e77293/config | |||
Message Body: {"touchlink":true} | |||
Press the Put button | |||
URL: /api/YOUR_USERNAME/lights | |||
Clear the Message Body | |||
Press the Post Button | |||
On my setup this caused the living colours light to flash, I then immediately ran the Connect New lights in the Hue App. Sure enough the Bloom light showed up in the app. | |||
Hope that helps someone else in the future | |||
</pre> | |||
From [https://nohats.ca/wordpress/blog/2013/05/26/philips-hue-alternative-for-lamp-stealer/ here] | |||
==== upgrading Osram Firmware ==== | |||
# reset the light | # reset the light | ||
# plug in the Lightify gateway | # plug in the Lightify gateway | ||
Line 36: | Line 602: | ||
# detect the light using the app (you may have to restart the app, as it doesn't always show that it's detected the light properly) | # detect the light using the app (you may have to restart the app, as it doesn't always show that it's detected the light properly) | ||
# use the app to update the lights -> you will have to press update a few times before it goes. Once it does go it can take a LONG time. Just wait for the blue line. | # use the app to update the lights -> you will have to press update a few times before it goes. Once it does go it can take a LONG time. Just wait for the blue line. | ||
==== troubles with upgrading ==== | |||
The remaining issues I found out to be defective bulbs where they were not updating to the latest Lightify firmware(They are stuck on v1.03.07 and should be on v1.04.12) | |||
My lights are stuck on firmware 1.03.07 according to the Hue app, but the lightify app (connected to a Lightify Gateway) says they are updated to 1.04.12 and can't be updated | |||
Sent back to customer service and replaced. | |||
== Bulb types == | == Bulb types == | ||
Line 57: | Line 630: | ||
=== GU10 === | === GU10 === | ||
[https://www.conrad.nl/nl/osram-lightify-led-lamp-gu10-6-w-warmwit-koud-wit-1229630.html?WT.mc_id=tt&utm_source=tradetracker&utm_medium=affiliates&utm_campaign=36780&insert=9J Osram Lightify GU10 / Conrad EUR 29.99 + EUR 4.95 postage = EUR 34.94] | The Philips one is ridiculously expensive. | ||
[https://shop.innrlighting.com/en/shop/85/rs-125-gu10-spot Innr / EUR 20] don't know if it works | |||
[https://www.conrad.nl/nl/osram-lightify-led-lamp-gu10-6-w-warmwit-koud-wit-1229630.html?WT.mc_id=tt&utm_source=tradetracker&utm_medium=affiliates&utm_campaign=36780&insert=9J Osram Lightify GU10 / Conrad EUR 29.99 + EUR 4.95 postage = EUR 34.94] Very iffy support with Hue (I currently can't turn them off) | |||
or | or | ||
Line 63: | Line 640: | ||
[http://www.amazon.com/Adapter-Adaptor-Converter-Maximum-Resistant/dp/B00CETCISM/ref=sr_1_1?ie=UTF8&qid=1438020829&sr=8-1&keywords=gu10+converter 8x GU10 to E27 converter plugs for $7.29] | [http://www.amazon.com/Adapter-Adaptor-Converter-Maximum-Resistant/dp/B00CETCISM/ref=sr_1_1?ie=UTF8&qid=1438020829&sr=8-1&keywords=gu10+converter 8x GU10 to E27 converter plugs for $7.29] | ||
= | == Raspbee == | ||
[https://community.openhab.org/t/raspberry-pi-3-with-zigbee-raspbee-in-europe/50005/8 at the bottom is a very very good post on how to work this] | |||
[[File:Screenshot_2018-11-09 Raspberry Pi 3 with zigbee (RaspBee) in Europe.png|800px]] | |||
== Casambi == | |||
=== Timers === | |||
To create a [https://support.casambi.com/support/solutions/articles/12000021617-timers timer], you first set up the scene containing the lights you want in the timer (and with the settings eg colour and brightness). You can then create the timer by clicking on the ... and then timers and selecting the timing and then the scene. | |||
[https://support.casambi.com/support/solutions/articles/12000060369-time-based-scenes Time based scenes] | |||
A time-based scene can be used to achieve a different dimmed level of a scene or activate different lighting scenarios depending on when the time based scene is activated. A time based scene has the added advantage over a Timer in that it can be triggered at random times, therefore only activating scenes when needed. Time based scenes are primarily designed to be used in conjunction with presence sensors. | |||
==== Scenes + timers ==== | |||
Scene: kitchen | |||
Timers: | |||
- | Evening | ||
---- | |||
Lights kitchen@100% | |||
on all days 43 minutes before sunset | |||
off all days 23:33 | |||
fade time: 08:01 | |||
---- | |||
Morning | |||
---- | |||
Lights kitchen@100% | |||
on workdays 06:46 | |||
off all days 1hr 08 after sunrise | |||
fade time: 11:10 | |||
== Display == | |||
= Smart Heating = | |||
[[Honeywell Evohome heating]] | |||
[https://wiser.draytoncontrols.co.uk/ Wiser] is a more up to date alternative to Evohome, but only for TRVs | |||
= Motion detection = | = Motion detection = | ||
Line 123: | Line 694: | ||
The way Alwas in [https://community.smartthings.com/t/do-you-know-of-an-outdoor-motion-sensor/1513/43 this post] did | The way Alwas in [https://community.smartthings.com/t/do-you-know-of-an-outdoor-motion-sensor/1513/43 this post] did | ||
[[File:c011848472f8316e68608300850be97d194cdc4e_1_375x500.jpg|400px]] | [[File:c011848472f8316e68608300850be97d194cdc4e_1_375x500.jpg|400px]] | ||
= Power Plugs = | |||
Philips used to make a Living Whites powerplug which was dimmable with Hue, but it seems to be discontinued. | |||
Wemo has a [https://www.google.nl/search?q=smartthings+wemo&ie=utf-8&oe=utf-8&client=firefox-b&gfe_rd=cr&ei=RFpWWPv6GsWAkgXZxYjADQ#safe=off&q=wemo+smart+plug smart plug] (but Wifi, not Zigbee) | |||
Osram has a [https://www.google.nl/search?q=osram+lightify+plug lightify plug] but it only supports on and off. [https://azerty.nl/36-6549-928553/osram-lightify-plug-lichtregelsysteemcomponent-alles-via-de-app-aan-en-uit-schakelen-.html EUR 25,- at Azerty] | |||
Innr has [https://shop.innrlighting.com/en/shop/45/smart-plug-sp-110 smart plug] no idea if it supports dimming. EUR 35,- | |||
= other devices = | = other devices = | ||
Line 145: | Line 726: | ||
[http://www.wulian.cc/english/product/index.aspx Wulian for curtain controllers, door locks, luxaflex, sensors, light bulbs, doorbells CHINA] | [http://www.wulian.cc/english/product/index.aspx Wulian for curtain controllers, door locks, luxaflex, sensors, light bulbs, doorbells CHINA] | ||
= Monitoring = | |||
[http://www.domoticz.com/ Domoticz] is a system to monitor and configure lights, switches and temp / rain / uv/ electra / gas / water sensors. | |||
[http://will.dollman.org/2014/10/03/totalconnectcomfort-and-cacti-setup-guide/ connectcomfort and cacti guide for honeywell] | |||
[https://docs.cacti.net/usertemplate:graph:evohome evohome / connectcomfort cacti graph templates] | |||
= Gardening = | |||
== Lawncare == | |||
[https://rachio.com/products/ Rachio] smart sprinkler controller | |||
[https://www.rainmachine.com/ Rainmachine] smart sprinkler controller | |||
== Farming == | |||
[https://farm.bot/ Farm.bot] Drag and Drop Farming: Graphically design your farm by dragging and dropping plants into the map. The game-like interface is learned in just a few minutes so you’ll have the whole growing season planned in no time. EUR 1270,- | |||
= How it works = | = How it works = | ||
[http://www.makeuseof.com/tag/control-philips-hue-lights-arduino-and-motion-sensor/ an explanation of Philips, how to control them using an Arduino and what Zigbee is (basically a mesh) | [http://www.makeuseof.com/tag/control-philips-hue-lights-arduino-and-motion-sensor/ an explanation of Philips, how to control them using an Arduino and what Zigbee is (basically a mesh) |
Latest revision as of 11:51, 24 September 2024
Protocols
You would think that this would be straightforward but it isn't. Common protocols are:
- Wifi
- Zigbee - this means your bridge has to speak the Zigbee language (see below) the device has to work with it
-- LightLink (EU)
-- Home Automation (US) Note - these two protocols don't play well with each other. It looks like HA is being phased out in favour of LL.
-- Smart Energy
- Z-Wave
Nowadays we have Z-wave Plus which offers various benefits, so make sure any device you have is Plus.
Home Assistant has the following list of compatible USB controllers and OpenHab has this list of USB bindings. The one they share is the Vision Z-Wave USB Stick Gen5 (around EUR 34,-)
- X-Wave
contoller / Smart Hub
The controller runs the bridge devices that each individual vendor brings with their devices. It's a single central place to run all of the devices from.
The absolute Ferrari on controllers is:
Smartthings hub which supports Wifi, Zigbee, Z-Wave at $99, now owned by Samsung - but depends on the cloud to use!
This is the list of compatible devices
As an alternative you can run open source software, which will run on a raspberry pi with a zigbee usb controller.
Home Assistant Is a python written open source controller which has a larger community than OpenHab
Project Things from Mozilla
https://www.home-assistant.io/ Is a python written open source controller which has a larger community than OpenHab
OpenHAB written in java
Zipato, which comes with a beatiful tile interace thingie
Snips is an offline AI Raspberry PI DIY voice controller which functions as a private version of Alexa or Google Home
best bet currently
Home Assistant, Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. It runs on Hass.io, which turns your Raspberry Pi (or another device) into the ultimate home automation hub powered by Home Assistant. With Hass.io you can focus on integrating your devices and writing automations.
Home Assistant has huge amounts of compatible components
It's championed in the bottom of this thread
Bridges
Bridges are hardware connections.
The HUE bridge has a limit of 50 connections. You can add another bridge to your HUE app, but you will have to switch bridges within the app, which is annoying. You also can't backup your setup.
The Dresden Elektronik Raspbee Premium (SD card image [1]) doesn't have the 50 device limitation and has a backup function. It can be used through the HUE app itself. It also uses deConz software to detect devices. These also support Xiaomi devices.
The Dresden Elektronik Conbee is a usb zigbee stick for windows machines
The husbzb-1 Z-Wave / Zigbee USB device. From [2]
I have husbzb-1. I went out of my way to find out more about this device. I contacted both Nortek and SiliconLabs for help, which is not that helpful. It turned out that husbzb-1 is mostly a z-wave device. The zigbee is just something the OEM threw in as “added value” and the OEM themselves doesn’t know much about it. As result, you can expect this thing work well with z-wave. Zigbee, on the other hand, is a bit tricky. Much of the tricky part is due to zigbee standard itself. Unlike z-wave, which is practically all-in-one, so as long as there is the word “z-wave”, it should work with each other within a country/region. Zigbee, on the other hand, by itself doesn’t mean anything from an user’s perspective, because much of compatibility rely on zigbee PLUS some libraries built into the device. if you have a zigbee device (e.g. light bulb, sensors, etc), you kind of need to know which library that device uses, and you need to make sure your zigbee dongle (husbzb-1) has that built-in as well. These library, though mostly software, can not be added or delete once the device is out of factory. For our purposes, home automation, there are THREE libraries that may be relevant: home automation light link smart energy The worse part is that zigbee allow vendor to create their own proprietary library, renders device from that company incompatible with anything else on the market. The best example of such is Xiaomi. Xiaomi devices are zigbee devices, but they uses proprietary library thus none of xiaomi devices will work with anything else from other companies out of box. Security companies such as ADT probably also uses proprietary zigbee devices so you won’t able to connect your husbzb-1 to their devices directly. As result, when you buy a zigbee compatible light bulb, for example, you need to know if that bulb uses “light link” profile or “home automation” profile. and you need to compare with that with the dongle(husbzb-1) you have. And here is the frustration part, being an owner of husbzb-1: the OEM nor Siliconlabs (the maker of zigbee chips inside husbzb-1 dongle) knows for sure what zigbee library does husbzb-1 contains. The closest answer I have gotten is from Siliconlabs, after I told them which chip and what software stack does this dongle contains (in case you are curious: chip used is Silicon Labs EM3581, and software stack is EmberZNet Pro Release 5.4), the tech support says that it MOST LIKELY include Home Automation version 1.2 What does it mean? It means that it is UNLIKELY that zigbee light bulb which uses light link profile would work with husbzb-1 out of box. And here is where this community comes in: if someone got a light bulb uses standard zigbee light link profile (ikea tradfri… kudos to ikea for using standard profile) and managed to get it to work without ikea hub, then, it means husbzb-1 has light link built in. if someone got a zigbee smart energy monitor device (many utility company in USA is selling such device at heavy discount to promote energy saving) and managed to get it to work with husbzb-1 out of box, then, it means husbzb-1 also contains “smart energy” profile. but it means someone has to be willing to take the chance and buy the product and see it connect to husbzb-1 or not.
ABB free@home
One of the kitchen rails gives an error on turning off
Manual for 7" touch display DP7-S-611 File:DP7-S-6xx Product manual EN V1-1 2TMD041700D0025 ABB.pdf
ABB Home and Building Automation FAQ News
You can access a product assistant in the app by clicking on the hamburger (more menu) and then going to the help center
https://www.freeathome-forum.de translated in google forum link
Prerequisites for using the free@home local API
Scenes vs Light Groups
Groups come in two types:
- switchable light group
- dimmable light group
Scenes also:
- automatic scene
- custom scene
Dimmable groups can collectively be set to the same specific dimming level (eg 70%) when turned on, even if there are lights which only switch on and off in the group. This is in contrast to a custom scene, where you can choose the dim level per light in it.
When adding a light group all the lights in the house are automatically added to it and you have to remove them.
When adding a scene you have to choose which lights are added one by one.
Scenes can be given different icons, whereas there is no real way to tell the difference between a light group (sometimes seen as an actuator) and a lamp.
Adding > 6 light groups / scenes
It seems that you can't add more than 6 light groups / scenes in the web app. You can, however in the mobile app, by clicking on the clock (automation), then going to Groups and then clicking the + icon and adding as usual. This scene / group will then show up in the web app under the Devices floor plan and can be used however you like in the web app.
Setting dimmer brightnesses
By clicking on the blue icon you can set more or less brightness by clicking on the + and - signs. This will increment up 1%. By holding the click, you can increment 10%. By clicking on the bulb itself you can turn it on and off.
Timers
Dimmable lighting timers
When you create a lighting group make sure it's a dimmable group and add the lights. You can click on the stories of the house to select graphically. Make sure you only have lights with dimmers (you can tell because they have a % brightness on the blue icon). In the time control you have to add on states for each dimmer, eg 06:45 = 30%, 06:50 = 50% etc). You can set the dim level by clicking on the + and - signs on the blue icon Put all your non-dimmable lights in another timer.
Schedules
wakeup dimmable
wakeup
on 0700 no astro mo-fri off astro +1:00 earliest 0830 latest 2359 mo - fri
Dark during the day
on 7:46 astro offset -0:30 at the earliest 7:00 latest 23:59 mon - sun NOTE: If you leave this in here the lights will turn off even if it's dark outside due to cloud - this will interfere with the brightness lights on action, which even at 0 switching time is too slow to turn the lights on fast enough. So GET RID OF THIS!off: 8:46 astro offset 0:30 earliest 0:00 latest 23:59 mon - sun
on astro 15:23 offset -0:30 earliest 0:00 latest 23:59 mon - sun off 23:30 mon - sun
Actions
ABB-Free@home manual page Examples of possible actions
activating / deactivating
By selecting the time profile in the bottom you can see if it is active due to the tick on it. To change this, select the spanner top right and then click on the icon behind the state. This will activate / deactivate the time profile.
light brightness actions
It seems that 5000 lux is enough to not need the lights on by day. If you have a weather station, set the following two actions:
Action 1: Turn on if dark
Precondition: Time - Start 7:05, End 23:25, repeat mon - sun (note get this to start after and end before any timers you may have!)
Event: Outdoor brightness Less than 5000 (you can empty the more than field), Switching delay 2 s
ALSO Event: dining room light actuator dim level set to 0 or less (delete the value from more) - this is because if the lights turn off (eg because you have a timer shutting down the lights about an hour after sunrise) then the action will not trigger immediately because it takes some time (or forever?) to poll the brightness level and turn on the lights again after they have been turned off
Actuator: can be a light or a group. The first time you set the actuator it creates a for: occurence of the event action. You can then add the same actuator again and it will create a for: cancellation of the event action.
- If it's a single light, keep it on standard operation and set the brightness / dim level on the icon (high or off [by clicking on the light bulb itself] for occurence
- If it's a group, you can't set the operation status. You have to click on the icon to set the status. So make sure it's on and set the dim level (by clicking on the plus on the icon many times) for occurence
NOTE if you set it to Forced operation mode, you lock the channel and lose the possibility to use this light or group using the app or other timers / events. It will only be controlled by the action that forces the operation mode.
You can add a notification without email or push message by clicking on Display device and selecting the display panels if you have them
Action 2: Turn off if bright
Precondition: Time - Start 7:01, End 23:27, repeat mon - sun (note get this to start after and end before any timers you may have, also start before and after the turn on events!)
Event: Outdoor brightness more than 6500 Lux; Delay: 120 sec; Switch off delay: 120 sec
NOTE We set the delays and the difference in Lux levels so that the lights don't keep switching on and off in 'edge' cases, where eg clouds are going in front of the sun.
Actuator: light group set to off
You can add a notification without email or push message by clicking on Display device and selecting the display panels if you have them
Turn on a ceiling actuator with hue lamp if turned off
Sometimes a button or action will turn off a switch actuator channel with a hue lamp on it, turning off / unpowering the hue lamp without being able to turn it on again easily (if the light switch is connected to the hue lamp and not the ceiling actuator)
- event: switch actuators, select the channel, set to Deactivation, switching delay 2s
- actuator: select the lamp, standard operation, for occurence of the event
Motion detection
The Busch-Jaeger Movement Detector 90 is the only one I have found so far that works on batteries
You can actually use a HUE motion detector by having it trigger a lamp or a power socket. Then you can use the HUE internal triggering of that lamp as a trigger for an action see here
a tip for extending a motion event based on if motion is detected again
So for night motion on:
Action 1: turn on if activated
- precondition: at night
- event: switch actuator select the plug and Activation
- actuator: occurrence of the event select the group
and to turn it off
So for night motion off:
Action 2: turn off after activation
- precondition: at night
- event: switch actuator select the plug and Deactivation
- actuator: occurrence of the event select the group
depreciated
This system below (trying to turn them on and off in a single action) caused conflicts with the cancellation turning off lights which then weren't being turned on again because of 2 reasons
The timer setting the lights on is set to start just before sunset (using the astro function) which means:
- If for some reason brightness goes up between the period of the timer going on and sunset, the action cancels and turns off the lights, which won't go on again (because the timer only switches them on once at the astro time) and
- The day action cancels anyway at sunset (because it's set to by day) so turns off the lights, which won't go on again (because the timer only switches them on once at the astro time). So the precondition for the turn on if dark action was changed to time from by day.
Took some figuring out that this was causing conflicts.
Icon meanings / blocked lights
If the icon has a triangle with a ! under the light and then a lock symbol in front, this means that the device channel has been locked. The app will have an i overlay saying this device is disabled and if you press it, will tell you: "This element is deactivated because the channel is currently in locked mode". To solve this check actions for the device and see if there is an icon with a lock overlay. This means it is in forced operation mode, which locks the channel.
If a light in a light group is locked in this way, the icon will appear over the light group too.
Sometimes you need to go to the light in the phone app, click on settings, then block settings and unblock either or both permanent switched on or permanent off. In the settings you can see what timer programs a light is part of
Changing icon
right click on the light icon under devices and you can change it
seeing to what groups / scenes a light is connected
right click on the light icon under devices to see what actuators are connected to it
Finding specific devices
In device settings you can search for the actuator / light by typing to the right of the filter button on the bottom left.
You can also select the filter "push identification" by cliking on the filter button which allows you to press the button you are looking for and it will select the device configuration
Rebooting / resetting specific devices
In the device configuration select the channel, then the device and then click on the text "maintenance" and the possibility to reboot or reset will appear
Adding favorites
In the blue screen after logging on (the control mode), click and hold / longpress the light / scene / group you want to add as a favorite and a popup will appear allowing you to add it as a favorite.
I haven't figured out how to add weather station information as a favorite.
Connecting extensions (eg Hue / Sonos)
Hue and Sonos will appear in the settings menu only if they are on the same subnet as the SAP is - also see Ubiquiti#Getting Sonos to work across VLANs for the Ubiquiti UDM Pro
You can find them under Device Configuration (bottom right) and device type. If you click on Hue Actuator you can assign it a floor and a room. This will give it an ID and make it appear in the floor plan. You will see the Hue groups in the same way as you see individual lights / plugs, be aware of this.
Once you have assigned this to an area you can then click on the text 'Hue light' underneath where you assign the position and you can change the icon
Thermostats
To see the actual measured temperature you have to use the app and select the thermostat by clicking on the icon with the mercury thermometer. The actual temperature will be displayed top left.
In the website you have to click hold on the device, where you can set the thermostat to eco mode, raise or lower the temp or add it as a favorite - but not see the measured temp. If you set the temp below the measured temp, the icon goes white. If you set the temp above measured temp, the icon goes orange. You can click and hold over the temperature display and move the mouse up and down to change the set temp.
REST API tools
Forum link to a guy who has made some stuff
Smart Lighting
Transforming dumb switches
Busch Jaeger
Busch Jaeger has three Remote control zigbee light link / radio control dimmer switches (rocker, LED dimmer) which will integrate with the HUE bridge. Once you put in a wall insert, you can put different controllers on top of it (one, two or four lane) to control the dumb light. You can then add extra remote control light switches in other location to control the same lights.
So you need:
the insert (6715 U for 4 switches, 6711 for 2 switches) A front panel switch A panel for around the switch (Future design)
[Other options such as multimedia, checking if doors and windows are open]
File:busch-jaeger-zigbee-light-link.pdf Read the systems manual here
Idealo has the best prices for the dimmers I have found so far. Around EUR 80
Elelabs Zigbee Shield is another raspberry pi addon which works with OpenHab
Robbshop
ROBB Smarrt HUE compatible rotary dimmer Zigbee SKU: ROB_200-014-0 Philips HUE compatible rotary dimmer with Zigbee. Max. 300Watt for LED and 600Watt for traditional lights. Use a dimmer bypass when connecting it 2-wire. Zigbee version which can be connected to a Hue bridge, Z1 or Z1S or Homey, but he is also in one Z-wave version. Around EUR 80,-
Pairing
In the front to the right of the dimmer wheel attachment is the reset button hole. Press five times rapidly and the lamp itself will start blinking rapidly and the red status light on the wall insert (above the reset button) will also start blinking rapidly. Start the search in the Hue bridge and it will find it as a normal lamp.
LED Dimmer
230V Controller Treiber Dimmer Dimmaktor ZIGBEE, kompatibel mit Philips HUE®, Osram Lightify® und IKEA TRÅDFRI® [Energieklasse A++] around EUR 60,-
Philips HUE
It's worth getting a Philips Hue starter Pack with the 2.0 bridge to start you off. NB Philips Hue Lux (only white dimmers) controllers can't control LED lamps with colours, but the full HUE kit can control the white LUX lamps
identifying connected items
To identify lights, click on their name in light setup and they will flash.
To idenfity sensors, click on their name in accessory setup and the LED will flash.
To identify dimmer switches, go to accessory setup and press a button. The last button pressed will be shown under the name of the accessory. I haven't found a way to get the LED to flash yet.
compatible devices
iconnect hue supported devices list
Integrating dumb lights in my smart home
Busch Jaeger will integrate with the HUE bridge (note: max 100W)
Robb has a Hue insert dimmer that works with LED up to 200W and conventional light up to 400W. It requires a blue wire
The Robb knob smartdimmer comes with a knob and insert and works for up to 300W for LED. You can install a dimmer bypass with it if you need to connect it with 2 wires instead of 3 (with blue).
Robb also has LED drivers for with Hue.
To control 1-10V LED lighting you need a LED Dimmer controller. The order is: Light switch -> 1 - 10V LED driver -> Zigbee LED Dimmer Controller -> LED light/lightstrip
Applamp has the GLEDOPTO GL-C-009 ZigBee LED Dimmer Controller (ZLL) / Artikelnummer: AL-CO-ZLL-DIM-GLC009 for EUR 30,-
Robbshop has the LEDstrip driver Zigbee 12-36V which should also be a dimmer controller despite the name for EUR 40,-
Lightanshade has the Modular Hue dim circuit module 150-300W 0/1-10V Reference 131901 for EUR 75,-. Modular lighting is an official friend of Hue.
I found ZigBee 0-10V Smart Wireless LED Dimmer Fernbedienung schalter für Hue Echo Plus for EUR 30,- and ordered it but it never arrived. The manual can be found 122551 MINI ZLL Interface but Matcall doesn't sell this thing.
Apparently Friends of Hue will launch a large range of dumb light switches but probably only for Hue bulbs Hue Home Lighting. The partners will be Busch-Jaeger, Feller, Illumra, Niko and Vimar.
Hue also has a motion sensor to trigger the lights. No good for outdoor use. It's very easy to set up but only compatible with Hue lights and won't work with homekit stuff. They are also temperature sensors which you can see in smarthings.
Tips and tricks
When you add lights to a scene, delete the alarm which contains the scene and set it up again. Otherwise not all the lights will always turn on when the alarm goes off.
Use the HUE 1 app for most things, but use the HUE 2 app for the light switches / dimmers. It has more options
The HUE 1 app has support for the Random setting in the alarnms, allowing lights to turn on / off +- up to 30 minutes from the set time. For some reason, Hue2 doesn't have this
Hue restore lets you backup your lights
Hue dimmer
To identify, go to settings, accessory setup in the Hue app. Press a button on the dimmer and in the app you can see which dimmer switch was pressed.
If you can't connect after a power failure / reboot, press all four buttons at once until the green / red light flashes. Resetting the switches by holding down all four buttons until the green light flashed got connectivity back. (Resetting the hub itself didn't do the trick)
This requires a CR2450 battery. Battery levels can be checked in the settings -> accessory setup
Computer control
You can run the official Hue apps on the PC Android Emulator Bluestacks
Hue Dynamic works on Android, IOS, Windows 10 and Xbox One
Huetro for Hue (Windows store) works on Windows 10
Screenbloom syncs Hue lights to your screen (PC and Mac) - Open Source
Routines and Labs settings
Morning
Wake up downstairs (lights on in the morning - routines replaces personal wakeup from labs) 07:00, M/T/W/T/F, Fade in 20 minutes, master bedroom and bedroom serra Wake up upstairs (lights on in the morning - routines replaces personal wakeup from labs) 07:00, M/T/W/T/F, Fade in 10 minutes, living room, dining room, hall upstairs Sunrise turn off upstairs (other routines) Every day, Fade: 30 minutes Rooms off: hall upstairs, living room, dining room Sunrise turn off (other routines) Every day, Fade: 30 minutes Rooms off: master bedroom, bedroom serra
Evening
Hue labs: sunset to sunrise (turn lights on at night - labs because of offset possibility) offset 45 minutes living room, scene relax dining room, scene evening study, scene relax hall upstairs, scene bright fade in at sunset 5 minutes turn off at a fixed time: 00:00 fade out time 5 minutes
Hue labs: sunset to sunrise (turn lights on at night - labs because of offset possibility) offset 45 minutes kitchen outdoor, scene bright fade in at sunset 5 minutes Turn off at sunrise fade in at sunrise 30 minutes
disabled
Morning
Personal wake up (lights on in the morning - labs) Relax wake up Brightness is 70% Fade in time is 15 minutes Max brightness at 0700 Days: M/T/W/T/F Light selection: Living room, master bedroom, bedroom serra, dining room, hall upstairs
Evening
light schedules with randomness (off, for holidays - labs) Home except kastenkamer, hall beneden, garage, gastenkamer, trappengat Select time: 20:00 Days: M - S Turn lights back off at 23:00, add 30 minutes randomness outdoor living scene: disabled Forumla scheduler: disabled - sets a formula (eg outdoor living scene) on a timer
Innr
These lights don't allow you to change the default on behaviour to last setting in the Hue app, but are a lot cheaper and look good.
They also have a large selection of products advertised to connect with the Osram or Hue brigdes (including a GU10 for EUR 20) shop here
The e14 candle lights are a bit shorter than the Hue candles. A two pack costs around EUR 37 Amazon.de and work well.
Their smart plug works just as well as the Osram one, but is smaller and less obtrusive (it's all white and has no grey bit). They are around EUR 30 Amazon.de
The ambience type e27 (white range) looks good and costs EUR 22 Amazon DE.
A double pack of e27 coloured costs EUR 55, also good value Amazon DE
Connection with Hue
In order to connect these lights / accessories to the Hue bridge, you have to have them on, start the search in Hue, turn the power off and then on and the app will find them.
If the smart plug becomes unresponsive:
- delete the plug from the Hue app
- press the button for min 5 seconds and the light will flash blue and then go out.
- Unplug the smart plug
- start the search for new lights in the Hue app
- then put it back in.
It may take a while. When the light goes red it should be connected properly.
Osram
Osram Lightify lights should work very well with the Hue system, as they are both Zigbee. However, both Philips as Osram are being a bit silly in their implementation of the Zigbee protocol, which leads to some strange workarounds.
Smart Plug
These work very well.
connecting
- start searching for lights in Hue app
- plug in the smart plug
- It turns up as an on/off plug in Hue
If it isn't found, plug it in closer to the Hue Bridge or a Hue light
resetting
Hold the on/off button until you hear a click and the light goes off quickly
If this doesn't work, you can try the 5x5 reset: plug it in for 5 seconds, remove it for 5 seconds, repeat 5 times.
Otherwise remove the light from the bridge.
GU10 lights
Don't use these things, they don't work well with Hue
Currently the GU10 lights are unstable due to Philips Hue updates, which means that all my connected lights won't turn off fully using the Hue controller, after I added 1 new GU10 light.
The plugs work well too, but it could be that they need resetting or touchlink connections before they work. They didn't need an update from the lightify gateway for me. Detect them as a light with the switch set to on (light is green) and they will turn up as an on/off switch.
resetting
turn the light or plug off for 3 seconds, turn it on for 3 seconds, repeat 5 times. Leave on and wait (10s). If the light blinks, it has worked, if not, repeat.
connecting to Hue
- First you need to upgrade the firmware. If you don't do this, the lights will not go all the way off. This can only be done through the Osram Lightify Gateway (see below).
- After the update, unplug the Osram Lightify Gateway entirely, otherwise it will pick up the lights after the reset
- reset the light (see above)
- turn light OFF
- start up Hue app
- start searching for lights in Hue app
- turn light ON
Note: if the light is already on, the Hue app won't find the light for some reason
- profit
Using touchlink
- Download the lamp finder jar or File:LampFinder.jar
- Plug the lamp / plug close to the Hue bridge (< 30cm away)
- start the jar
- press the button on the Hue bridge to connect
- search for the lamp.
Alternatively
You can do light stealing from the Hue local API. In a web browser go to http://x.x.x.x/debug/clip.html where x.x.x.x is your IP address of the hub. This should bring up a web page. Put the light you want to steal within 30cm’s of the hub You need to URL and/or message body Register a user URL: /api Message Body: {“devicetype”: “HueLights#API”} Press the Post Button This will give you a long user name in the response box URL: /api/YOUR_USERNAME/config example: /api/7773d8bf606360d23d968ff165e77293/config Message Body: {"touchlink":true} Press the Put button URL: /api/YOUR_USERNAME/lights Clear the Message Body Press the Post Button On my setup this caused the living colours light to flash, I then immediately ran the Connect New lights in the Hue App. Sure enough the Bloom light showed up in the app. Hope that helps someone else in the future
From here
upgrading Osram Firmware
- reset the light
- plug in the Lightify gateway
- start up the Lightify app
- plug in light at as close a distance as possible to the gateway
- detect the light using the app (you may have to restart the app, as it doesn't always show that it's detected the light properly)
- use the app to update the lights -> you will have to press update a few times before it goes. Once it does go it can take a LONG time. Just wait for the blue line.
troubles with upgrading
The remaining issues I found out to be defective bulbs where they were not updating to the latest Lightify firmware(They are stuck on v1.03.07 and should be on v1.04.12)
My lights are stuck on firmware 1.03.07 according to the Hue app, but the lightify app (connected to a Lightify Gateway) says they are updated to 1.04.12 and can't be updated
Sent back to customer service and replaced.
Bulb types
E27 = screw bulb
GU10 = the little spots with 2 plugs
E27
For lighting you can use many things but the cheapest are:
Philips hue white / amazon GBP 14,99
Philips hue white / BOL EUR 19,95 + EUR 1.99 verzending = EUR 21.95
Lampenonline hue lux white e27 EUR 17.96 + EUR 5.95 postage = EUR 23.91
GU10
The Philips one is ridiculously expensive.
Innr / EUR 20 don't know if it works
Osram Lightify GU10 / Conrad EUR 29.99 + EUR 4.95 postage = EUR 34.94 Very iffy support with Hue (I currently can't turn them off)
or
8x GU10 to E27 converter plugs for $7.29
Raspbee
at the bottom is a very very good post on how to work this
Casambi
Timers
To create a timer, you first set up the scene containing the lights you want in the timer (and with the settings eg colour and brightness). You can then create the timer by clicking on the ... and then timers and selecting the timing and then the scene.
Time based scenes A time-based scene can be used to achieve a different dimmed level of a scene or activate different lighting scenarios depending on when the time based scene is activated. A time based scene has the added advantage over a Timer in that it can be triggered at random times, therefore only activating scenes when needed. Time based scenes are primarily designed to be used in conjunction with presence sensors.
Scenes + timers
Scene: kitchen
Timers:
Evening
Lights kitchen@100%
on all days 43 minutes before sunset
off all days 23:33
fade time: 08:01
Morning
Lights kitchen@100%
on workdays 06:46
off all days 1hr 08 after sunrise
fade time: 11:10
Display
Smart Heating
Wiser is a more up to date alternative to Evohome, but only for TRVs
Motion detection
Outdoor the best way seems to be to connect a Fibaro Relay to a standard "dumb" outdoor motion detector Controlling Lights with Fibaro Relays
The way Alwas in this post did
Power Plugs
Philips used to make a Living Whites powerplug which was dimmable with Hue, but it seems to be discontinued.
Wemo has a smart plug (but Wifi, not Zigbee)
Osram has a lightify plug but it only supports on and off. EUR 25,- at Azerty
Innr has smart plug no idea if it supports dimming. EUR 35,-
other devices
Smart Home DB a database with loads of devices linked to reviews and howtos
fakeTV - programmable but not zigbee
TV Simulators tend to have a few options: an mp3 player, a timer, an automatic mode where they turn on when it gets dark and then goes for a few hours (typically 4 or 8 hours) before turning off. You can't get them on Zigbee, so I guess you have to get a zigbee enabled power plug.
fake Dog
Fibaro 4 in one motion sensor GBP 45,61
Wulian for curtain controllers, door locks, luxaflex, sensors, light bulbs, doorbells CHINA
Monitoring
Domoticz is a system to monitor and configure lights, switches and temp / rain / uv/ electra / gas / water sensors.
connectcomfort and cacti guide for honeywell
evohome / connectcomfort cacti graph templates
Gardening
Lawncare
Rachio smart sprinkler controller
Rainmachine smart sprinkler controller
Farming
Farm.bot Drag and Drop Farming: Graphically design your farm by dragging and dropping plants into the map. The game-like interface is learned in just a few minutes so you’ll have the whole growing season planned in no time. EUR 1270,-
How it works
[http://www.makeuseof.com/tag/control-philips-hue-lights-arduino-and-motion-sensor/ an explanation of Philips, how to control them using an Arduino and what Zigbee is (basically a mesh)