logantgt / harmony-span

A Node.JS application that allows you to trigger external webhooks from your Logitech Harmony Hub and compatible remotes.
MIT License
27 stars 14 forks source link

Docker / HomeAssistant / NodeRed integration #22

Open werddomain opened 3 years ago

werddomain commented 3 years ago

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 :)

michaelewers commented 3 years ago

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 commented 3 years ago

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.

logantgt commented 3 years ago

Merged. Thank you again!

kertofer commented 3 years ago

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!

JackJPowell commented 3 years ago

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.