How to create a smart home in a smart way


How to create a smart home in a smart way

Those of you who’ve been following my Smart Home Diary series will know that I’ve learned a number of lessons – some of them the hard way. But I thought it would be useful to distill these into a single piece offering my best advice for anyone planning to create a smart home from scratch today.

And that advice begins with considering whether or not creating a smart home is a smart choice for you …

Think about cost

Smart home tech isn’t cheap. Not only that, but costs have a sneaky way of adding up over time. You start with a bulb or two, and a year later you’re well into four figures.

There are two financial aspects I think worth considering at the outset:

  • Available budget
  • How much home automation is worth to you

If, realistically, the amount you can invest in smart home tech is very limited, then it’s particularly important to spend your money on the right things – the things that will make the biggest difference to your life.

But, ironically, it can be even more important to think about budget if you have more disposable income to play with – because there’s almost no limit to what you can do if you throw enough money at it. Which is where the second question becomes important. How much difference will a smart home make to your life?

Is waking up in the morning, saying ‘Hey Siri, Morning’ and seeing your home spring to life something that will bring you a frisson of pleasure each time you do it? Do you take the view that anything that can be automated should be automated? Do you love the thought that simply tapping a button on your iPhone when you go to bed saves you the trouble of wandering around your home switching off lights, closing blinds and ensuring the heating is off? If so, you can justify a significant spend, because it’s something from which you’ll get substantial value.

But if you think smart home tech is kind of neat but not that big a deal, you could end up investing a lot of cash in something that will make little lasting difference to your life, especially once the novelty has worn off. That money might be put to better use elsewhere.

Think too about time, effort and reliability

Take it from me: configuring and trouble-shooting a smart home is something that takes a significant amount of both time and effort. There will be swearing involved.

Smart home tech is still something I’d consider bleeding-edge technology. Neither set up nor reliability is at a level I’d yet say is ready for mass-market consumers. If you’re not willing to do battle with Wi-Fi connectivity, delay your plans to go to bed to work out why one of your blinds isn’t responding or find the ideal positioning for a motion sensor via an awful lot of trial-and-error, then you may want to wait a while.

HomeKit has gone a long way toward making things ready for prime-time, but Just Works is still some way off.

How patient are you?

The somewhat flakey reliability of smart home devices means you also need to ask yourself how patient you are in the face of things that don’t work as they should.

You will see devices report that they are unavailable. You will see things that show themselves as constantly updating and therefore unresponsive. You will find that one of the seven lights that should have turned off is still stubbornly on for no apparent reason. You will find there are times when you lose full control of something until you update its firmware.

If you are someone who will simply roll your eyes and get on with it, no problem. If, however, a piece of misbehaving technology turns you into an incandescent ball of concentrated fury, maybe now isn’t quite the right time to create a smart home.

Family considerations

Even if you’re the greatest technology fan in the world, and can think of nothing more interesting than the challenge of figuring out why your living-room lights don’t turn on when they should, you also need to consider the attitude of your partner and any kids or other household members.

If you have any technophobes in the home, they’re unlikely to be amused by swapping simple light switches for a Siri-controlled world that relies on you remembering the name of a particular light.

But even reasonably tech-savvy people may not share your enthusiasm for automating everything in sight. For example, my partner is more tech-aware than the average mass-market consumer out there, and she’s also reasonably embedded in the Apple world, with a Mac, an iPad and an iPhone. But she still wasn’t happy about having to use an iPhone to switch on lights.

That doesn’t mean you have to rein-in your plans, but you may have to adapt them. In our case, we added a bunch of Hue Dimmer Switches to the walls so that Steph had the option of using physical switches – even if they were Wi-Fi ones. That adds cost as well as effort.

Start by dipping a toe into the water

Ok, so you’ve decided you love gadgets and you can afford them; you’re willing to put in the work; you have a laid-back attitude to uncooperative technology; and your family is on-board. Even with all this in place, I’d still recommend dipping a toe into the smart home water first.

Take a look around at what’s out there, and see what has greatest appeal to you – but for most people, I’d say that a Philips Hue Starter Kit is going to be a good entry into the smart home world. For under $200, you’ll get either two or three bulbs (depending on which version you opt for) and the bridge that makes them HomeKit-compatible.

With this, you’ll get the experience of all the key aspects of configuring and using smart home tech:

  • Setting up a bridge (needed for many HomeKit devices)
  • Adding a device to its app
  • Setting up one or more rooms in the Home app
  • Controlling devices using the Home app
  • Controlling devices via Siri

By the time you’ve done this, you’ll have a good sense of the amount of effort involved, and the benefit you see from using it.

Buy the right thing once

