question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CurrentFanState to get all characteristics state

See original GitHub issue

Great, great work! (Many thanks!)

Windows 10, node-red v0.19.4, node-red-contrib-homekit-bridged 0.3.6

I’m trying to add a fan that have multiple speed, a swig mode and a timer via homekit node + harmony node. Like many fan/clim there’s no unique code send by the remote for swing on/off, speed… etc. Every time the remote send all the parameters at once.

  • My problem is that I need the homekit node to tell me all the characteristic state when something change to activate the correct Harmony node.

  • My question, how to request all the characteristics states. I know there is the CurrentFanState but how do I send that to the home-kit node (how to format it).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
MPopti0ncommented, Mar 19, 2019

Thanks guys ! I’ll try the example at home… also in the plane 😂

0reactions
crxportercommented, Mar 19, 2019

@MPopti0n - sounds great! I’d also be happy to help modify the javascript function so it outputs a payload ready for your Harmony remote, just let me know the format you need to send into the harmony node!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trouble in Fan Land · Discussion #135 · HomeSpan ... - GitHub
It appears that Characteristic::CurrentFanState (0=Off, 1=Idle, ... to indicate the state of the ventilation system which supports all three States ...
Read more >
CurrentFanState - NRCHKB
Characteristic. AccessCodeControlPoint · AccessCodeSupportedConfiguration · AccessControlLevel · AccessoryFlags · AccessoryIdentifier ...
Read more >
Characteristic | hap-nodejs
Characteristic represents a particular typed variable that can be assigned to a Service. For instance, a "Hue" Characteristic might store a 'float' value...
Read more >
service - Go Packages
FanV2 represents a Fan v2 service (B7) Required characteristics: active: Active (B0). Optional characteristics: Current Fan State (AF) ...
Read more >
Function module for fetching characteristic values
Yes, he was right. You can only use fm BAPI_OBJCL_GETCLASSES with READ_VALUATIONS = 'X' to get all characteristic's value. Like 0. Share.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found