Skip to main content

Library for remotely interfacing with the Momit Cool air conditioning controller.

Project description

py-momit-cool-remote is a Python 3 library for remotely controlling your air conditioning unit through the use of the Momit Cool.

The Momit Cool is a small device that can be attached to your AC, allowing you to control it from your smart phone. In order to accomplish remote control from anywhere, commands are sent to their central server, which then sends them to your Momit Gateway device. There are two problems with this:

  1. If Momit goes bankrupt and shuts down their servers, everything will stop working.
  2. It is extremely unsecure, all the traffic goes unencrypted over the wire.

py-momit-cool-remote communicates directly with the Momit Gateway, completely circumventing Momit’s servers.

Note: Python 3.5 and newer only.


$ pip install py-momit-cool-remote

Example usage

from momitcool import MomitCool

cool = MomitCool('')
$ momit-cool --host --action on
$ momit-cool --host --action off


The Momit Cool is a commercial, closed source product that does not have any documentation on how communication is performed. All of the information provided in this repository was found by reverse engineering the protocol. I uncovered most of the information by ARP poisoning and intercepting the traffic between the Momit Gateway and the Momit servers. The Momit Gateway communicates over the CoAP protocol.

Turning on

PUT /10242/0/0
Content-Format: 1541

Turning off

PUT /10242/0/0
Content-Format: 1541

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
py-momit-cool-remote-1.0.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page