IoT - Modular - Debug.h

From The TinkerNet Wiki
Revision as of 14:18, 30 April 2021 by Tinker (talk | contribs) (Created page with "<syntaxhighlight lang="cpp" line="1"> #ifndef DEBUG_H #define DEBUG_H #ifdef SS_Alert const char DeviceName[] = "SugarShack PumpHuose Alerter"; const char DeviceDesc[] = "ESP...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1 #ifndef DEBUG_H
 2 #define DEBUG_H
 3 
 4 #ifdef SS_Alert
 5 const char DeviceName[] = "SugarShack PumpHuose Alerter";
 6 const char DeviceDesc[] = "ESP With Pixels & Noise";
 7 const char* WiFi_ClientName = "SugarShack_Alarm";
 8 const char* MQTT_ClientName = "SugarShack_Alarm";
 9 const char* DISP_Title = "SugarBush";
10 
11 #elif SS_PHTank
12 const char DeviceName[] = "SugarShack PumpHuose Tank Monitor";
13 const char DeviceDesc[] = "ESP With simple Depth Probes";
14 const char* WiFi_ClientName = "SugarShack_TankLevel";           //
15 const char* MQTT_ClientName = "SugarShack_TankLevel";           //
16 const char* DISP_Title = "SugarBush";
17 
18 #elif SS_PHLightBar
19 const char DeviceName[] = "SugarShack PumpHuose LightBar Driver";
20 const char DeviceDesc[] = "";
21 const char* WiFi_ClientName = "DUNNO";                          //
22 const char* MQTT_ClientName = "DUNNO";                          //
23 const char* DISP_Title = "Dude!";
24 
25 #elif SS_Dumper
26 const char DeviceName[] = "SugarShack PumpHuose Dumper Monitor";
27 const char DeviceDesc[] = "ESP With a Reed Switch or Hall Effect Sensor";
28 const char* WiFi_ClientName = "SugarShack_Dumper";
29 const char* MQTT_ClientName = "SugarShack_Dumper";
30 const char* DISP_Title = "SugarBush";
31 
32 #elif SS_RO
33 const char DeviceName[] = "SugarShack Reverse-Osmosis Unit Monitor";
34 const char DeviceDesc[] = "";
35 const char* WiFi_ClientName = "DUNNO";                          //
36 const char* MQTT_ClientName = "DUNNO";                          //
37 const char* DISP_Title = "Dude!";
38 
39 #elif SS_Evaporator
40 const char DeviceName[] = "SugarShack Evaporator Monitor";
41 const char DeviceDesc[] = "";
42 const char* WiFi_ClientName = "DUNNO";                          //
43 const char* MQTT_ClientName = "DUNNO";                          //
44 const char* DISP_Title = "Dude!";
45 
46 #elif SS_BottlingTank
47 const char DeviceName[] = "SugarShack Bottling Tank Monitor";
48 const char DeviceDesc[] = "";
49 const char* WiFi_ClientName = "DUNNO";                          //
50 const char* MQTT_ClientName = "DUNNO";                          //
51 const char* DISP_Title = "Dude!";
52 
53 #elif SS_Climate
54 const char DeviceName[] = "SugarShack Climate Monitor";
55 const char DeviceDesc[] = "ESP With a BME280 or BMP180 & OLED";
56 const char* WiFi_ClientName = "SugarShack_Climate";
57 const char* MQTT_ClientName = "SugarShack_Climate";
58 const char* DISP_Title = "SugarBush";
59 
60 #elif SS_HoldingTanks
61 const char DeviceName[] = "SugarShack Holding Tank Monitor";
62 const char DeviceDesc[] = "ESP With simple Depth Probes";
63 const char* WiFi_ClientName = "DUNNO";                          //
64 const char* MQTT_ClientName = "DUNNO";                          //
65 const char* DISP_Title = "Dude!";
66 
67 #elif SS_FeedTank
68 const char DeviceName[] = "SugarShack Feed Tank Monitor";
69 const char DeviceDesc[] = "ESP With simple Depth Probes";
70 const char* WiFi_ClientName = "DUNNO";                          //
71 const char* MQTT_ClientName = "DUNNO";                          //
72 const char* DISP_Title = "Dude!";
73 
74 #else
75 const char DeviceName[] = "NFC What this one is...";
76 const char DeviceDesc[] = "Or even what it does...";
77 const char* WiFi_ClientName = "DUNNO";                          //
78 const char* MQTT_ClientName = "DUNNO";                          //
79 const char* DISP_Title = "Dude!";
80 #endif // FOOBAR
81 
82 #endif // DEBUG_H