Tempurpedic control is a set of python scripts.
Each script sends the title command to a Tempurpedic adjustable bed frame.
These scripts are called by command_line platform cover entities
created in Home Assistant.
- controls.yaml
I've added the dashboard as a yaml file and made more clear that the middle
button in the cover control is FLAT for position and Vibration Off for vibes.
The scripts use a hard coded IP address for the bed. Change the line in each file
UDP_IP = "192.168.0.155"
to the UDP_IP = [your local address]
Tempurpedic has codes for 0 to 10 levels of vibration for each of the
three zones (upper body, hips and legs). If I can find an easy way of
implementing these 30 levels I will do so. These codes are in the table of codes.
A BIG caveat... One would think There would be a way of controlling more than
a single bed. Thus the first few bytes may address a particular bed. The program
queries the web page at port 80 and that page may have a prefix code. I would do
that if I were coding the program. I only have one bed so I can't check it.
I wish there was a "command_line platform light" entity.
Doug
I'll be 80 years old Nov 2022 and would love it if some young hacker (the good kind)
would fork off this into a good and more efficient set of scripts and entities.