https://github.com/lostmsu/stack.kasa
https://github.com/lostmsu/stack.kasa
smart-home stack stack-wm
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lostmsu/stack.kasa
- Owner: lostmsu
- License: mit
- Created: 2022-06-07T20:54:22.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-07T22:31:45.000Z (over 1 year ago)
- Last Synced: 2025-04-02T06:09:33.928Z (over 1 year ago)
- Topics: smart-home, stack, stack-wm
- Language: C#
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Stack Widgets for Kasa smart devices
## Example usage
1. Add the following definitions to your layout:
```xml
xmlns:dataSources="clr-namespace:LostTech.Stack.Widgets.DataSources;assembly=LostTech.Stack.Widgets"
xmlns:kasa="clr-namespace:Stack.Kasa;assembly=Stack.Kasa"
```
2. Create a sensor
```xml
```
3. Bind a `TextBlock`
```xml
```
4. Build the project and copy the following files to the `CustomWidgets` folder
(it should be next to your `Layouts` folder):
`Stack.Kasa.dll`, `Newtonsoft.Json.dll`, `slf4net.dll`, and `Kasa.dll`.
5. Restart Stack and load the updated layout.