Skip to content

Conversation

EmberLightVFX
Copy link
Contributor

This PR adds Bambulab AMS support.
The user can ether use a rotary encoder to switch the slot or directly in the web ui.

This PR uses this the Update to esphome 2025.6.0 PR as a base #62 and would also close #21

The pin-layout of esp32-s3-super-mini-manual-ams.yaml is the layout that allows the user to directly solder the ESP32 onto the PN532.

The rotary encoder uses the pins 6 and 7 on the other side of the esp32 but can also be disabled by comment out its import.

I also added a LED slider to set the brightness of the led strip. The slider that is attached to External LED only sets the brightness but when setting the color of the leds using - light.addressable_set: the led will ignore it and instead use color brightness. The added slider sets both the brightness and the color brightness so on restart the leds will always show the expected brightness.
This should maybe be an external PR but it ended up being a part of this one, if it's ok.

@EmberLightVFX EmberLightVFX force-pushed the AMS-with-rotary-selection branch from 4962f8e to 2d40c85 Compare June 18, 2025 21:41
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The common-manual-ams.yaml appears to be nearly identical to the common.yaml

Could we consolidate these changes into the common.yaml?
If a setting needs to be changed we could split it out into a new file (probably openspool-ams.yaml)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutley! I didn't want to break anything thus I made a copy of it.

My idea would be to split as much as possible so inside your esp-device-yaml you would add the packages you want for your setup (ams, no ams, rotary encoder, external led etc) and that's that. I'll make a new PR for the splitting to see what you think about it.

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

Successfully merging this pull request may close these issues.

3 participants