Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart) Topic is solved

Moderator: leecollings

jannl
Posts: 639
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by jannl »

Booked a little progress with not binding.

I updated the file app/device_manager.js.
Around line 109, i updated:

Code: Select all

const deviceId = message.cid;
to

Code: Select all

const deviceId = message.cid || message.mac;
This at least connects and show MQTT messages coming in.
jannl
Posts: 639
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by jannl »

Everything is working now. Repository had been updated.
Knight
Posts: 36
Joined: Thursday 12 February 2015 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by Knight »

I'm stuck and got this error....... I dont know how to solve this.
(Rasp 3B+)
(Domoticz updated)

I got the error when i write "npm start" in this folder. pi/home/ewpe-smart-mqtt/ I found new device but then this.

Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
at Decipheriv.final (internal/crypto/cipher.js:172:29)
at decrypt (/home/pi/ewpe-smart-mqtt/app/encryptor.js:15:48)
at Connection.handleResponse (/home/pi/ewpe-smart-mqtt/app/connection.js:110:26)
at Socket.emit (events.js:314:20)
at UDP.onMessage [as onmessage] (dgram.js:921:8) {
library: 'digital envelope routines',
function: 'EVP_DecryptFinal_ex',
reason: 'bad decrypt',
code: 'ERR_OSSL_EVP_BAD_DECRYPT'
}
npm ERR! code 1
npm ERR! path /home/pi/ewpe-smart-mqtt
npm ERR! command failed
npm ERR! command sh -c node index.js

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2023-01-09T22_35_32_087Z-debug.log
Knight
Posts: 36
Joined: Thursday 12 February 2015 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by Knight »

when i run npm start i get a connection to the Gree Amber 35 and it show a Key.. do I need to take that key and change the encpryp file?
Martial
Posts: 31
Joined: Saturday 11 March 2017 18:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by Martial »

Bonjour,
J'ai fait exactement ce qui est décrit à partir du wiki et ça marche au petit poil, sur un climatiseur de marque HEIWA (dont les composants et, ce qui nous intéresse le plus, la carte réseau, sont du GREE).
Mon modèle HEIWA est un PREMIUM HYOKO 2 R32 3,5 kW ref HMIP2-35W-V1 mais je pense que toute la gamme doit fonctionner ainsi.

Encore un cloud d'évité et des données personnelles détenues par les chinois (je me dis que si un jour on ferme les liaisons internet avec la Chine, va pas rester grand chose d'opérationnel chez certains)!

Un grand merci à tous pour le bon boulot réalisé.
Martial
Martial
Posts: 31
Joined: Saturday 11 March 2017 18:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by Martial »

Bonjour,
J'ai été un peu (trop?) optimiste dans mon post précédent.
Si globalement cela fonctionne parfaitement, certains détails (??) ne marchent pas.
Il y a encore un peu de boulot.
Si quelqu'un passe ici et accepte de converser sur le sujet, merci d'avance de se faire connaitre.
User avatar
jvdz
Posts: 2208
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by jvdz »

@Martial, could you please post in English?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
Xenomes
Posts: 385
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by Xenomes »

You can try this one: https://github.com/Xenomes/ewpe-smart-mqtt. Perhaps the modification will also work for you.
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
jannl
Posts: 639
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by jannl »

Thx, that solved my issue
Martial
Posts: 31
Joined: Saturday 11 March 2017 18:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Help with - EwpeSmart Air Conditioners via MQTT (Gree Smart)

Post by Martial »

jvdz wrote: Thursday 07 December 2023 12:17 @Martial, could you please post in English?
Sorry,
If "google translate is good for us to read english posts, it's good for others to read french post.

Good morning,
I did exactly what is described on the wiki and it works fine, on a HEIWA brand air conditioner (whose components and, what interests us most, the network card, are GREE).
My HEIWA model is a PREMIUM HYOKO 2 R32 3.5 kW ref HMIP2-35W-V1 but I think the whole range should work like this.

Another avoided cloud and personal data held by the Chinese (I tell myself that if one day we close internet connections with China, not much will remain operational for some)!

A big thank you to everyone for the good work done.
Martial

Good morning,
I was a little (too?) optimistic in my previous post.
If overall it works perfectly, certain details (??) do not work.
There's still a little work to do.
If anyone comes here and agrees to chat on the subject, thank you in advance for making themselves known.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests