carbonian.org / manual pages
HOME.CONF(5) Carbonian Manual HOME.CONF(5)

home.conf - the house's devices of carbonian-home

One key value per line. /etc/carbonian/home.conf is read first, then ~/.config/carbonian/home.conf, which wins key by key. carbonian-home(1) reads them when it starts; a bad value is ignored. The token is not here: it goes alone in ~/.config/carbonian/thinq-token, mode 600.

How often the widget reads the state while the widgets are on screen; never below 15s, since LG limits the calls. While the widgets are hidden nothing is read.
The air conditioner the widget selects first, and the one carbonian-home aircon on (and the other commands) act on when no name is given: its name in the ThinQ app or its id (carbonian-home devices lists them). Empty: the widget starts on the account's first one, and a command without a name needs one when there are several.
Where SmartThings sends the browser back after carbonian-home login samsung. Empty: http://localhost:8645/callback, answered by the command itself. SmartThings refuses localhost (403 Forbidden: its gate turns away any address with localhost or 127.0.0.1 in it); then an https address of one's own, such as a page that shows the code to copy and paste in the terminal (Carbonian's, https://carbonian.org/home/callback/samsung/, a page per maker that says where the sign-in came from and what happens next); with no page there, the address the browser ends at is pasted instead. The sign-in adds it to carbonian-home's app in the account (with the token from account.smartthings.com).
The account's country, two letters. It picks LG's region: the Americas, Asia or Europe.
A scene belongs to the house: several devices set at once, by carbonian-home scene NAME or a number key in the widget (1 the first scene, 2 the next, up to 9). Each line is for one kind of device, and a scene can have lines of several kinds.
The kind of device the line is for: aircon (LG's air conditioners) or tv (Samsung's TVs). A line of another kind, or without one, is ignored.
all or names as in the ThinQ app, comma separated (sala de jantar, quarto); case and accents do not matter.
For tv: on, off (an older set is not turned on over the network: its remote does it), volume N, mute, unmute, input NAME (tv, hdmi1), sound NAME (the TV's sound modes). For aircon: on, off; a mode: heat, cool, auto, dry, fan; a target in °C: 23°C, 21.5 or 21,5; fan low, mid, high or auto. A mode, a target or a fan speed turns the unit on. The target goes to the mode the scene sets (or the unit is in), rounded to the unit's step; a value out of its range stops that unit before anything is sent to it.
The lines of one name add up; for a unit two lines name, the later one wins. A scene in ~/.config/carbonian/home.conf replaces the one of the same name in /etc/carbonian/home.conf. What a unit already is (on, the mode, the fan) is not sent again. A line that cannot be read is ignored, and said on the command line.

/etc/carbonian/home.conf
~/.config/carbonian/home.conf

refresh 2m
aircon Suite
# coming home on a cold day
scene inverno   aircon   all                     heat 23°C fan low
# summer
scene verao     aircon   all                     cool 19°C fan mid
# the night: the bedrooms cool, the rest off
scene noite     aircon   quarto, suíte           cool 22°C fan low
scene noite     aircon   sala, sala de jantar    off

carbonian-home(1)

October 2026 Carbonian