-
Notifications
You must be signed in to change notification settings - Fork 425
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
S31 attributes only show when ewelink is open #69
Comments
+1 What is your integration setup? I'm using devicekey (apikey). |
I have tried adding the keys to the configuration.yaml under sonoff, also just leaving the /config/.sonoff.json file which also retrieves the keys. No difference either way. It works as a switched outlet just fine both ways. The attributes only work right if the ewelink is app is open and connected on the phone |
Unfortunately I do not have devices that transmit data constantly. |
It would be good to have this working to save opening the device. For now, since I need to use it, I have opened the S31, flashed it with tasmota and configured it with their S31 template. It is integrated with Home Assistant and working fine. Thanks. |
I have the same issue with a Sonoff POW2 and a couple of S31's. The attributes only get updated when the app is open. |
Try new version #99 |
I have the same problem. It seems the attributes are not pulled regularly (at all), unless you trigger the S31 by turning it on/off --OR-- have the Ewlink app open.. @AlexxIT I'd be happy to donate the money for you to get one or ship one to you to integrate better. Just let me know how. Cheers,Rob |
@rledwa2 try this advice #14 (comment) |
@AlexxIT Works perfectly! It's not elegant but it works. Perhaps you could add a refresh option within the component so it automatically gets the update (Every X seconds/minutes, if ON set state to ON, if OFF, set state to OFF) which will get the current attributes... |
@rledwa2 I plan to do it someday |
I found time for your problem (in latest master beta version): |
In Home Assistsnt the Sonoff S31 plug power on or off work fine without ewelink on the phone. The attributes work as expected only while the ewelink app is open and connected on the phone. Otherwise the previous state shows.
The text was updated successfully, but these errors were encountered: