biemond / com.athom.awair

Homey awair app
GNU General Public License v3.0
5 stars 3 forks source link

The pm2.5 isn't update after setup #8

Closed pjmpessers closed 4 years ago

pjmpessers commented 4 years ago

Just recieved the awair element and connected to the awair app. It receives the data just fine on there app. Got a api-key and connected without a problem to homey. Every 5 minutes it receives the new values exept pm2.5. It receives a value after setup, but then it stops. I tried everything that was possible.

Also would it be possible to change the value of refreshing the values sooner.

Thanks.

Update: it seems that it is updating. Unless the value of the pm2.5 is to high. A reading of 200 or more isn't recieved

biemond commented 4 years ago

oh wow, element is new. let me check mine. maybe they changed something on the response.

faster refresh is not possible for us, you will be blocked for 24 hours.

biemond commented 4 years ago

thanks let me check the high value.

biemond commented 4 years ago

max 80 for me. let me check this


            "type": "number",
            "title": {
                "en": "Current PM2.5 value"
            },
            "getable": true,
            "setable": false,
            "units": {
                "en": "ug/m"
            },
            "min": 0,
            "max": 80,
            "decimals": 0,
            "insights": true,
            "uiComponent": "sensor"
        },```
biemond commented 4 years ago

can you open the awair app and click on pm2.5 ,for me it is from 0 to 80.

pjmpessers commented 4 years ago

Thank you for the quick response, Edwin.

Awair element should be the same as the awair 2nd edition. Only a plastic housing.

Thank you for explaining that the time limitation lays at the server of awair and that the don't let us contact the server shorter than once every 5 minutes.

I have someone in the household that smokes and on the awair app it came over 600. That value won't be pushed to homey.

My intention is to speed up my mechanical ventilation once that it notice my pm2.5 goes up by cooking in the kitchen.

biemond commented 4 years ago

cool , I will change it to 800

pjmpessers commented 4 years ago

Screenshot_20200724-174835_Awair Home

pjmpessers commented 4 years ago

That was quick. Thanks.

pjmpessers commented 4 years ago

Is it possible to place the update on github. So i could check it?

biemond commented 4 years ago

https://github.com/biemond/com.athom.awair/blob/master/app.json#L236 change this

pjmpessers commented 4 years ago

Thanks.

It worked. Top. 😉

Screenshot_20200724-213853_Homey

pjmpessers commented 4 years ago

Awair.zip

biemond commented 4 years ago

perfect, will publish it. or no smokers inside the house

pjmpessers commented 4 years ago

Haha.

I try him to quit. And hoped he would see how unhealthy it is by this awair meter. But it doen't help.

pjmpessers commented 4 years ago

Thanks for the help.