Announcement

Collapse
No announcement yet.

FitbitSeer, a Fitbit plugin for HS3 - Need beta testers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • JimBob
    replied
    Originally posted by TeleFragger View Post
    I'm only running 1 tracker... and have the issue here.. .
    Are your errors every hour also?

    Leave a comment:


  • TeleFragger
    replied
    Originally posted by JimBob View Post


    I have been running the fitbit plugin since 29th September so a couple of weeks before this error started.
    The only change I can think of is that I bought a second tracker and installed a second dongle into another PC (not running HS) but this was a week before the errors started.
    I'm only running 1 tracker... and have the issue here.. .

    Leave a comment:


  • JimBob
    replied
    Checking back through my windows event log, I can see that I am getting this plugin crash on the hour (within a few minutes) every hour since 14th October 19:00 BST.

    There are 2 errors for each crash in the windows application log:
    1)
    Application: HSPI_FitbitSeer.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NullReferenceException
    Stack:
    at HSPI_FitbitSeer.FitbitSetup.UpdateData(Int32)
    at HSPI_FitbitSeer.CurrentPlugin._Lambda$__4(System.Object)
    at System.Threading.ThreadHelper.ThreadStart_Context(System.Obj ect)
    at System.Threading.ExecutionContext.RunInternal(System.Threadi ng.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.Execu tionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.Execu tionContext, System.Threading.ContextCallback, System.Object)
    at System.Threading.ThreadHelper.ThreadStart(System.Object)

    2)
    Faulting application name: HSPI_FitbitSeer.exe, version: 0.1.0.1, time stamp: 0x55846175
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x043cd682
    Faulting process ID: 0x26c
    Faulting application start time: 0x01d0faf38a7b80e6
    Faulting application path: D:\HomeSeer HS3\HSPI_FitbitSeer.exe
    Faulting module path: unknown
    Report ID: 7a17d1b2-729d-11e5-974c-00606ea565f6
    Faulting package full name:
    Faulting package-relative application ID:

    I have been running the fitbit plugin since 29th September so a couple of weeks before this error started.
    The only change I can think of is that I bought a second tracker and installed a second dongle into another PC (not running HS) but this was a week before the errors started.

    Leave a comment:


  • Moskus
    replied
    Hmmm! That is strange, what happens if you restart the plugin manually (disable and then enable it)?

    Could it be Fitbit that is having problems? I'm not seeing any issues here in Europe.

    Leave a comment:


  • JimBob
    replied
    Originally posted by TeleFragger View Post
    Not sure what this error is about...
    Yep, I've been getting these over the last few days too.

    Leave a comment:


  • TeleFragger
    replied
    Not sure what this error is about...



    Sent from my Samsung Galaxy Note 3
    Attached Files

    Leave a comment:


  • TeleFragger
    replied
    Sent from my Samsung Galaxy Note 3
    Attached Files

    Leave a comment:


  • Moskus
    replied
    I've discovered that it is missing some writing. But I hope to get that done during the weekend.

    Leave a comment:


  • TechFan
    replied
    Yes. I have been lurking hoping the sample teased in the first post got released. I just need something to get me started.

    Leave a comment:


  • travisdh
    replied
    That's fantastic, can't wait to have a look and see it all in action .

    I keep thinking of looking at some of my personal plugins and redesigning them from scratch as I designed them as separate plugins, so one acts as a server independent of homeseer, another acts as a 'receiver' and so on but i could consolidate them so this would be a great step and make it much easier.

    Thanks for putting the plugin out there

    Leave a comment:


  • Moskus
    replied
    Originally posted by travisdh View Post
    The keyword is decent [emoji14], and by self reflection i would not fit that category so your plugin will be helpful , have you incorporated any event triggers or actions?
    Yes.

    I had a hard time wrapping my head around it, the sample was hard to understand and there wasn't any comments at all. That's one of the reasons I wrote my own version; I had to explain it to myself to understand it.

    Leave a comment:


  • travisdh
    replied
    The keyword is decent [emoji14], and by self reflection i would not fit that category so your plugin will be helpful , have you incorporated any event triggers or actions?

    Sent from my SM-G900I using Tapatalk

    Leave a comment:


  • Moskus
    replied
    Originally posted by travisdh View Post
    Thanks for that, no major issue and I could do it from scratch, however, the idea of using a framework that makes it easier definitely appeals to me .
    If you are a decent coder, then my sample might be too basic for you, but at least I believe that mine is easier to read and understand.

    That is... if I understood it correctly!


    Originally posted by travisdh View Post
    I had a look into the oAuth stuff, and think i should be able to handle it, the most annoying thing is many of the providers don't do the here is your code you can copy and paste it thing, so I might have to go back to a webpage that echo's the secret which then gets copied and pasted into the plugin.
    I was trying to avoid all that copy/paste stuff myself. I should be able to pass that automatically, but I just couldn't get it working.

    Leave a comment:


  • travisdh
    replied
    Thanks for that, no major issue and I could do it from scratch, however, the idea of using a framework that makes it easier definitely appeals to me .

    I had a look into the oAuth stuff, and think i should be able to handle it, the most annoying thing is many of the providers don't do the here is your code you can copy and paste it thing, so I might have to go back to a webpage that echo's the secret which then gets copied and pasted into the plugin.

    Leave a comment:


  • Moskus
    replied
    Originally posted by travisdh View Post
    Hi Moskus,

    This is not really related to the FitbitSeer (but sort of is), You mentioned this is based on a plugin sample you had been working on to speed up development of future plugins, is that sample available for release, as I am looking at having a go at a personal Jawbone plugin but don't want to reinvent the wheel if I can help it.

    Also, beyond that with your fitbitseer plugin does the fitbit.net library handle oAuth2 authentication or is that handled by another library. Are you aware of any good libraries that handle oAuth2 authentication (as the Jawbone API uses this) and I would also rather not reinvent the wheel if I can help it since my skills are lacking.

    Many thanks!
    Sorry, I'll get my head out of the mud and release my sample. I WILL get it out this week.

    The Fitbit library I'm using is currently not using Oauth2 if I remember correctly. At some time I will need to change that, as Fitbit will require Oauth2 at some point.

    Leave a comment:

Working...
X