Puxtril
4e9a3e6b02
Print formatting for IotLightPreset ( #1216 )
...
Now prints presets as such:
```
[0] Hue: 0 Saturation: 0 Brightness/Value: 100 Temp: 6000 Custom: None Mode: None Id: None
[1] Hue: 0 Saturation: 0 Brightness/Value: 100 Temp: 2500 Custom: None Mode: None Id: None
[2] Hue: 0 Saturation: 0 Brightness/Value: 60 Temp: 2500 Custom: None Mode: None Id: None
[3] Hue: 240 Saturation: 100 Brightness/Value: 100 Temp: 0 Custom: None Mode: None Id: None
```
2024-11-09 18:03:06 +01:00
Steven B.
77b654a9aa
Update try_connect_all to be more efficient and report attempts ( #1222 )
2024-11-01 18:17:18 +00:00
Teemu R.
70c96b5a5d
Initial trigger logs implementation ( #900 )
...
Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
2024-11-01 15:36:09 +00:00
Steven B.
4aec9d302f
Allow enabling experimental devices from environment variable ( #1194 )
2024-10-29 09:30:30 +00:00
Steven B.
048c84d72c
Add https parameter to device class factory ( #1184 )
...
`SMART.TAPOHUB` resolves to different device classes based on the https value
2024-10-22 18:09:35 +01:00
Steven B.
3c865b5fb6
Add try_connect_all to allow initialisation without udp broadcast ( #1171 )
...
- Try all valid combinations of protocol/transport/device class and attempt to connect.
- Add cli command `discover config` to return the connection options after connecting via `try_connect_all`.
- The cli command does not return the actual device for processing as this is not a recommended way to regularly connect to devices.
2024-10-22 14:33:46 +01:00
Steven B.
852116795c
Add discovery list command to cli ( #1183 )
...
Report discovered devices in a concise table format.
2024-10-22 12:15:08 +01:00
Steven B.
dcc36e1dfe
Initial TapoCamera support ( #1165 )
...
Adds experimental support for the Tapo Camera protocol also used by the H200 hub.
Creates a new SslAesTransport and a derived SmartCamera and SmartCameraProtocol.
2024-10-16 16:53:52 +01:00
Steven B.
380fbb93c3
Enable newer encrypted discovery protocol ( #1168 )
2024-10-16 15:28:27 +01:00
Steven B.
7fd8c14c1f
Create common Time module and add time set cli command ( #1157 )
2024-10-15 08:59:25 +01:00
Steven B.
9641edcbc0
Make iot time timezone aware ( #1147 )
...
Also makes on_since for iot devices use device time.
Changes the return value for device.timezone to be tzinfo instead of a dict.
2024-10-08 08:16:51 +01:00
Steven B.
d1b43f5408
Fix cli command for device off ( #1121 )
...
Was previously missed when using the full `kasa device off` command as
opposed to the shortcut.
2024-09-27 17:36:45 +01:00
Teemu R.
b7fa0d2040
Add factory-reset command to cli ( #1108 )
...
Allow reseting devices to factory settings using the cli: `kasa device factory-reset`.
2024-09-21 16:52:52 +02:00
Steven B.
ed033679e5
Split out main cli module into lazily loaded submodules ( #1039 )
2024-07-23 19:13:52 +01:00
Steven B
983aacbc24
Structure cli into a package ( #1038 )
...
PR with just the initial structural changes for the cli to be a package.
Subsequent PR will break out `main.py` into modules. Doing it in two
stages ensure that the commit history will be continuous for `cli.py` >
`cli/main.py`
2024-07-04 14:52:01 +02:00