Python package for Philips Somneo
Project description
from pysomneoctrl import SomneoDevice
somneo = SomneoDevice(ip="1.1.1.1")
# Play Audio:
somneo.audio(True, device="fmr")
# Light:
somneo.bedlight(True, brightness=20, ctype=3)
somneo.nightlight(True)
# Sensors:
print(somneo._data[WUSRD])
# Other data:
somneo._data[ALARMS] -> Alarm data
somneo._data[WURLX] -> Relax Breathe data
somneo._data[WUDSK] -> Sunset data
somneo._data[WUPLY] -> Audio data
somneo._data[WUFMR] -> FM Radio data
somneo._data[PRESETS] -> FM Radio Presets
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysomneoctrl-1.0.0.tar.gz
(9.2 kB
view hashes)
Built Distribution
Close
Hashes for pysomneoctrl-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db9881d997a48177f0a9c89da9cd9df323eb32af400c14b8e8ca1cab7a959139 |
|
MD5 | e3ddd5699a976c4914b00eed32b40a57 |
|
BLAKE2b-256 | 22ea9317ca0c920a42964d36934854d47368d9c07e381d16cd058259e5a32464 |