Skip to content

Commit c64073d

Browse files
Update README.md
1 parent 4febfed commit c64073d

1 file changed

Lines changed: 21 additions & 6 deletions

File tree

README.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,27 +65,23 @@ Disconnect from the Hyperion server
6565
h.close_connection()
6666
```
6767

68-
### Change host
68+
### host
6969
Change the IP address of the Hyperion server you want to connect to.
7070
```python
7171
h.host = '192.168.1.42'
7272
```
7373
When you change the host you need to reconnect.
74-
75-
### Get host
7674
Get the IP address of the Hyperion server you want to connect to.
7775
```python
7876
my_host = h.host()
7977
```
8078

81-
### Change port
79+
### port
8280
Change the port of the Hyperion server you want to connect to.
8381
```python
8482
h.port = 19444
8583
```
8684
When you change the port you need to reconnect.
87-
88-
### Get port
8985
Get the port of the Hyperion server you want to connect to.
9086
```python
9187
my_port = h.port()
@@ -132,6 +128,16 @@ You can specify one of the modes (RGB/HEX/HLS) to get only that one
132128
my_RGB_color = h.active_color("RGB")
133129
```
134130

131+
### Get other stuff
132+
There are also functions to get:
133+
* adjustment()
134+
* correction()
135+
* temperature()
136+
* transform()
137+
* priorities()
138+
* hostname()
139+
* hyperion_build()
140+
135141
- - - -
136142
### Set solid color
137143
Tell Hyperion to display a solid color passing RED, GREEN and BLUE values [0-255]
@@ -179,6 +185,15 @@ You can change the priority channel for the custom data using the priority param
179185
h.send_led_data(my_led_data, 100, 1000)
180186
```
181187

188+
### Set other stuff
189+
There are also functions to set:
190+
* set_image(image_data, width, height, priority=100, duration=0)
191+
* set_adjustment(identifier, redAdjust, greenAdjust, blueAdjust)
192+
* set_correction(identifier, red, green, blue)
193+
* set_temperature(identifier, red, green, blue)
194+
* set_transform(identifier, blacklevel, gamma, luminanceGain, luminanceMinimum, saturationGain, saturationLGain, threshold, valueGain, whitelevel)
195+
196+
182197
## 📚 Resources
183198

184199
Something

0 commit comments

Comments
 (0)