stas-demydiuk / ewpe-smart-mqtt

MQTT bridge for EWPE Smart powered devices
MIT License
64 stars 26 forks source link

Missing 'cid' in the mqtt data #32

Closed Xenomes closed 1 year ago

Xenomes commented 2 years ago

Hi,

First i must say happy to see there is a mqtt bridge/plugin for ewpe devices!!

I have three devices, two are detect perfectly but one is missing the cid in the mqtt data.

[{"cid":"","bc":"gree","brand":"gree","catalog":"gree","mac":"502cc6b957df","mid":"10001","model":"gree","name":"","lock":0,"series":"gree","vender":"1","ver":"V3.0.0","address":"192.168.1.125","port":7000,"key":"delete"},{"cid":"502cc6a1b426","bc":"","brand":"gree","catalog":"gree","mac":"502cc6a1b426","mid":"10001","model":"gree","name":"c6a1b426","series":"gree","vender":"1","ver":"V1.2.1","lock":0,"address":"192.168.1.177","port":7000,"key":"delete"},{"cid":"502cc6a1bdb2","bc":"","brand":"gree","catalog":"gree","mac":"502cc6a1bdb2","mid":"10001","model":"gree","name":"c6a1bdb2","series":"gree","vender":"1","ver":"V1.2.1","lock":0,"address":"192.168.1.103","port":7000,"key":"delete"}]

As you can see the cid is empty, i think this is why in Domoticz the status is not updated. When using the controls the command are received by the unit. How can I fix this?

The product is a Cooper & Hunter VERITAS CH-S18FTXQ-NG

Xenomes commented 1 year ago

I am trying to fix this issue by try and error... I did kind of patch this issue by copy values around. it is a dirty fix.

Xenomes commented 1 year ago

34