Whether you take my advice to start small, or jump in with both feet, the age-old advice to buy the right thing once applies. Don’t buy something cheap that you’ll want to replace further down the line, as that only ends up costing more in the long run.

Personally, I’d recommend sticking to major brands, for several reasons:

  • They are likely to work reliably (for smart home values of ‘reliably’)
  • The company is likely to stand by their products if they fail
  • They are likely to be around for a long time

Which includes HomeKit compatibility

HomeKit support makes such a big difference to usability that I’d say you want to almost view this as a must-have.

For example, if your lights, blinds and heating are all HomeKit-compatible, then a single Siri command or button tap like ‘Goodnight, home’ can take care of everything that needs to be done before going to bed. For non-HomeKit devices, you can’t use Siri, and you’ll have to go into each individual app in turn to control their respective devices.

I say ‘almost’ as you may find you have to make some exceptions – especially outside the USA, where compatible devices aren’t always available. And sometimes the price difference between the same thing with and without HomeKit support can be dramatic.

For example, our heating system uses electric radiators, which can’t be controlled by the Tado system we had before. There aren’t any HomeKit-compatible ones, but it’s really not a big deal because – for the most part – they operate on timers.

With blinds, we took a bit of chance, opting for ones that are iPhone-controlled but not yet HomeKit compatible – with later support promised. Since the company’s app already supports Scenes (one-button ways to set the positions of multiple blinds), then we’re reasonably confident that it is all set for HomeKit – and in the worst of cases, it’s not a massive convenience to tap two buttons rather than one in morning and evening. The reason we did that? HomeKit-compatible ones were literally twice the price.

Smart switches are likely to be cheaper than smart bulbs

Depending on how many lights you have in your home, and how they are configured, it will generally work out cheaper to replace dumb switches with smart ones than to replace dumb bulbs with smart ones.

For example, if you have a living-room switch that controls four lights, each with two bulbs, a single switch might cost you $50 rather than spending $200 or more on eight bulbs.

In the USA, there are quite a few brands to choose from now – but always check HomeKit compatibility for the specific switches.

However …

For light bulbs, consider color ones

Smart bulbs can do more than smart switches. For example, smart bulbs may allow you to select their color temperature, switching between bright white lighting when concentrating on something and a softer, yellower light when relaxing. They will also typically offer dimming – which smart switches do too, but don’t work with all bulb types.

However, the biggest benefit you get from opting for smart bulbs rather than smart switches is the option of color.

Attitudes to color bulbs vary. Some people are dismissive, seeing them as gimmicks that belong in nightclubs rather than homes. But many of us have come to love them.

For example, we often set the living-room floor lamps to blue or purple to provide enough light to see by without spoiling the view from the windows with bright reflections. In the bedroom, it’s nice to have the option of a warm and relaxing yellow-orange light.

The Philips Hue starter kit I recommended earlier gets you color bulbs, so you can then see how you get on with them and whether the added cost of color is worth it to you.

Philips Hue Light Strips are worth a special mention

I’m trying to keep the piece as general as possible, but I think Philips Hue Light Strips are worth a special mention, as they are so versatile.

These are long multi-color LED strips designed to provide mood lighting. You can use them for under-cabinet lighting in a kitchen, for example, setting them to white when you are cooking and a color when you just want accent lighting.

Other common uses are for TV consoles, desks and bookshelves. We even use them as wardrobe lights as a single strip provides both overhead and side lighting.

Smart plug sockets are another option

If you have floor or table lamps, another way to convert them to smart devices is to use a smart plug socket. Leave the lamp switched on, and then control the socket instead.

Elgato Eve Energy is the market leader here, and the app also monitors energy usage and costs into the bargain.

Smart thermostats save money as well as adding convenience

If you have a central heating system, a smart thermostat can be a great buy. Presence-detection means that when the system sees there is nobody home, it automatically turns down the heating to save money. With the Tado system I had before, for example, it reduced the heating bills by around 7%.

Nest, Tado and Ecobee are three big names here. This is one category where I’d say HomeKit compatibility is less important as mostly you’ll leave it to its own devices.

However, these probably only make sense if you’re staying put for a while. The payback time on a system saving 7% a year, for example, will be a number of years.

Smart locks are super-convenient but …

Walking up to your front door with your hands full and having the door automatically unlock when you approach it is undeniably convenient. Smart locks work by detecting your iPhone or Apple Watch via Bluetooth.

They also allow you to do things like allow timed access to specific individuals. For example, if your cleaner visits weekly on a Friday afternoon, the lock can be set to allow them in only between 1pm and 2pm on Fridays.

And if a friend is coming to stay and gets there before you do, you can grant them one-off access via a temporary code.

