gree-hvac-mqtt-bridge icon indicating copy to clipboard operation
gree-hvac-mqtt-bridge copied to clipboard

New Multiple ACs version, getting error

Open dragonflyuk opened this issue 5 years ago • 7 comments

I've setup my 4 units, but I'm getting the following errors repeatedly at the moment. I get the feeling I'm missing a config or similiar.

[UDP] Device 1e4837fc is bound! 0|HVAC_0 | TypeError: Cannot read property 'toString' of undefined 0|HVAC_0 | at Object.onStatus (/usr/src/app/index.js:57:96) 0|HVAC_0 | at Device._handleResponse (/usr/src/app/app/deviceFactory.js:171:20) 0|HVAC_0 | at Socket.Device.socket.on (/usr/src/app/app/deviceFactory.js:45:47) 0|HVAC_0 | at Socket.emit (events.js:182:13) 0|HVAC_0 | at UDP.onMessage [as onmessage] (dgram.js:628:8) 0|HVAC_0 | [MQTT] Connecting to mqtt://192.168.1.3 as "local-user"... 0|HVAC_0 |

Here is my config

{ "mqtt": { "broker_url": "mqtt://192.168.1.3", "username": "local-user", "password": "xxxxxxxxxxx" }, "devices": [ { "hvac_host": "192.168.1.157", "mqtt_topic_prefix": "home/greehvacbedroomup" }, { "hvac_host": "192.168.1.97", "mqtt_topic_prefix": "home/greehvac-bedroom-down" }, { "hvac_host": "192.168.1.112", "mqtt_topic_prefix": "home/greehvac-kitchen" }, { "hvac_host": "192.168.1.83", "mqtt_topic_prefix": "home/greehvac" } ] }

dragonflyuk avatar Apr 29 '19 05:04 dragonflyuk

I've made a stupid mistake when refactoring. Please check if the patch in 1.2.1 fixes it (I'm won't be able to see for myself during the next couple of days).

arthurkrupa avatar Apr 29 '19 07:04 arthurkrupa

I'll give it ago later today, thanks.

dragonflyuk avatar Apr 29 '19 07:04 dragonflyuk

No obvious errors in the log, but it's like messages are been sent to the units, but status is not been returned.

dragonflyuk avatar Apr 29 '19 17:04 dragonflyuk

Hi, I think I have the same issue, running 1.2.1 now. My logs show nothing really, only this comes up every once in a while: 2019-05-02 22:40:20 ERROR (MainThread) [homeassistant.components.mqtt.climate] Could not parse temperature from My system was working great before 1.2 came. Let us know if we should test something for you! B

bboti86 avatar May 02 '19 21:05 bboti86

Ok I've also fixed another stupid bug which blocked the power state from being updated.

Please try running v1.2.2 and let me know how is works.

arthurkrupa avatar May 07 '19 18:05 arthurkrupa

Just gave it a quick try, looks like it's overloading my hassio server, but did get the warnings

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})

dragonflyuk avatar May 07 '19 19:05 dragonflyuk

Having slept on it, it looks like my MQTT server crashed curing installation,I can't say wether it was related or not, but I've restarted Mosquito this morning and things are looking better, the main thermostat and mode appears to be working now, however the light, sleep and health setting appear not to be updating. I can see the messages been sent when I try to trigger them, they are not been sent to the units Has something changed with these settings?

0|HVAC_0 | [MQTT] Message "1" received for home/greehvac/health/set 0|HVAC_0 | [UDP] Status updated on 1e482204 0|HVAC_0 | [MQTT] Message "1" received for home/greehvac/health/set 0|HVAC_0 | [UDP] Status updated on 1e482204 0|HVAC_0 | [MQTT] Message "1" received for home/greehvac/lights/set 0|HVAC_0 | [UDP] Status updated on 1e482204 0|HVAC_0 | [MQTT] Message "1" received for home/greehvac/lights/set 0|HVAC_0 | [UDP] Status updated on 1e482204

dragonflyuk avatar May 08 '19 04:05 dragonflyuk