openhab-addons
openhab-addons copied to clipboard
[arcam] Initial contribution
[Arcam] new binding
Initial contribution of the Arcam binding.
Description
This PR contains a new binding for the Arcam audio devices. Currently the AVR and SA series of devices is supported. It allows users to control and read status information from their Arcam amplifier.
I have tried to make the binding generic in order to prevent code duplication.
For this I have added a device specific class in the devices
directory.
Unfortunately this is needed as each device has different capabilities and protocol nuances.
The protocol itself is a TCP based protocol and has different commands for the a single functionality, based on which device model you are communicating with.
The connection code contains retries etc. so temporarily connectivity issues will not break the binding.
Each device also has a ChannelTypeProvider which allows the binding to have device specific OptionChannels, for example showing only the inputs that are actually available on that specific device.
Discovery is done with UPnP.
Testing
This binding has been tested with the Arcam SA30
The jar can be downloaded here.
This pull request has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/unable-to-select-labels-on-github-in-addon-repository/138304/1
This pull request has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/arcam-binding/139287/1
This pull request has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/arcam-binding-beta/139334/1
@joepadmiraal do you still want to proceed with this pr?
Hi @lsiepel
I am not actively using OpenHAB anymore and I think not a lot of users are using this addon. So I think we should drop this PR unless you can see more than a few users are relying on it.
Hi @lsiepel
I am not actively using OpenHAB anymore and I think not a lot of users are using this addon. So I think we should drop this PR unless you can see more than a few users are relying on it.
Thanks for the reply. As this binding has not been part of openHAB yet, I don’t think there will be any active users. If you abandon this PR i think it is better to close this. If ever needed it can be tracked and code can be re-used.