Commit graph

30 commits

Author SHA1 Message Date
d203161a1b Renamed Moisture to Warning. Pictures: Added warning icons. Display: Added setWarningIcon(), some constexpr for icons. Warning: Added warningScreenLoop() and Renamed warningLedLoop(). 2023-12-18 20:40:47 +01:00
0972097733 HotFix LedComponent: Inverted Green and Blue channels. Added LedNumber Enumeration. setColor() now calls this enum. 2023-12-18 19:25:52 +01:00
8b610a9dcc LedComponent: Added operator, LedColors namespace with multiple constexpres, Added fading function. ServerHandler: Blinking led when connecting, and status led after. 2023-12-16 00:31:58 +01:00
d4de1f6efb Deleted Exception in platformio config. Added ServerException (dead code). Created MainComponent singleton. 2023-12-15 23:21:27 +01:00
820494206d Deleted unused light. Setting the lights to off when booting. 2023-12-15 22:19:26 +01:00
c4398dbab2 Added DHT sensor library, Created DHTComponent. 2023-12-14 16:28:59 +01:00
c5d8457801 Created LedComponent object, testing basic led. 2023-12-14 15:19:05 +01:00
2d784f02af Merge remote-tracking branch 'origin/develop-robin' 2023-12-14 14:15:07 +01:00
d96c5a670e Screen: Added icons for sensors. Added offset control for all Boxes. Created window for icons. Stylized main loop. 2023-12-14 10:14:56 +01:00
36fc6b40fb DataHandler: Rearanged data acquisition to handle more sensors. Screen: Showing example screen. 2023-12-13 19:20:16 +01:00
0fe4c2ecee Main: Loop function is more readable/understandable. Server: Added a specific function to show IP. Fixed some constexpr typo and initialisation warnings. 2023-12-13 18:47:35 +01:00
Lemonochrome
c2afb76be1 Simple python app. 2023-12-13 17:46:13 +01:00
c2b18fc052 Screen: Added multiple frames for the boot screen. Fixed delay issues when in main loop. Showing bootscreen after setup. 2023-12-13 17:37:42 +01:00
Lemonochrome
1bd5306cd6 Moisture notifying. Proper json formatting. Need to fix infinite loop display bug. 2023-12-13 13:36:40 +01:00
7e1d7f1526 Screen: Added failed logo. Updated Box to have a FORCED_CENTERED. When Wifi is not connected, show failed screen. 2023-12-13 11:42:52 +01:00
ad71d0997b Fixed TextBox not well aligned. (Not tested on real hw.) 2023-12-01 14:33:21 +01:00
d74c9516d2 Update Components size_pos parameter. Updated SpriteBox to actually use Styles. 2023-11-30 22:46:52 +01:00
38308f77f8 Updated clover.xbm. Modified Box to use std::any. Added SpriteBox. Showing the clover sprite at startup. 2023-11-29 22:27:57 +01:00
f8adba547e Added many comments, Box has now some protected variables. 2023-11-29 15:16:03 +01:00
a16ee2b01f Moved all the files from Screen. Components now uses shared ptr objects of Box. TextBox inherits from Box. 2023-11-28 23:31:17 +01:00
f2153f53af ScreenComponents: Added padding for each textbox. modified Display() logic in component. In screen, added padding for Connecting(). 2023-11-28 22:23:24 +01:00
629bae5fd5 More generic Approach for TextBox, same for Components that will be containg Boxes 2023-11-28 21:30:37 +01:00
f7d7bd7688 Added clover logo. 2023-11-27 23:55:32 +01:00
668d22fd40 Changed font 2023-11-27 23:30:29 +01:00
cf50debfd0 Added Loading screen when connected. Showing basic loop when finished. Fixed padding. 2023-11-27 23:06:42 +01:00
72ac1f20df Added padding to display. 2023-11-27 21:50:04 +01:00
9e32194a70 Updated gitignore. Removing warning for connecting() function in Screen. 2023-11-27 00:01:22 +01:00
b5c01dc017 Updated Display to Screen. Added ScreenComponents to simplify the use of the U8g2lib. Now showing IP on the screen. 2023-11-26 23:46:13 +01:00
c49073ece1 DataHandler and ServerHandler are now single instances following the Singleton pattern. 2023-11-26 16:11:48 +01:00
8cf51ec22d Changing directory. 2023-11-24 14:54:47 +01:00