Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Custom accessory support #389

Open
CaseyRo opened this issue Apr 8, 2021 · 12 comments
Open

[Feature Request]: Custom accessory support #389

CaseyRo opened this issue Apr 8, 2021 · 12 comments
Labels
enhancement 👍 New feature or request v1.5

Comments

@CaseyRo
Copy link

CaseyRo commented Apr 8, 2021

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

  • I've tried NRCHKB with custom characteristics, but that didn't fully cut it - it doesn't display these values as such currently.
  • similar with CMD4
  • homebridge-calendar "hacked", it kind a works but my coding skills are too limited.

Additional context
Some use cases I see for this:

  • as a user I can see what song is playing in my living room (based on some form of node red input)
  • as a user i see the value of bitcoin currently
  • some other random display of data pulled from an API by node red

Thanks for your consideration!

@CaseyRo CaseyRo added the enhancement 👍 New feature or request label Apr 8, 2021
@CaseyRo CaseyRo changed the title [Feature Request]: [Feature Request]: Custom accessory support Apr 8, 2021
@Shaquu
Copy link
Member

Shaquu commented Apr 8, 2021

Probably what we need is a custom Service option

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

@houser42
Copy link

houser42 commented Aug 16, 2021

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
Copy link
Member

crxporter commented Aug 16, 2021

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
Copy link
Member

Shaquu commented Aug 16, 2021

@crxporter first post contains screenshot :)

Edit, did not see it on iOS 15 yet

@houser42
Copy link

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
Copy link
Member

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
Copy link

@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

@TheNON75 TheNON75 added the v1.5 label Oct 4, 2021
@houser42
Copy link

houser42 commented Mar 11, 2022

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
Copy link
Member

Shaquu commented Mar 11, 2022

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
Copy link

@Shaquu wrote:

Custom Characteristic is already added.

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

Excellent. Will have a look. Many thanks!

@Typ1er
Copy link

Typ1er commented Aug 6, 2022

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

@houser42
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 👍 New feature or request v1.5
Projects
None yet
Development

No branches or pull requests

7 participants