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

How to use functionNotSupported? #474

Open
patrik-malina opened this issue Jan 23, 2024 · 2 comments
Open

How to use functionNotSupported? #474

patrik-malina opened this issue Jan 23, 2024 · 2 comments

Comments

@patrik-malina
Copy link

I have several devices that don't support some traits.
How can I use error functionNotSupported in flow/device settings?

Thanks in advace.

@Caprico85
Copy link
Collaborator

Unfortunately, there is currently no way to do this.

There are plans to include some kind of async response like node-red-contrib-smartnora has. See #458. There, the device node outputs a command, your function node handles the command and generates a response (e.g. a functionNotSupported response) and that response is fed back into the system via a response node.
image

But there is currently nobody working on that. So it could still take months or years before we support this.

@patrik-malina
Copy link
Author

Ok, thank you for clarifying.
Hope someone get to work on it soon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants