Skip to main content

pylitetouch

Litetouch Integration library for interfacing with Savant SSL-P018 / 5000LC Controllers

Implemented Features:

  • Turn Load on by Load ID
  • Turn Load off by Load ID
  • Set Brightness Level by Load ID
  • Receive LED updates by keypad and button (events to determine if a load associated to the button is turned on or off)
    • Returned as: Event Keypad_Button Status //Example: RLEDU 22_1 1 Keypad 22 button 1 is on.

In Development:

  • Request LED States by Keypad

SAMPLE:

import pylitetouch 
import time

host = '192.168.1.65'
port = 10001

load = 105
lvl = 90
kp = 22
but = 1

def callback(msg, args, state):

    """Show the message are arguments."""

    print(msg, args)



LT = pylitetouch.LiteTouch(host,port,callback)



LT.set_loadlevel(load,lvl)

LT.set_loadon(load)
LT.get_led_states(22,1)
LT.set_loadoff(load)

LT.toggle_switch(22,1)

print('Waiting for Messages')
time.sleep(10.)

print('Close Connection')
LT.close()

Release files for pylitetouch 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylitetouch 0.1.8
File Size Uploaded
pylitetouch-0.1.8.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylitetouch 0.1.8
File Interpreter ABI Platform
pylitetouch-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 21.6 kB

Release files / pylitetouch-0.1.8.tar.gz

Download URL pylitetouch-0.1.8.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7002abc993f8d4c68fb4367356a641fcf5a549bb8088821c4aa547f3dadc436f
BLAKE2b-256 checksum
How to use checksums
d260d855208dcc1ee142ecb292e20853464d5497f0208c948cc248dd41d4ad23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

Release files / pylitetouch-0.1.8-py3-none-any.whl

Download URL pylitetouch-0.1.8-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77266d535f44b156762c72acf5a7315463d019b58ac77287e16328b7822a0815
BLAKE2b-256 checksum
How to use checksums
6a42b35aeeabb6e9e4f85de2f10013c7cb72309a3835d62e4f8896194dbe3b18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page