Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYIO_NAMENoLabel used in replies (default: the host).
MYIO_STDIONo0 or 1 to force stdio on or off. By default stdio runs when started under an MCP client; a terminal start serves only HTTP.
MYIO_WRITENoWrite level: state (outputs, thermostat targets, usens, run flows / scripts, SG mode), config (default; also names, timers, scenes, structures, input/output configuration, thermostat sensor binding, Flow / script files, integration settings), admin (also users, permissions, system files, network, Cloud keys, restart / OTA).
MYIO_SERVERSNoSeveral controllers as a JSON array, e.g. [{"name":"Ground floor","url":"http://192.168.1.178","username":"admin","password":"..."}, ...]. Overrides MYIO_BASE_URL, MYIO_USERNAME and MYIO_PASSWORD; tools take server: "<name>".
MYIO_BASE_URLNoController URL, e.g. http://192.168.1.178 (port 80 by default).
MYIO_PASSWORDNoHTTP Basic auth password for the myIO user.
MYIO_TOOLSETSNoTool groups to load (core, legacy, house, config, automation, diag, integrations, expanders), default all. Example: house,automation or all,-legacy,-expanders.
MYIO_USERNAMENoHTTP Basic auth user name. The account's permission level limits what the tools can do.
MYIO_HTTP_HOSTNoOptional bind address for the Streamable HTTP transport. Defaults to 127.0.0.1; any other address requires MYIO_HTTP_TOKEN (minimum 16 characters) or the server refuses to start.
MYIO_HTTP_PORTNoOptional port for the Streamable HTTP transport. When set, the server also answers MCP over Streamable HTTP at /mcp.
MYIO_HTTP_TOKENNoBearer token for the Streamable HTTP transport. Every request needs Authorization: Bearer <token>.
MYIO_MIN_GAP_MSNoMinimum pause between two requests to one controller in milliseconds, default 150. A Due refuses request bursts.
MYIO_TIMEOUT_MSNoHTTP timeout in milliseconds, default 10000.
MYIO_INSECURE_PARSERNo0 enables the strict Node HTTP parser. The default is lenient, because the firmware writes its headers by hand.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Tools for myIO smart home controllers (real hardware on the LAN; HTTP Basic auth).

  • Call myio_servers / myio_info first: the firmware version decides the feature set (3.12.x Due = base features; 4.x GIGA/Opta = everything). With several controllers every tool takes a server name; without it the first one is used.

  • Element ids are shared by every tool: relays 1..RQ, FET/PWM 101..116 (legacy), groups 501.., PCA dimmer channels 2001..2000+PCAQ, scene load 1000+slot (button/timer targets). myio_find maps names to ids; myio_list_devices shows roles (thermostat, shutter-up/down, rgb: ...).

  • Entities: myio_thermostats / myio_set_thermostat (zones), myio_shutters / myio_shutter (UP/DOWN pairs), myio_rgb / myio_set_rgb, myio_inputs / myio_press_button (wall buttons), myio_usensors / myio_set_usens (4.x universal sensors), myio_output (any output).

  • Configuration (editor level, MYIO_WRITE=config): myio_globals, myio_rename, myio_output_config, myio_input_config (button actions), myio_structures (protection pairs = shutters, joiners, groups), myio_scenes / myio_scene (configuration slots), myio_timers / myio_set_timer, myio_config_vars (any raw setting). Users and permissions need MYIO_WRITE=admin.

  • Automation (GIGA/Opta): myio_flows / myio_flow_save / myio_flow / myio_flow_trace (Flow rules, 4.4+), myio_scripts / myio_script_get / myio_script_save / myio_script (myIO Script programs, 4.10+). Read myio_reference topic=flow|script before writing rules or programs.

  • Diagnostics: myio_sysdiag (health, resets, sockets, RAM), myio_metrics, myio_logs / myio_log (daily CSV logs; the event log explains most "why did X happen" questions), myio_files / myio_file_read / myio_file_write / myio_file_op (storage), myio_fm_sync (SD mirror).

  • Integrations (each has a read tool and a _set tool): myio_shelly, myio_link (other myIO controllers), myio_mqtt, myio_cloud (admin), myio_sgready (heat pump), myio_alarm (SIA alarm panel receiver), myio_mia (self-learning heating), myio_ledstrip, myio_network (admin to change), myio_system (restart / web OTA, admin). Opta RS485 expanders: myio_expanders, myio_knx / myio_knx_set / myio_knx_device, myio_dali, myio_dmx, myio_modbus. Passwords, keys and tokens are never shown. Offline expander panels silently ignore commands - trust the read-back.

  • Units: tools speak in real units (°C, %, W, V, A). Raw JSON (myio_get_status) is fixed point: temp x100, hum x10, thresholds x10 (215 = 21.5), PCA/FET level raw 0..255.

  • Writes are real and take effect immediately. Every control tool reads the state back and reports it; a command the account has no permission for is silently dropped by the controller, so trust the read-back, not the request. Flags of toggle type are handled by the tools (read first, send only on change) - with myio_send_command you must do that yourself.

  • The controller has very few sockets: tools already serialize requests; do not poll faster than once per second.

  • Resources (attachable context, no tool call needed): myio:///info | /state | /flows.jsn, myio:///prog/.txt, myio:///log/<today|yesterday|YYYY-MM-DD>, and the bundled Hungarian API reference myio://docs/index | /script | /flow | /chapter/.

  • Prompts: heating_overview, why_not_switching (element), daily_diagnostics, new_flow_rule - each reads the controller first (language hu | en).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
myio_serversA

List the configured controllers (name, URL) with a live check: firmware version, device name, permission level, reachability. Use the name as the server argument of the other tools; without it the first controller is used.

myio_infoA

Identify the controller: serial, firmware version, CPU/board, device name, element counts (RQ relays, SQ inputs, PCAQ PCA channels, SHQ Shelly, SENQ universal sensors), the permission level of this account (0 admin, 1 editor, 2 user), uptime, found I2C expanders and storage health. Call this first: the version decides which features exist (3.12.x = Due, only base features; 4.x = GIGA/Opta, all features).

