For anyone with the WiFi version of the Member’s Mark base (the “Member’s Mark Base WiFi” app): I’ve decoded its local protocol and published a cloud-free Home Assistant integration — head/foot position, presets (including save), light, and massage.
Details and install: Member's Mark WiFi adjustable bed (Sam's Club) – local, cloud-free integration
If your bed uses the Bluetooth app (“Member’s Mark Base Remote”), use ha-adjustable-bed, which @kristofferr linked above.
cc @richardhopton — thanks for the original smartbed-mqtt reverse-engineering; it’s credited in the README.