I’ve recently got an IR Blaster which will accept a Base64 code over MQTT to be sent. It works in isolation, and now I need to work out how to integrate this with OpenHAB.
I want to achieve a couple of things:
- Remote control style buttons on the UI (sitemap mainly), which may spill over multiple widgets for different things (e.g. volume).
- Ability to orchestrate multiple commands in a script.
I’ve had some joy before creating command buttons for an item on a sitemap, but I’m struggling with the metadata, and I think that’s because a base64 string frequently contains an equals sign at the end for padding, which seems to bork the sitemap mapping. A backslash doesn’t seem to resolve this. Am I doing this right?
I ideally want to use “friendly” commands in the Send Command script actions (e.g. AMP_POWER) instead of having to copy and paste in Base64 strings into multiple scripts. Is this possible to do?
Thanks for any pointers!