Skip to content
Snippets Groups Projects
rest.hpp 424 B
Newer Older
Cyril Danilevski's avatar
Cyril Danilevski committed
#pragma once
#include <WebServer.h>

extern WebServer restServer;

void initializeRoutes();

void identify();  // /idn
void notFound();  // 404
void restart();  // /restart
void sendSNMP();  // /send?ch=107&output=on
void panel(); // / show a status page
void pollMPODChannel();  // /poll?ch=1
void powerGroup(); // /power?group=ASICS&output=on
void powerAllOff(); // /alloff?token=CWH
void getMpodStatus();  // /mpodstatus