You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to get the current temperature back into HASS in my fork. I just don't know how to deal with the +40 offset yet.
I tried dealing with it in the publishIfChanged function like this, but it doesn't seem to work.
constpublishIfChanged=function(stateProp,newValue,mqttTopic){if(newValue!==deviceState[stateProp]){// I have no idea where else to subtract 40 so I just do it hereif(mqttTopic=='/curtemperature/get'){deviceState[stateProp]=newValue-40}else{deviceState[stateProp]=newValue}client.publish(mqttTopicPrefix+mqttTopic,newValue)}}
Hey.
I've noticed that HVAC may return current room temperature in
TemSen
property.It may be backported to this project from inwaar/gree-hvac-client#11
The text was updated successfully, but these errors were encountered: