This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Best convention for naming rooms, devices and switches
androidfroyo
Member
Hi All
I'm a proud and brand new owner of Homey . Nothing too fancy now just aeotec swtiches (mostly programmed or wired to lights) , 2 motion sensors and smart lock. I've been playing with homey logic for a while and I have a few questions
1. Is it generally good practice to name the device with the name of the room?
For example I have a button in my aeotec switch that I call "Living room light" because it is wired to turn on the main light in living room. and the room it is in is called Living room. I have other lights in the living room of course.
Is it correct that when I say "Homey turn on living room light " it will turn on that specific light but when I say homey turn on lights in living room it will turn on all lights in the living room?
2. Naming of device vs flow
I have a button in the living room that I want to press to turn everything off in the house.
I call that device "All off" is that a good name? Then I have a flow that is also called "All off" , If device:all off is on, homey will turn off all devices.
To further complicate matters I have google assistant and home.
If I setup a google shortcut that will send
"tell homey all off" is homey going to trigger the button? the flow? Or some hard coded all off in homey?
what if the google shortcut sends
"tell homey turn on all off" ? - Does it then trigger the device on, which then triggers the flow?
Thanks for helping a confused newbie.
I'm a proud and brand new owner of Homey . Nothing too fancy now just aeotec swtiches (mostly programmed or wired to lights) , 2 motion sensors and smart lock. I've been playing with homey logic for a while and I have a few questions
1. Is it generally good practice to name the device with the name of the room?
For example I have a button in my aeotec switch that I call "Living room light" because it is wired to turn on the main light in living room. and the room it is in is called Living room. I have other lights in the living room of course.
Is it correct that when I say "Homey turn on living room light " it will turn on that specific light but when I say homey turn on lights in living room it will turn on all lights in the living room?
2. Naming of device vs flow
I have a button in the living room that I want to press to turn everything off in the house.
I call that device "All off" is that a good name? Then I have a flow that is also called "All off" , If device:all off is on, homey will turn off all devices.
To further complicate matters I have google assistant and home.
If I setup a google shortcut that will send
"tell homey all off" is homey going to trigger the button? the flow? Or some hard coded all off in homey?
what if the google shortcut sends
"tell homey turn on all off" ? - Does it then trigger the device on, which then triggers the flow?
Thanks for helping a confused newbie.
Comments
Really helpful.
Can I trouble you with a followup question.
What would you recommend for a button that turns on the main light in the living room?
Or one that turns every device off?
Anyway this is a q more on principles of flow creation.
e.g. A light switch in bedroom I would call the device "bedroom light switch". Or a flow to turn off all devices I would call the flow "All off". But apparently it's a bad idea because some of these words are special in Homey?
I've found that in general naming them this way usually works..but sometimes it doesnt and i wonder if it is my naming.
I can call it unique names but then i cant remember what it does.