Thank you for helping. Every fix makes a device work for everyone who owns one, long after the remote that came with it is gone. You don't need to be a programmer: a clear report helps too.
- Report a problem (no code needed)
- Fix a profile
- Add a device
- Check your change
- What makes a good profile
- Propose a change to the spec
Report a problem (no code needed)
Open an issue and pick a template: a button doesn't work, a device is missing, or something else is wrong. Give the manufacturer and model (usually on a sticker on the back), the profile you used and what happened.
Fix a profile
- Find the file. The id gives the path:
hubbo:apple-tvisprofiles/hubbo/apple-tv.json, andharmony:498661isprofiles/harmony/498/498661.json. No id? Search this repository for the model. - Edit it, on GitHub with the pencil button or in a clone.
- Raise its
revisionby one. - Say where the fix came from in
meta.sources, such as"Tested on an LG OLED55C1, 2026-11". - Open a pull request.
Many Harmony devices share a codeset ("codeset": "<id>", stored in
codesets/<first two characters>/<id>.json):
- to fix a code for every device that shares it, edit the codeset file and say so in the pull request; a maintainer renames it and updates its devices;
- to fix it for one device, replace
"codeset": "<id>"in that device's file with"commands": { ... }copied from the codeset, and edit there.
Files are UTF-8 JSON with 2-space indentation and a trailing newline;
tools/bin/format fixes one that isn't. A codeset's name is the hash of its
commands, so it never changes in place. Ids are unique, every codeset is used by some device, and
all data is at the current spec version.
Add a device
- Copy the closest profile: a generic one from
profiles/hubbo/for a Bluetooth streamer, or a device of the same kind and manufacturer for infrared. - Save it as
profiles/hubbo/<manufacturer>-<model>.json, lowercase with dashes. - Set
id(hubbo:<manufacturer>-<model>),revision1,source"hubbo",manufacturer,modelandkind. - Change what differs: commands, power, timing, inputs.
- Fill in
meta:confidence(highif tested on the device),sources, and inverifyanything not yet tested. - If it replaces a Harmony device, delete that file and set
meta.harmony.global_device_id.
Check your change
Every pull request is checked automatically:
- the profile matches the specification and its schema;
- every command a step, input, channel or button names exists;
- the file is where its id says, in the file format, and the id is unique;
- a changed profile has a higher
revision.
A failed check says what to fix. To run the checks yourself, see the maintainer notes (they need only Docker).
What makes a good profile
- Standard command names from the vocabulary (
DirectionUp,Select,Back,VolumeUp,InputHdmi1), so remote buttons fill themselves. Different keys keep different names:Back,ExitandReturnare three keys. - Other names are fine for other keys: letters and digits, up to 32. Put the remote's own
spelling in
labelif it has punctuation. - The kind from
kinds.json: the main thing the device is. - Power on that's safe to repeat: a real on command or wake key if there is one;
toggleif there's only a toggle; never steps that move through a menu. - Direct inputs (
InputHdmi1), not cycling. - Only what you know works, with
confidenceandsourcesthat say how you know.
Propose a change to the spec
- Open an issue with the "Spec change" template: the problem, a real device that needs it, and the change.
- Once agreed, one pull request carries it:
- the specification text, with the version raised by one;
- a new
docs/schema/v<N+1>/(earlier folders never change); - a changelog entry: what changed, in a line or two; - the migration that moves every profile to the new version, and the migrated profiles.
Any change to what a valid profile is counts, however small. A rewording that keeps the meaning doesn't, and needs no version or changelog entry.
License
Contributions are released under CC0 1.0, like our own work here (see the README).
This page comes from
CONTRIBUTING.md in Hubbo Device Profiles.
The spec and its schemas are CC0.