Hue bridge - new implementation
Posted: Sunday 13 February 2022 20:45
Hi,
I switched back from different home automation implementation to domoticz that i find the most stable home automation out there that runs on my raspberry. Thanks domoticz and its community for that!
I use Alexa as voice control and was ... hum... disapointed to see that integrating it was not straightforward.
After testing ha-bridge that looked promissiing: i liked that it didn't need to publish domoticz to the internet and expected lower latencies switching lamps on/off....
What a disapointment... i had to play arround to check why discovery didn't work and apparently it was on the way to get there.
Another thing that brushed me in the wrong sense: its based on java... how oldschool and a memory waste (plz don't hold it on me it is just misconceptions i have on java).
So...
I build a solution based on golang to stay low ressources and easily compile for raspberry!
Anyone that wants to test it (runs for more than a week at home): find it on my github > https://github.com/cblomart/go-hue-bridge
I'll work on having some binary release and service (systemd) integation in the coming weeks.
For now you can build for raspberry:
Youl'll need a config file in ```/etc/go-hue-bridge.yaml``` to point at your domoticz installation. serial, uuid and ip should be generated on first run if there is no config file. If you have multiple ip's on the box, you'll need to indicate it manually.
Just my 2cents to the community
Feedback and comments welcome, don't hesitate to open issues for asks/remarks!
I switched back from different home automation implementation to domoticz that i find the most stable home automation out there that runs on my raspberry. Thanks domoticz and its community for that!
I use Alexa as voice control and was ... hum... disapointed to see that integrating it was not straightforward.
After testing ha-bridge that looked promissiing: i liked that it didn't need to publish domoticz to the internet and expected lower latencies switching lamps on/off....
What a disapointment... i had to play arround to check why discovery didn't work and apparently it was on the way to get there.
Another thing that brushed me in the wrong sense: its based on java... how oldschool and a memory waste (plz don't hold it on me it is just misconceptions i have on java).
So...
I build a solution based on golang to stay low ressources and easily compile for raspberry!
Anyone that wants to test it (runs for more than a week at home): find it on my github > https://github.com/cblomart/go-hue-bridge
I'll work on having some binary release and service (systemd) integation in the coming weeks.
For now you can build for raspberry:
Code: Select all
git clone https://github.com/cblomart/go-hue-bridge
cd ./go-hue-bridge
GOOS=linux GOARCH=arm GOARM=7 go build .
Code: Select all
serial: {serial}
uuid:{uuid}
ipaddress: {ip}
providers:
- name: domo
type: domoticz
ipaddress: "127.0.0.1"
port: "8080"
startindex: 20

Feedback and comments welcome, don't hesitate to open issues for asks/remarks!