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

Add support for Mario Hub (#71360) #45

Open
corneliusmunz opened this issue Dec 21, 2020 · 5 comments
Open

Add support for Mario Hub (#71360) #45

corneliusmunz opened this issue Dec 21, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@corneliusmunz
Copy link
Owner

Add support for Mario Hub (set number #71360)

  • Gesture Sensor
  • Pants Sensor
  • Color/Barcode Sensor

Source of knowledge:

@corneliusmunz corneliusmunz self-assigned this Dec 21, 2020
@corneliusmunz corneliusmunz added the enhancement New feature or request label Dec 21, 2020
@corneliusmunz
Copy link
Owner Author

The new features are implemented on the develop branch in the commit 3d537c6

Would be great if someone could test the example Mario.ino sketch 😄

@corneliusmunz
Copy link
Owner Author

@corneliusmunz
Copy link
Owner Author

@tthiery, @bricklife I have seen in the app, that you can control the volume of the mario loudspeaker but i found no "volume" hub property or port. I found during the connection procedure, that a HubProperty with reference code 0x12 was requested and the hub answered with 0x06, 0x00, 0x01, 0x12, 0x06, 0x64 In that case the Mario was set to 100% volume via the app and maybe 0x64 could be the volume value (DEC 100) Have you done some evaluations on this? Or maybe the volume is part of the debug Port 3

@bricklife
Copy link

bricklife commented Dec 22, 2020

Yes, 0x12 is the undocumented property reference of volume. You can set a value (as volume %) with this command 06 00 01 12 01 xx.

@corneliusmunz
Copy link
Owner Author

@bricklife cool! Thanks for your fast feedback. Then i will implement it in the library

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

No branches or pull requests

2 participants