nVuln / homebridge-lg-thinq

A Homebridge plugin for controlling/monitoring LG ThinQ device via their ThinQ platform.
https://github.com/nVuln/homebridge-lg-thinq
Apache License 2.0
194 stars 49 forks source link

Express Mode into Express Fridge and Express Freezer #19

Closed grgmll closed 3 years ago

grgmll commented 3 years ago

Hi, can you please separate the two states Express Fridge and Express Freezer instead of just using the Express Mode state? Thank you

nVuln commented 3 years ago

my model have Express Mode only. which model do you used ? can you capture some picture?

grgmll commented 3 years ago

My model is GBB71PZUFN

Il giorno 24 giu 2021, alle ore 13:08, nVuln @.***> ha scritto:

 my model have Express Mode only. which model do you used ? can you capture some picture?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

nVuln commented 3 years ago

My model is GBB71PZUFN Il giorno 24 giu 2021, alle ore 13:08, nVuln @.***> ha scritto:  my model have Express Mode only. which model do you used ? can you capture some picture? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

can you capture some screenshot on LG thinq app, showing separate the two states Express Fridge and Express Freezer ? and turn on homebridge debug mode, you can see device data of your fridger, please upload it also.

grgmll commented 3 years ago

Hi, by activating the two states separately in the homebridge log there is no data, I am attaching the screenshot of the app !

IMG_1530

grgmll commented 3 years ago

[LGThinQ] Found device: a56e2dd4-db12-1a64-835f-24e85314b53a: Frigorifero (REFRIGERATOR 2REB1GLVB1) [6/25/2021, 10:37:18] [LGThinQ] data: {"deviceId":"a56e2dd4-db12-1a64-835f-24e85314b53a","deviceType":101,"modelName":"2REB1GLVB1","subModelNm":null,"sensorType":null,"alias":"Frigorifero","deviceCode":"KI0104","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE1","pccModelYn":"Y","autoOrderYn":"N","drServiceYn":"N","ssid":"GNET","timezoneCode":"Europe/Rome","timezoneCodeAlias":"Europe/Rome","sdsGuide":"{\"deviceCode\":\"KI01\"}","newRegYn":"N","remoteControlType":"","fareTarget":null,"area":"213490","sleep":null,"deviceState":"E","rmsClientId":null,"regDtUtc":"20210624093315000","regIndex":0,"blackboxYn":"Y","groupableYn":"N","controllableYn":"N","combinedProductYn":"N","masterYn":"Y","snapshot":{"mid":85156419,"online":true,"static":{"deviceType":"101","countryCode":"IT"},"meta":{"allDeviceInfoUpdate":true,"messageId":"kn1kbitoT9Wkwi074DRx-w"},"refState":{"displayLock":"LOCK","freezerTemp":4,"sabbathMode":"OFF","tempUnit":"CELSIUS","ecoFriendly":"OFF","activeSaving":"OFF","expressFridge":"OFF","smartSavingRun":"STOP","atLeastOneDoorOpen":"CLOSE","fridgeTemp":4,"expressMode":"OFF","dualFridgeMode":"IGNORE","freshAirFilter":"IGNORE","monStatus":"NORMAL","smartSavingMode":"OFF","convertibleTemp":0,"waterFilter":"0_MONTH"},"timestamp":1624610192617},"manufacture":null,"online":true,"platformType":"thinq2","homeDeviceOrder":-1,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"1.07","modelJsonUri":"https://objectcontent.lgthinq.com/93794021-1988-4b15-bf0e-f372f83e52bf?hdnts=exp=1686294046~hmac=23c8ff017021ecfa33288d2e45f9b0973e61b7af86b7008af01773101444cdda","appModuleVer":"303.20","appModuleUri":"https://objectcontent.lgthinq.com/564c4847-f80f-4865-9372-31160a1010ed?hdnts=exp=1684281366~hmac=a0802768ae20ee30aa6d9154e23878212b6f5a87aff505bb35aafd7d4d3f9561","appRestartYn":"Y","appModuleSize":"7337592","langPackProductTypeVer":"46.2","langPackProductTypeUri":"https://objectcontent.lgthinq.com/892622c1-9827-4885-aca3-ba703d8d5cd8?hdnts=exp=1687501297~hmac=ae726c3a2a4789701ec0464c27320b39c5d5d6c369bd08fee80ec2392efa4cca","langPackModelVer":null,"langPackModelUri":null,"roomId":"","fwInfoList":[{"checksum":"00001EE8","partNumber":"SAA41323402","order":1}],"modemInfo":{"modelName":"2REB1GLVB1___","appVersion":"clip_hna_v1.9.104","modemType":"QCOM_QCA4010","ruleEngine":"y"},"existsEntryPopup":"N","fwVer":null,"modemVer":"clip_hna_v1.9.104","subDeviceCount":0,"firebaseLogKey":"T:RFBFBF-M:2D-P:P_V+BF1"} [6/25/2021, 10:37:18] [LGThinQ] Restoring existing accessory from cache: Frigorifero [6/25/2021, 10:37:18] [LGThinQ] Start polling device data.

grgmll commented 3 years ago

After the update there is only ExpressMode, still there is no ExpressFridge and ExpressFreeze

nov- commented 3 years ago

I have model 2REB1GLVB1 (from HomeApp, model field) or gw-b509psax (market model) and also have Express Cool and Express Freeze and Eco Friendly in the LG app but in the HomeApp Express Freeze mode only. And also seems like door opened sensor not working, refrigerator beeping but in the HomeApp nothing changes.

Thank you for a great plugin!

File

nVuln commented 3 years ago

I have model 2REB1GLVB1 (from HomeApp, model field) or gw-b509psax (market model) and also have Express Cool and Express Freeze and Eco Friendly in the LG app but in the HomeApp Express Freeze mode only. And also seems like door opened sensor not working, refrigerator beeping but in the HomeApp nothing changes.

Thank you for a great plugin!

can you upload homebridge debug log ? (need enable debug mode first)

nov- commented 3 years ago

I have model 2REB1GLVB1 (from HomeApp, model field) or gw-b509psax (market model) and also have Express Cool and Express Freeze and Eco Friendly in the LG app but in the HomeApp Express Freeze mode only. And also seems like door opened sensor not working, refrigerator beeping but in the HomeApp nothing changes. Thank you for a great plugin!

can you upload homebridge debug log ? (need enable debug mode first)