However, you do need to think about security. Even with HomeKit, which is designed to offer a very high level of security, there can be vulnerabilities – like the one we reported to Apple. You may consider smart locks to be one step too far.

Smart cameras too

The same applies to smart cameras. If you have young kids, for example, these can provide a great way to keep an eye on them wherever you are.

Cameras can also be set to send alerts when they detect motion, and some even have face-recognition so that they don’t bother alerting you to familiar faces.

Again, though, you have to be aware of the potential privacy risks of a camera feed that’s accessible via the Internet.

Smart speakers make a convenient interface

Finally, a smart speaker provides a really convenient way to control smart home technology. With this, you don’t need to have your iPhone or Watch with you as you wander around your home.

If everything you have is HomeKit-compatible, then a HomePod can control everything – but the cost only makes sense if you’re also looking for a decent speaker. Otherwise, an Amazon Echo Dot is a really low-cost device that will control most smart home devices – and is cheap enough that you could sprinkle a few around your home.

In summary …

Overall, then, my advice is this:

  • Think about whether smart home tech makes sense for you, your budget and your family
  • Dip a toe in the water first
  • Adopt a ‘buy the right thing once’ approach
  • Buy HomeKit-compatible devices wherever possible
  • Think about whether smart switches or bulbs make most sense for you
  • If bulbs, try color ones to see whether they add value
  • A smart thermostat likely makes financial sense if you have no plans to move
  • Think about the potential security risks of smart locks and cameras
  • Consider a smart speaker (or three) as a convenient means of control

You can check out my Smart Home Diary pieces for my own experiences, and please add your own tips in the comments.


Check out 9to5Mac on YouTube for more Apple news:



IHC® Captain – fjernbetjening, automatisering og overvågning



http://jemi.dk/ihc/

Introduktion

IHC® Captain er et webbaseret “værktøj” der kan overvåge en IHC® styreenhed (ofte kaldet controlleren) og reagere på ændringer i IHC installationen. Er du ikke bekendt med IHC® systemerne kan du læse mere på lk.dk.

Princippet bag er basalt set at man installere IHC® Captain på en computer af en art (helst en Raspberry Pi) også kan softwaren forbinde med IHC styreenheden (controlleren) og udlæse alle informationerne i denne. Når dette er gjort kan man via en hjemmeside vælge en ressource/indgang/udgang som skal overvåges og sætte et simpelt regelsæt op som skal opfyldes for at udføre en handling, som f.eks. at stoppe musik afspilning.

Fra og med version 0.9990 er der også kommet mulighed for at benytte IHC Captain som fjernbetjening af IHC installationen – så man kan styre hele IHC installationen direkte fra IHC Captain på computeren/mobil – og dermed slukke/tænde lys/ventilation med mere.

Et eksempel

Hvis man glemmer at lukke garagen som er koblet til ens IHC installation kan man få en notifikation på sin mobiltelefon.

Et andet eksempel

Man har fået lavet en knap til at slukke alt lyset i hele huset – men man har samtidig også installeret SONOS® musik system. Så kan man lave sådan at når funktionen til at slukke alt lyset i huset aktiveres så stopper musikken også.

Historien bag…

Det hele startede som et hurtigt forsøg for at se om man kunne få en controller der ikke var af typen Visual til at snakke med “internettet” – det var relativt nemt også, opstod der lidt sjov om man kunne lave en måde at få en computer til at reagere på ændringer/input/outputs fra controlleren, for at på den måde bryde lidt ud af begrænsningerne som der er i LKs systemer.

Lidt efter lidt opstod det aktuelle IHC® Captain software som er noget webkode (PHP) som er bygget omkring en Raspberry Pi.

Pt. understøtter systemet overvågning af næsten alle ressourcer på controlleren og kan udføre en række funktioner

