Originally posted by TeleFragger
View Post
Announcement
Collapse
No announcement yet.
FitbitSeer, a Fitbit plugin for HS3 - Need beta testers
Collapse
X
-
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.
Leave a comment:
-
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:
-
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:
-
-
I've discovered that it is missing some writing. But I hope to get that done during the weekend.
Leave a comment:
-
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:
-
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:
-
Originally posted by travisdh View PostThe 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?
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:
-
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:
-
Originally posted by travisdh View PostThanks 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.
That is... if I understood it correctly!
Originally posted by travisdh View PostI 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:
-
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:
-
Originally posted by travisdh View PostHi 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!
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:
Leave a comment: