This is another bug. If the LED is off there is no LED brightness available. I will fix it.
Done. I merged develop into master and released version 0.1.1. Please donāt use the development branch anymore.
@teprrr I would be happy about a new python-mirobo release. So I can resync all components based on python-mirobo to the same version. I can use/update an open Pull Request to introduce the new version.
@syssi iāve two wifi stripā¦
why the instant power is different between mihome and homeassistant?
Itās just a guess: The measurement unit of current is amperes and the instantaneous power is watts (0.43A * 230V = 98,9W). You are from italy and your mains voltage is 230V? If not you have to change the multiplier.
yesā¦ iām in italy 230v
Iām in Australia and have the same issue. Does this mean the formula needs to be updated in the component?
The component uses a voltage independent unit (amps). If you want to know watts you have to multiply properly.
iāve tryed but the results are different
In this case I donāt know the firmware is doing here. The component just displays a captured value.
Could you track the value? Does it permanently increment? Does it drop to zero if you remove the consumer?
I donāt own a power strip. My WiFi plug which doesnāt provide the property current, so you are on your own. Write down or log the home assistant values to influxdb and try to get a better understanding of the value.
Does somebody like to test the new platform services of the air purifier? Just use the development branch here:
Very cool! Been thinking about getting one of these for my house and Iāve been looking for some HA support. Are you planning an official PR at some point? If I had one now Iād test for ya!
Yes there will be a PR if the component has proven stable. There is a bunch of air purifier generations around which different firmware versions and feature sets. To support the intersection would be nice. At the moment the component is a bit āair purifier 2ā centric because of a low defusion rate.
Gotcha. Youāre referring to the 1st gen/pro? I was going to get the 2nd gen anyhow. Probably buy it soon and if it hasnāt been pulled by them Iāll be sure to give you whatever feedback I can
Iām from Spain (230V) and have the same problem. If I multiply amps by 230V I get way too many watts. Iām multiplying by 110 now and I get sensible values. Iām not sure but I think Xiaomiās people make assumptions about that voltageā¦
Is it possible that is not istantaneous power but kw/h?
No, the current goes to 0 when idle. Itās instantaneous current.
Iām from Spain (230V) and have the same problem. If I multiply amps by 230V I get way too many watts. Iām multiplying by 110 now and I get sensible values. Iām not sure but I think Xiaomiās people make assumptions about that voltageā¦
Do you have a consumer with a well known load to verify? A 60W light bulb for example or a calibrated power meter? I would like to check the correctness of the value shown at the mi home app. I will provide a addtional calculated attribute if we are sure about.