Source: factory.service/package.gekkoridge/ObjServiceNetwork.py
MikroTik + internet health + presence monitor.
| Method | Signature | Description |
|---|---|---|
| get_router_resource | get_router_resource() -> dict |
Fetch system/resource from RouterOS. |
| get_interfaces | get_interfaces() -> list[dict] |
Fetch interface stats from RouterOS. |
| get_dhcp_leases | get_dhcp_leases() -> list[dict] |
Fetch DHCP leases from RouterOS. |
| get_arp_devices | get_arp_devices() -> list[dict] |
Read ARP table to catch static-IP devices missing from DHCP. |
| record_router | record_router() -> bool |
|
| record_interfaces | record_interfaces() -> int |
|
| record_presence | record_presence() -> int |
|
| record_health | record_health() -> int |
|
| record_household | record_household() -> dict |
Update data_household home/away per person. |
| sync | sync() -> dict |
Full network snapshot. |
| process | process(context: dict) -> dict |
Workflow entry point. |
| run_workflow_direct | run_workflow_direct(guid: str, selector: str) -> str |