Internet Of Things: Difference between revisions
Line 44: | Line 44: | ||
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. | 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 === | === resetting === | ||
turn the light 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. | 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 === | === connecting to Hue === | ||
Line 58: | Line 60: | ||
''Note: if the light is already on, the Hue app won't find the light for some reason'' | ''Note: if the light is already on, the Hue app won't find the light for some reason'' | ||
# profit | # profit | ||
=== Using touchlink === | |||
# Download the [http://philipshue.com/lamp-finder-for-mac/ lamp finder jar] or [File:LampFinder.jar download it from here] | |||
# 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 === | === upgrading Osram Firmware === |
Revision as of 09:28, 26 January 2017
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:
HomeSeer HomeTroller S6: $1200
So we go for the Smartthings hub which supports Wifi, Zigbee, Z-Wave at $99
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.
ppenHAB written in java
Home Assistant written in python
Protocols
You would think that this would be straightforward but it isn't. Common protocols are:
- Wifi
- Zigbee
-- 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.
- Z-Wave
- X-Wave
Smart Lighting
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
Innr
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
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.
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 download it from here]
- 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
heating
For heating you need a smart radiator valve / TRV (thermostatic radiator valve) / Central heating valve
Conrad has these which are programmable but not smartthings
Honeywell Evohome will be compatible with smartthings soon (they have been saying for years)
Tado
Danfoss doesn't seem to work
So far it looks like you will have to connect the brand thermostat to the TRV
Your smart heating package constists of the following:
- TRVs for the radiators
- a thermostat
- a controller / receiver for the CV installation.
The controller / receiver comes in 2 types:
- opentherm: an open standard that allows graduated control over the heat the CV generates http://centrale-verwarming-combiketels.welke-kiezen-kopen.nl/opentherm-wat-is-het-voordeel-cv-ketels.php
- on / off
When you install your system, you also need a bypass to allow for water to circulate. A possibility is to have one of your radiators on all the time, to act like a bypass.
Honeywell has a 4 zone wifi kit for EUR 483 https://www.cvkoopjes.nl/honeywell-zoneregeling/honeywell-evohome-wi-fi-4-zone-aanuit-pakket.html?gclid=CLPV8bz8nswCFegp0wodKVgGSA#/75-garantie-2_jaar_standaard/ and for EUR 505 http://www.paradigit.nl/honeywell-evohome-multi-zone-radiatorpakket-on-off/80039504/details.aspx?channel_code=210&s2m_product_id=80039504&utm_source=adcore-v4&gclid=CMbUnKz7nswCFeQp0wodjBIC6Q
You can buy the receiver seperately for around EUR 100,-
There's also a remote sensing TRV head, for if your radiator is enclosed
https://www.kijkvoelbeleef.nl/Honeywell/Producten/Product/Distance-Plus/ (in NL they are called Distance Plus)
but I don't know if they are compatible with EvoHome.
Unfortunately the Nefit Ecomline HR line of CVs is on/off only and doesn't have an opentherm adapter. There is an adapter for their own smart thermostat, but you can't use that to connec to the Honeywell Evohome.
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
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)