This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed Official
[APP] Xiaomi Mi Home (supports Yeelights and Mi Home WiFi devices)
This discussion has been closed.
Comments
I added a single yeelight and after homeys offline messages, it turned out be have been added correctly. Then I added all 3 remaining yeelights in a single add session. This also worked fine. So the adding process looks like its working very well.
I checked, you have added quite a lot of interesting possibility cards for flow use. Looks really great but I had no time to fiddle around now. I found only one single card with extra information (i-icon). Is this on purpose? The extra info is very welcome since my quick scan did not make all clear to me...
Are you planning to add more info in another update or supply the info in other ways?
Anyhow, a very positive update experience until now; many thanks!
When selecting a new color or intensity, the slider stutters back to the old position, then moves to the new position. Happens on both android app beta and stable.
Is grouping and music flow possible?
- REMOVED: driver for the Mi Robot Vacuum Cleaner since it's not working anymore with the latest firmware update of the cleaner
- IMPROVEMENT: removed the maximum time for the changing brightness over time
- FIX: fixed issue with stuttering when changing colors for Yeelights within the new mobile app
- FIX: fixed error due to destroying a non existent connection socket on Yeelighs
- NEW: added extra action cards for Yeelights: Temperature/brightness scene, Color/brightness scene
I'm looking for beta testers, specifically ones that own 3+ Yeelights. I still receive a "Too many memwarnings" error from time to time and it's really hard to troubleshoot those issues. Please report if you experience this issue and what devices you have paired.Another very interesting product I came across: http://s.aliexpress.com/3IZfUbMN There seem to be 2 different versions available. One is for Zigbee the other for WiFi.
I wonder, would it be possible to support these via your app?
About the update, 1 of my 4 Yeelights disappeared from homey last night after automatic updating. Tried to get it back did not work out. Today there was a new version of the homey mobile app and the issue was fixed. Not sure how, but something worked
All my Yeelights are working nice and stable now.
Also this card looks very mysterious...
You refer to the Yeelight documentation, I just have no clue where to get that... An example could greatly help.
https://github.com/athombv/homey/issues/547
So if you're at 0% it will gradually fade up, if you're at 100% gradually down
Wijzig helderheid over tijd / change brightness over time card.
I was not aware of a default "dim over time" card. In the github issue referenced by @bvdbos it is stated that this has been added by default to the light class which should make it available for Yeelights as well. But since it's not available I asked a question about it. Got a response and Athom needs to update the docs. I will probably implement it at a later time. The current "wijzig helderheid over tijd / change brightness over time card" was added by me based on a feature request of @vaderag. It actually has more options than the default card that's not available yet. The options are:
- End state: return to previous, keep new setting or switch light off
- Duration: the time over which the state is changed from it's current state to the set state
- New light temperature: light temperature to which the light needs to change, Yeelights have a range from 2700 - 6500
- New light brightness: the new brightness to which the light needs to change
So, this card allows you to change the brightness and temperature of your Yeelight over a specific time. The most common use case is using it as a wakeup light where the light gradually becomes brighter over a specific time. Or the other way around, gradually dim the light when going to bed.Send command / verstuur commando
As stated in the card, this is really for advanced users. It allows you to send any command to the Yeelight. I'm not gonna explain all the possibilities as these are endless but if you are interested you can have a look at the documentation here: http://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf. I'll just give you some copy pasted examples.
Beta testing
So far only one little bug detected so that is looking good. Hopefully I can promote it to stable sometime next week. @mauritsivs , are you already on the beta. If not, please use the app store to upgrade to the beta. Then all you need to do is use your lights and see if there is anything not working or crashes.
Unfortunately I have to report some kind of bug. When simply experimenting with different settings, homey looses the Yeelight that is being experimented upon. Restarting the app brings the Yeelight back.
The used command line is the same you supplied:
{"id":1,"method":"set_scene","params":["cf",0,0,"500,1,255,100,1000,1,16776960,70"]}
After the above flow, there comes a flow when the contact alarm went off. The flow fires which should switch off the Yeelight, but the light just stays on the last red color.
Hopefully you can simulate the situation with these details.
Release 2.3.1-beta
I hope this release fixes the issue where Yeelights show as offline while they are not (getting them back online require a power cycle or restart the app) and the issues where the app crashes with stacktraces similar to this.
I think you splashed the bugs, testing is working correct now
According to the information from the first card, this card is used to save the current status of the Yeelight. Using it this way I wonder how to restore the saved status. It is not done by default as I have tested.
After this flow another flow is activated triggered on "a contact alarm went off" and then switches the Yeelight off.
Once the Yeelight is switched back on, it comes on as red, not the saved status.
I can't seem to find a restore status card....?
- configure your light to a state you are comfortable with
- use this card to save this state as default power on state using this card
- change the state of the lamp to anything you like
- when you power down (switch off power completely) and then power on your Yeelight again the state you are comfortable with is restored (and not the state last used).
This only works if you do not have "Automatic state saving" enabled in the official Yeelight smartphone app.
This only works if you do not have "Automatic state saving" enabled in the official Yeelight smartphone app. Would be good for future users to see this as extra information.
I had a hard time finding the setting... but finally found it and enabled it on all my Yeelights now. Then I tested as you described:
- Starting state "night mode"
- Running the above flow
- Have the 2nd flow switch the light off
Turning the light on again via the smartphone app, the light was still red... not night mode. I even tried it with switching all power off by a wall switch, same result.
In between the app crashed and the Yeelight could not be reached anymore via homey. A restart solved that issue.
Did you catch a stacktrace of the app crash. I did not receive a crash notification.
>> You mention that you use a flow to switch the light off, this default state only kicks in when completely powering down the light, not when only switching them off.<<
Aha... is there a way to let this handle by software? If not, I would opt for a sort of restore card. Manually switching the light off/on does not really make sense in my application.
>>Did you catch a stacktrace of the app crash. I did not receive a crash notification.<<
How to do this please?
You can submit an issue in my GitHub repo for adding a restore action card to be used with switch on. It's not available by default in the Yeelight api but I have some idea on how to fix this in the Yeelight. It's low priority for now though.