Announcement

Collapse
No announcement yet.

FitbitSeer, a Fitbit plugin for HS3 - Need beta testers

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

  • gearyt
    replied
    Originally posted by Moskus View Post
    I've been thinking about that. Charting means that I would have to store (or at least fetch) more data, and also figuring out how I can do charting easily on HST (it's pretty simple in asp.net, but could be harder on HS).

    ... but then I tought. There's already a page that does charting pretty well:
    fitbit.com


    Is there anything special you want on a chart?
    just trends..steps, calories..

    Leave a comment:


  • Moskus
    replied
    Originally posted by gearyt View Post
    Charting ??
    I've been thinking about that. Charting means that I would have to store (or at least fetch) more data, and also figuring out how I can do charting easily on HST (it's pretty simple in asp.net, but could be harder on HS).

    ... but then I tought. There's already a page that does charting pretty well:
    fitbit.com


    Is there anything special you want on a chart?

    Leave a comment:


  • Moskus
    replied
    OK, guys.
    One device per... errr... device.





    Originally posted by bpm32 View Post
    You are right - I'm definitely not getting the Fitbit tab - whether I go through "Add account" or enter directly through the root device. Note: The only device created by the plugin is the root device. It appears the plugin is still running after I try adding a new account. When I go to manage plugins, it still lists the Fitbit plugin status as OK.

    I do have this in my log:


    Jun-22 8:46:50 PM FitbitSeer ERRORFitbitSetup, GetData: Object reference not set to an instance of an object
    Jun-22 8:45:30 PM ErrorCalling ConfigDevice in plugin FitbitSeer:Request Token Step Failed
    Jun-22 8:45:27 PM FitbitSeer ERRORFitbitSetup, GetData: Object reference not set to an instance of an object
    It could either mean that 1) you are not connected to the internet (or the plugin can't find Fitbits servers for some reason), or more likely 2) Fitbit.dll (or its dependency RestSharp.dll) isn't running properly under Mono.



    Does anybody here have any tips on debugging plugins on Linux?

    Leave a comment:


  • cjohlandt
    replied
    I agree also. One device per fitbit battery.

    Sent from my XT1254 using Tapatalk

    Leave a comment:


  • bpm32
    replied
    FitbitSeer, a Fitbit plugin for HS3 - Need beta testers

    You are right - I'm definitely not getting the Fitbit tab - whether I go through "Add account" or enter directly through the root device. Note: The only device created by the plugin is the root device. It appears the plugin is still running after I try adding a new account. When I go to manage plugins, it still lists the Fitbit plugin status as OK.

    I do have this in my log:


    Jun-22 8:46:50 PM FitbitSeer ERRORFitbitSetup, GetData: Object reference not set to an instance of an object
    Jun-22 8:45:30 PM ErrorCalling ConfigDevice in plugin FitbitSeer:Request Token Step Failed
    Jun-22 8:45:27 PM FitbitSeer ERRORFitbitSetup, GetData: Object reference not set to an instance of an object


    I don't understand the majority of that! :-)






    Sent from my iPad using Tapatalk

    Leave a comment:


  • Mr_Resistor
    replied
    Agreed. One HS devices per FitBit device battery level.

    Leave a comment:


  • gearyt
    replied
    Charting ??

    Leave a comment:


  • bartbakels
    replied
    Looking great ,

    Using my Iphone with fitbit for now.

    Leave a comment:


  • TechHA
    replied
    Originally posted by Moskus View Post
    I'm not sure if Fitbit actually gives a percentage, I need to check that.

    However, about the battery level:
    Fitbit can now handle multiple devices, but if you have more than one (I have a Fitbit One and Aria), having one device for each battery level could be "troublesome"

    How do you prefer it:
    One device that handle all battery levels?
    Or one for each device?
    Definitely would want a HS device per Fitbit unit for the battery levels.

    Leave a comment:


  • Moskus
    replied
    Originally posted by bpm32 View Post
    Thank you for your suggestions. I wanted to update you on my progress:

    The good news: I copied the DLL files to the homeseer directory and restarted the Pi. The plugin initialized successfully! I enabled it then attempted to add an account.

    The bad news: The add account option doesn't seem to be working in my case. When I click the "add account" button from the config page, I'm taken to a page that allows me to add a new device and am given three tabs from which to choose: Configuration, Advanced, and Status Graphics. None of these pages give me an opportunity to enter my Fitbit credentials or link to my Fitbit account. (At least nowhere that I've found.)

    I know you said there was no timeline for you testing this on a Linux system, but I just wanted to give you a heads up.

    Thanks for your time!
    Hmmm... that IS weird!

    If you are able to get to the configuration page, then the plugin should be working right. So that's good.

    However, when you press "Add account" you are indeed moved to a new device, but the focus should automatically be set to the a "Fitbit" tab. Thei Fitbit tab is created by the plugin. Your "Fitbit" tab appears to be missing...

    After a little thought it occurs to me that the configuration page doesn't really use any functions in the "Fitbit.dll", and perhaps that's why it's working. However, the Fitbit tab on the new device do use Fitbit.dll functions, so either "Fitbit.dll" or "RestSharp.dll" is having problems.

    After the device is created, is the plugin still running?


    Originally posted by ORNVM View Post
    Very nice plugin. for some reason when I unzipped it bin and images were not placed correctly, but once I dropped those in the right place everything worked. Probably my error, but thought i'd pass it on if anyone else has issues with install. Very easy setup, and nice addition to home seer. Thanks for making this available!
    I'm planning to put the plugin in the updater once I've implemented everything I want to do. It's just easier to manage IMHO, and it takes care of any installation issues.

    Originally posted by ORNVM View Post
    +1 on battery level as a value coming across. I have an end of day event that fires off when i dock my phone on the wireless charger that shuts down the house and locks the doors, etc. It would be awesome to add a check to fitbit to determine battery level and tell me to charge it if its below X percent.
    I'm not sure if Fitbit actually gives a percentage, I need to check that.



    However, about the battery level:
    Fitbit can now handle multiple devices, but if you have more than one (I have a Fitbit One and Aria), having one device for each battery level could be "troublesome"

    How do you prefer it:
    One device that handle all battery levels?
    Or one for each device?

    Leave a comment:


  • ORNVM
    replied
    Very Nice!

    Very nice plugin. for some reason when I unzipped it bin and images were not placed correctly, but once I dropped those in the right place everything worked. Probably my error, but thought i'd pass it on if anyone else has issues with install. Very easy setup, and nice addition to home seer. Thanks for making this available!


    +1 on battery level as a value coming across. I have an end of day event that fires off when i dock my phone on the wireless charger that shuts down the house and locks the doors, etc. It would be awesome to add a check to fitbit to determine battery level and tell me to charge it if its below X percent.

    Leave a comment:


  • bpm32
    replied
    FitbitSeer, a Fitbit plugin for HS3 - Need beta testers

    Thank you for your suggestions. I wanted to update you on my progress:

    The good news: I copied the DLL files to the homeseer directory and restarted the Pi. The plugin initialized successfully! I enabled it then attempted to add an account.

    The bad news: The add account option doesn't seem to be working in my case. When I click the "add account" button from the config page, I'm taken to a page that allows me to add a new device and am given three tabs from which to choose: Configuration, Advanced, and Status Graphics. None of these pages give me an opportunity to enter my Fitbit credentials or link to my Fitbit account. (At least nowhere that I've found.)

    I know you said there was no timeline for you testing this on a Linux system, but I just wanted to give you a heads up.

    Thanks for your time!

    Brian


    Sent from my iPad using Tapatalk
    Last edited by bpm32; June 21, 2015, 03:45 PM.

    Leave a comment:


  • Moskus
    replied
    Originally posted by macromark View Post
    Cool!


    Originally posted by jfryhling View Post
    Would be awesome to add Battery Level. But working great.
    I believe I can do that.

    Originally posted by gearyt View Post
    just curious.. does the scale integrate in and update weight info ??
    At the moment I just get the weight from the profile. The profile will reflect the last weigh in, regardless on how you update it. It can be with the Aria (as we use) or you can do that manuall.

    I'm also planning to add the body fat (as you get automatically with Aria).


    Originally posted by bpm32 View Post
    I wasn't able to get this working with my system. I rebooted and saw this in the log:

    Jun-20 10:56:02 PM ErrorExamining properties on plugin (2) HSPI_FitbitSeer.exe: Exception has been thrown by the target of an invocation.

    I'm attempting to run this on a Pi2/full HS3 install. Is this Linux compatible? Or have I gone and screwed up doing the installation procedure?
    I haven't got a clue, to be honest. I'm planning to get a Zee2 so I can test my plugins in the future on Linux, but so far I'm lost.

    There might be an issue with the DLLs I'm using. But again, I haven't tested this myself yet. Sorry.

    I will test this in the future, but I can't promise any dates.



    Something quick and dirty to try, is to copy the two DLL files directy into the HomeSeer directory, as it could be a referencing thing (according to google). That *might* work.

    Leave a comment:


  • bpm32
    replied
    I wasn't able to get this working with my system. I rebooted and saw this in the log:

    Jun-20 10:56:02 PM ErrorExamining properties on plugin (2) HSPI_FitbitSeer.exe: Exception has been thrown by the target of an invocation.

    I'm attempting to run this on a Pi2/full HS3 install. Is this Linux compatible? Or have I gone and screwed up doing the installation procedure? :-)

    Thanks!

    Brian



    Sent from my iPad using Tapatalk

    Leave a comment:


  • gearyt
    replied
    just curious.. does the scale integrate in and update weight info ??

    Leave a comment:

Working...
X