Commit Graph

27 Commits

Author SHA1 Message Date
ccostan ce1a00418c trying to fix the stuff. 2018-08-14 13:16:37 -04:00
ccostan a22342b138 Migrating #408 over from Custom component. 2018-08-03 13:34:52 -04:00
ccostan e54e19c341 Upgrade to 0.73 for #395 2018-07-07 10:23:46 -04:00
ccostan d861710954 Update all Readmes with Links to Diagram. #363 2018-06-30 22:30:19 -04:00
ccostan 29a8534226 Updated to disable Duke Energy since I don't have a smart meter. 2018-06-22 15:21:54 -04:00
ccostan 00531f90be Updated for #384 2018-06-19 22:25:18 -04:00
ccostan e3527e0648 Updated with the new neato component from @dshokouhi 2018-06-19 22:13:46 -04:00
ccostan f7236dfb07 Undo All changes #383 2018-06-19 12:37:41 -04:00
ccostan 5cbfa7a1ef Forgot that this is needed for DB stats.. 2018-06-19 11:22:26 -04:00
ccostan e510b973a0 Update for Duke Energy Beta Testing #383 2018-06-19 11:21:32 -04:00
ccostan fafcb9e691 Updated with @mf_social 's bug find! 2018-03-29 12:54:37 -04:00
ccostan 92164a85d9 Closes #339 - Added a Crap ton of imaging into the twitter feed. 2018-03-17 00:56:57 -04:00
ccostan 3a18df3aff disabled for now until next round of changes. #329 2018-03-13 10:59:52 -04:00
Marc Forth 8d672fbec8
Update fitbit.py 2018-03-13 12:45:14 +00:00
Marc Forth 41f5e492e7
Update fitbit.py 2018-03-13 12:34:28 +00:00
Marc Forth 4750e12fe2
Update fitbit.py 2018-03-13 12:28:23 +00:00
Marc Forth a33b5da819
Create fitbit.py
Hi Carlo,

## TLDR - Maybe made the fitbit component support multiple devices.  (see disclaimer and instructions below!)

~~~~~~~~~~~~~~~~

## Long version...

I've been looking in to sleep monitoring and was looking at getting fitbits for my other-half and myself, but it's only any use spending the money if I can monitor us both with homeassistant.  As such, I did a bit of research and saw the various threads that show the current component is only working with one device.  So, I decided to have a look at amending it.  Problem being, I can't test it because I don't have the devices to test it on, and I'm not buying the devices until I know it works.

## Disclaimer

I am not a python programmer, I'm just learning the platform now, but I get the logic so I've fumbled through!  It appears to be working as far as I can test it without the devices here.  If this breaks anything I'm really really sorry!  Make sure you follow the instructions below for some safeguarding!

## Instructions

1 - Make a backup copy of your current fitbit.conf somewhere away from your homeassistant instance.

2 - Delete your current local copy of fitbit.conf, and add this PR to your custom_components folder

3 - Change your configuration.yaml (or appropriate package/include) to:

```
sensor:
  - platform: fitbit
    filename: carlo.conf

  - platform: fitbit
    filename: wife.conf
```

plus whatever monitored conditions you want and your clock preference if relevant.

4 -Restart homeassistant

5 - You should get a configurator card for the two entities, copy the contents of your old fitbit.conf in to carlo.conf , sort out the details for your wife's in to hers.

6 - Let me know!!!

## If it all goes wrong

Delete this custom component, reinstate your original fitbit.conf, revert your configuration.yaml (or appropriate include/package).

##Disclaimer 2

If it doesn't work, I might not be able to do much more as I am not a python programmer, but let me know because it might be something I can work out.

If it does work I'll get another couple of people to test and then submit it as an update for the integrated component.
2018-03-13 12:14:53 +00:00
ccostan 048e16d93b Steve Test 2018-03-12 16:04:59 -04:00
ccostan f632167b51 Minor Edit 2018-03-06 17:15:32 -05:00
ccostan 5fc2f75f24 #324 Updated sizes.. 2018-03-06 16:51:57 -05:00
ccostan 3f3d88db9d #324 - way too big. 2018-03-06 16:30:00 -05:00
ccostan 16518e7b39 #324 - Added to all existing readmes. 2018-03-06 15:29:31 -05:00
ccostan 862facfb82 It might just be the best dressed repo on the internet. #314 2018-03-01 00:23:45 -05:00
ccostan f79208f221 Just a quick Note on custom components. #314 2018-02-28 23:57:10 -05:00
ccostan 95e42561d7 Let's see if that worked! #314 - Adding code hyperlink to menu. 2018-02-28 23:44:20 -05:00
ccostan f9307cc080 Possibly the best documented Repo on the internet. Maybe. #314 2018-02-28 23:31:46 -05:00
ccostan 40f8fd2edc You can find the entire repo here. 2018-02-28 19:43:00 -05:00