Update 2024-01-19: This has worked pretty well for a while, but you might be better served with my broadlink remote file. It supports more commands and features, and doesn't require the separate "on" ...