diff --git a/driver/notifier.py b/driver/notifier.py index 6df7d47..237105f 100644 --- a/driver/notifier.py +++ b/driver/notifier.py @@ -41,12 +41,16 @@ def send_response(queue_out, ip, command, data): queue_out.put(msg) def send_event(queue_out, ip, connected, error, warning): - msg = { + resp = { 'ip': ip, 'connected': connected, 'error' : error, 'warning': warning } + msg = { + 'url' : URL_EVENT, + 'msg': resp + } print(f"Mando Evento: {msg}") queue_out.put(msg)