node-red-contrib-homekit-bridged icon indicating copy to clipboard operation
node-red-contrib-homekit-bridged copied to clipboard

Can not set name as input value

Open Jodameister opened this issue 4 years ago • 7 comments

I tried to set the characteristic msg.payload.Name individual. But the Name as set in the HomeKit node is showed in the Home-App. When I let the name empty in the HomeKit node, node red said "Name" is invalid, but in the description "Name" is optional.

How can I set "Name" individual with each msg?

Jodameister avatar Mar 29 '20 13:03 Jodameister

I don’t remember the exact names for everything but there are two “name” categories.

One is the service name which needs to be set once and left for the duration of the time it exists. When this is changed the device is deleted and re added to home app.

Next is the display name, this is the name you see in your home app on the phone or iPad. This can be changed at any time and will not be overridden if you change it on your home app.

Currently this plugin uses the required name field on setup for both of these. It would be a new feature to separate them. Let me look for the discussion on this so you can specifics from the devs. I’ll post again in a few minutes if I find it.

crxporter avatar Mar 29 '20 13:03 crxporter

The displayed name is what I will set individual over the input. So I can create a occupancy sensor and put a value like AirPressure in the displayed name (Airpressure: 1023hPa).

Jodameister avatar Mar 29 '20 13:03 Jodameister

I think you will be disappointed with how well that (probably won't) work. That would be a similar approach to the "Service Label Namespace" and "Service Label" services. Last I tried those (about 6 months ago) they were pretty slow to update and didn't like being changed after the initial deploy. Things could of course be better now.

That being said, I believe this would be a new feature with the "service name" and "display name" separated.

crxporter avatar Mar 29 '20 14:03 crxporter

Thank you for your reply!

Jodameister avatar Mar 31 '20 20:03 Jodameister

I haven’t seen @Shaquu aroind for a few days but I’ll leave him flagged. He may have comments.

crxporter avatar Mar 31 '20 20:03 crxporter

I haven’t seen @Shaquu aroind for a few days but I’ll leave him flagged. He may have comments.

Sorry for being inactive for such a long period. Online studies are harsh and unfortunately I am on the sick leave for third week.

I see emails though so I will try to follow up in few days.

Shaquu avatar Mar 31 '20 20:03 Shaquu

Possibly will be resolved by #53

Shaquu avatar Nov 01 '20 19:11 Shaquu