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

[grundfosalpha] Add support for Grundfos Alpha3 #16116

Open
jlaur opened this issue Dec 26, 2023 · 2 comments
Open

[grundfosalpha] Add support for Grundfos Alpha3 #16116

jlaur opened this issue Dec 26, 2023 · 2 comments
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@jlaur
Copy link
Contributor

jlaur commented Dec 26, 2023

As discussed in #15907 extending support for Grundfos Alpha3 seems doable. See #15907 (comment).

This issue is created to keep track of resources, discussions and progress towards implementing this support.

Other projects having an implementation:

@jlaur jlaur added the enhancement An enhancement or new feature for an existing add-on label Dec 26, 2023
@jlaur
Copy link
Contributor Author

jlaur commented Dec 28, 2023

I tried taking a few baby steps, but so far completely without success. In a new handler I added some logging:

    @Override
    public void onScanRecordReceived(BluetoothScanNotification scanNotification) {
        super.onScanRecordReceived(scanNotification);
        byte[] manufacturerData = scanNotification.getManufacturerData();
        logger.trace("onScanRecordReceived manufacturer data length: {}", manufacturerData.length);
        byte[] data = scanNotification.getData();
        logger.trace("onScanRecordReceived data length: {}", data.length);
    }

I get only empty byte arrays. Same when deriving from ConnectedBluetoothHandler rather than BeaconBluetoothHandler. It seems Alpha3 is a bit different than the Alpha Reader and requires more logic to be implemented.

FYI @tisoft

@tisoft
Copy link
Contributor

tisoft commented Dec 28, 2023

Yea, alpha3 needs a real pairing connection. I will have a look, but I'm currently busy with other things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

No branches or pull requests

2 participants