{"action":"created","issue":{"url":"https://api.github.com/repos/honkmaster/homebridge-mi-flower-care/issues/10","repository_url":"https://api.github.com/repos/honkmaster/homebridge-mi-flower-care","labels_url":"https://api.github.com/repos/honkmaster/homebridge-mi-flower-care/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/honkmaster/homebridge-mi-flower-care/issues/10/comments","events_url":"https://api.github.com/repos/honkmaster/homebridge-mi-flower-care/issues/10/events","html_url":"https://github.com/honkmaster/homebridge-mi-flower-care/issues/10","id":360541463,"node_id":"MDU6SXNzdWUzNjA1NDE0NjM=","number":10,"title":"Plugin not updating values in background","user":{"login":"deadlyknapsack","id":16045814,"node_id":"MDQ6VXNlcjE2MDQ1ODE0","avatar_url":"https://avatars2.githubusercontent.com/u/16045814?v=4","gravatar_id":"","url":"https://api.github.com/users/deadlyknapsack","html_url":"https://github.com/deadlyknapsack","followers_url":"https://api.github.com/users/deadlyknapsack/followers","following_url":"https://api.github.com/users/deadlyknapsack/following{/other_user}","gists_url":"https://api.github.com/users/deadlyknapsack/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlyknapsack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlyknapsack/subscriptions","organizations_url":"https://api.github.com/users/deadlyknapsack/orgs","repos_url":"https://api.github.com/users/deadlyknapsack/repos","events_url":"https://api.github.com/users/deadlyknapsack/events{/privacy}","received_events_url":"https://api.github.com/users/deadlyknapsack/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-15T13:45:04Z","updated_at":"2018-10-11T19:39:01Z","closed_at":"2018-10-11T19:12:48Z","author_association":"NONE","body":"I noticed that the plugin, regardless of the settings in config.json, is not getting value updates to Homebridge in the background. Is that deliberate? I am looking at the Home app on my iPad and the humidity percentage remains unchanged. The very second I open the Home app on my iPhone, the values are synced. Normally, that wouldn't be that big of a deal. However, I wanted to create an automation where a notification is sent when the humidity drops below a certain percentage. That becomes useless in terms of 'automation' when I have to get the percentage myself manually. \r\n\r\nIs this a bug or can you perhaps consider an enhancement on the plugin? I have about 15 Mi Flower modules and the idea was to have triggers when I need to water them... and now I am sad...\r\n\r\nEDIT: I changed the interval to 10 seconds, just to test something and when I look at the logging of Homebridge, the plugin is posting the values correctly, every 10 seconds. Any idea why the Home app on my iPad is not getting the correct values updated from homebridge? \r\n\r\nEDIT2: I found this:\r\n\r\nhttps://github.com/KhaosT/HAP-NodeJS/issues/543\r\n\r\nNow, I am not a developer. But it seems to me that the plugin uses some kind of method to set the value, that doesn't trigger an update in iOS. I've read somewhere that you are busy with work, @honkmaster, but if you could have a look and see if that is easily implemented, it would mean the world to me. The reason I want this plugin to update in the background, is because I have an iPad on the wall, that has Home open constantly. If I have to keep opening and closing an app, in order to get an automation done, it defeats the purpose."},"comment":{"url":"https://api.github.com/repos/honkmaster/homebridge-mi-flower-care/issues/comments/429091189","html_url":"https://github.com/honkmaster/homebridge-mi-flower-care/issues/10#issuecomment-429091189","issue_url":"https://api.github.com/repos/honkmaster/homebridge-mi-flower-care/issues/10","id":429091189,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTA5MTE4OQ==","user":{"login":"honkmaster","id":1380397,"node_id":"MDQ6VXNlcjEzODAzOTc=","avatar_url":"https://avatars1.githubusercontent.com/u/1380397?v=4","gravatar_id":"","url":"https://api.github.com/users/honkmaster","html_url":"https://github.com/honkmaster","followers_url":"https://api.github.com/users/honkmaster/followers","following_url":"https://api.github.com/users/honkmaster/following{/other_user}","gists_url":"https://api.github.com/users/honkmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/honkmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honkmaster/subscriptions","organizations_url":"https://api.github.com/users/honkmaster/orgs","repos_url":"https://api.github.com/users/honkmaster/repos","events_url":"https://api.github.com/users/honkmaster/events{/privacy}","received_events_url":"https://api.github.com/users/honkmaster/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T19:39:01Z","updated_at":"2018-10-11T19:39:01Z","author_association":"OWNER","body":"You can go back to the public version using:\r\n\r\n`(sudo) npm install -g --unsafe-perm homebridge-mi-flower-care\r\n`\r\n\r\nThanks again for testing."}}
{"actor":{"display_login":"honkmaster"}}