Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading TemSen in the Android app #31

Open
k8ieone opened this issue Jul 1, 2020 · 20 comments
Open

Reading TemSen in the Android app #31

k8ieone opened this issue Jul 1, 2020 · 20 comments

Comments

@k8ieone
Copy link

k8ieone commented Jul 1, 2020

It looks like some ACs report current room temperature with the TemSen property. The reported value has +40°C offset. Would this be possible to integrate into your programs?

I should also add that my Sinclair AC with firmware 3.7 didn't report the temperature until I "updated" to 2.5. Before that it just reported 0.

@tomikaa87
Copy link
Owner

Hi @satcom886,

I have some ongoing projects at the moment, but in the near future I can allocate some time to add it to the Android app.

@alex-013
Copy link

alex-013 commented Aug 3, 2020

Hi, @satcom886 how did you "update" your firmaware? When i open the app and click on firmware update i get current version 3.7 server version 3.42 and back button.

@k8ieone
Copy link
Author

k8ieone commented Aug 3, 2020

I mentioned that here.

@xuefer
Copy link

xuefer commented Nov 27, 2020

there's no +40°C offset reported by V4 from gree+ app (iOS)

https://github.com/tomikaa87/gree-remote.git
# cd gree-remote/PythonCLI
# ./get TemSen
gree.py -c 192.168.26.72 -i 77a8ba4a -k ... get TemSen
Getting parameter: TemSen
TemSen = 25

gree.py -c 192.168.26.73 -i 77dd30f3 -k ... get TemSen
Getting parameter: TemSen
TemSen = 26

gree.py -c 192.168.26.74 -i a70f1fa6 -k ... get TemSen
Getting parameter: TemSen
TemSen = 26

gree.py -c 192.168.26.75 -i a7102045 -k ... get TemSen
Getting parameter: TemSen
TemSen = 24

@velmafia
Copy link

velmafia commented Feb 5, 2021

@xuefer how do you upgrade firmware to v4?

//edit
TemSem is also working on 3.4.2. To downgrade from 3.70 to 3.4.2 I first "upgrade" to 2.5 like @satcom886 describe, and after that I upgrade firmware to 3.4.2 by Gree+ mobile app. I don't see any problem with my A/C after this (Gree Luxury plus).

@xuefer
Copy link

xuefer commented Feb 5, 2021

@xuefer how do you upgrade firmware to v4?

just by the official app, the China mainlain version from China area of app store which is accessible with China apple account(The apple account can't switch area once registered). I'm not sure if it's triggered the app version or by your device model though

@velmafia
Copy link

velmafia commented Feb 5, 2021

Thanks for answer, in Europe region (and Europe A/C distribution) I don't see any update in android app. In next days I will create new gree account, and chose China region to check what will happen.

@velmafia
Copy link

velmafia commented Feb 5, 2021

I tried today firmware upgrade with China region for Gree+ android app (new gree account and A/C registration
So for my Gree Luxury Plus:

  • Europe region: available only 3.42 firmware
  • China region: I was able to upgrade to 3.70
  • by WiFi Smart app, 2.5 firmware is available.

Version and TemSen summary:

  • 2.5: return current temperature with +40 offset
  • 3.42: return current temperature with +40 offset
  • 3.70: return always 0
  • v4: return correct temperature - tested by @xuefer

@dulemis
Copy link

dulemis commented Feb 6, 2021

I have gree amber 25 with firmware 3.67. TemSen returns +40 offset.

@dulemis
Copy link

dulemis commented Mar 14, 2021

I just noticed on my unit that the returned temperature is different depending on if I switch between cooling and heating!? It's a 3c difference. Could someone confirm?

@aivus
Copy link
Contributor

aivus commented Mar 14, 2021

@dulemis I can confirm this and I see the same temperature change on internal AC display.
I guess it was added by developers to add some temperature difference between different modes.

@dulemis
Copy link

dulemis commented Mar 14, 2021

@dulemis I can confirm this and I see the same temperature change on internal AC display.
I guess it was added by developers to add some temperature difference between different modes.

So you don't think this is a bug? Can't really see what would be the benefit. Which temperature is the correct one then...?

@aivus
Copy link
Contributor

aivus commented Mar 15, 2021

Yes, I don't think that this is a bug.

Probably this change is compensating heating/cooling of the temp sensor itself during the work. But it's just my guess.

@k8ieone
Copy link
Author

k8ieone commented Mar 15, 2021

@aivus Yes, that's also what I think. It's not a very good solution (or really not a solution at all), but I guess their devs at least tried to compensate for the heating.

@dulemis
Copy link

dulemis commented Mar 15, 2021

I don't quite understand, why is there need for compensation? I mean, the room temperature is still the same obviously..

@dulemis
Copy link

dulemis commented Mar 15, 2021

Actually, the temperature returned when swtiching to cooling is more "correct" in my house then the other. (compared with a digital temperature unit on the wall). It says right now 22 c, while the AC unit says 20 c in heating-mode and 23c in cooling-mode. So it's really weird, which one it is in fact and why it differs 3 degres as "baseline"...

@dulemis
Copy link

dulemis commented Feb 10, 2022

Just upgraded to v 3.72 and the TemSen returns +40 offret (not 0).

@xuefer
Copy link

xuefer commented Apr 27, 2022

How did you update the firmware? Because the iOS app does not have firmware update function.

3 dots on the top-right corner, Device Information, Firmware Version. Update button will be available only when new version is available.

There's no version upgrade for my AC model. too bad, i really need it fixed to keep updating TemSen

@zsiraph
Copy link

zsiraph commented Apr 27, 2022

Thanks, I found it, and looks like 3.72 fixed my problem (-40C all day everyday :D ).
The UX of the official app is horrendous.

@aivus
Copy link
Contributor

aivus commented Jun 12, 2022

Just an interesting findings.

Several days ago one user reported issues with current temp value. I checked the logs and found this:

[finder] Message:  {
  t: 'dev',
  cid: 'xxxxxxxxx',
  bc: 'gree',
  brand: 'gree',
  catalog: 'gree',
  mac: 'xxxxxxxxx',
  mid: '10002',
  model: 'gree',
  name: 'xxxxxxxxx',
  series: 'gree',
  vender: '1',
  ver: 'V1.1.13',
  lock: 0
}
...
IN.MSG.UNPACK {
  t: 'dat',
  mac: 'xxxxxxxxx',
  r: 200,
  cols: [
    'Pow',    'Mod',
    'TemUn',  'SetTem',
    'TemSen', 'WdSpd',
    'Air',    'Blo',
    'Health', 'SwhSlp',
    'Lig',    'SwingLfRig',
    'SwUpDn', 'Quiet',
    'Tur',    'SvSt'
  ],
  dat: [
    1, 4, 0, 20, 218, 1,
    0, 0, 0,  0,   1, 0,
    0, 2, 0,  0
  ]
}

Meaning TemSen always returns 218.
And seems it's constant and not correlates with real temperature in the room
The temp sensor in AC presents, because it shows correct temperature on built-in screen when using Temp button)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants