Hue Motion Sensor

Amg0:

Actually, I have 2 questions.

RPi3, openLuup/AltUI

I’ve been using your plugin with great satisfaction controlling 4 bulbs. The Hue kit that I purchased included the motion sensor which I finally setup last night. I’ve read it was a pretty capable multi-sensor.

My 1st question is about the temperature sensor (picture attached). Is there a configuration option to show the temperature in Fahrenheit? I looked through the AltUI device variables, and also looked at the settings in the Hue app (android), but couldn’t find an option.

My 2nd question is about the dimmable light icons called by the ALTHue plugin. In my /home/pi/vera/cmh-ludl/icons, I have .png icons of Dimmable_Light_0, 25, 50, 100 but none of the in-between levels. Setting a load level target to 30% for example changes the icon to the default zwave icon (picture also attached). The openLuup log shows:

2018-06-14 05:55:21.975   openLuup.http:: GET /data_request?id=action&output_format=json&DeviceNum=45&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=30 HTTP/1.1 tcp{client}: 0x2a9fdd8
2018-06-14 05:55:21.976   luup.call_action:: 45.urn:upnp-org:serviceId:Dimming1.SetLoadLevelTarget 
2018-06-14 05:55:21.976   luup.call_action:: action will be handled by parent: 44
2018-06-14 05:55:21.976   luup.variable_set:: 45.urn:upnp-org:serviceId:Dimming1.LoadLevelTarget was: 50 now: 30 #hooks:0
2018-06-14 05:55:21.977   luup.variable_set:: 45.urn:upnp-org:serviceId:Dimming1.LoadLevelStatus was: 50 now: 30 #hooks:0
2018-06-14 05:55:21.977   luup.variable_set:: 45.urn:upnp-org:serviceId:SwitchPower1.Target was: 1 now: 1 #hooks:0
2018-06-14 05:55:21.984   luup.variable_set:: 45.urn:upnp-org:serviceId:SwitchPower1.Status was: 1 now: 1 #hooks:0
2018-06-14 05:55:21.998   openLuup.http:: request completed (44 bytes, 1 chunks, 22 ms) tcp{client}: 0x2a9fdd8
2018-06-14 05:55:21.998   luup.watch_callback:: 45.urn:upnp-org:serviceId:SwitchPower1.Status function: 0x23b7578
2018-06-14 05:55:22.506   openLuup.http:: request completed (2898 bytes, 1 chunks, 8074 ms) tcp{client}: 0x2c93880
2018-06-14 05:55:23.471   openLuup.http:: GET /cmh/skins/default/img/devices/device_states/dimmable_light_30.png HTTP/1.1 tcp{client}: 0x2c93880
2018-06-14 05:55:23.473   openLuup.servlet:: file not found:icons/dimmable_light_30.png
2018-06-14 05:55:23.473   openLuup.http:: request completed (142 bytes, 0 chunks, 1 ms) tcp{client}: 0x2c93880

Where can I find or download the extra dimmable_light_x0.png icons so that I can add them to my openLuup icons folder?

Thanks for your continued great work!

Chris

[quote=“ChrisTheC, post:1, topic:199333”]Amg0:

Actually, I have 2 questions.

RPi3, openLuup/AltUI

I’ve been using your plugin with great satisfaction controlling 4 bulbs. The Hue kit that I purchased included the motion sensor which I finally setup last night. I’ve read it was a pretty capable multi-sensor.

My 1st question is about the temperature sensor (picture attached). Is there a configuration option to show the temperature in Fahrenheit? I looked through the AltUI device variables, and also looked at the settings in the Hue app (android), but couldn’t find an option.

My 2nd question is about the dimmable light icons called by the ALTHue plugin. In my /home/pi/vera/cmh-ludl/icons, I have .png icons of Dimmable_Light_0, 25, 50, 100 but none of the in-between levels. Setting a load level target to 30% for example changes the icon to the default zwave icon (picture also attached). The openLuup log shows:

