agentsclimarketplace

Control lighting

Skill sumitaich1998/jarvisvr/skills/smart-home/control-lighting

An AI agentic operating system for mixed reality on the Meta Quest 3 — your own J.A.R.V.I.S. Multi-agent orchestration, multimodal perception (sight/hearing/gaze), 42 holographic widgets, 20 LLM providers.

Install
npx -y skills add sumitaich1998/jarvisvr --skill control-lighting

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Control smart lights — on/off, brightness, and grouping by room — via a smart home panel. Use for "turn on the lights", "dim the living room to 30%", "lights off", or "warm up the bedroom lights". Triggers: lights, lamp, brightness, dim, brighten, turn on/off lights, set lights to.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.6 KB, as published. Nobody here has run it

Control Lighting

Render and drive light devices on a smart_home_panel. Lights use a boolean on and a 0–100 level (brightness).

Steps

  1. Resolve scope. Which room/group? Use the named room or the user's current room (from client.scene). If unclear and it matters, clarify-intent.
  2. Compute the target state. "On" → on:true; "dim to 30%" → level:30; "off" → on:false. "Warm/cool" maps to a color_temp-style key if the device supports it (state allows device-specific keys).
  3. Render/refresh the panel with show_smart_home, scoped to lights.
  4. Apply & confirm — emit holo.update reflecting the new states and a short agent.speech.
  5. React to manual control events from the panel.

Output

smart_home_panel (show_smart_home, props per registry.json):

{ "widget_type": "smart_home_panel",
  "transform": { "anchor": "world", "billboard": true },
  "props": { "room": "Living Room",
             "devices": [
               { "id": "light_1", "name": "Ceiling Light", "type": "light", "state": { "on": true, "level": 30 } },
               { "id": "light_2", "name": "Lamp", "type": "light", "state": { "on": false, "level": 0 } } ] },
  "interactions": ["tap","grab","toggle","slider"] }

Incoming control (client.interaction, §5.11):

{ "object_id": "O_home", "widget_type": "smart_home_panel", "action": "slider",
  "element": "device_slider", "value": { "device_id": "light_1", "level": 55 } }

→ update light_1.state.level, holo.update. agent.speech: "Living room dimmed to 30%."

Edge cases

  • No lights in scope → say none were found for that room; list known rooms.
  • "All lights" → include every light device across rooms.
  • Brightness on an off light → setting level>0 implies on:true.
  • Unsupported color/temp → set what's supported, mention what isn't.
  • Climate / locks → not this skill: use manage-climate / secure-home.
  • Whole-mood change ("movie night") → that's run-home-scene.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.