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.
Closed HomeyCore HomeyScript
[BUG][1.5.6] Change name (New) Zone does not work [workaround available][Updated for 2nd BUG]
GeurtDijker
Member
UPDATE: Good news, IT IS fixed in the next Firmware release 1.5.7! And that is in Experimental already!
Probably will be in the Stable channel very SOON(tm)
dd: 20180226
If you try to change the name of a Zone and Refresh the App / Browser you see the Rename id not work.
This also happens if you create a new Zone, it always creates a zone "New Zone" and changing doesn't work.
Also changing the Icon of a Zone or moving in the hierarchy doesn't work, only deleting a Zone works at this moment.
You experience this issue when you upgrade to the (currently) Experimental version 1.5.6
The newest production of Homeys is delivered with the 1.5.6 version as Stable and has the same Issue.
Good news, it will be fixed in the next Firmware release 1.5.7! I created a Workaround in HomeyScript to create a custom named zone in the root (Home) or a sub-zone. Changing or setting the icon and place still doesn't work. Wait for the next version to fix that! The script is described here: https://github.com/athombv/com.athom.homeyscript/wiki/createNamedZone.js for a plain text version open myGitHubVersion
Step by step for who is New with Homey/HomeyScript:
- Go to the App store, login and install HomeyScript on your Homey. https://apps.athom.com/app/com.athom.homeyscript
- Go to https://homeyscript.athom.com/ login to Athom and Select your Homey (Right Top)
- Create a new Script (Left-bottom) and name it something usefull. Remove the first line ( // my script )
- open in another browser Tab myGitHubVersion Select all (Ctrl-A) and Copy (Ctrl-C)
- Go back to your HomeyScript and paste (Ctrl-v). You should have 100 lines !
- Edit the lines after the comments en fill in your "Awesome Zone Name" and the Zone where to create the new Zone in.
- Press [ Save & Test ]
Congratulations with your first HomeyScript experience ;-)
Troubleshooting:
If it didn't work, you probably didn't give the correct base zone name.
Look at the output!
-=-=-=-=-=-=-[ List of Icon names ]-=-=-=-=-=-=-The line let BaseZone = should follow one of your existing level 1 or 2 zones ('Home' , 'Basement' , 'First floor' ) but not 3rd level ('Bedroom' ) Try again and if it works you get something like:
["bed","books","default","garden","home","kitchen","living","roof","shower","stairs-down","stairs-up","toilet"] -=-=-=-=-=-=-[ List of Zones and IDs ]-=-=-=-=-=-=-
Home : 9919ee1e-***
Basement : 37782dac-***
First floor : b840a982-***
Bedroom : ddc3cdaa-***
...
My Awesome Zone : a4876bb9-0f3a-4711-a388-3d7b28b8f34c No newBaseZoneID, Zone not Created! Pls Fix!
-=-=-=-=-=-=-[ Creating Zone:"My Awesome Zone" ]-=-=-=-=-=-=-
Zone Created! {"id":"073b3496-*","name":"My Awesome Zone","icon":"default","index":6,"parent":"9919ee1e-*"}
Enjoy your Homey time!!!
Regards The Homey Community!
Tagged:
This discussion has been closed.
Comments
this is not a by Athom provided solution!
This is just a workaround provided by me, a scriptaholic from the community.
If you don't want to script just wait for Athom to release 1.5.7
On 1.5.7, after renaming Zones, Still old names in Flow menu #2286
It only happens for devices that exist in a zone before you rename the zone!
If you experience this bug:
And have a lot of Devices in Zone's you renamed recently so you don't like moving them by hand....
Copy it here:
Press [ Save & Test ]