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.4.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for pysomneoctrl-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e87c428d693ee903551d84f1e2b561471abcf2c014a5bca4797e67fb6acec2fc |
|
MD5 | 6384dc8dcb2c2ca8e2f0cb2e7ddbdf47 |
|
BLAKE2b-256 | 9c13910bcb933953e8f56c9e444cd8e796e6c1a6a7932398653c6a997a1d34e9 |