Sign inSign up

demydiuk/ewpe-smart-mqtt

By demydiuk

Updated over 2 years ago

MQTT bridge for EWPE Smart powered devices

Image
0

10K+

demydiuk/ewpe-smart-mqtt repository overview

ewpe-smart-mqtt

MQTT bridge for EWPE Smart powered devices which can be controled via WiFi using EWPE Smart app

This project became possible thanks to great work of reverse engineering the original app protocol in gree-remote project

smart-1-600x600

Prerequisites

Setup and run MQTT server (mosquitto is the easiest one)

Installation

  1. Clone or download this repository
git clone https://github.com/stas-demydiuk/ewpe-smart-mqtt
  1. Install dependencies
npm install
  1. Make initial configuration by setting enviromental variables
VariableDescriptionDefault value
MQTT_SERVERMQTT server URImqtt://127.0.0.1
MQTT_PORTMQTT Server Port1883
MQTT_USERNAMEMQTT Server Username
MQTT_PASSWORDMQTT Server Password
MQTT_BASE_TOPICBase MQTT topic for bridge messagesewpe-smart
NETWORKNetwork adress (or addresses separated by semicolon) to scan devices192.168.1.255
DEVICE_POLL_INTERVALInterval (ms) to poll device status5000
LOG_LEVELApp Log levelinfo
  1. Run the bridge
npm start

Installation (Docker)

docker run -it \
    --network="host" \
    -e "MQTT_SERVER=mqtt://127.0.0.1" \
    -e "MQTT_BASE_TOPIC=ewpe-smart" \
    -e "NETWORK=192.168.1.255" \
    -e "DEVICE_POLL_INTERVAL=5000" \
    --name ewpe-smart-mqtt \
    demydiuk/ewpe-smart-mqtt:latest

Communicating with the bridge

  • Publish to ewpe-smart/devices/list to receive list of registered devices
  • Publish to ewpe-smart/{deviceId}/get to receive status of {deviceId}
  • Publish to ewpe-smart/{deviceId}/set to set status of {deviceId}, payload should be json object with key/values pairs to set, i.e:
ewpe-smart/{deviceId}/set {"Pow": 1, "SetTem": 24}

Supported features depend on your AC unit, full list can be found here

Supported devices

All devices which can be controlled via EWPE Smart app should be supported, including:

  • Gree Smart series
  • Cooper&Hunter: Supreme, Vip Inverter, ICY II, Arctic, Alpha, Alpha NG, Veritas, Veritas NG series
  • EcoAir X series
  • ProKlima

Tag summary

Content type

Image

Digest

sha256:5b06f3502

Size

49.4 MB

Last updated

over 2 years ago

docker pull demydiuk/ewpe-smart-mqtt