Author Topic: ALTHue : Read Me First - the Alternate Edition of the Philips Hue Plugin  (Read 6337 times)

Offline amg0

  • Moderator
  • Sr. Hero Member
  • *****
  • Posts: 2949
  • Karma: +192/-8
I was not satisfied with the features and the quality of the Hue plugin so I created this ALTHue plugin. in the same vein as ALTUI, this is the Alternate Edition of the Hue Plugin. 

First version is 0.1 and It supports pairing with the hub, creating Hue lamps ( including RGB ) and Hue Motion sensors and make them all appear as Vera devices , ready for your scenes. these are true Vera devices , so using same device types , same device variables and same device Upnp actions.

Install and Setup instructions can be found here : https://github.com/amg0/ALTHue/blob/master/Doc/ALTHue%20Philips%20Hue%20plugin.pdf

Log
v1.3 - exact reversible law for mapping brightness back and forth
v1.2 - some bug fixes
v0.9 - IKEA support
v0.8 - ability to show and run HUE scenes
v0.7 - better settings on UI5, hardening of RefreshHueData, list and delete Hue app keys
v0.5 - partial working on UI5 ( not RGB )
v0.4 - proper ArmedTripped behavior for motion sensor
v0.3 - few bug fix, JS code refactor to avoid name clashes
v0.1 - initial release

UPNP actions
- SetDebug( bool ) : to set the debug mode or not
- Refresh( ) : to force a data refresh from Hue
- PairWithHue( )  : to trigger a Pairing request , no action if already paired
- UnpairWithHue( )  : to unpair from hue, no action if not paired
- RunHueScene( hue_scene_id )  : to run a particular Hue Scene ( by its Hue ID )

Sources can be found here:
https://github.com/amg0/ALTHue/

Plugin ID on MCV store is : 9066

Easy install
choose one of the methods below

Note: .svg files from Icons folder must be uploaded on:
UI7 => /www/cmh/skins/default/img/devices/device_states
UI5 => /www/cmh/skins/default/icons

on UI5 : you need to install dkjson.lua in /usr/lib/lua/ on your vera manually ( winscp )

Additional step for UI5
manually upload files from  https://github.com/amg0/ALTHue/tree/master/UI5 in your plugin folders.
These are device files ( xml json ) that must override the one installed by the plugin and the store. the  reason is that UI5 does not support some color selection features we use in it. 
UI5 is a nice to have, it is not really supported any more ( untested )

Supported devices ( not limited to, but seen working )
   Type   Model   Misc   Swversion
Color light   IKEA of Sweden TRADFRI bulb E27 CWS opal 600lm      1.3.002
Color temperature   IKEA of Sweden TRADFRI bulb E27 WS opal 980lm      1.2.217
Color temperature   IKEA of Sweden TRADFRI bulb E14 WS opal 400lm      1.2.217
Color temperature   IKEA of Sweden TRADFRI bulb E14 WS opal 400lm      1.2.217
Color temperature light   Philips LTW001      5.105.0.21536
Daylight   Philips PHDL00   Daylight   1.0
Dimmable light   IKEA of Sweden TRADFRI bulb E27 W opal 1000lm      1.2.214
Dimmable light   IKEA of Sweden TRADFRI bulb GU10 W 400lm      1.2.214
Dimmable light   Philips LWB010      1.29.0_r21169
Dimmable light   Philips LWB010      1.29.0_r21169
Dimmable light   Philips LWB010      1.29.0_r21169
Dimmable light   Philips LWB010      1.29.0_r21169
Extended color light   Philips LST002      5.105.0.21169
ZLLLightLevel   Philips SML001   Light Sensor   6.1.0.18912
ZLLPresence   Philips SML001   Motion Sensor   6.1.0.18912
ZLLTemperature   Philips SML001   Temp Sensor   6.1.0.18912

How to use this forum
- read the first post first
- create a new individual post for issues
- add a feature request to the feature request thread for new features
« Last Edit: June 11, 2018, 08:17:58 am by amg0 »

Offline akbooer

  • Master Member
  • *******
  • Posts: 5962
  • Karma: +258/-69
  • "Less is more"
Re: New Plugin : ALTHue - the Alternate Edition of the Philips Hue Plugin
« Reply #1 on: March 28, 2018, 05:20:43 pm »
More Karma to you (again!!)
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline reneboer

  • Hero Member
  • *****
  • Posts: 1325
  • Karma: +73/-30
Re: New Plugin : ALTHue - the Alternate Edition of the Philips Hue Plugin
« Reply #2 on: March 29, 2018, 04:56:05 am »
Nice.
2xVeraLite, VeraEdge, openLuup, ALTUI, 20 switches, 10 dimmers, 20 sensors, 10 scene controllers, 1 Harmony Hub, many plug-ins. Not enough time.