Funktioner

  • Fjernbejtjening af IHC installation
  • Tænd og sluk af lys/kontakter
  • Sæt temperatur
  • Sæt lysniveau
  • Generelt alt hvad der er muligt via IHC installation
  • Sonos styring
    • Stop afspilning
    • Start afspilning
    • Start/pause afspilling
    • Pause afspilning
    • Skip fremad
    • Skip bagud
    • Skrup op for lyden
    • Skrup ned for lyden
    • Sluk for lyden
    • Tænd for lyden
    • Sluk/Tænd for lyden
    • Afspil favorit
    • Afspil playlist
  • HEOS styring – skal tilkobles via kontrolpanel.
    • Stop afspilning
    • Start afspilning
    • Start/pause afspilling
    • Pause afspilning
    • Skip fremad
    • Skip bagud
    • Skrup op for lyden
    • Skrup ned for lyden
    • Sluk for lyden
    • Tænd for lyden
    • Sluk/Tænd for lyden
  • Phillips HUE styring – skal tilkobles via kontrolpanel
    • Styring af rum/grupper
    • Styring af lamper
    • Tænd, Sluk, Kip/Skift (også pr. gruppe)
    • Sæt farve
    • Sæt lysstyrke
    • Sæt overgangstid
    • Alarm
    • Effekt modul
    • Styring af lysstyrke(lysdæmper) med special IHC funktionsblok
    • Frekald scenarie
  • Indikation af om et input/output er IHC Wireless
  • Batteri og signal status vises ved wireless enheder
  • Log/Gem værdi til disk eller website – temperaturer, fugtighed etc kan så registeres og gemmes
  • Kør lokal kommando
  • Send e-mail
  • Pushover notifikation – se mere på pushover.net

  • Video gennemgang af installation/mulighederne/funktioner

     

    Kom igang!

    Alt nedenstående tager udgangspunkt i en hvis grad af kendskab til linux/ubuntu etc. – og antager at du benytter en Raspberry Pi til at installere på – læs også gerne http://www.raspberrypi.org/help/quick-start-guide/.

    Ny installation

    Der findes 2 måder at installare IHC Captain på – den nemmeste er vha. SD kort installation, alternativt kan der benyttes Automatisk installation.

    Læs om de forskellige installationstyper herunder – men husk kun at følge en enkelt vejledning og det anbefales at følge SD kort installation.

    Helt klart den nemmeste måde at installere på hvis du har en “ren” Raspberry PI der skal installeres.

    1. Hent SD kort filen her – bemærk filen er pakket med ZIP og fylder 507 MB. Udpakket fylder filen ca. 2 GB
    2. Pak filen ud
    3. Følg guiden for hvordan du installere SD korter herunder – vælg ud fra dit operativ system:
    4. Benytter du Windows kan du alternativt benytte Winflash Tool som er super nemt at bruge – husk at markere “Resize the last EXT2FS partion….” – se evt. videoguiden herunder
    5. Når du har lavet SD kortet skal du isætte SD kortet i din Raspberry Pi, forbinde denne med netværk og strøm
    6. Herefter åbner du blot http://jemi.dk/findmypi i din browser.
    7. Herfra kan du tilgå IHC Captain ved at trykke på “Åbn” knappen ud for din Raspberry PI og følg vejledningen på skærmen / læs Manualenfindmypi

    Manual

    Opstart

    Ved første opstart åbnes der en login dialog som skal udfyldes med brugernavn og adgangskode til IHC® controlleren. Det anbefales at lave en specifik bruger til dette via IHC administrator softwaren. Controllerens IP adresse skal også udfyldes.

    Bruger du andre porte end standard IHC opsætning kan du angive webport bagefter controllerens ip adresse i formattet: xxx.xxx.xxx.xxx:portnummer (f.eks. 192.168.1.20:8123).

    Har du din Raspberry PI til at sidde så den kan tilgås ude fra offentligt netværk anbefales det at du IKKE fjerner afkrydsningen i “Login altid påkrævet” – det anbefales også at lave koden om på din Raspberry PI hvis den står på et åbent netværk – raspberrypi.org

     

    Hvis du indtaster de korrekte oplysninger og det hele virker burde der nu komme en oversigt op med de forskellige lokationer i venstre side (i højre side som slidein hvis du er på mobil/tablet). Man skifter til de forskellige lokationer ved at klikke på dem, derved kommer ressourcerne på lokationen frem.

    Som standard starter IHC Captain op i fjernbetjening modus – der kan skiftes til at lave “handlinger” ved at trykke på blyant ikonet i øverste højre hjørne

    fuldvisning 

    Generelt kan man start, stoppe og genstarte overvågningen af controlleren via  knappen i nederste højre hjørne.

     skifter til handlingsredigering.

     frakobler handlingsredigering.

     giver adgang til: Opsætning, fuldskærmsvisning, Genstart af Raspberry Pi, Sluk af Raspberry Pi og Log af.

     knappen sortere rækkefølgen af de forskellige lokationer.

    overblik 

    Hver ressource har en knap med teksten Opret (Ret hvis der tidligere er lavet en regel) – ved at klikke på Opret knappen kan man sætte en regel op for ressourcen.

    regler

    Man kan sætte hvornår reglen skal udføres, hvilken handling reglen skal udføre og sætte eventuelle parameter for handlingen. Derudover kan handlingen også testes med “Test” knappen som gør det muligt at kontrollere at f.eks. E-mail eller notifikationer afsendes korrekt.

    Vigtigt! Du skal altid genstarte IHC Captain vha. knappen i nederste højre hjørne (læs mere) når du har lavet om i reglerne.

    BEMÆRK: for at benytte Heos styring skal du tilkoble Heos module via kontrolpanelet

    hue styring

    Til at styre Sonos/Heos enhederne er der lavet en specifik IHC funktionsblok som gør det nemmere at styre det vha. IHC knapper. Sonos/HEOS styring filen kan hentes her.

    For at bruge funktionsblokken skal du pakke den ud og ligge den ind i mappen FunctionBlocks hvor dit LK IHC Visual program ligger – typisk er det C:Program Files (x86)LK IHC ControlIHC VisualFunctionBlocks – put evt. filen i mappen 07. Mine egne fb

    Nu skal man inde i LK IHC Visual programmet vælge det rum (i højre side, “Funktioner”-siden) du ønsker at styre Sonos/Heos fra, og lave et højreklik og vælge FunktionsBlokke og vælge Sonos Styring

    sonos styring

    Når dette er gjort skal man have forbundet et “input” (f.eks. venstre tanget på et tryk) fra venstre side (Installation) af LK IHC Visual til "Play/Volume op/Skip Back i Sonos/Heos styring blokken i højre side(Funktioner).

    Derudover skal du også have forbundet et andet “input” (f.eks. højre tanget på et tryk) fra venstre side (Installation) af LK Visual til Stop/Volume ned/Skip fwd i Sonos/Heos styring blokken i højre side(Funktioner)

    Når det er gjort og programmet er lagt på IHC controlleren så skal man i IHC Captain bare gøre som i videoen – altså for hver Udgang under Output (i Sonos/Heos funktionsblokken, Sonos/Heos styring) tilkoble den relevante Sonos/Heos funktion – så under Output->Play sætter man den til at køre Sonos/Heos modulet hvis værdien er sand, med “Start afspilning” i hvad nu rum den skal gøre det.

    Herefter fungere styringen sådan at der er 3 typer tryk alt efter varigheden af trykket på knapperne

    1. Hvis du holder knappen inde i mere end 1.5 sekund så starter/stopper afspilling på de to inputs
    2. Hvis du holder inde i mere end 0.5 sekund men under 1.5 sekund springer Sonos/Heos afspilleren et nummer frem/tilbage i playlisten
    3. Hvis du laver et kort tryk (under 0.5 sekund) så så skruer du ned/op

    Se Sonos opsætnings videoerne herunder

    Vigtigt! Du skal altid genstarte IHC Captain vha. knappen i nederste højre hjørne (læs mere) når du har lavet om i reglerne.



    For at benytte Phillips Hue styring skal modulet først tilkobles vha. kontrolpanelet.

    hue styring

    Bemærk at første gang skal IHC captain forbindes med Phillips Hue bridge – følg anvisninger på skærmen i IHC Captain

    hue styring

    Til at styre HUE lys er der lavet en specifik IHC funktionsblok som gør det nemmere at styre det vha. IHC knapper til dæmpning. HUE styrings filen kan hentes her.

    For at bruge funktionsblokken skal du pakke den ud og ligge den ind i mappen FunctionBlocks hvor dit LK IHC Visual program ligger – typisk er det C:Program Files (x86)LK IHC ControlIHC VisualFunctionBlocks – put evt. filen i mappen 07. Mine egne fb

    Nu skal man inde i LK IHC Visual programmet vælge det rum (i højre side, “Funktioner”-siden) du ønsker at styre Sonos/Heos fra, og lave et højreklik og vælge FunktionsBlokke og vælge (07. Mine egne fb >) HUE styring/dæmper

    hue styring

    Når dette er gjort skal man have forbundet et “input” (f.eks. venstre tanget på et tryk) fra venstre side (Installation) af LK IHC Visual til Input->Indgang i “HUE styring/dæmper”, i højre side(Funktioner).

    hue styring

    Når dette er gjort skal man gemme og overføre sit projekt til IHC Controlleren

    Herefter skal resten af opsætningen laves i IHC Captain så det ren faktisk kan styre noget. Først skal IHC Captain sættes i handlingsredigering mode

    Så vælger man rummet hvor man har anbragt HUE styring/dæmper funktionsblokken, i eksemplet er det soveværelset. Så ruller man ned og åbner “Funktioner” sektionen ved at klikke på overskriften

    hue styring

    Nu skal HUE lamperne forbindes knapperne – Tryk “Opret” ud for “FadeOp” – og sæt “Hvis input værdien er” til at være “forskellig fra..”, vælg “Brugerdefineret” og indtast 0. Vælg “Phillips Hue” i “så kør handlingsmodul”

    hue styring

    Under fanen “Phillips Hue” skal du vælge de rum eller pærer du ønsker at styre – i eksemplet herunder er valgt “Pære 1”. Vælg “Tænd” i “Tænd/Sluk”. Resten skal stå som standard.

    hue styring

    Vælg nu fanen “Avanceret” og i “Lysstyrke justering” skriver du “40” – og tryk “Gem”

    hue styring

    Gør nu det samme for “FadeNed” som du lige har gjort for “FadeOp” men under avanceret fanen skriver du: -40 ved “Lysstyrke justering” også “Gem”

    hue styring

    Så trykker du “Opret” ud for “Sluk/tænd” – her sætter du reglen til at input værdien skal være “sand” og den skal køre “Phillips Hue”

    hue styring

    Under fanen “Phillips Hue” skal du vælge de rum eller pærer du ønsker at styre – i eksemplet herunder er valgt “Pære 1”. Vælg “Kip/SKift” i “Tænd/Sluk”. Resten skal stå som standard – tryk “Gem”

    hue styring

    Nu skal du blot genstarte IHC Captain vha. knappen i nederste højre hjørne. Læs mere

    Du har nu følgende funktioner på et tryk

    1. Tryk og slip for tænd/sluk
    2. Tryk og hold inde og lyset tænder og skrues op for i lysstyrke…
    3. … slip og tryk hurtigt igen, og hold inde – så skrues derned for lysstyrken.

    Du skifte “retning” på lysstyrke dæmpning ved at slippe og trykke hurtigt igen

    Videoguide er på vej…



    Det er muligt at modtage notifikation direkte på smartphone eller tablet vha. pushover.net

    Se notifikation opsætnings videoen herunder

    Vigtigt! Du skal altid genstarte IHC Captain vha. knappen i nederste højre hjørne (læs mere) når du har lavet om i reglerne.



    Det er muligt at gemme dataene fra IHC controlleren enten til lokal disk eller internettet.


    Se hvordan der gemmes til lokal disk herunder

    Vigtigt! Du skal altid genstarte IHC Captain vha. knappen i nederste højre hjørne (læs mere) når du har lavet om i reglerne.



    Se hvordan der gemmes til internettet herunder

     

    Gemme data til data.sparkfun.com

    1. Dette eksempel tager udgangspunkt i opsætning af en pir sensor log – altså hver gang der registreres bevægelse gemmes der data i datasparks “sky” – bemærk der kan “kun” gemmes 50mb data og når dette maximum opnås roteres dataene således at de ældste gemte data slettes når nyt indsættes
    2. Start med at oprette en stream på https://data.sparkfun.com/streams/make – læs http://phant.io/docs/management/create/ for en forklaring af felterne.
    3. Beslut hvilke felter du skal gemme i din “stream” – skriv dem i fields feltet, adskilt med komma. Bemærk der vil automatisk blive indsat et tidspunkt når dataene gemmes. I vores eksempel laver vi dog to felter: “lokaltid,bevaegelse”. Som udgangspunkt behøver du altså ikke at logge tiden da systemet selv gemmer et timestamp men det kan være “forvirrende” at oversætte til danske tidspunkter 🙂 
      1
    4. Når du trykker “Save” kommer der en række “koder” frem som du skal gemme – start med at få nøglerne sendt via e-mail – benyt “Send yourself a copy of your keys” – så har du en backup til senere. 
      1
    5. I en ny browser fane/tab åbner du nu “IHC Captain” og finder det input/output du vil gemme data fra.
    6. I vores tilfælde ønsker vi at gemme når PIR aktiveres, så derfor sættes “Hvis input værdien er” til at være “sand”. Hvis du altid bare ønsker at gemme dataen ved ændringer skal du sætte “Hvis input værdien er” til at være “forskellig fra…” også vælge “den sidste aflæste værdi”. 
      1
    7. Vælg “Gem til URL” under “så kør modul”
    8. Under fanen “Gem til URL” skal du udfylde følgende:
      • URL: http://data.sparkfun.com/input/[publicKey] – hvor du indsætter “Public Key” fra punkt 4. istedet for “[public key]” – i vores eksempel er det så: 
      • Parametere: private_key=[privateKey]&bevaegelse=[newval]&lokaltid=[date][time] – erstat selv [privateKey] med din privatekey fra punkt 4. [newval] bliver automatisk erstattet med værdien fra aflæsningen, i vores eksempel vil den så altid indholde “true”/”sand”. [date] og [time] bliver automatisk erstattet med lokal dato og tid.
      • Type: get
      • Dataformat: form/get


      1

    9. Tryk nu “Test” og indtast en “værdi” du ønsker at gemme – f.eks. 1 – der skulle gerne komme en “cURL Weblog HTTP response: 200” frem. Kommer der noget andet frem så check din “privateKey” og alle punkter i 8. 
      1
    10. Besøg nu “Public URL” som kom frem i punkt 4 – i vores eksempel her: 

      – her kan du se dataene og hente dem

    11. Tryk nu “Luk test” og derefter “Gem” så skulle dataene altid blive gemt
    12. Du kan slette alt det gemte data vha. https://data.sparkfun.com/streams/clear – du skal bruge nøglerne fra 4 – og hvis du helt ønsker at slette alt dit data er det her: https://data.sparkfun.com/streams/delete

    Bonus læs evt. http://phant.io/graphing/google/2014/07/07/graphing-data/ for at lave fine realtime grafer med google – kræver lidt nørderi.

    Eller besøg mit eksperiment her som burde kunne lave grafer:  http://jemi.dk/ihc/sparkfungraph.php

    Der er flere måde at fejlsøge hvis der er problemer – prøv at benyt nedenstående som burde give mere information som kan bruges i fejlsøgning – skriv evt. inde på http://www.ihc-user.dk/forum/forums/forum/39-ihc-captain/ med hvad du oplever af problemer.

    Prøv først at tilføje #debug til URL’en – så det bliver til: (DINRASPBERRY PI IP)/index.php#debug – det giver lidt mere forklaring på hvad der sker.

    Du kan også overvåge selv overvågningen – dette gøres ved at logge ind på din Raspberry Pi og køre:cd /opt/ihccaptain/tools/ og derefter ./showmonitor.sh – dermed forsøger den konstant af forbinde med den “proces” som kører overvågningen.

    Versioner

    Version 1.01

    • Phillips HUE styring – HUSK HUSK: at tilkoble modulet under kontrolpanel!
    • Ny IHC funktionsblok til fader/dæmpning op/ned primært tænkt til Phillips Hue – Hent her: jemi.dk/ihc/files/HueStyring.zip
    • HUE og HEOS moduler er nu standard frakoblet da det er begrænset hvor mange der har disse og de tunge at starte
    • Nyt Phillips HUE modul til styring af lys
    • Styring af rum/grupper
    • Styring af lamper
    • Tænd, Sluk, Kip/Skift (også pr. gruppe)
    • Sæt farve
    • Sæt lysstyrke
    • Sæt overgangstid
    • Alarm
    • Effekt modul
    • Styring af lysstyrke(lysdæmper) med special IHC funktionsblok
    • Frekald scenarie
  • Bedre fejlhåndtering af ajax/login fejl
  • Bedre håndtering af login/opstart
  • Forbedret håndtering og visning af IHC ikoner
  • Indikation af om et input/output er IHC Wireless
  • Forbedret håndtering af input dialoger på små skærme og ved “skæve” opløsninger
  • Spring/link imellem tryk/ressourcer
  • Batteri og signal status vises nu ved wireless enheder
  • Mulighed for at “gentage”/Import sidst gemte handling indstillinger – ved masseredigering af f.eks. SONOS styring er det meget nemmere, tidligere kopierede den automatisk medover = forvirring
  • Løst problem med at gemme web indstillinger fra kontrolpanel
  • IHC inputs er nu tilpasset IHC egne max/min regler
  • Ved login “imod” controller vises nu controller information
  • Løst fejl ved volumestyring på Sonos grupper
  • Mange forbedringer ved Sonos styringen
  • Forbedret visning/opdatering af regler i brugerfladen
  • Fremtiden

    • Kombinationsmoduler – så en ændring kan udføre flere moduler: gemme i log + starte SONOS
    • Mulighed for at den automatisk starter igen hvis controlleren genstarter
    • Controller log (lav batteri på wireless) -> skal kunne trigger en “custom” alarm – f.eks. pushover om lav strøm
    • Sende e-mail modul
    • Sonos modul
      • Mulighed for at sætte bestemt input

    Donationer

    mobilepay

    Er du glad for det jeg har brugt lang tid på, så overfør gerne en skilling via mobilepay på 30 92 04 13 eller overfør med PayPal

    Du kan også sende mig elektronik som du gerne vil have mig til at prøve at se om IHC® Captain kan understøtte – send mig en e-mail på ihccaptain@jemi.dk og spørg løs…


    Kontakt

    Du kan altid skrive til mig på ihccaptain@jemi.dk


    Denne side er ikke en del af Schneider Electric Danmark A/S/Lauritz Knudsen/LK og er ikke på nogen måde forbundet med disse. IHC® er muligvis et registeret varemærke tilhørende Schneider Electric Danmark/LK. Eller sagt på engelsk: We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Schneider Electric Danmark A/S/Lauritz Knudsen/LK, or any of its subsidiaries or its affiliates. The official Schneider Electric Danmark A/S/Lauritz Knudsen/LK web site is available at www.lk.dk. IHC® og LK are registered trademarks of Schneider Electric Danmark A/S/Lauritz Knudsen/LK. 



    Posted in IHC |

    How to add IKEA Trådfri to Philips Hue – How To


    How to add IKEA Trådfri to Philips Hue – How To – Smart Home Geeks

    IKEA Trådfri added philips hue guidewww.smarthomegeeks.co.uk/wp-content/uploads/2017/09/IKEA-Trådfri-added-philips-hue-guide-100×65.png 100w, www.smarthomegeeks.co.uk/wp-content/uploads/2017/09/IKEA-Trådfri-added-philips-hue-guide-260×170.png 260w” sizes=”(max-width: 759px) 100vw, 759px” class=”” style=”max-width: 100%; margin: 0.5em auto; display: block;” apple-inline=”yes” id=”69F841A0-A361-4490-9814-2DCFA5BBD00E” src=”https://o1sen.dk/wp-content/uploads/2018/01/IKEA-Trådfri-added-philips-hue-guide-759×500.png”>

    How to add IKEA Trådfri to Philips Hue


    We originally brought you the exclusive comment from IKEA about Trådfri eventually supporting ZigBee  interoperability and therefore allowing you to add IKEA lights to your Hue network. Here is the original article.

    For those of you wondering what on earth this means, it basically means they both operate using the same standard meaning they ‘must’ work together.

    Now the software update has been released here is a detailed guide showing you exactly how to add IKEA Smart bulbs to your Philips Hue network!

    You can buy Philips Hue bulbs from Amazon,currently for under £25 for a pair.

    Unfortunately there is no way to check the bulb firmware from the packaging.

    The bulbs we tested were from central London on 20/9/17 and still had the old firmware. This means they require an update so you need a controller and hub.

    If your reading this a few months later you might be ok to try just a bulb and jump to part 2.

    Let us know in the comments how you get on and dont forget to like us on Facebook for the latest guides, reviews and news.


    Part 1 – Updating firmware

    1. Follow the IKEA instructions setting up your hub, controller and bulb. You do need both the hub and controller to update, sadly just the hub wont do it.
    2. Open the Trådfri app and check to see the firmware, now press update. the text will change to ‘Update pending’.Adding IKEA bulbs to Hue
    3. Our firmware update took over an hour to install. Once complete the lights blink.
    4. Go back into the app and confirm the bulb firmware shows as 1.2.217
    5. Make sure the light is on and remove it from the app.
      Remove bulb from app
    6. Turn off the bridge – we found it can cause issues with the Hue Bridge, most likely due to using the same channel by default.

    Part 2Adding to Hue network

    1. Turn the light that has the IKEA bulb in on and off 6 times quickly, this resets its settings but maintains the firmware.
    2. Turn off all other Hue lights, to prevent ZigBee interference, and if possible move the IKEA bulb near the Philips Hue hub. If it can touch the hub even better!When we did ours we added the bulb in a portable light we could put near the hub before moving the bulb later once added.
    3. Open the Hue app and search for the a bulb, in the same way you normally would.
      Adding Ikea bulbs to Hue search for light
    4. The bulb will appear as ‘colour temperature light 1’Adding Ikea bulbs to Hue added
    5. You can now name it add it to any room or group as you would a Philips Hue Bulb. We named our bulb ‘IKEA TRAFADIL’ so you could clearly see it in the group.Adding bulbs to roomsIKEA Trådfri added philips hue

    Note this does not give you HomeKIt or Alexa control of the bulb, yet. You do get an error about ‘Failed to update Siri’ we ignored it and all was ok.

    We did ask Alexa to turn off the Living room and all but the IKEA Trådfri turned off.

    This might be different when the bulb firmware is updated to support Alexa.

    If you could not find your bulb via the App you can try a 3rd party application called Lamp Finder, we didn’t need to use it but it is an option.


    Part 3 – How to pair your IKEA Remote to Phillips Hue Lights.

    However when you you pair them to the remote it removes them from the Philips Hue Hub. This means the app and Home Kit, Alexa can no longer talk to it. Also it is slightly tricky to add them back to the Philips hub.

    You can however put up to 10 lights to one remote.

    We spent a lot of time trying to pair the remote to the Philips Hue hub but didn’t find a solution despite getting them to communicate!

    1. Turn off other hue lights
    2. Hold the remote next to the bulb
    3. Hold down the small multipurpose button on the underside of the controller, the same one used to pair with IKEA smart lighting.
    4. Keep it held down for a maximum of 10 seconds or till the light stops flashing, for example if can be 5 seconds till it stops.
    5. The light will now be controllable by the IKEA Remote.

    Reminder: You can buy Philips Hue bulbs from Amazon,currently for under £25 for a pair.