-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Air filter status not seen in homeassistant #142
Comments
Can you query the device state with |
I have some debug logs from HA: |
Sorry I had meant |
For good measure run |
|
|
Thanks. Your device doesn't report any filter capabilities... But the app sure does. Does the device have an indicator that the filter needs cleaning? There might be a property message that has this info instead. Are you able to change the filter time from 250 hrs? |
No, the device doesn't have any indicator about the filter.
Yes, I can change this value in the app and I can set the filter status to clean. I think that this is not a feature of the device, I think it is cloud-based to track the working time of the device and after that suggest the cleaning of the filter. Maybe I'm wrong :) |
That's definitely crossed my mind too. Lets try one more thing. Can you try running this example? import asyncio
import logging
from msmart.device import AirConditioner as AC
from msmart.device.AC.command import GetPropertiesCommand
logging.basicConfig(level=logging.DEBUG)
DEVICE_IP = "YOUR_DEVICE_IP"
DEVICE_PORT = 6444
DEVICE_ID = "YOUR_DEVICE_ID"
# For V3 devices
DEVICE_TOKEN = None # "YOUR_DEVICE_TOKEN"
DEVICE_KEY = None # "YOUR_DEVICE_KEY"
async def main():
device = AC(ip=DEVICE_IP, port=6444, device_id=int(DEVICE_ID))
if DEVICE_TOKEN and DEVICE_KEY:
await device.authenticate(DEVICE_TOKEN, DEVICE_KEY)
command = GetPropertiesCommand([0x0409])
command._protocol_version = 3
for response in await device._send_command_get_responses(command):
print(response)
if __name__ == "__main__":
asyncio.run(main()) |
Yes, I have run it:
|
Thanks. Looks like that property isn't supported. Might be a cloud-based solution like you said before. |
Ok, thank you for the time and effort to check this out.
…On Tue, 16 Jul 2024 at 18:08, Tucker Kern ***@***.***> wrote:
Thanks. Looks like that property isn't supported.
Might be a cloud-based solution like you said before.
—
Reply to this email directly, view it on GitHub
<#142 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APKM6CTPEM6S3UGD4CNQRRDZMVAPRAVCNFSM6AAAAABK4KXXYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGMYTKOJRGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This is in HomeAssistant:
This is in mobile app:
The text was updated successfully, but these errors were encountered: