Hi Everyone im looking to improve my setup and have a few questions about Hue
Summary: My hue setup works fine & is connected to OH using the Official Binding and the Motion sensors Using the HTTP Binding im wondering what else can be done using the http binding
- Can I use these that I have found in the Bridge API under http://192.168.0.73/api/========/sensors to provide information to if the sensors are online and working fine iif so how would i get this info into OH?
reachable":true
certified":true
"alert":"none"
-
does zigbee have a signal strengh that i can pull from he hub ?
-
What else can be pulled or sent too the hub?
someone gave me this code a while ago i think it was @cweitkamp does anyone have different code what other things can i do ?
rule "Switch Hue Motion Sensor ON / OFF"
when
Item hueMotionSensorStatus changed
then
val url = "http//:192.168.0.73/api/m=====================Yi/sensors/15/config"
var String body = ""
if( hueMotionSensorStatus.state != ON ) {
body = '{"on":false}'
} else {
body = '{"on":true}'
}
logInfo("demo", "Send command '{}' to {}", body, url)
sendHttpPutRequest(url, "application/json", body)
end
This code allows you to enable/disable a motion sensor without using the app its using the http binding not the official hue binding