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

Support for other applications #19

Open
hamBank opened this issue Sep 16, 2020 · 3 comments
Open

Support for other applications #19

hamBank opened this issue Sep 16, 2020 · 3 comments

Comments

@hamBank
Copy link

hamBank commented Sep 16, 2020

Hi,

I've got a cbus install that includes a blind application - I'm not 100% sure if this is a standard cbus app or was custom created for my project. Is there an easy way to add and expose an additional application?

Apart from that - a massive thanks for creating this! I'd been fighting solutions with cgate for years and your code was up and running and working in about 15 minutes.

@micolous
Copy link
Owner

Glad it could help you :)

According to the protocol docs, there's a Position Feedback for Motorised Blinds, but there's no assigned application ID for it, nor is that part published publicly.

It depends on how your install is set up, and that's highly discretionary – the smaller installs I've looked at generally use Lighting Application (0x38) for everything, even for things like ceiling fans with speed control.

If you have a copy of your project file, Toolkit should tell you what application they're assigned to. Or even let you set up some triggers that let it be controlled by the main lighting application.

@hamBank
Copy link
Author

hamBank commented Oct 13, 2020 via email

@micolous
Copy link
Owner

It's not just the application ID, it's also what commands it's expecting; and both are kinda non-trivial to plumb.

The low level APIs in libcbus support lighting commands on arbitrary application IDs, but this isn't fully plumbed up through pciprotocol and cmqttd, because I've never had a need for it.

If you can send me your Toolkit project file, then I can probably tell you what's going on. Toolkit should be also able to discover all of the units on a network and download their configuration.

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