Safe & Warm mattress heater - revisited

Returning to an idea from a couple years ago - adding smarts to our heated mattress cover controller. I finally dove into a sledgehammer solution to a finishing nail of a problem. No rocket science, but it forces me to learn things and stay humble.

Photo

I kept the basic bill of materials and functionality that was originally described. Zigbee can send on/of commands and reports whether power is on or the unit is in Alert (over-power fault).

Holding the button (>3s) enters a calibration mode with instructions in the Hubitat logs (shown below). This sets the Lo-to-Hi range of the dial and the ambient illumination range for dimming the backlight LED, which are stored in non-volatile memory.

Calibration Log

To Do:

  • Add serial command parsing to preset a heating level that is different than the dial. This opens up rule-making options. It also requires a scheme to return to manual control if the dial position changes
  • Finish the work-in-process boards (needed to restock a couple items)
  • Do some real beta testing (versus bench testing)
  • Modify the driver to have intuitive, application-specific names for Zigbee child devices
  • Add more feedback - basic logs to hub and LED visual indications at the unit
1 Like