Add handling for self-serve machine signals in edge agent

This commit is contained in:
Jeppe Bundgaard
2026-06-30 16:19:43 +02:00
parent eb21405a3d
commit b0ea771e6a
6 changed files with 99 additions and 1 deletions
@@ -2950,6 +2950,13 @@ final class TruckwashEdgeAgent
]);
}
if (preg_match('#/edge-agent/gateways/\d+/selfserve/machine-signal$#', $endpoint)) {
return $this->sendBrokerMessage([
'type' => 'MACHINE_SIGNAL',
'payload' => $this->stripAgentAuthentication($payload),
]);
}
return null;
}