myio_findA

Search outputs, groups, sensors, inputs and universal sensors by name (accent- and case-insensitive substring, e.g. "nappali"). Returns ids and live state so you can use the right control tool.

myio_list_devicesA

List outputs with id, name, live state and level: relays (1..RQ), FET/PWM channels (101..116, only on old hardware), PCA dimmer channels (2001..2000+PCAQ), groups (501..). Shows roles in braces: thermostat / sun-controlled / mixer / shutter-up / shutter-down / joiner / rgb: / group:, thermostat thresholds, running timers and group members. By default only NAMED elements are listed (unnamed ones are counted); set include_unnamed=true to see all. Use the ids with the control tools.

myio_read_sensorsA

All sensor readings in real units: 1-Wire temperature (ids 1..100, °C), humidity (101..110, %), pulse energy meter (200), SDM630 power/voltage/current per phase (201..209: W, V, A), and on 4.x firmware the universal sensors (usens 0..SENQ: temperature, humidity, dew point, power, energy, CO2 ... from KNX/Modbus/MQTT/Shelly/Script; activator id = 300+id). Invalid/missing sensors read "invalid"; STALE = no fresh value within the failsafe time.

myio_get_statusA

Fetch a raw JSON endpoint of the controller. Default sens_out.json (live state of all outputs and sensors, minimal fields). Others: d_sens_out.json (with names), f_sens_out.json (all fields), sens_IO.json (+inputs, 4.3.12+/3.12.7+), output.json, relay.json, pca.json, groups.json, prot.json, joiner.json, sensor.json, info.json, usensor.json / shelly.json / link.json / sysdiag.json / flowtrace.json / prog.json / ai.json / alarm.json (4.x, editor level). Keys the account has no permission for are simply absent. Values: temp ×100, hum ×10, thresholds ×10, PCA level 0..255.

myio_outputA

One tool for every output type, by id: relay (1..RQ), FET (101..116), group (501..), PCA dimmer (2001..). action: on | off | toggle | level (level needs level 0..255 or percent 0..100; PCA/FET only). ON on a dimmer = its configured MAX, OFF = MIN. Reads the state back.

myio_relay_onA

Turn ON a relay output. id = relay id 1..RQ (see myio_info / myio_list_devices). The reply shows the state read back from the controller.

myio_relay_offA

Turn OFF a relay output. id = relay id 1..RQ (see myio_info / myio_list_devices). The reply shows the state read back from the controller.

myio_relay_toggleA

Toggle (invert) a relay output. id = relay id 1..RQ (see myio_info / myio_list_devices). The reply shows the state read back from the controller.

myio_pca_onA

Turn ON a PCA channel (dimmer / universal output). id = 2001..2000+PCAQ (a 1-based channel number is also accepted). ON = the channel's configured MAX level, OFF = its MIN level.

myio_pca_offA

Turn OFF a PCA channel (dimmer / universal output). id = 2001..2000+PCAQ (a 1-based channel number is also accepted). ON = the channel's configured MAX level, OFF = its MIN level.

myio_pca_toggleA

Toggle a PCA channel (dimmer / universal output). id = 2001..2000+PCAQ (a 1-based channel number is also accepted). ON = the channel's configured MAX level, OFF = its MIN level.

myio_pca_setA

Set a PCA channel to an exact level. Give either level (raw 0..255, what the controller stores and shows) or percent (0..100, converted to 0..255). If the channel has an auto-off timer, setting it above MIN (re)starts the timer. id = 2001..2000+PCAQ.

myio_pwm_onA

Turn ON a FET/PWM output (legacy hardware only; ids 101..116 - absent on most GIGA/Opta controllers, see myio_list_devices).

myio_pwm_offA

Turn OFF a FET/PWM output (legacy hardware only; ids 101..116 - absent on most GIGA/Opta controllers, see myio_list_devices).

myio_pwm_toggleA

Toggle a FET/PWM output (legacy hardware only; ids 101..116 - absent on most GIGA/Opta controllers, see myio_list_devices).

myio_pwm_setA

Set a FET/PWM output level: level (raw 0..255) or percent (0..100). Legacy hardware only (ids 101..116).

myio_group_onA

Turn ON all members of a group of outputs. id = 501..520 (1..20 also accepted). Group commands need EDITOR level on most firmware (a plain user cannot switch groups even with member permissions).

myio_group_offA

Turn OFF all members of a group of outputs. id = 501..520 (1..20 also accepted). Group commands need EDITOR level on most firmware (a plain user cannot switch groups even with member permissions).

myio_group_toggleB

Smart-toggle a group of outputs. id = 501..520 (1..20 also accepted). Group commands need EDITOR level on most firmware (a plain user cannot switch groups even with member permissions). Mixed state: pullUP=1 turns ALL ON, pullUP=0 turns ALL OFF.

myio_send_commandA

Send raw command(s) to the controller, chained with &, e.g. "r_ON=16&r_OFF=5&PCA2001=128" (PCA level is RAW 0..255). Covers everything in the API reference: thresholds min_temp_ON=, names r_descr*=, timers r_timer*=, scene load lo_all=, button simulation s_hit=, usens*= etc. Toggle-type config commands (relaysInvert=, PCA_PWM=...) INVERT the flag - read the current value first. Body limit 1024 bytes. The reply lists which outputs changed state.

myio_inputsA

State of the physical inputs (wall buttons / switches): id (1..SQ), name, pressed/closed now, enabled, NC. Polled state, not events - a short press can be missed. Needs 4.3.12+ or Due 3.12.7+; inputs the account has no permission for are absent.

myio_press_buttonA

Simulate a wall button on input id (1..SQ): kind hit = short press (default), press = long press, release = release after a long press. The controller runs the actions bound to that input (switch/dim/group/scene), exactly like the physical button. The reply lists the outputs that changed.

myio_thermostatsA

Outputs controlled by a sensor: thermostat zones (relay or PCA switched by a temperature sensor: target = middle of the ON/OFF thresholds, band = their distance, mode heat if ON<OFF else cool, current temperature, heating/idle), humidity-controlled outputs, sun-controlled outputs (sunrise/sunset) and analog mixers. Use the ids with myio_set_thermostat.

