Help and guides › Connect your smart home
Connect your smart home
What this is about: With the “Smart Home with James” pack, James controls lights, heating and garage through your Home Assistant. Home Assistant is a program that brings lamps, sockets, thermostats and gates from different brands together in one place.
What you need
- James from Beta 5.0 on.
- The “Smart Home with James” pack, added in James. How that works is explained in Add a purchased pack. Without the pack, James doesn't switch anything.
- A running Home Assistant. The pack doesn't work without it.
- Your computer with James on the same network as Home Assistant. From outside your home, only an address with https works.
Connect Home Assistant
- In James, click “Connections” in the sidebar on the left, then “Connect Home Assistant” in the “Smart home” group. You can also just tell James: “Connect James to my Home Assistant.”
- Open Home Assistant in your browser and copy the address from the address bar, for example http://homeassistant.local:8123.
- In Home Assistant, click your name at the bottom left and then Security at the top.
- At the very bottom under Long-lived access tokens, click Create token, enter James as the name and copy the key. It is only shown once.
- In James, enter the address under “Address of your Home Assistant” and paste the key into the field “Access key (stays hidden)”. Then click “Connect”.
- When you see “Connected to …”, tell James for example: “Turn off the light in the living room.”
Your key only goes in the hidden field
You only enter your access key in the hidden field, never in the chat with James. The key stays in your computer's secure storage and only goes to your Home Assistant, never to Packstart and never to your AI.
If you did type it into the chat, delete it in Home Assistant and create a new one.
How James switches things
- By default, you confirm every change with a card. For lights, switches, blinds and heating you can choose “Always allow” there.
- Gate, garage, door and lock ask every time by default. Opening and unlocking need two clicks and don't work by voice.
- Scenes, saved settings for several devices at once, start right away. If a scene includes a gate, garage, door or lock, James asks every time by default.
- If you want it differently, set single devices and scenes in the “Home Assistant” sheet under “Without asking”. James then switches them right away, also from your phone and by voice, opening and unlocking without a second click. Then check yourself that nothing and nobody is in the way. For a lock this means: anyone who tells James to can then open your door. You can undo this under “Always allowed”.
- If you turn on “Allow everything” or “Work without asking”, then on your computer this applies to all devices: James also switches gate, garage, door and lock without a card and without a second click, also by voice. Anyone who tells James to at your computer can then open your door. From your phone he still asks for gate, garage, door and lock, unless you set that single device to “Without asking”.
- James doesn't control Alexa directly. Add your devices to Home Assistant and, if you like, connect Home Assistant to Alexa, then James and Alexa switch the same devices.
- If there is smoke, a smell of gas, water in the house or a break-in, call emergency services right away, in the EU on 112. James is not an alarm system.
Something not working?
“Nothing answers at this address”: check that the address is right (it usually ends in :8123) and that your computer is on the same Wi-Fi as Home Assistant.
“Home Assistant rejected the key”: create a new key in Home Assistant and copy all of it.
“The certificate of this address is not trusted”: at home, use the address with http.
Otherwise write to me straight from James: “Settings”, then “Support” under “Help and updates”, then “Agree and send”. Or write to support@packstart.de.