Announcement

Collapse
No announcement yet.

Yet another mobile app

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I seem to have lost many of the icons for lights on/off, motion and battery. I still have some icons for temperature, luminance, etc. The controls still work, just no icon. I am on 1.0.29. Not sure when it was updated, but everything was working fine until recently.

    Comment


      The ability to send a push notification to Android devices is great. Is this plugin function exposed to script (hs.PluginFunction) and if so, what are the parameters?

      If it's not available could it be exposed in a future release of HSBuddy? This would give a great deal more flexibility in the data sent through notifications.

      Comment


        Originally posted by adwuk View Post
        I have since discovered that the phone location was being updated every 4-5 seconds (only when on the move) over the whole day!

        One suggestion to help with this might be a minimum update interval, defined in the client app. We'd probably set it at something like 5 minutes.
        Hi,

        I'm LOVING HSBuddy and its Geofencing and notifications, so thank you for developing this.

        I too am having the issue as quoted, HSBuddy is updating my location data every few seconds when I'm travelling to work (90 minutes) so my battery life is greatly reduced.

        I can see when not moving HSBuddy reduces the update frequency, but would there be a way of perhaps the Server plugin controlling the update frequency based on the proximity to a geofence location? So as you move further away from a defined geofence location updates slow down, and in reverse as you get closer to a location update frequency increases?

        Having a settable update frequency isn't ideal as when I drive home I can easily go from outside my geofenced area to inside it and actually home within a minute or two, so having a 2 or 3 minute update frequency wouldn't work.

        Thanks
        Richard

        Comment


          Brilliant addition to HS3!

          My plugin version is 3.9.610.5 and I keep on seeing this error in the HS3 logs:

          Calling HSEvent in plugin HSBuddy, Instance :The given key was not present in the dictionary
          The plugin seems to be working as expected but I'm curious as to why.

          Thanks!

          Comment


            Originally posted by Wimster View Post
            Brilliant addition to HS3!

            My plugin version is 3.9.610.5 and I keep on seeing this error in the HS3 logs:



            The plugin seems to be working as expected but I'm curious as to why.

            Thanks!
            Seeing the same thing.. TIA DEM

            Comment


              Love HS Buddy! When using HSTouch, is there any way to show a map of a clients location? Example, from my wall mounted touch screen, I want to create a screen that shows "tracking" this screen would display the current location of all clients. Either individually or all on one map together. Has anyone done this, is it possible?

              Comment


                Originally posted by mbg0333 View Post
                I have just installed this APP today and its looking good.

                I noticed that on my plug in manage page it states pending start even though the logs say it is started.

                This is causing the interface for HSbuddy to not show up under the plugins.

                The APP is working fine but I cant configure the geofencing or other things.

                Any ideaS?

                Has this issue ever been resolved? I newly installed 3.9.610.5. The log shows that HSB loaded but still seeing "INFO: Plugin start is pending", what was the fix? Thanks.

                Comment


                  Originally posted by snovvman View Post


                  Has this issue ever been resolved? I newly installed 3.9.610.5. The log shows that HSB loaded but still seeing "INFO: Plugin start is pending", what was the fix? Thanks.
                  Same thing here. Just says INFO: Plugin start is pending. I am not getting my push notifications anymore :-(

                  Comment


                    Thanks for writing HSBuddy, it's got some good features and was easy to get going. My only problem is my wife's phone stops sending location updates and won't send new ones till she re-launches the HSBuddy app on her phone, then it runs again for a while and stops updating again. I never have to relaunch it on my phone. Is there anything that you know of off-hand that could cause that? We're both on Android and she isn't stopping any location services or anything like that.

                    Comment


                      Thanks for writing HSBuddy, it's got some good features and was easy to get going. My only problem is my wife's phone stops sending location updates and won't send new ones till she re-launches the HSBuddy app on her phone, then it runs again for a while and stops updating again. I never have to relaunch it on my phone. Is there anything that you know of off-hand that could cause that? We're both on Android and she isn't stopping any location services or anything like that.
                      I am having this same issue on Android 9 (Pie). I have the application locked on the app switcher screen and have also disabled battery optimization for the app, but still, it stops updating occasionally. I am on a OnePlus 6 with stock software, updated with the June security patches.
                      What I would like to know beyond a fix for this, is if there is a way to simply trigger an event when HSBuddy hasn't received an update from a client in say "x" number of hours. The data is already there in the server side of the app, but I don't see a way to trigger an event based on it. I was just going to create an event that sent me a text if any of my clients hadn't been seen for 4 hours or something so I could manually open the software on that device and trigger the updates to start again.

                      I use HSBuddy exclusively for GeoFencing and it has been great with this small exception. Sure do appreciate the work you have done on it to this point!

                      Comment


                        Has the creator of the app/PI disappeared? Seems like no responses for some months. Which is a shame.

                        I just started using HSBuddy solely for the Geofence capability on some iPhones and it works great but.... sometimes it does a quick seemingly random out/in to the home geofence, when the device is still within the area. Which makes using for disabling the home alarm a bit tricky. I guess I could try and figure out a way around it with devices and delays but it would be helpful to find out what's causing it and see if we can't fix it.

                        Anyone have any ideas or seen this?

                        Comment


                          I've been greatly appreciating the push notification feature of HSBuddy, but it completely stopped functioning recently, perhaps due to a HS update? Any attempt to trigger a push notification throws up an error which looks like this in the log:

                          Code:
                           [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="colspan: 8, align: left"][COLOR=#FF0000]Error in HandleAction: System.AggregateException: One or more errors occurred. ---> System.Net.WebException: Error: ConnectFailure (The requested address is not valid in this context) ---> System.Net.Sockets.SocketException: The requested address is not valid in this context at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00064] in :0 at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in :0 --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) [0x00043] in :0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Net.Http.HttpClientHandler+c__async0.MoveNext () [0x002f7] in <41c316444c8a4380b9344ba09eeb18de>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Net.Http.HttpClient+c__async0.MoveNext () [0x000f3] in <41c316444c8a4380b9344ba09eeb18de>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x00034] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_HSBuddy.Clients.OneSignalNotifier.SendNotificationToSingleApp (System.String appId, System.Collections.Generic.IEnumerable`1[T] clients, System.String message, System.Collections.Generic.List`1[T] invalidClients) [0x000a8] in <9d46cb9554394ff7a50f37bb6eb66665>:0 at HSPI_HSBuddy.Clients.OneSignalNotifier.SendNotification (System.Collections.Generic.IEnumerable`1[T] clients, System.String message, System.Collections.Generic.IEnumerable`1[HSPI_HSBuddy.Data.ClientInfo]& invalidClients) [0x00044] in <9d46cb9554394ff7a50f37bb6eb66665>:0 at HSPI_HSBuddy.Actions.PushNotificationAction.HandleAction (HomeSeerAPI.IPlugInAPI+strTrigActInfo actInfo) [0x000b7] in <9d46cb9554394ff7a50f37bb6eb66665>:0 at HSPI_HSBuddy.HSPI.HandleAction (HomeSeerAPI.IPlugInAPI+strTrigActInfo ActInfo) [0x00006] in <9d46cb9554394ff7a50f37bb6eb66665>:0 ---> (Inner Exception #0) System.Net.WebException: Error: ConnectFailure (The requested address is not valid in this context) ---> System.Net.Sockets.SocketException: The requested address is not valid in this context at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00064] in :0 at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in :0 --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) [0x00043] in :0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Net.Http.HttpClientHandler+c__async0.MoveNext () [0x002f7] in <41c316444c8a4380b9344ba09eeb18de>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Net.Http.HttpClient+c__async0.MoveNext () [0x000f3] in <41c316444c8a4380b9344ba09eeb18de>:0 <---[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]

                          Comment


                            Hi,
                            I LOVE HSBUDDY thank you very much avargaskun.

                            For change a device value, I do 1 clic on it and second clic to say "ON" or "OFF".

                            is it possible to have option ability to do same with only ONE clic? (have icon "ON" and "OFF" on the right of device first page listing as homeseer web page)

                            Thank you

                            Comment


                              Originally posted by vikeq View Post
                              Hi,
                              I LOVE HSBUDDY thank you very much avargaskun.

                              For change a device value, I do 1 clic on it and second clic to say "ON" or "OFF".

                              is it possible to have option ability to do same with only ONE clic? (have icon "ON" and "OFF" on the right of device first page listing as homeseer web page)

                              Thank you
                              It's perhaps not quite what you're looking for, but you can long-press on a device in the list and the controls for that device will pop up.

                              Comment


                                Originally posted by harshl View Post

                                I am having this same issue on Android 9 (Pie). I have the application locked on the app switcher screen and have also disabled battery optimization for the app, but still, it stops updating occasionally. I am on a OnePlus 6 with stock software, updated with the June security patches.
                                What I would like to know beyond a fix for this, is if there is a way to simply trigger an event when HSBuddy hasn't received an update from a client in say "x" number of hours. The data is already there in the server side of the app, but I don't see a way to trigger an event based on it. I was just going to create an event that sent me a text if any of my clients hadn't been seen for 4 hours or something so I could manually open the software on that device and trigger the updates to start again.

                                I use HSBuddy exclusively for GeoFencing and it has been great with this small exception. Sure do appreciate the work you have done on it to this point!
                                I have the exact same issue. The problem is that at least the geofencing portion of this app needs to reside in memory (like a service would in Windows). I believe that Android memory management closes HSBuddy for inactivity whenever it thinks it needs to free up memory. I have tried various methods to ensure that HSBuddy remains resident, but without rooting the phone there is no good way to do it.

                                I have a Galaxy S8 running Pie, and a Galaxy S6 running Nougat. I also have an Asus Z10 running Nougat. Each exhibits the same problem. It is much less prevalent on my S8, but that device has far more memory than the others.

                                In my opinion, the geofencing client has to be moved to resident memory for this to work properly. There are other geofencing apps like PHLocation that do this. I don't want to go back to PHLocation so I am hoping that the developer fixes this soon.

                                Comment

                                Working...
                                X