myio_set_thermostatA

Change a thermostat zone: target temperature (°C, keeps the band), band / hysteresis (°C 0.1..10, keeps the middle), or the raw ON/OFF thresholds (°C). Optionally bind the sensor: sensor = 1..100 (1-Wire id), 301.. (universal sensor 300+id), 0 = unbind (editor level). Heating = ON below OFF, cooling = ON above OFF. The controller switches the output itself; the reply reads the zone back.

myio_shuttersA

Shutters, blinds, gates and other UP/DOWN pairs defined as protection pairs on the controller (the two outputs can never be on together): index, name, up and down relay ids, state opening / closing / stopped. Use myio_shutter to move them.

myio_shutterA

Move a shutter / cover: action open (down off, up on), close (up off, down on) or stop (both off). Identify it by index (from myio_shutters) or by the id of its up relay. The controller enforces the mutual exclusion; the motor runs until its end switch or until you stop it.

myio_rgbB

RGB lights = groups whose name starts with "RGB", with R/G/B channels (PCA or FET outputs whose names start with R, G, B). Shows on/off, colour (max-normalised 0..255) and brightness (0..255, the highest channel level).

myio_set_rgbA

Control an RGB light (group id from myio_rgb): on/off, colour r,g,b (0..255 each; the brightness is kept unless given), brightness 0..255 (keeps the colour). ON without colour restores the last colour (white at first). The channel levels are written directly (PCA*=) and read back.

myio_usensorsC

4.x: the universal sensor slots (0..SENQ): name, type (temperature, humidity, dew point, power, energy, CO2 ...), value, ok / STALE / no value, failsafe time, enabled. Sources: KNX, Modbus, MQTT, Shelly, Script, external HTTP (usens*=). Activator id for thermostats = 300+id. Needs editor level.

myio_set_usensA

4.x: push a value into a universal sensor slot (id 0..SENQ) from outside, e.g. a temperature from another system: value in real units (21.5 °C -> stored as 215). Thermostats, Flow, MQTT and logs see it like any sensor. The slot must be enabled; the reply reads it back.

myio_config_varsA

The raw settings block of the controller (the JS variables behind the Setup page: energy manager, SDM, dew point, sensor tables, every array). Give names to read specific variables, or prefix to list those starting with it; without arguments the variable names are listed. Editor/admin level.

myio_globalsB

Global settings: device name, controller clock, time zone (+ automatic EU daylight saving time on/off and whether summer time is in force, 3.12.35 / 4.18.9+), location (for sunrise/sunset), today's sunrise/sunset, button timing (hit/press limits), protection cooldown (4.x), sensor polling periods, pulse meter unit, current/boot scene slot, loggers. Editor/admin level.

myio_set_globalsA

Change global settings: name, time_zone (hours from UTC; with automatic DST on it is the STANDARD/winter offset, e.g. 1 for Central Europe - changing it moves the clock at once on 3.12.35 / 4.18.9+), auto_dst (true/false: automatic EU daylight saving time, 3.12.35 / 4.18.9+, on by default; stored at once, no save needed), latitude/longitude, hit_time_limit / press_time_limit (ms), prot_cooldown (s, 4.x), temp_timer / hum_timer / mixer_timer (sensor polling s), impulse_per_unit, consumption_unit, sync_time=true (NTP sync now). Only the given fields change. Editor/admin level.

myio_renameA

Set the name (description) of an element. kind: relay (id 1..RQ), pca (2001.. or channel 1..), fet (101..), group (501.. or 1..), input (1..SQ), thermo (1-Wire sensor id 1..100), humidity (channel index 0..), usens (4.x, id 0..SENQ), shelly (4.x), scene (slot 0..). Empty name clears it. Editor level; accents are fine.

myio_output_configA

Configuration of outputs (relay, FET, PCA): auto-off timer, turn-on delay, inverted wiring, alarm flag, justOn (a button can only switch it on), PCA min/max level, fade speed, PWM (dimmer) vs switch mode, mixer mode, sensor binding and thresholds. Give id for one output, type for one kind, or nothing for all named ones. Editor/admin level.

myio_set_output_configA

Change an output's configuration (relay 1..RQ, FET 101.., PCA 2001..): timer_s (auto-off, 0 = off), delay_s (turn-on delay), invert, alarm, just_on, and for PCA/FET: min / max level (0..255), fade_speed, pwm (dimmer mode), mixer. Flags are set to the given value (the controller's toggle commands are only sent when the value differs). Editor level.

myio_input_configA

What the physical inputs (wall buttons) do: enabled, NC contact, hit-block, and the targets of hit (short press), press (long press) and release in the unified id space (relay 1.., FET 101.., group 501.., scene 1000+slot, PCA 2001.., LED strip 3100+). Give id for one input; otherwise the named / bound ones. Editor/admin level.

myio_set_input_configA

Change a physical input (1..SQ): enabled, nc (normally closed), hit_block, and the action targets hit / press / release as element ids (0 = none; relay 1.., FET 101.., group 501.., load scene 1000+slot, PCA 2001.., LED strip 3100+). Flags are set to the given value. Editor level.

myio_structuresA

The structural configuration: protection pairs (two outputs never on together = shutters; index, UP, DOWN, priority), joiner pairs (master switches the slave too; justOn), groups (id 501.., members in the unified id space, pullUp = mixed state toggles to ON). Editor/admin level.

myio_set_protectionA

Define or clear a protection pair (index 0..PQ-1, or omit index: an identical existing pair is reused, otherwise the first free one): up and down = output ids that may never be on together (relay 1.., PCA 2001..); 0/0 clears the pair. priority = the first (UP) element wins when both are requested. A pair makes a shutter for myio_shutters. Editor level.

myio_set_joinerA

Define or clear a joiner pair (index 0..JQ-1, or omit: an identical existing pair is reused, otherwise the first free one): switching master also switches slave (ids in the unified space); 0/0 clears. just_on = the slave only follows switching ON. Editor level.

