Commit graph

132 commits

Author SHA1 Message Date
Andre Basche b04c601ad6 Add log for empty token 2023-04-21 23:51:35 +02:00
Miguel Ángel 78bc85132f Black Style 2023-04-19 20:12:52 +02:00
Miguel Ángel 191928287f Override Oven attributes when is disconnected 2023-04-19 19:29:59 +02:00
Miguel Ángel c0aab8b99d Merge remote-tracking branch 'origin/main' 2023-04-19 18:57:13 +02:00
Andre Basche 411effd814 Fix disappearing programs 2023-04-17 00:37:55 +02:00
Andre Basche 04f19c4609 Fix error when sending commands 2023-04-17 00:07:22 +02:00
Miguel Ángel a68dcac379 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	pyhon/appliance.py
2023-04-16 16:37:11 +02:00
Andre Basche 6c44aa895d Disable zones for devices with just 1 zone, fixes #11 2023-04-16 13:33:21 +02:00
Andre Basche 8372c75e30 expose ancillary parameter in settings 2023-04-16 13:11:56 +02:00
Miguel Ángel 40cc0013a5 Override Oven attributes when is disconnected 2023-04-16 11:36:10 +02:00
Miguel Ángel f2aa3dc8fd Merge remote-tracking branch 'origin/main'
# Conflicts:
#	pyhon/appliances/ov.py
2023-04-16 09:58:00 +02:00
Andre Basche e887371bec expose ancillary parameter in settings 2023-04-16 04:23:08 +02:00
Andre Basche 5b91747ec1 Add dish washer 2023-04-16 02:46:30 +02:00
Andre Basche 8da2018302 Set fixed values 2023-04-16 02:44:20 +02:00
Andre Basche 03187745bf Split up parameters 2023-04-16 01:43:37 +02:00
Andre Basche 461a247ad3 More type hints 2023-04-16 01:36:10 +02:00
Andre Basche 834f25a639 Remove filters, filter out recies #9 2023-04-16 00:40:59 +02:00
Andre Basche 46ff9be4a2 Fix code depts 2023-04-15 23:02:37 +02:00
Andre Basche a1618bb18a Fix missing zone attribute 2023-04-15 22:25:34 +02:00
Andre Basche a957d7ac0f Fix error for zone devices 2023-04-15 21:58:20 +02:00
Andre Basche f54b7b2dbf Add mypy checks 2023-04-15 15:57:36 +02:00
Andre Basche b6ca12ebff Use dataclass for login data 2023-04-15 14:37:27 +02:00
Andre Basche 4a0ee8569b Refactor, add hon auth handler 2023-04-15 14:22:04 +02:00
Andre Basche d52d622785 Add zone support 2023-04-15 04:16:50 +02:00
Andre Basche d26e33a055 Fix error in starting programs 2023-04-15 00:29:24 +02:00
Andre Basche 0301427497 Remove coords from diagnose 2023-04-14 23:24:31 +02:00
Andre Basche 272556586e Refresh token workaround because expires to fast 2023-04-14 23:15:27 +02:00
Andre Basche e82c14ec99 Add some type hints 2023-04-13 23:35:43 +02:00
Andre Basche 970b94bfa7 Fix unclear session errors 2023-04-12 19:14:50 +02:00
Andre Basche 33454f68b8 Encode username/password 2023-04-12 02:10:37 +02:00
Andre Basche 6b2c60d552 Fix session issues 2023-04-12 01:07:33 +02:00
Andre Basche 46e6a85e84 add diagnose property for devices 2023-04-11 22:14:36 +02:00
Andre Basche 8c832b44cd Fix token refresh problems 2023-04-11 17:09:02 +02:00
Andre Basche b4b782c52c Improve logging for authentication errors 2023-04-11 00:59:00 +02:00
Andre Basche e857fe91de Fix login issue 2023-04-10 20:32:35 +02:00
Andre Basche 79c9678492 Fix float convertion 2023-04-10 18:48:46 +02:00
Andre Basche 7c49589944 Use float for range parameter 2023-04-10 16:59:10 +02:00
Andre Basche f421cf1ce6 Merge branch 'refactor' 2023-04-10 06:50:25 +02:00
Andre Basche ba208ffd98 Improve logging 2023-04-10 06:45:56 +02:00
Andre Basche 3e3fc7ad66 Fix translation command 2023-04-10 06:45:56 +02:00
Andre Basche e8531f3faf Small fixes, Add checks 2023-04-10 06:45:56 +02:00
Andre Basche 2597cbd883 Use regex oven filters #9 2023-04-09 21:49:58 +02:00
Andre Basche 8dc6cd71cd Format with black 2023-04-09 20:55:36 +02:00
Andre Basche 36fad84ee2 Refactor api access 2023-04-09 20:50:28 +02:00
Andre Basche eb6741145a Get new token via refresh-token #10 2023-04-09 18:43:57 +02:00
Andre Basche 8fa01343bc Use connection handler 2023-04-09 18:13:50 +02:00
Miguel Ángel 18b0ecdd68 Override Oven attributes when is disconnected 2023-04-08 22:24:14 +02:00
Andre Basche 36079c3c77 Add oven and program filter 2023-04-08 04:06:36 +02:00
Andre Basche 6d40e73881 Fix missing command attribute 2023-03-22 23:09:48 +01:00
Andre Basche 6c3da96a03 Fix not showing device active when running 2023-03-22 22:42:40 +01:00
drudgebg 5e32dd76c0
Create td.py
Need to work with Tumble Dryers. Tested and work with Tumble Dryer haier HD80-A3959.
2023-03-21 08:39:20 +02:00
Andre Basche 5ec1a760f6 get translation keys 2023-03-21 01:11:33 +01:00
Andre Basche cd5a4c345e Add more api calls 2023-03-21 01:11:33 +01:00
Alexandre Leites e12edda588 Added WD params 2023-03-18 18:02:20 +01:00
Andre Basche 409aa11fcb Clean up authentication 2023-03-17 01:56:04 +01:00
Andre Basche f73ef26e74 Restore last command value only if possible #6 2023-03-14 23:17:36 +01:00
Alexandre Leites c9d4461f8f
Update commands.py to fix None values 2023-03-14 14:30:00 +01:00
Alexandre Leites 318e60e91e
Update device.py trying to set fixed value from history 2023-03-14 14:29:25 +01:00
Alexandre Leites fde41ac456
Update parameter.py to fix parameter being set from history 2023-03-14 14:28:22 +01:00
Andre Basche 7c99ffeaf7 Ignore virtual virtual wine cellar #3 2023-03-13 23:07:36 +01:00
Alexandre Leites f00ee03c0d
Update parameter.py to support missing parameter in some cases with HW5600 2023-03-13 03:59:42 +01:00
Alexandre Leites ec7355e341
Update api.py to correctly set firmwareId 2023-03-13 03:58:45 +01:00
Andre Basche 96233dd7fd Handle appliances without attributes 2023-03-11 22:55:11 +01:00
Andre Basche ef4f7f7398 Restore last command parameters 2023-03-11 02:31:56 +01:00
Andre Basche fc8c92d538 cut and lower program keys 2023-03-11 01:10:27 +01:00
Andre Basche fe4f6e766e Fix connection loose 2023-03-11 00:28:53 +01:00
Andre Basche 6b346f766f Fix command start 2023-03-08 23:01:59 +01:00
Andre Basche f52f84711f Fix bugs 2023-03-08 22:18:44 +01:00
Andre Basche c4d21be388 Print all keys 2023-03-08 21:53:53 +01:00
Andre Basche 5acc81acc3 Clean up attribute structure 2023-03-08 21:13:19 +01:00
Andre Basche 43d61ab853 Show more command data 2023-03-06 19:45:46 +01:00
Andre Basche 79a121263f Fix connection issues 2023-03-06 18:57:08 +01:00
Andre Basche 00ac6912e2 Fixed setting wrong current value 2023-03-05 19:03:03 +01:00
Andre Basche 0f630e854e Read out connection 2023-03-05 18:46:51 +01:00
Andre Basche 326b5edcff More documentation 2023-03-04 22:19:48 +01:00
Andre Basche 993a4c1d79 Improve cmd tool, write README 2023-03-04 21:29:00 +01:00
Andre Basche 22276832cd Fix wrong values 2023-03-03 18:24:19 +01:00
Andre Basche 83bb99a34e Create cmd tool, full parameter name 2023-02-19 19:43:41 +01:00
Andre Basche 531548f000 Improve parameter settings 2023-02-19 03:30:48 +01:00
Andre Basche 3efa2fd3f5 Expose settings 2023-02-18 22:26:33 +01:00
Andre Basche 984d1b91b7 Improve 2023-02-13 03:36:09 +01:00
Andre Basche cf481e5f13 Init commit 2023-02-13 01:41:38 +01:00