2018-06-14 05:55:21.975   openLuup.http:: GET /data_request?id=action&output_format=json&DeviceNum=45&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=30 HTTP/1.1 tcp{client}: 0x2a9fdd8
2018-06-14 05:55:21.976   luup.call_action:: 45.urn:upnp-org:serviceId:Dimming1.SetLoadLevelTarget 
2018-06-14 05:55:21.976   luup.call_action:: action will be handled by parent: 44
2018-06-14 05:55:21.976   luup.variable_set:: 45.urn:upnp-org:serviceId:Dimming1.LoadLevelTarget was: 50 now: 30 #hooks:0
2018-06-14 05:55:21.977   luup.variable_set:: 45.urn:upnp-org:serviceId:Dimming1.LoadLevelStatus was: 50 now: 30 #hooks:0
2018-06-14 05:55:21.977   luup.variable_set:: 45.urn:upnp-org:serviceId:SwitchPower1.Target was: 1 now: 1 #hooks:0
2018-06-14 05:55:21.984   luup.variable_set:: 45.urn:upnp-org:serviceId:SwitchPower1.Status was: 1 now: 1 #hooks:0
2018-06-14 05:55:21.998   openLuup.http:: request completed (44 bytes, 1 chunks, 22 ms) tcp{client}: 0x2a9fdd8
2018-06-14 05:55:21.998   luup.watch_callback:: 45.urn:upnp-org:serviceId:SwitchPower1.Status function: 0x23b7578
2018-06-14 05:55:22.506   openLuup.http:: request completed (2898 bytes, 1 chunks, 8074 ms) tcp{client}: 0x2c93880
2018-06-14 05:55:23.471   openLuup.http:: GET /cmh/skins/default/img/devices/device_states/dimmable_light_30.png HTTP/1.1 tcp{client}: 0x2c93880
2018-06-14 05:55:23.473   openLuup.servlet:: file not found:icons/dimmable_light_30.png
2018-06-14 05:55:23.473   openLuup.http:: request completed (142 bytes, 0 chunks, 1 ms) tcp{client}: 0x2c93880

Where can I find or download the extra dimmable_light_x0.png icons so that I can add them to my openLuup icons folder?

Thanks for your continued great work!

Chris[/quote]

Fahrenheit . I need to look at this and use the vera setting…
Icon. No it is a different techno it uses SVG files and it is vectorial so you do not need intermediate files, it colorized the content. To be honest the code was provided to me by a forum member ( do not have the name handy right now ) it is quite smart. Check out svg file and make sure it s available

in the github version, I have added a variable TempFormat which can take value of C or F according to your needs (C for Celsius )

note that there is no error checking or user interface to edit the variable so please edit it directly and type just C or F , capital letter, one character

@amg0 - Great work on this plugin. Way better design than the others. Thank you.

First Question: I have updated to the latest version of ALTHUE (1.45) into my Vera Plus and I noticed the sensor temp changed from C to F but shows the same value as before. So before was 23C and now is 23F - so no conversion done. How can be fixed ?

image

Second Questions: How can I update the icons for the devices ? Example: as now I have a string lights LED - that shows as a bulb instead the string LED icon. I noticed you have on github a folder with icons.

image

Third Question: With the latest version I can see the dimmer switches under my dashboard. Are supposed the dimmer switches to have any controls buttons ?

image

Fourth Question: The motion sensor shows a not correct lux parameter for the ambient light. The lux should have a zero value as the motion sensor is inside the media room and the room is dark. What can be done to have it fix ?

image

Appreciate your assistance.

1 Like
  1. need to check
  2. check which JSON file is used, what is the exact model / type of device and check if it is present in the https://github.com/amg0/ALTHue/blob/master/LightsAndIcons.md file
  3. it is modeled as a scene controller (urn:schemas-micasaverde-com:device:SceneController:1) so no button on the dashboard display
  4. check the HueData tab of the plugin to verify what is the value reported by Hue.
1 Like

for C or F, there is a variable on the ALTHue device , called TempFormat ( service: urn:upnp-org:serviceId:althue1 ) which should control the value and trigger the numeric conversion. however the “C” or “F” letter displayed in the dashboard is depending on your Vera settings.

please update to v1.49 from https://github.com/amg0/ALTHue

Best Home Automation shopping experience. Shop at getvera!

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules