-
Notifications
You must be signed in to change notification settings - Fork 17
Reorder the mapping / support Model: MS-Q12SWDZ #70
Comments
Nice! Should be doable |
Update - For my testing alone, I have modified the
|
Also, Filter Change Indicator: Chance Soon is being indicated in the HomeKit app. What governs this property? I believe it is incorrect for this model since only 14h is being used out of 700+ hours How can I make use of :
|
Did you pull a copy of #40 for this? The filter status is not supported by this plugin yet, it was tentatively introduced in #40 |
Added official filter support now, please upgrade to the latest version of the plugin |
Jet For "Jet" mode, do you think it would make sense to replace "heat" with "jet" instead of "dry"? The HomeKit controls here are unfortunately extremely limited. Another option could be exposing a separate "switch" accessory that toggles the "jet" mode on by itself. I'm hesitant to say we should "drop to X degrees and auto-enable Jet"... maybe that makes sense? Does Jet let you set a temperature when enabled, or is it a mode-only mode? |
Mapping Could you clarify what your desire would be? Based on RAC_056905_WW right now, this should be what is happening:
(if that's not currently happening, please let me know because that is a bug) It should be reasonable to expose toggles for this, though -- e.g. override options of:
|
Hmm... I was experementing with just the dist/ dir from both the versions.
I shall install the latest version and test run it today evening when I get home. (~5h from now)
I completely agree with homekit limitations :( sadly we cannot have TV input like mechanism and we're only left to deal with cool, heat and auto.
I skimmed thorugh the user manual earlier this week. Basically jet mode sets the temp to 18C, sets fan to high, disables energy saver functionality, and enables virtical swing. It maintains this for about 30 mins and then switches to cool. Jet will not allow you to set a temperature, (neight will dry or fan more) I will confirm this in a few hours time. Update It does make sense to have it separate as a switch. However, there are a couple of questions --
Can we have a toggle inside the AC accessory itself for jet, similir to how "Oscillate" is exposed as a switch?
This behaviour is correct. This is what was happening when I installed the plugin as-is. Except the temprature slider in Auto(fan) and Heat(dry) mode used to behave oddly. As in both from and to used to be at 18C or 20C at times. I think this beause you cannot set a temprature for these modes in thinq. However, for my personal use, I just modified Hk.AUTO -> TQ.AUTO, HK.COOL -> TQ.COOl and HK.Heat -> TQ.Dry/ (Monsoon is what it's called in this model). I removed the fan mode as I feel that it will be seldom used. Again, this is just for me.
This would cater to what I'm doing, but supported by the plugin you've built directly. |
Updated to the latest version. For the filter, I see this in the logs:
HK shows: |
Ahhh thanks for flagging this, it sounds like your unit has slightly different data for its filter. Thanks for the other info -- I'll dig into some options and let you know. In the meantime, could you provide a copy of the snapshot for your device when this happens?
|
Please let me know if this is helpful.
|
Huh that's very strange indeed. Maybe the LG app is caching something, or calling a different API? Are you familiar with debugging the APIs an app calls? Otherwise I can just try to safely handle the case where it is |
I'm not familiar with debugging the API calls, but if you could guide me or if there is some documentation that I can read up on, I should be able to do something about it. You could handle the case, but I'm curious why 0 is being interpreted as NaN |
0 is likely causing NaN because I've used Charles Proxy on Mac before, though most "mitm" (man in the middle) proxy solutions should do the trick (take care that they're trustworthy, though). This might be useful but I haven't used it before / can't necessarily vouch for it: https://medium.com/testvagrant/intercept-ios-android-network-calls-using-mitmproxy-4d3c94831f62 |
Thanks! The request is hitting this endpoint: https://kic-service.lgthinq.com:56030/v1/service/devices/<<device_id>>/control-sync Request
Response
|
I noticed the below logs while looking at another issue. Does this have anything to do with the filter rerpoting 0 issue?
|
Aha, that's very useful, thank you! Looks like it is a different API indeed. Let me see if we can add that in |
LG Air Conditioner Model
MS-Q12SWDZ
Homekit Model number
RAC_056905_WW
This model has a HC option (high cooling, where in it tries to max out the cooling for a short period to bring down the temps rapidly). In the thinq app, it's called as Jet mode. There is a toggle button for the same. Is there any way to map this?
Say for example, Cool it to < 18 degree Celsius with max fan should toggle this mode. Is something like this possible?
Similar to TargetHeaterCoolerStateCharacteristic: Error parsing state Error: Unsupported API value: 4 #22, Homebridge error log #27, Is it possible to redo the mapping? Current mapping is as follows -
The text was updated successfully, but these errors were encountered: