apostolakisl Posted October 9, 2018 Posted October 9, 2018 If I close Agave between uses, it takes it a good 20 to 30 seconds before it will sync itself to my ISY upon opening it which is very frustrating. Especially my Elk. If I leave Agave on in the background, my phone will go from 100% to 0% in 16 hours. Normally my phone will go from 100% to 80% in 16 hours.
James Peterson Posted October 10, 2018 Posted October 10, 2018 The amount of battery usage it really dependent on what your phone is doing during the day and what your ISY is doing. Since you have it set t run in background, Agave is attempting to maintain a connection with the ISY even when idle. While this will keep the app up to date, it can be ver resource intensive. If you walk in and out of wifi and mobile data signals, then Agave will be constantly having to reconnect and this is the more battery intensive part of the connection. If your ISY is preforming a lot a automated processes and that information is sent via the subscription then Agave will also be processing that information as it comes in. There are so many variables as to why this might be using up your battery. Also the length of time it takes to make the initial connection is dependent on your level of encryption. 1024 ok, 2048 good, but longer connection time, 4096 very good, but initial connection time may take a while. I am sorry for the issues, but until there is a viable way to receive information from the ISY without the subscription, this will be a very resource intensive option. This is the main reason I made it optional.
apostolakisl Posted October 10, 2018 Author Posted October 10, 2018 Can't it maintain an encryption "tunnel" without processing any updates from ISY unless it is in the foreground? There is nothing going on with my phone. It is plowing through battery with Agave up just sitting on my desk at the office for 10 hours on the same wifi the whole time. This would normally barely use 10%. I can't find anywhere to change my encryption key strength. I try to change order of connections, but it won't change. Portal is first, then my LAN, then my https dyndns.com connection (which I don't use anymore but it refuses to let me delete it). If I am at home, it would be fine to use LAN and not do any encryption, but I am pretty sure it is still using the portal.
James Peterson Posted October 10, 2018 Posted October 10, 2018 If you want it to prefer the LAN over portal, I would put that first in the list. Can you put Agave in debug mode and let it run while you are at work and send me the log after it has been using up the battery? Maybe I can see something in the logs.
apostolakisl Posted October 10, 2018 Author Posted October 10, 2018 45 minutes ago, James Peterson said: If you want it to prefer the LAN over portal, I would put that first in the list. Can you put Agave in debug mode and let it run while you are at work and send me the log after it has been using up the battery? Maybe I can see something in the logs. After playing with it, I realized you have to touch and hold to move the order. I'm not sure why the hamburger is to there to the right of each item since typically a hamburger means you just tap on it to get a menu. Still can't figure out how to delete the secondary connection.
James Peterson Posted October 10, 2018 Posted October 10, 2018 5 minutes ago, apostolakisl said: Still can't figure out how to delete the secondary connection. This I will get fixed on the next update.
giesen Posted October 10, 2018 Posted October 10, 2018 James,Any possibility of a companion server (that would run on a rpi, for example) that would subscribe to the ISY and send push notifications? I know not as ideal as having the portal implement the proper hooks but still better for battery life than keeping the app in the background..Sent from my SM-N9500 using Tapatalk
James Peterson Posted October 10, 2018 Posted October 10, 2018 35 minutes ago, giesen said: James, Any possibility of a companion server (that would run on a rpi, for example) that would subscribe to the ISY and send push notifications? I know not as ideal as having the portal implement the proper hooks but still better for battery life than keeping the app in the background.. Sent from my SM-N9500 using Tapatalk Yes and my wife brought up the idea some time ago. I just don't have the time to do it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.