True if the interface is currently associated with an AP as a client. Used to decide whether wardriving can claim it exclusively from NM.
(self, interface)
| 2511 | 'companion': self._companion_name, |
| 2512 | 'connected': bool(huginn_companions), |
| 2513 | 'huginn_count': len(huginn_companions), |
| 2514 | } |
| 2515 | |
| 2516 | def push_huginn_config(self, values): |
| 2517 | """Validate, persist and queue Huginn `set ...` commands. |
| 2518 | |
| 2519 | Webapp thread calls this. The serial listener thread drains the queue |
| 2520 | and writes to the device; we never touch the serial handle here. |
| 2521 | Broadcasts to ALL connected Huginn companions. |
| 2522 | """ |
| 2523 | clean, err = self._validate_huginn_values(values or {}) |
| 2524 | if err: |