From 6e8f62fbde6ac21d58d66726b67c7fb935f22d4e Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Wed, 25 Dec 2019 19:43:42 +0100 Subject: [PATCH] Update readme --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c0f98a1..32fb5a8 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,9 @@ The main objective is to provide you access to all available devices without own - `setValue(address, value_key, value, force=False)` - `getValue(address, value_key)` - `getDeviceDescription(address)` -- `getParamsetDesctiption(address, paramset)` -- `getParamset(address, paramset)` (The `mode` argument of a real CCU is not supported) +- `getParamsetDesctiption(address, paramset_key)` +- `getParamset(address, paramset_key)` (The `mode` argument of a real CCU is not supported) +- `putParamset(address, paramset_key, paramset, force=False)` (The `rx_mode` argument of a real CCU is not supported) - `listDevices()` - `getServiceMessages()` (Returns dummy-error) - `supportedDevices()` (Proprietary, `dict` of supported devices) @@ -36,6 +37,8 @@ s.getValue('VCU0000348:1', 'STATE') # Set state to 2 # Set force=True because parameter does not allow write operations (it's a sensor updated by hardware in real life) s.setValue('VCU0000348:1', 'STATE', 2, force=True) +# Set state to 1 using the putParamset method +s.putParamset('VCU0000348:1', 'VALUES', {'STATE': 1}, force=True) # Stop server s.stop() ```