Skip to content

A Rust utility that will scan the local network for Hue Motion Sensors to gather temperatures in Celsius calculate Lux levels. The tool then supports sending the data collection to influxdb.

License

Notifications You must be signed in to change notification settings

dariusjs/huereader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huereader

The Huereader will discover local Hue Bridges in the network and scan for Hue Motion, Light and Temperature Sensors. These sensors can then be posted to influxdb.

To get an API key from the bridge

curl -d '{"devicetype:"application_name#device_name"}' --header "Content-Type: application/json" --request POST http://<bridge IP address>/api

Run the program

You will provide a Hue API Key as well as a InfluxDB address, port and database name. Huereader will then run the discovery and metric collection.

HUE_API_KEY=some_api_key cargo run  INFLUX_DB_ADDRESS=http://INFLUXDB_ADDRESS:8086/write?db=homestats huereader

About

A Rust utility that will scan the local network for Hue Motion Sensors to gather temperatures in Celsius calculate Lux levels. The tool then supports sending the data collection to influxdb.

Resources

License

Stars

Watchers

Forks

Packages

No packages published