If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:ahaluad
BoxMatrix >> Shell-Commands >> ahaluad | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
AVM-Command
Command: | ahaluad - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: Lab+Rel: /usr/bin | ||||||
Properties: | Size: 63.8k - Firmware: 7.19 | ||||||
Function: | AVM Smart Home rule engine (internal) |
Goto: Config - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
ahaluad is the (internal) AVM Smart Home rule engine daemon.
It was only found in one internal firmware named FRITZ.Box_7590_AX-07.19-80575-intern.image
.
It is started by ahaluad.service through S81-ahaluad, which passes the optional override.lua, which must not be bytecode.
Besides the optional override.lua script ahaluad loads the non optional lualib.lua.
AVM Smart Home rule engine Usage: ahaluad [OPTIONS] [FILE]... Without arguments, executes script found under default path (<path>) -i, --interactive -- Enter interactive mode (if a file is also given, after executing the file) --no-daemonize -- Do not daemonize/fork -h, --help -- Show this help
ahaluad is a dispatcher for Lua-Scripts which are defined as rules in ahalua.cfg, a config without defaults.
Rules may point at builtin Lua-Scripts or at external HTTP served scripts, which must come from the LAN.
aha also reads ahalua.cfg to know which rules exist and to install each rule as a callback.
Whenever a callback is hit aha contacts ahaluad through a socket, to make it run the respective script.
Sice there are no defaults for ahalua.cfg its structure is completely unknown.
It's either JSON or XML, the parsers libyajl.so and libmxml.so are both loaded.
ahalua.cfg is handcrafted during development, likely when ahaluad is run in interactive mode.
ahaluad is a developer tool to code extensions to aha, which are later ported to C and included in aha.
Config
Daily updated index of Configuration files accessed by this command. Last update: 2024-11-14 07:02 GMT.
A -
in the Mod
column marks manual research, the Firmware
then shows where the item occurs, not the Relation
.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Config from | tffs | ahalua.cfg | - | 7.08 - 7.59 | Configuration for ahaluad and aha | AVM |
1 config relation for this command |
Source
The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.19 source files:
$ strings /usr/bin/ahaluad | grep -e '\.c$' -e '\.cpp$' ahaluad_main.c ahaluad_alloc.c ahaluad_http.c ahaluad_interactive.c ahaluad_helper.c ahaluad_config.c ahaluad_loop.c
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-11-14 07:42 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Depends on | lib | libahatools.so | 1 | 7.19 | TFFS-Configuration API to aha.cfg and ahanet.cfg and tools. | AVM |
Depends on | lib | libavm_event.so | 1 | 7.19 | AVM-Events management API | AVM |
Depends on | lib | libavmcsock.so | 1 | 7.19 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavmupnpbig.so | 1 | 7.19 | UPnP support API (big version) | AVM |
Depends on | lib | libbacktrace.so | 1 | 7.19 | Crash handler and logger | AVM |
Depends on | lib | libboxlib.so | 1 | 7.19 | Box status, logging and statistics functions | AVM |
Depends on | lib | libboxnotify.so | 1 | 7.19 | boxnotifyd client API (old) | AVM |
Depends on | lib | libc.so | 1 | 7.19 | Standard C library | Linux |
Depends on | lib | libcm.so | 1 | 7.19 | ctlmgr / cm_logic messaging API | AVM |
Depends on | lib | liblua.so | 1 | 7.19 | Lua 5.1.4 interpreter library | Linux |
Depends on | lib | libmxml.so | 1 | 7.19 | Mini-XML parser / generator | Linux |
Depends on | lib | libwdt.so | 1 | 7.19 | AVM-Watchdogs management API | AVM |
Depends on | lib | libwebsrv.so | 1 | 7.19 | HTTP / HTTPS webserver and tools. | AVM |
Depends on | lib | libyajl.so | 1 | 7.19 | Event-driven JSON parser | Linux |
14 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-14 05:49 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box 7590 AX (main) | 7.19 | /usr/bin | 63.8k |
1 model uses this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-11-14 07:42 GMT.
Firmware | Symbol |
---|---|
7.19 | ahaluad_alloc_handler |
7.19 | ahaluad_alloc_heap_size_ok |
7.19 | ahaluad_args_handle |
7.19 | ahaluad_args_show_help_message |
7.19 | ahaluad_callback_event_register |
7.19 | ahaluad_callback_event_size_by_messagetype |
7.19 | ahaluad_callback_get_callback_function_by_reference |
7.19 | ahaluad_callback_get_internal_state_listener_table |
7.19 | ahaluad_callback_handle_epoll |
7.19 | ahaluad_callback_handle_internal |
7.19 | ahaluad_callback_init |
7.19 | ahaluad_callback_internal_event_register |
7.19 | ahaluad_callback_internal_event_trigger |
7.19 | ahaluad_callback_internal_register |
7.19 | ahaluad_callback_internal_state_change_register |
7.19 | ahaluad_callback_internal_trigger |
7.19 | ahaluad_callback_new_callback_struct |
7.19 | ahaluad_callback_periodic_register |
7.19 | ahaluad_callback_remove_callback_data |
7.19 | ahaluad_callback_timeout_register |
7.19 | ahaluad_callback_timer_register |
7.19 | ahaluad_callback_unregister |
7.19 | ahaluad_config_load |
7.19 | ahaluad_helper_call_with_backtrace |
7.19 | ahaluad_helper_ccall |
7.19 | ahaluad_helper_daemonize |
7.19 | ahaluad_helper_daemonize_setup_done |
7.19 | ahaluad_helper_deep_clone |
7.19 | ahaluad_helper_deep_clone_internal |
7.19 | ahaluad_helper_dump_stack |
7.19 | ahaluad_helper_get_lua_func |
7.19 | ahaluad_helper_get_state_internals |
7.19 | ahaluad_helper_init |
7.19 | ahaluad_helper_inspect_element |
7.19 | ahaluad_helper_inspect_element_from_lua |
7.19 | ahaluad_helper_json_to_lua_variable |
7.19 | ahaluad_helper_loadfile_nobinary |
7.19 | ahaluad_helper_loadfile_reader |
7.19 | ahaluad_helper_loadstring_nobinary |
7.19 | ahaluad_helper_pcall_with_backtrace |
7.19 | ahaluad_helper_to_absolute_index |
7.19 | ahaluad_http_complete_cb |
7.19 | ahaluad_http_get |
7.19 | ahaluad_http_got_data_cb |
7.19 | ahaluad_http_init |
7.19 | ahaluad_interactive_execute_line |
7.19 | ahaluad_interactive_is_incomplete_by_error |
7.19 | ahaluad_interactive_print_prompt |
7.19 | ahaluad_interactive_reader_function |
7.19 | ahaluad_internal_state_get |
7.19 | ahaluad_internal_state_init |
7.19 | ahaluad_internal_state_set |
7.19 | ahaluad_loop |
7.19 | ahaluad_loop_init |
7.19 | ahaluad_loop_register_callback |
7.19 | ahaluad_loop_unregister_callback |
7.19 | ahaluad_luavar_init |
7.19 | ahaluad_main_panic_handler |
7.19 | ahaluad_main_terminate_program |
7.19 | ahaluad_sandbox_better_os_date |
7.19 | ahaluad_sandbox_function |
7.19 | ahaluad_sandbox_init |
7.19 | ahaluad_sandbox_is_os_date_format_string_valid |
7.19 | ahaluad_sandbox_modify |
7.19 | lua_timestamp_ms |
7.19 | main |
7.19 | timestamp_ms |
67 symbols for this command |