Skip to content

LUA gateway between a Philips Hue bridge and MQTT broker

License

Notifications You must be signed in to change notification settings

autoSteve/LUA-hue2mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

LUA-hue2mqtt

Gateway between a Philips Hue bridge and MQTT, written in LUA.

Copyright 2022 Steve Saunders

Script: Hue2mqtt, resident zero sleep

An alternative to https://github.com/owagner/hue2mqtt or https://github.com/hobbyquaker/hue2mqtt.js/ running directly on a CBus Automation Controller.

Utilises the latest Philips V2 REST API, and a topic structure aiming to be identical to its alternatives, so should be a drop-in replacement. The alternatives are quite dated, and make use of a deprecated Philips Hue API that is no longer maintained.

Some limitations:

  • Only on/off and brightness set/lights/ commands are implemented
  • Hue and saturation are not implemented for status topics