update README to reflect new way of creating a panel client (quickstart)

This commit is contained in:
Chris Oloff 2026-01-14 18:57:35 +02:00
parent c91e262680
commit 785172104f

View file

@ -6,6 +6,21 @@ and to allow users to interact with it.
# Quickstart # Quickstart
## Create a View for a Watt42 System, using a Template
1. Ensure you've got Python and Poetry installed (see Prerequisites below).
2. Run the install script to create a new view project:
```bash
wget -q -O - https://source.c3.uber5.com/watt42-public/install/raw/branch/main/install.sh | TARGET=view bash
```
3. Follow the instructions printed by the install script to set up your new view
project.
## "Hello World" Example
Given a Watt42 system that exposes the status of a smart device (`is_geyser_on` Given a Watt42 system that exposes the status of a smart device (`is_geyser_on`
is either `true` or `false`), the following code creates a simple view that is either `true` or `false`), the following code creates a simple view that
shows the status of the device. shows the status of the device.