split-flap icon indicating copy to clipboard operation
split-flap copied to clipboard

Compatability with Home Assistant?

Open skynet01 opened this issue 10 months ago • 5 comments

Would love to dive into this project but wanted to check to see if it's possible to make it compatible with Home Assistant? Maybe Split-Flap can receive messages on MQTT protocol? Or have a version of this firmware running on ESPHome?

The use case is that with Home Assistant it makes it REALLY easy to automate this for messages, notifications, sensor information etc.

skynet01 avatar Apr 18 '24 05:04 skynet01

Found an mqtt version here: https://github.com/nctiggy/split-flap-mqtt maybe they can be merged?

skynet01 avatar Apr 18 '24 06:04 skynet01

@skynet01 - Hello! You beat me to sending that link!

It is something I've considered doing but personally didn't have much use for myself as I don't run a HomeAssistant instance at home so left the idea on the backburner in favour of other projects.

It is something I can potentially look into if I manage to get some time in future, from what I've seen the implementation doesn't look too bad, and happy to post back here if I am making progress on it.

Happy to consider a PR potentially otherwise if capable!

JonnyBooker avatar Apr 18 '24 16:04 JonnyBooker

I'm considering building this display as well. I use Home Assistant as well.

Is there currently no API available to transfer text to the display? Is it only possible through the web interface?

N1c093 avatar Jul 10 '24 15:07 N1c093

You would have to use MQTT integration to send messages to the Split Flap

skynet01 avatar Jul 10 '24 17:07 skynet01

@N1c093 - There is an "API" of sorts, you can submit a POST body to this webserver endpoint and it will update the display, however it is geared around serving the web interface so the action at the end is to redirect

But @skynet01 is correct, the typical implementation is via MQTT and that is the implementation that is followed here. I haven't got the capacity at the moment to be able to look into it unfortunately at this time, apologies. Not saying never just not at the moment.

JonnyBooker avatar Jul 11 '24 07:07 JonnyBooker

I'm closing this issue for now as we have established it is not currently implemented. In future I may introduce a "Proper" API which can be used alongside the current implementation.

This feature will become evident through the releases :)

JonnyBooker avatar Oct 16 '24 13:10 JonnyBooker