Commit Graph

5 Commits

Author SHA1 Message Date
Gilles MOREL beae1f2b97 Logout method
Python2:
- Added HomeSFR.logout () method to logout from service
- moved HomeSFR.get_cookies () method in the HomeSFR class

Python3:
- Added HomeSFR.logout () method to logout from service
- moved HomeSFR.get_cookies () method in the HomeSFR class
2016-05-23 15:11:43 +02:00
Gilles MOREL 15bc8e86bd Copy Python3 code to Python2 lib
Python2:
- Added author
- Added Sensor class
- Added HomeSFR class
- Corrected date error for cameras (datetime.datetime.strptime does not understand '0000-00-00 00:00:00')
- Added encoding error TODO

Python3:
- Changed __name__
- Remove import of datetime.timezone
- Corrected date error for cameras (datetime.datetime.strptime does not understand '0000-00-00 00:00:00')
2016-05-23 12:03:27 +02:00
Gilles MOREL 9af3dc69ab Cookies Import and Export
Python3:
- Added cookies import and export
- Changed HomeSFR.login () behavior if there's no username and password
- Changed HomeSFR.__str__ () if there's no username
- Added HomeSFR.get_cookies ()
- Set autologin always to False is there no credential to use
2016-05-23 09:23:26 +02:00
Gilles MOREL 60974181fa Documentation changes
Python3:
- Changed description of HomeSFR.get_sensors ()
- Changed description of HomeSFR.get_all_sensors ()
- Changed type of return of HomeSFR.get_all_sensors (), it was a list and the doc said it was a tuple
2016-05-23 08:41:07 +02:00
Gilles MOREL 11050152c3 Gerenal:
- Changed structure to allow other languages
- Added Python2's file to ignore in .gitignore
- Changed README with a language-free text

Python2:
- Added initial file with top

Python3:
- Added Sensor class for better reading of values
- Changed return of HomeSFR.get_sensor () method
2016-05-22 22:57:39 +02:00