myio_set_groupA

Set the member list of a group (id 501..): members = output ids (relay 1.., FET 101.., PCA 2001.., fade variants 4001.. allowed), at most groupSize (usually 10); an empty list clears the group. pull_up = when members are mixed, toggle turns ALL ON (false: all OFF). The controller refuses a group that would contain itself. Editor level.

myio_scenesA

Scene slots: a slot stores a complete configuration snapshot (outputs, groups, protection, inputs, globals ...) that can be loaded by a timer, a button (target 1000+slot) or myio_scene. Shows the slot list with names, the current and the boot slot. Editor/admin level.

myio_sceneA

Scene slots: load (apply slot - this changes outputs and settings), save (store the CURRENT configuration into slot, overwriting it), new (create the next free slot), delete (slot 0 and the boot slot cannot be deleted), set_boot (slot loaded at power-up), rename. Editor level; save/delete are destructive.

myio_timersC

Scheduled actions from timer.csv: time (or sunrise/sunset with ± offset), optional month/day, weekday filter (empty = every day), event (relay/FET/group/PCA ON/OFF, load scene, SG-Ready mode) and target. Editor/admin level.

myio_set_timerA

Create (omit id; an identical existing timer is not duplicated) or change (id) a timer. Time: hour 0..23 + minute 0..59, or sunrise / sunset = "after" | "before" with hour/minute as the offset (max 4 h). Optional month (1..12) and day (1..31) for a one-day timer. days: weekday names ["Mon","Fri"] (omit = every day). event: code or name - 1 load scene (all), 2 relay ON, 3 relay OFF, 4 FET ON, 5 FET OFF, 6 group ON, 7 group OFF, 15 PCA ON, 16 PCA OFF, 8..14/17 load scene parts, 18 SG-Ready mode. param: the target id (relay/FET/group/PCA id, scene slot, SG mode 1..4). Editor level.

myio_delete_timerA

Delete the timer with the given id (from myio_timers). Editor level.

myio_usersB

The user accounts of the controller: slot, login name, level (admin / editor / user). Slot 0 is the admin. Editor/admin level.

myio_userA

User accounts (ADMIN level): action new (next free slot), delete (slot, not 0), rename (slot + name), set_password (slot + password; the login name of the slot is used), set_rights (slot + rights admin|editor|user; not slot 0). Changing the account the server itself uses will break the connection.

myio_permissionsA

Element permissions of a user slot (4.x): read / write per relay (and FET), hit / press per input - the lists of element ids the user may see / switch. On Due 3.x the map cannot be read (only set with fill/clear and explicit toggles). Admin level reads it too.

myio_set_permissionsA

Change the element permissions of a user slot (ADMIN). fill = grant everything, clear = revoke everything. Then per list the ids to GRANT or REVOKE: relay_read, relay_write, pca_read, pca_write, fet_read, fet_write (output ids), input_hit, input_press (input ids). On 4.x the current map is read first and only differences are sent; on Due 3.x the firmware toggles are sent as given (each id flips its bit).

myio_flowsA

The Flow rule engine (GIGA/Opta 4.4+): every rule as WHEN trigger / AND conditions / THEN actions in plain words with element names, its live state (enabled, running, last fired), the 32 global variables with live values and the webhook targets. id = one rule (with its raw JSON for editing); raw=true returns the whole flows.jsn (the format myio_flow_save takes). Editor/admin level.

myio_flow_saveA

Edit flows.jsn and reload the engine (no restart). Give ONE of: flow (a whole rule object; replaces the rule with the same id or adds it), delete (flow id), variable {id,name,init} / delete_variable, hook {id,name,met,url,body,err,gap} / delete_hook, or file (the complete flows.jsn). The rule is validated against the controller's card rules first; nothing is written on error. dry_run=true only validates. Card format (keys are short): WHEN t=sens{src:thermo|hum|usens, ch|id, op:gt|lt, val x10, hyst x10} | scmp | out{id, dir 0 off/1 on/2 any} | time{min, days} | sun{ev:rise|set, off} | var{id, op, val} | boot; AND t=sens | scmp | out{id, on 0|1} | twin{from, to, days} | var; THEN t=rel|grp{id, act 0 off/1 on/2 toggle} | pca|fet{id, val 0..255} | delay{s|m} | var{id, op:set|inc|dec, val} | log{val} | msg | http{id: webhook slot, val}. days = bitmask bit0=Mon..bit6=Sun (127 = every day); minutes of day for time/twin; temperatures x10 (21.5 °C = 215). Full reference: myio_reference topic=flow. Editor/admin level.

myio_flowA

Runtime control of the Flow engine (does NOT change flows.jsn): enable / disable a rule until the next reload or restart (use myio_flow_save en=0|1 to make it permanent), fire = run its THEN chain now (WHEN/AND skipped), set_var = set global variable id (1..32) to value (variable triggers are evaluated). The answer shows the outputs that changed and the trace. Editor/admin level.

myio_flow_traceA

What the Flow engine did recently (newest first): fired, AND failed, actions, delays, errors, webhook results, with seconds ago. since = the tseq of a previous call to get only newer entries (incremental). Also the engine budget statistics. Editor/admin level.

myio_webhook_testA

Fire webhook slot 1..8 (as loaded from flows.jsn hooks[]) once, without the gap brake, and report the HTTP result from the trace. GIGA/Opta 4.4.1+. Editor/admin level.

myio_scriptsA

The program engine (GIGA/Opta 4.10+): every slot (prog/N.txt, 16 on GIGA, 8 on Opta) with name, state (off / RUNNING / ERROR with line:col and message), cycle time, runs, timing, local variables and arrays, plus the 32 global variables and (trace=true) the recent trace. Editor/admin level.

myio_script_getA

The source code of script slot N (prog/N.txt) and its state. Language reference: myio_reference topic=script. Editor/admin level.

myio_script_saveA

Write the source of script slot N (prog/N.txt) and recompile it on the controller; the answer is the compile result (error with line:col and the source line) and the new state. enabled=true|false rewrites the #enabled directive. The file is the truth (#name, #every 1s, #enabled, #onboot header). Max size: 8 KB on GIGA, 4 KB on Opta. Language reference: myio_reference topic=script. Editor/admin level.

