Open blazkom opened 5 years ago
check this one https://github.com/arthurkrupa/gree-hvac-mqtt-bridge/issues/10
did it for me.
I have now check everything.
I always get this reply in my log
added 61 packages from 47 contributors and audited 208 packages in 10.537s found 0 vulnerabilities events.js:167 throw er; // Unhandled 'error' event ^ Error: Connection refused: Not authorized at MqttClient._handleConnack (/usr/src/app/node_modules/mqtt/lib/client.js:871:15) at MqttClient._handlePacket (/usr/src/app/node_modules/mqtt/lib/client.js:319:12) at work (/usr/src/app/node_modules/mqtt/lib/client.js:261:12) at Writable.writable._write (/usr/src/app/node_modules/mqtt/lib/client.js:271:5) at doWrite (/usr/src/app/node_modules/readable-stream/lib/_stream_writable.js:406:64) at writeOrBuffer (/usr/src/app/node_modules/readable-stream/lib/_stream_writable.js:395:5) at Writable.write (/usr/src/app/node_modules/readable-stream/lib/_stream_writable.js:322:11) at Socket.ondata (_stream_readable.js:666:20) at Socket.emit (events.js:182:13) at addChunk (_stream_readable.js:283:12) Emitted 'error' event at: at MqttClient._handleConnack (/usr/src/app/node_modules/mqtt/lib/client.js:873:10) at MqttClient._handlePacket (/usr/src/app/node_modules/mqtt/lib/client.js:319:12) [... lines matching original stack trace ...] at addChunk (_stream_readable.js:283:12)
I am trying to make this script to work on hassio on pi3. But seams like gree air conditioner and this plugin can not work together :/
I get entites climate but when i change any settings gree does not recrive this comand.
This is script that i have instaled on hassio CONFIG:
`climate:
platform: mqtt
Change to whatever you want
name: Gree HVAC
Change to what you've set in addon options
current_temperature_topic: "home/greehvac/temperature/get" temperature_command_topic: "home/greehvac/temperature/set" temperature_state_topic: "home/greehvac/temperature/get" mode_state_topic: "home/greehvac/mode/get" mode_command_topic: "home/greehvac/mode/set" fan_mode_state_topic: "home/greehvac/fanspeed/get" fan_mode_command_topic: "home/greehvac/fanspeed/set" swing_mode_state_topic: "home/greehvac/swingvert/get" swing_mode_command_topic: "home/greehvac/swingvert/set" power_state_topic: "home/greehvac/power/get" power_command_topic: "home/greehvac/power/set"
Keep the following as is
payload_off: 0 payload_on: 1 modes: