+RoboMovel
Robô em {{ robo }}
+
+
+
+
+
+
+
+Conectando…
+
+Teclado: setas movem, Q e E giram, espaço para.
+"""
+
+if __name__ == "__main__":
+ app.run(host="127.0.0.1", port=5000)
diff --git a/software/firmware/RoboMovel_CNCV3_ESP32_REST/redes_padrao.exemplo.h b/software/firmware/RoboMovel_CNCV3_ESP32_REST/redes_padrao.exemplo.h
new file mode 100644
index 0000000..cb7ed4e
--- /dev/null
+++ b/software/firmware/RoboMovel_CNCV3_ESP32_REST/redes_padrao.exemplo.h
@@ -0,0 +1,4 @@
+// Copie para redes_padrao.h e troque pelos SSIDs e senhas reais (na ordem de tentativa).
+const char *DEFAULT_NETWORKS[][2] = {
+ {"MINHA_REDE", "minha_senha"},
+};
diff --git a/software/pipe-ovelha/instalar_root.sh b/software/pipe-ovelha/instalar_root.sh
new file mode 100644
index 0000000..8e65a77
--- /dev/null
+++ b/software/pipe-ovelha/instalar_root.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# Parte que precisa de sudo: site do nginx + certificado. Rode: sudo bash ~/pipe/instalar_root.sh
+set -e
+cp "$(dirname "$0")/nginx-pipe.ovelha.cloud" /etc/nginx/sites-available/pipe.ovelha.cloud
+ln -sf /etc/nginx/sites-available/pipe.ovelha.cloud /etc/nginx/sites-enabled/pipe.ovelha.cloud
+nginx -t
+systemctl reload nginx
+certbot --nginx -d pipe.ovelha.cloud --non-interactive --redirect
+echo "pronto: https://pipe.ovelha.cloud"
diff --git a/software/pipe-ovelha/nginx-pipe.ovelha.cloud b/software/pipe-ovelha/nginx-pipe.ovelha.cloud
new file mode 100644
index 0000000..0c56c0b
--- /dev/null
+++ b/software/pipe-ovelha/nginx-pipe.ovelha.cloud
@@ -0,0 +1,17 @@
+server {
+ listen 80;
+ listen [::]:80;
+ server_name pipe.ovelha.cloud;
+ location / {
+ proxy_pass http://127.0.0.1:8100;
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection $http_connection;
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ proxy_read_timeout 3600s;
+ proxy_send_timeout 3600s;
+ proxy_buffering off;
+ }
+}
diff --git a/software/pipe-ovelha/pipe.service b/software/pipe-ovelha/pipe.service
new file mode 100644
index 0000000..4a6a083
--- /dev/null
+++ b/software/pipe-ovelha/pipe.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=pipe.ovelha.cloud (canal publico)
+After=network-online.target
+
+[Service]
+WorkingDirectory=%h/pipe
+ExecStart=%h/pipe/.venv/bin/python %h/pipe/servidor.py
+Restart=always
+RestartSec=3
+
+[Install]
+WantedBy=default.target
diff --git a/software/pipe-ovelha/servidor.py b/software/pipe-ovelha/servidor.py
new file mode 100644
index 0000000..1a1dedf
--- /dev/null
+++ b/software/pipe-ovelha/servidor.py
@@ -0,0 +1,91 @@
+"""pipe.ovelha.cloud: canal público de comunicação entre projetos (sem autenticação).
+
+WebSocket /ws/