harmony-span icon indicating copy to clipboard operation
harmony-span copied to clipboard

Docker / HomeAssistant / NodeRed integration

Open werddomain opened this issue 5 years ago • 5 comments

It will be nice to have a docker image so i can add it on my raspberry pi.

Im not so good on nodejs, but i dont think it will be hard...

On node-red, i dont know the process for creating an addon (palette) but it use nodejs.

Creating Home Assistant Plugin Creating node-red plugin

Hope to see your project on my favorite platform :)

werddomain avatar Oct 10 '20 17:10 werddomain

See my response to Issue #19 for how to get it running on a Raspberry PI (Runs fine on my Raspi). And see Issue #21 for supporting MQTT. It's easy to integrate with Node-RED, then. Already works on my Raspi, but I still have some issues to fix before creating the pull request. And I've created a new UI that looks a bit fresher:

harmonySpan

michaelewers avatar Oct 10 '20 20:10 michaelewers

Seems like @AShifter doesn't have the time to merge my pull request. Find it here: https://github.com/michaelewers/harmony-span/tree/issue/%2321 It supports an improved UI and sending MQTT-messages on top of calling webhooks. This makes the integration with nodered much easier.

michaelewers avatar Oct 17 '20 16:10 michaelewers

Merged. Thank you again!

logantgt avatar Oct 21 '20 00:10 logantgt

Seems like @AShifter doesn't have the time to merge my pull request. Find it here: https://github.com/michaelewers/harmony-span/tree/issue/%2321 It supports an improved UI and sending MQTT-messages on top of calling webhooks. This makes the integration with nodered much easier.

@michaelewers Andrew says he has merged this, but I do not see the new code anywhere? The binaries are still from July? Edit: Nevermind, I just pulled node and npm and ran it from the source. This is awesome guys!

kertofer avatar Dec 17 '20 02:12 kertofer

I'm not sure of the proper protocol for this. Hopefully I'm not way off base. I created a docker container from your project. It may not be done 100% correctly though. It does work and I'm running it now myself. I'm pretty sure right now it's restricted to running on port 8060 as that's what your express server is configured to run on. I plan on researching that this weekend but any input is welcome.

JackJPowell avatar Jan 12 '21 01:01 JackJPowell