Skip to main content

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)

Uploaded Source

Built Distribution

pysomneoctrl-1.0.0-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page