Sign inSign up

bourquep/mysa2mqtt

By bourquep

•Updated 10 days ago

Expose Mysa smart thermostats to home automation platforms via MQTT.

Image
Internet of things
0

10K+

bourquep/mysa2mqtt repository overview

⁠mysa2mqtt

A Node.js application that bridges Mysa smart thermostats to MQTT, enabling integration with Home Assistant and other home automation platforms.

⁠Features

  • MQTT Integration: Exposes Mysa thermostats as MQTT devices compatible with Home Assistant's auto-discovery
  • Real-time Updates: Live temperature, humidity, and power consumption monitoring
  • Full Control: Set temperature, change modes (heat/off), and monitor thermostat status
  • Session Management: Persistent authentication sessions to minimize API calls
  • Configurable Logging: Support for JSON and pretty-printed log formats with adjustable levels

⁠Disclaimer

This tool was developed without the consent of the Mysa Smart Thermostats company, and makes use of undocumented and unsupported APIs. Use at your own risk, and be aware that Mysa may change the APIs at any time and break this tool permanently.

⁠Quick Start

docker run -d --name mysa2mqtt \
  -e M2M_MQTT_HOST=your-mqtt-broker \
  -e M2M_MYSA_USERNAME=your-email \
  -e M2M_MYSA_PASSWORD=your-password \
  bourquep/mysa2mqtt:latest

⁠Documentation

Consult the Github repository's⁠ README.md file for in-depth usage instructions.

⁠License

mysa2mqtt is licensed under the MIT License. This is a permissive license that allows you to use, modify, and redistribute this software in both private and commercial projects. You can change the code and distribute your changes without being required to release your source code. The MIT License only requires that you include the original copyright notice and license text in any copy of the software or substantial portion of it.

© 2025-2026 Pascal Bourque

⁠Support

Tag summary

Content type

Image

Digest

sha256:195bca1fe…

Size

102.8 MB

Last updated

10 days ago

docker pull bourquep/mysa2mqtt