Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motion-sensor

Python example using the Philips Hue API and the Philips Hue motion sensor. The motion sensor this is using has temperature information in celcius available in the sensor's state information.

The Philips Hue API has a list of sensors that are supported. The Philips Hue motion sensor includes the ZLLTemperature sensor. You can find details about the sensor here. The information that we want to retrieve from the sensor state is in the temperature property.

Property Data Type Description
temperature int32 Current temperature in 0.01 degrees Celsius. (3000 is 30.00 degree) Bridge does not verify the range of the value.

Command Line Args

Short Option Long Option Description
-b --bridge Bridge, or hub, IP address
-u --username Username created for interacting with the Hue Bridge
-i --interval Interval in seconds to check motion sensor temperature value
-s --sensors Comma separated list of Sensor IDs to monitor

About

Python example using the Philips Hue API and the Philips Hue motion sensor

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages