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.1.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for pysomneoctrl-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f427f03d1c0f729912620fa46fa736f30e2deba1295670ae96dd139f77487b2 |
|
MD5 | fd09854281dd41ecab077fb1ec8c3496 |
|
BLAKE2b-256 | 0a239e2457dcc913dc2c346de284ea372bf7f45d06f658cba9ce402de4555b4f |