Homekit Gate problem with device names with ()

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
seppo
Posts: 5
Joined: 26 May 2022 19:35

Homekit Gate problem with device names with ()

Post by seppo »

Hi,

I have plenty of Z-wave devices and each of them has many sub-devices with names like "Fibaro (4.1)".

Now when I add Homekit Gate to Apple home with iPhone (iOS 15.6.1) after assigning device to a room it asks to rename the device name because it needs to begin and end end with a letter or number. Is there a way to batch rename all. Doing the renaming with zwave me GUI would be a huge work.

Could Homekit Gate do automatically the names clean-up?
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Homekit Gate problem with device names with ()

Post by PoltoS »

It is Z-Way, you can do anything ;)

You can use JS on the server side to do it.

Code: Select all

/JS/Run/controller.devices.forEach(function(v) { var title = v.get('metrics:title'); <do something with this title>; v.set('metrics:title', title);})
seppo
Posts: 5
Joined: 26 May 2022 19:35

Re: Homekit Gate problem with device names with ()

Post by seppo »

I think I will need to learn more about JS to be able to do this :)
Post Reply