NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
414 stars 51 forks source link

[Feature Request]: Custom accessory support #389

Open CaseyRo opened 3 years ago

CaseyRo commented 3 years ago

Is your feature request related to a problem? Please describe. I saw some other homebridge plugins using the 'custom' accesory. I like it, I want it 😉

Describe the solution you'd like

image

the home+ / eve apps use these kinds of accessoires to use as 'labels'

Describe alternatives you've considered

Additional context Some use cases I see for this:

Thanks for your consideration!

Shaquu commented 3 years ago

Probably what we need is a custom Service option

https://github.com/naofireblade/homebridge-seasons/blob/master/index.js

houser42 commented 3 years ago

Just a word that I am now testing iOS 15 that supposedly has custom service support. I have a ton of use for this, as I build bridges to small off-grid solar systems. I have a few nodes live in node red that I would like to publish with correct names rather than as it is now with all things like voltages, currents and state of charge shown as humidity and temperature. Ah well. Just a word that I would be really happy to test this as I see it might make it into your version 1.5.0? Many thanks for a fantastically useful node!

crxporter commented 3 years ago

iOS 15 that supposedly has custom service support

Hold up. Really? Can you share some screenshots?!

@Shaquu I vote for adding this whenever you've got time if iOS 15 has some magical new features.

Shaquu commented 3 years ago

@crxporter first post contains screenshot :)

Edit, did not see it on iOS 15 yet

houser42 commented 3 years ago

hello @crxporter I have no new accessory types working in my setup that I can show :( All I am saying is that it seems to me that support is there to be tapped into in iOS15. Or will be soon. Either via Matter or directly as an accessory developer. This is beyond my skillset but I assume the node-red-contrib-homekit-bridged team is considered a pretty serious accessory developer ;) The specification requires developer access but is here: https://developer.apple.com/homekit/specification/ General stuff that I am sure you are aware of: https://buildwithmatter.com https://developer.apple.com/videos/play/wwdc2021/10298/ etc. Should be a good year for this excellent node!

crxporter commented 3 years ago

Yeah I'm real excited about matter and new upgrades.

I wonder if the HK simulator is updated with iOS 15 - could give some insight

djiwondee commented 3 years ago

@crxporter

I wonder if the HK simulator is updated with iOS 15 - could give some insight

For Xcode 12 - HK simulator release is 4.1 For Xcode 13 beta 3 HK simulator release is 4.1.1

Don't see real difference but HK simulator bugs. However was able to quickly create a device with custom prop:

Bildschirmfoto 2021-08-20 um 10 53 32

But don't see an option for custom accessory rather than "Other"

image
houser42 commented 2 years ago

Hello, Today I came across this link which appears to be using a HK Service called "Energy Monitor": "... an undocumented feature to actually show Watt, kWh and so on in Eve" I am wondering if it could be added to NRCHKB? It looks like a possible candidate for a decent start to try and get energy consumption into Home Kit via NRCHKB. If there is also an undocumented accessory to go with it.that would certainly be great ;) Any comments? Many thanks.

Shaquu commented 2 years ago

Hello,

Today I came across this link

which appears to be using a HK Service called "Energy Monitor":

"... an undocumented feature to actually show Watt, kWh and so on in Eve"

I am wondering if it could be added to NRCHKB?

It looks like a possible candidate for a decent start to try and get energy consumption into Home Kit via NRCHKB.

If there is also an undocumented accessory to go with it.that would certainly be great ;)

Any comments? Many thanks.

Custom Characteristic is already added.

https://nrchkb.github.io/wiki/discover-more/experimental/

houser42 commented 2 years ago

@Shaquu wrote:

Custom Characteristic is already added.

https://nrchkb.github.io/wiki/discover-more/experimental/

Excellent. Will have a look. Many thanks!

Typ1er commented 2 years ago

With the custom characteristics you can still add your own units?

houser42 commented 2 years ago

If anybody successfully gets things like energy consumption (watts, battery state of charge etc) into the iOS 16 Apple Home app, please share. I could get it to work partially in the Eve app but not the Apple Home app.