Found device:  {
  "deviceId":"-",
  "deviceType":101,
  "modelName":"2REB1GLVB1___",
  "subModelNm":null,
  "sensorType":null,
  "alias":"Left",
  "deviceCode":"KI0104",
  "networkType":"02",
  "tftYn":"N",
  "guideTypeYn":"Y",
  "guideType":"TYPE1",
  "pccModelYn":"N",
  "autoOrderYn":"N",
  "drServiceYn":"N",
  "ssid":"WiFi",
  "timezoneCode":"Europe/Kiev",
  "timezoneCodeAlias":"Europe/Kiev",
  "sdsGuide":"{\"deviceCode\":\"KI01\"}",
  "newRegYn":"N",
  "remoteControlType":"",
  "fareTarget":null,
  "area":"1213912",
  "sleep":null,
  "deviceState":"E",
  "rmsClientId":null,
  "regDtUtc":"20201011204332000",
  "regIndex":0,
  "blackboxYn":"Y",
  "groupableYn":"N",
  "controllableYn":"N",
  "combinedProductYn":"N",
  "masterYn":"Y",
  "snapshot": {
    "mid":274508608,
    "online":true,
    "static": {
      "deviceType":"101",
      "countryCode":"UA"
    },
    "meta": {
      "allDeviceInfoUpdate":true,
      "messageId":"-"
    },
    "refState": {
      "displayLock":"UNLOCK",
      "freezerTemp":1,
      "sabbathMode":"OFF",
      "tempUnit":"CELSIUS",
      "ecoFriendly":"ON",
      "activeSaving":"OFF",
      "expressFridge":"OFF",
      "smartSavingRun":"STOP",
      "atLeastOneDoorOpen":"CLOSE",
      "fridgeTemp":1,
      "expressMode":"OFF",
      "dualFridgeMode":"IGNORE",
      "freshAirFilter":"IGNORE",
      "monStatus":"NORMAL",
      "smartSavingMode":"OFF",
      "convertibleTemp":0,
      "waterFilter":"0_MONTH"
    },
    "timestamp":1631096762871
  },
  "manufacture":null,
  "online":true,
  "platformType":"thinq2",
  "homeDeviceOrder":-1,
  "roomDeviceOrder":-1,
  "ownershipYn":"Y",
  "modelJsonVer":"1.07",
  "modelJsonUri":"-",
  "appModuleVer":"303.20",
  "appModuleUri":"-",
  "appRestartYn":"Y",
  "appModuleSize":"7337592",
  "langPackProductTypeVer":"47.3",
  "langPackProductTypeUri":"-",
  "langPackModelVer":null,
  "langPackModelUri":null,
  "roomId":"",
  "fwInfoList": [
    {
      "checksum":"014D105C",
      "partNumber":"SAA40528402",
      "order":2
    },
    {
      "checksum":"000088B1",
      "partNumber":"SAA41323602",
      "order":1
    }
  ],
  "modemInfo": {
    "modelName":"2REB1GLVB1___",
    "appVersion":"clip_hna_v1.9.104",
    "modemType":"QCOM_QCA4010",
    "ruleEngine":"y"
  },
  "existsEntryPopup":"N",
  "fwVer":null,
  "modemVer":null,
  "subDeviceCount":0,
  "firebaseLogKey":"-",
  "cardType":"Small",
  "cardControl":"Base"
}

I guess refState section is what we need.

nVuln commented 3 years ago

I already added express fridge, freezer and eco mode in latest version, you can enable it in plugin setting

About door status, please try get device data while door is open, let see if atLeastOneDoorOpen changed

nov- commented 3 years ago

I already added express fridge, freezer and eco mode in latest version, you can enable it in plugin setting

About door status, please try get device data while door is open, let see if atLeastOneDoorOpen changed

Thank you very much! I will check and provide details to you 🙂

Updated:

nVuln commented 3 years ago

I already added express fridge, freezer and eco mode in latest version, you can enable it in plugin setting About door status, please try get device data while door is open, let see if atLeastOneDoorOpen changed

Thank you very much! I will check and provide details to you 🙂

Updated:

  • Eco Friendly switch display (but not set anything) eco friendly status updates correctly
  • Express Fridge switch turn on and turn off Eco Friendly mode on the refrigerator and display Express Cool status
  • Express Mode not set anything and displays anything (but if you turn on it, this status left on until you manually off it). Could you pls add a possibility to hide this switch from HomeApp?
  • Express Freezer switch works perfectly: correct status updates and control

Express Mode is removed in latest version, you need Remove All Cached Accessories in homebridge to remove it

nov- commented 3 years ago

Hello! Have you any plans to fix statuses and switch control, because now it is working like that:

Thank you! 😊

nVuln commented 3 years ago

Hello! Have you any plans to fix statuses and switch control, because now it is working like that:

  • Eco Friendly switch display (but not set anything) eco friendly status updates correctly
  • Express Fridge switch turn on and turn off Eco Friendly mode and display Express Cool status
  • Express Freezer switch works perfectly: correct status updates and control

Thank you! 😊

it's just different label on your device, you can easy rename it on Home app

nov- commented 3 years ago

it's just different label on your device, you can easy rename it on Home app

not really. because of: Express Fridge switch turn on and turn off Eco Friendly mode and display Express Cool status

nVuln commented 3 years ago

it's just different label on your device, you can easy rename it on Home app

not really. because of: Express Fridge switch turn on and turn off Eco Friendly mode and display Express Cool status

got it, I'll fixed it on next release