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.2.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for pysomneoctrl-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f4ca09a45fa6f147cad9735c49dd98b83d7f6701808706c686f2499f776ce3 |
|
MD5 | 560197a9a9fda95eb46324bc1ec1aee9 |
|
BLAKE2b-256 | d61b33a7a0c91faf09dd8f6ab725d009df38e0bd5c3a811825c7fef20c504c70 |