myio_scriptA

Script slot actions: reload (recompile prog/N.txt; id 0 = all), run (run once now, even if disabled), enable / disable (RAM only until reload/restart; persist=true also rewrites #enabled in the file), delete (removes prog/N.txt, needs MYIO_WRITE=config). Editor/admin level.

myio_referenceA

The controller documentation bundled with this server (Hungarian, the canonical API_REFERENCE.md): topic=script = the complete myIO Script language (directives, syntax, built-in functions, error codes, examples); topic=flow = the Flow engine and the flows.jsn card format; topic=api with query = the API sections whose heading contains the query (without query: the table of contents).

myio_sysdiagA

Health snapshot of the controller: uptime and last reset cause (watchdog?), main-loop speed and the longest stall, free RAM and its minimum, M4 button core, LAN link / WiFi, every network socket with its peer, outgoing HTTP slots, storage space, login brake counters. Due 3.12 gives a shorter set. raw=true = the JSON. Editor/admin level.

myio_metricsA

The /metrics text (Prometheus format: uptime, loop rate, RAM, M4, link, WiFi RSSI, sockets, webhook counters, storage, usens values, 1-Wire temperatures). filter = only lines containing this text. GIGA/Opta 4.4.1+.

myio_logsA

Which daily CSV logs exist: event log (ev_log/), consumption (c_log/), SDM meter (sdm_log/), per-sensor temperature (t_log_N/), humidity (h_log_N/), universal sensor (u_log_N/). Without kind: the log folders on each volume and the newest event-log days. kind (+channel for temperature/humidity/usens) = every file of that log with size and date. Read one with myio_log. Editor/admin level.

myio_logB

Read one day of a log (default: today's event log) with filters: level (error | info | debug - 4.x event log lines start with E/I/D), contains (text), since / until (HH:MM), tail (last N matching lines, default 150; 0 = all). date = YYYY-MM-DD, YYMMDD, today or yesterday; or give path (e.g. /ev_log/e_261025.csv). vol: q | s (default: the controller's own lookup, internal flash first). Editor/admin level.

myio_filesA

List a folder on the controller's storage: name, size, date; folders first; free/total space. vol q = internal flash (GIGA/Opta), s = SD card (Due: only s). Editor/admin level.

myio_file_readA

Download a file from the controller. Text files come back as text (truncated at max_bytes, default 64 KB); binary files as size + hex preview, or base64=true for the content (max 512 KB). Editor/admin level.

myio_file_writeA

Upload a file to the controller (creates or overwrites; the write is not atomic). content = text (UTF-8) or base64 = binary. make_dirs=true creates missing parent folders. System files (network, passwords, licence, cloud keys, web UI folders htm/ js/, slot folders) need MYIO_WRITE=admin. For flows.jsn / prog/N.txt prefer myio_flow_save / myio_script_save (validated + reloaded). Editor/admin level.

myio_file_opA

File operations: delete (a file or an EMPTY folder), mkdir, rename (move within the volume: path -> to), copy (path -> to, folders recursively; on GIGA/Opta also between volumes with to_vol). The controller refuses to delete slot_0, the boot scene slot or a slot a button/timer refers to. System files need MYIO_WRITE=admin. Editor/admin level.

myio_fm_syncA

The QSPI -> SD card configuration mirror (GIGA/Opta 4.4.3+): op status (default), config (mirror the configuration now), web (configuration + web UI folders), adopt (adopt a foreign card: write mirror.tag, then mirror). Needs an SD card and MYIO_WRITE=admin for the actions.

myio_shellyA

Shelly integration (GIGA/Opta 4.1+): every registered Shelly with IP, model, online state, relay state, and its bindings (which myIO output a channel follows, which myIO button an input drives, which universal sensor a metric feeds). scan=true also shows the results of a network scan (start one with myio_shelly_set action=scan). Editor/admin level.

myio_shelly_setA

Change the Shelly integration; every change is saved (sh_save). action: enable (enabled=true|false), add (ip), add_found (index from the scan), scan (start=true|false), delete / probe / push (device), disable (device, disabled), rename (device, name), poll (device, ms 500..60000), auth (device, user, password), bind_output (device, channel, output_id: the Shelly channel follows that myIO output; 0 = unbind), bind_input (device, channel, button 1..SQ, mode 0 button / 1 toggle / 2 hit-only), bind_sensor (device, slot 0..3, metric 1 temp / 2 hum / 3 power / 4 volt / 5 curr / 6 energy / 7 device temp, channel, usens id; usens 0 = unbind). After input / sensor bindings send action=push so the Shelly calls back. Device = slot number from myio_shelly. Editor/admin level.

myio_linkA

myIO Link (GIGA/Opta 4.2+): the other myIO controllers this one polls, their online state, the output links (a local output mirrors / drives a remote one) and sensor links (a remote sensor feeds a local universal sensor). scan=true shows network scan results. Editor/admin level.

myio_link_setA

Change myIO Link; saved with ml_save. action: add (ip), add_found (index), scan (start), delete / probe / refresh_names (server slot 0..), disable (server, disabled), port / poll / rename / auth (server, port | ms | name | user+password), link (index, local_id, server 1.., remote_id: local output follows the remote one), unlink (index), link_disable (index, disabled), sensor_link (index, remote_id, server 1.., local_usens), sensor_link_disable (index, disabled). Editor/admin level.

myio_mqttA

MQTT client settings and live state (GIGA/Opta 4.3+, Due 3.12.31+): broker, connection state, topics, retain/QoS, Home Assistant discovery, publish masks, subscribe/command channel, external sensor bindings (topic + JSON key -> universal sensor, 4.5+). Passwords and TLS keys are never shown. Editor/admin level.

myio_mqtt_setA

Change the MQTT client. Only the given fields change; on/off fields are desired values (sent only when different). save=true (default) persists and reconnects (MqttSave). Fields: enabled, host, port, user, password, client_id, base_topic, retain, qos 0|1, ha_discovery, economy (4.x), tls (4.x), publish_on_change {buttons, outputs, activators}, periodic {outputs, temperatures, humidity, usens (4.x), sdm} + period_s 5..65000, subscribe, command_channel, command_slot; sensor_binding {slot, topic, key, usens} (4.5+; usens 0 = unbind); rediscover=true refreshes the Home Assistant entities without reconnecting. Editor/admin level.

myio_cloudA

myIO Cloud remote access (GIGA/Opta 4.4+): enabled, connection state, broker, pairing window, paired phone keys (label, user slot, revoked). Credentials and keys are never shown. Admin level on the controller.

myio_cloud_setA

myIO Cloud actions (admin): enable (enabled=true|false), pair (user_slot 1.., label: opens a 5-minute pairing window for one phone - show the QR from the web page), pair_stop, revoke (key, revoked=true|false), delete_key (key). Needs MYIO_WRITE=admin.

myio_sgreadyB

SG-Ready heat pump control (GIGA/Opta 4.4.2+, Due 3.12.9+): enabled, current mode (1 inhibit / 2 normal / 3 recommended / 4 forced), K1/K2 contact outputs, utility-lock limit. Editor/admin level.

myio_sgready_setA

Change SG-Ready: mode 1..4 (immediate; mode 1 ends automatically after limit_min), enabled, k1 / k2 (output ids: relay 1.. or PCA 2001..; 0 = none; K1 and K2 must differ), limit_min 1..120. Mode is a state change (MYIO_WRITE=state); the others are configuration. Saved immediately (EEPROM).

myio_alarmA

The alarm panel receiver (GIGA/Opta 4.5.8+, SIA DC-09 over TCP/UDP): enabled, listeners, frame counters, troubles (AC, battery, tamper, communication, zone, supervision), per-partition state (disarmed / partial / armed / ALARM) with the last event code, zone and user, and the universal sensor each partition feeds. Monitoring only (no arming). Editor/admin level.

myio_alarm_setA

Change the SIA receiver (saved with AlarmSave): enabled, tcp, udp, ack_timestamp (desired values), port 1024..49151 (not 80/843), account (max 32), supervision_min 0..1440, partition_sensor {partition 1.., usens (0 = none)}. simulate = a DC-03 test event like "Nri1/BA01" (burglary alarm partition 1 zone 1) - drives the partition state and its usens; reset_counters=true. TCP on/off takes effect after a restart. Editor/admin level.

myio_miaC

MIA, the self-learning heating layer (GIGA/Opta 4.11+): features (thermal model, window detection, preheating, pause), and per thermostat zone the learned heat/cool rates, dead time, over/undershoot, duty, confidence, window events, preheating plan and result. zone = one relay id. Editor/admin level.

myio_mia_setA

Change MIA (saved immediately): enabled, features {model, window, preheat, pause} (desired values), window_drop_c 0.1..5, window_min 2..15, window_hold_min 5..240, preheat_max_min 15..240 (4.12+), learn_days 1..6, exclude {relay, excluded} (MIA does not act on that zone), exclude_f3 {relay, excluded} (4.13+), min_on_off {relay, on_min, off_min} (0 = auto, 4.13+), reset_learned (relay id, 0 = all zones). Editor/admin level.

myio_ledstripB

Addressable LED strips (GIGA/Opta 4.3.4+): enabled, strips per IO pin (LED count, running program), programs (effect, speed, brightness, colours, blend/kill transitions...). prog = one program with the effect list. Event id 3100+100*(IO-1)+program starts/stops a program (buttons, timers, Flow). Editor/admin level.

myio_ledstrip_setA

LED strips: event (id 3100+100*(IO-1)+program: run that program on that IO, the same id again stops it - MYIO_WRITE=state), enabled (desired), program edits (prog 1..32 with fields {fx, speed, brightness, intensity, density, length, palette, direction, color1, color2 (0xRRGGBB number), a, b, blend, blend_fx, blend_dir, kill, kill_fx, kill_dir, off_pause}, name) applied live and saved (ls_save); led_count {io 1..8, count} needs a restart. Editor/admin level.

myio_networkA

Network configuration and live state (GIGA/Opta 4.x): host name, LAN (DHCP/static, link), WiFi mode (off / STA / AP), STA and AP settings, live addresses, RSSI, which services run on which interface. Passwords are never shown. Editor/admin level.

myio_network_setA

DANGEROUS: a wrong value can make the controller unreachable (then only USB serial or the service access point helps). Changes: host, wifi_mode 0 off / 1 STA / 2 AP, sta {ssid, password, dhcp}, ap {ssid, password, channel 1..13}, lan {enabled, dhcp, static_primary}. apply=true saves AND applies now (no restart; the connection may drop), apply=false only saves for the next boot. Needs MYIO_WRITE=admin.

myio_systemA

Admin actions: restart (soft reboot, ~1 min offline), ota_upload (file = local path of the firmware package the fleet tool made for THIS controller - GIGA/Opta (4.x): MYIO_UPD.BIN, uploaded to the SD card, or internal flash without a card; Due (3.12+): MYIO_NEW.BIN, SD card only, checked before upload: a raw Arduino build or a package made for another controller is refused), ota_apply (the controller installs the uploaded package and restarts; a GIGA/Opta rolls back by itself if the new image fails, a Due keeps its running firmware if the package is rejected), ota_restore (GIGA/Opta only: go back to the previous image). The answer waits for the controller to come back and reports the running version and the outcome. Needs MYIO_WRITE=admin.

myio_expandersA

RS485 expander panels on an Opta (4.5+): per address the configured type (Ext16 I/O, Ext-KNX, Ext-DALI, Ext-DMX, Ext-RS485 Modbus), online state, firmware/protocol, last seen, failsafe/standalone rules for losing the master, AUX output modes, Ext16 1-Wire thermometers. addr = one panel (1..). Editor/admin level.

myio_expander_setB

Expander settings (Opta 4.5+): failsafe {addr, mode 0 hold / 1 all off / 2 preset / 3 standalone, timeout_s 1..250, master, rules_linked, relink_truth, autosync, thermo_stale, stale_period_s} (saved; sync=true pushes the rules to the panel now), capture_preset (addr: the current outputs become the failsafe preset), aux {addr, pin 0=AUX2 1=AUX3, mode 0 0-10V / 1 LED strip}, onewire_rescan=true, onewire_forget (eeprom id of an OFFLINE sensor), forget_panel (addr of an OFFLINE panel). Editor/admin level.

myio_knxB

Ext-KNX gateway on an Opta (4.5+): the group-address table of the selected panel (row, name, group address, direction IN/OUT/SENSOR, DPT, local channel, flags, target universal sensor), the KNXnet/IP tunnelling interface for ETS (4.14+) and the KNX devices found/programmed without ETS. Editor/admin level.

myio_knx_setA

Edit the Ext-KNX group-address table (the panel stores it; save=true (default) commits with KnxSave). panel = select another Ext-KNX panel first. rows: [{row 0..47, ga "main/middle/sub" ("" deletes the row), dir 0 none / 1 IN / 2 OUT / 3 SENSOR, dpt 1 bool / 2 percent / 3 float, local 0..15 (panel channel), target usens (SENSOR rows), invert, init_read (desired values), name (max 20, saved at once, 4.15+)}]. tunnel = enable/disable the ETS interface (4.14+), drop_tunnel=true closes the active ETS connection. Editor/admin level.

myio_knx_deviceA

KNX device operations over the Ext-KNX panel (Opta 4.14+): scan (who is on the line, ~2 s), add (address a.l.d to the list), ping / info / delete / rename (index from myio_knx), program (address: writes the individual address into the ONE device whose programming button is pressed - needs MYIO_WRITE=admin). The answer waits for the result.

myio_daliA

Ext-DALI gateway on an Opta (4.8.6+): panels, the registered endpoints (short address / group / broadcast), the myIO PCA channel each is bound to (dim it with myio_output), last sent and driver-reported level, desired vs driver-read parameters (fade, power-on, failure level, min/max, curve) and group membership. ep = one endpoint. Editor/admin level.

myio_dali_setA

DALI registry and driver settings (Opta 4.8.6+; saved automatically). action: bind (ep, pca_id 2001.. or 0), settings (ep, any of fade_time 0..15, fade_rate 0..15, power_on, system_failure, min, max 0..254, curve 0 log / 1 linear; write=true (default) sends them to the driver), groups (ep, group 0..15, member true|false), read (ep: read the driver), identify (ep), add (panel, address 0..63 short / 64..79 group / 80 broadcast), add_all (panel: everything the last scan found), delete (ep), pool (lo, hi PCA ids), auto_bind, scan (panel: find drivers on the bus), abort (panel), commission (panel, mode 0 = re-address ALL / 1 = only unaddressed, start 0..63 - admin), short_address (ep, new 0..63 - admin), reset (ep - admin), panel_config (panel, field 0..6, value). Editor/admin level.

myio_dmxB

Ext-DMX gateway on an Opta (4.9+): panels, fixtures (start address, type dimmer/RGB/RGBW/generic, channels) and the myIO PCA channel each DMX channel follows (dim it with myio_output / myio_set_rgb). Editor/admin level.

myio_dmx_setA

DMX fixtures (Opta 4.9+; saved automatically). action: add (panel, address 1..512, type 0 dimmer / 1 RGB / 2 RGBW / 3 generic), delete (fixture), address (fixture, address), type (fixture, type), channels (fixture, count 1..16 - generic only), bind (fixture, channel 1.., pca_id 2001.. or 0), auto_bind, pool (lo, hi), test (fixture: full on for 1.5 s - state), blackout (panel: all 512 slots to 0 - state), panel_config (panel, field 0..5, value). Editor/admin level.

myio_modbusB

Ext-RS485 Modbus RTU master on an Opta (4.16+): per panel the bus settings, the poll blocks (slave, function, start register, count, period), the fields decoded from them (type, byte order, scale, target universal sensor) with live values, the writer slots (myIO relay/PCA -> Modbus register), and raw-request / address-scan results. Editor/admin level.

myio_modbus_setA

Modbus panel table (Opta 4.16+; the panel saves 8 s after the last change, or save=true now). action: block (panel, index 0..7, slave 1..247, func 1..4, start, count 1..125, period_s, enabled), field (panel, index 0..31, block, offset, dtype 1 u16 / 2 i16 / 3 u32 / 4 i32 / 5 f32 / 6 u64 / 7 i64 / 8 f64 / 9 bit / 10 bool, order 0 ABCD / 1 CDAB / 2 BADC / 3 DCBA, bit, scale -9..9, sf_offset (255 none), target usens, enabled, invert), writer (panel, index 0..15, slave, func 5/6/16, reg, dtype, order, source_pca, off, on, period_s, enabled, invert), delete (panel, table 0 block / 1 field / 2 writer, index), bus (panel, baud code 0 9600 / 1 19200 / 2 38400 / 3 57600 / 4 115200, frame 0 8N1 / 1 8E1 / 2 8O1 / 3 8N2, timeout_ms, retries, gap_ms), name (panel, field_index or writer_index or none for the panel, name), preset (panel, preset id e.g. SDM630), reload (panel), clear (panel - admin), raw (panel, slave, func, reg, count: one request, result shown) and scan (panel, from, to, func, reg: which slave addresses answer). Editor/admin level.

Prompts

Interactive templates invoked by user choice

NameDescription
heating_overviewThermostat zones, temperatures, MIA (self-learning heating) and SG-Ready of the controller(s), read now - with a request to summarise them and flag problems. / Termosztát-zónák, hőfokok, MIA és SG-Ready áttekintése.
why_not_switchingCollects everything that decides whether an output switches - state, account level, configuration, protection / joiner pairs, thermostat control, timers, buttons, Flow rules, scripts, myIO Link, MQTT, SG-Ready, event log - and asks for the most likely cause. / Mindent összegyűjt, ami egy kimenet kapcsolását befolyásolja.
daily_diagnosticsHealth check of every controller (or one): sysdiag (resets, RAM, sockets, link/WiFi), the day's ERROR and notable event-log lines grouped, RS485 expanders, clock / NTP / DST, Flow and script errors. / Rendszer-egészség, hibasorok, bővítők, óra.
new_flow_ruleGuided creation of a Flow rule (GIGA/Opta 4.4+): embeds the card reference (10/D), the existing rules and the ids of outputs and sensors, then walks through clarify -> draft -> dry run -> approval -> save. / Vezetett Flow-szabály-készítés.

Resources

Contextual data attached and managed by the client

NameDescription
ground-floor/infoinfo.json of Ground floor (http://192.168.1.178): serial, firmware, CPU, element counts, the permission level of this account, uptime, storage health, plus the feature map derived from the firmware version.
ground-floor/stateDecoded live state of Ground floor in real units: outputs (relay / PCA / FET / group with level, roles, timers, thermostat thresholds), sensors (°C, %, W, V, A), inputs and universal sensors. Read at request time.
ground-floor/flows.jsnThe Flow rule file of Ground floor (GIGA/Opta 4.4+): vars, flows (when / and / then cards), webhook hooks - the format myio_flow_save takes. Card reference: myio://docs/flow.
docs/indexTable of contents of the bundled myIO API reference (Hungarian): every chapter with its resource URI and the sub-headings.
docs/scriptThe complete myIO Script language (chapter 10/G, Hungarian): directives, syntax, built-in functions, error codes, examples. Read before writing a script (myio_script_save).
docs/flowThe Flow rule engine and the flows.jsn card format (chapter 10/D, Hungarian). Read before writing a rule (myio_flow_save).
docs/chapter/1Chapter "1. Áttekintés, transzportok" of the myIO API reference (Hungarian).
docs/chapter/2Chapter "2. Hitelesítés" of the myIO API reference (Hungarian).
docs/chapter/3Chapter "3. Elem-azonosítók (ID-térkép)" of the myIO API reference (Hungarian).
docs/chapter/4Chapter "4. Vezérlő parancsok — GET /command:<parancs>" of the myIO API reference (Hungarian).
docs/chapter/5Chapter "5. Állapot-lekérdezés — JSON végpontok (GET /<nev>.json)" of the myIO API reference (Hungarian).
docs/chapter/6Chapter "6. Fájlok, naplók, OTA" of the myIO API reference (Hungarian).
docs/chapter/7Chapter "7. Soros protokoll (fejlesztéshez/diagnosztikához)" of the myIO API reference (Hungarian).
docs/chapter/8Chapter "8. Shelly-webhook (az egyetlen auth-mentes végpont) [4.x]" of the myIO API reference (Hungarian).
docs/chapter/9Chapter "9. App-socket parancsok (port 843)" of the myIO API reference (Hungarian).
docs/chapter/10Chapter "10. myIO Link és UDP broadcast" of the myIO API reference (Hungarian).
docs/chapter/10-aChapter "10/A. MQTT-publikálás [4.3+ · DUE 3.12.31+]" of the myIO API reference (Hungarian).
docs/chapter/10-bChapter "10/B. Ledszalag (WS2812) [4.3.4+]" of the myIO API reference (Hungarian).
docs/chapter/10-cChapter "10/C. myIO Cloud — aláírt parancs-csatorna [4.4]" of the myIO API reference (Hungarian).
docs/chapter/10-dChapter "10/D. Flow szabálymotor [4.4+]" of the myIO API reference (Hungarian).
docs/chapter/10-eChapter "10/E. RS485-bővítők + KNX/DALI-átjáró (/expander) [4.5+]" of the myIO API reference (Hungarian).
docs/chapter/10-fChapter "10/F. Riasztóközpont — SIA DC-09 vevő (/alarm) [4.5.8+]" of the myIO API reference (Hungarian).
docs/chapter/10-gChapter "10/G. myIO Script – myIO Script [4.10+]" of the myIO API reference (Hungarian).
docs/chapter/11Chapter "11. Kliens-receptek" of the myIO API reference (Hungarian).
docs/chapter/12Chapter "12. Buktatók (fontos!)" of the myIO API reference (Hungarian).
docs/chapter/13Chapter "13. Beállítás-varázsló — parancs-leképezés [3.12+]" of the myIO API reference (Hungarian).
docs/chapter/bovito-failsafe-standalone-elerhetoseg-4Chapter "Bővítő failsafe / standalone / elérhetőség [4.6]" of the myIO API reference (Hungarian).
docs/chapter/10-hChapter "10/H. MIA – myIO Intelligens Asszisztens, öntanuló réteg (/ai, ai.json) [4.11+]" of the myIO API reference (Hungarian).

TDQS

B3.4/5.0

Scored across 102 tools

Disambiguation3/5

Most tools target distinct resources or lifecycle stages, and the detailed descriptions clarify many boundaries. However, the generic myio_output and raw myio_send_command overlap heavily with the relay/PCA/PWM/group-specific controls, and file read/write tools overlap with specialized flow, script, and log tools. Singular/plural pairs like myio_scene vs myio_scenes are understandable but still require care.

Naming Consistency4/5

Almost all tools share the myio_ prefix and follow a readable noun-for-getter, set_/verb-for-mutator convention. Minor deviations such as myio_find, myio_get_status, and myio_read_sensors are still clear. The singular/plural distinction between readers and actors is mostly consistent, though not a strict verb_noun pattern throughout.

Tool Count2/5

The server exposes a very broad home-automation controller surface, so many tools are domain-justified, but 102 tools is far above the practical 3-15 range for reliable agent selection. The getter/setter pairs across many subsystems make the set comprehensive yet unwieldy. It is not nonsensical, but it is too large for efficient everyday tool use.

Completeness5/5

The tool surface covers outputs, sensors, thermostats, shutters, RGB, inputs, scenes, timers, users, permissions, flows, scripts, files, network, integrations, expanders, and KNX/DALI/DMX/Modbus configuration. Lifecycle operations such as create/read/update/delete are present for nearly every configurable domain. The few limitations, such as alarm monitoring without arming, are explicitly documented rather than accidental gaps.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues