Commit graph

43 commits

Author SHA1 Message Date
KlausMu
cbeacbb7ee Fallback in case of sleepTimeout is set to 0 2024-06-09 08:38:34 +02:00
Max K
ceb4a6a737 Re-added file in hardwarePresenter.h
IR_PROTOCOL_SAMSUNG36 had been removed by mistake
2024-05-25 17:08:23 +02:00
Max
a13418b035 Hardware Revision 4 Initial Commit
Changes in hardware:
- MAX17048 for battery monitoring instead of ESP32 ADC
- Onboard LiPo protection for overvoltage, undervoltage and overcurrent (DW01A) (issue #53)
- Testpoints added for critical signals
- Capacitor on ESP32_EN changed from 100nF to 1uF ( issue #62)
- Easier to source LiPo charger (TP4056)
- LiPo charger status input fixed(issue #55)
Changes in software:
- MAX17048G added as source for battery stats (enabled by defining board revision 4 in Platformio.ini)
2024-05-25 17:08:23 +02:00
KlausMu
8db3cefeed improved logging 2024-05-10 12:33:35 +02:00
KlausMu
8f0ceeb72b set keys again both for new guis and new scenes 2024-05-09 07:55:07 +02:00
KlausMu
17ee1f06d0 add device gui for yamahaAmp 2024-05-09 07:55:07 +02:00
KlausMu
749f13417e support of "showSpecificGUI" in sceneHandler 2024-05-09 07:55:07 +02:00
KlausMu
267e39bf93 allow gui specific key bindings 2024-05-09 07:55:07 +02:00
KlausMu
d833827fab navigate to specific GUI and back to last position in previous gui list 2024-05-09 07:55:07 +02:00
KlausMu
5a420c381a reorganized deletion and creation of tabs 2024-05-09 07:55:07 +02:00
KlausMu
84e8895102 typo 2024-04-16 15:15:09 +02:00
KlausMu
8e24963605 introduction of "device_pool" 2024-04-16 14:21:16 +02:00
KlausMu
62386efa4d some format changes 2024-04-16 13:19:32 +02:00
JustMe-NL
75d9a53104
Update main.cpp 2024-04-15 20:02:38 +02:00
JustMe-NL
ac6f77ff2c Added Samsung36 IR protocol:
modified:   Platformio/hardware/ESP32/infrared_sender_hal_esp32.cpp
    modified:   Platformio/hardware/windows_linux/infrared_sender_hal_windows_linux.cpp
	modified:   Platformio/src/applicationInternal/hardware/hardwarePresenter.h

Added 5 new devices:
LG TV
	new file:   Platformio/src/devices/TV/device_lgTV/device_lgTV.cpp
	new file:   Platformio/src/devices/TV/device_lgTV/device_lgTV.h
LG Soundbar
	new file:   Platformio/src/devices/AVreceiver/device_lgsoundbar/device_lgsoundbar.cpp
	new file:   Platformio/src/devices/AVreceiver/device_lgsoundbar/device_lgsoundbar.h
LG Blu-Ray player
	new file:   Platformio/src/devices/mediaPlayer/device_lgbluray/device_lgbluray.cpp
	new file:   Platformio/src/devices/mediaPlayer/device_lgbluray/device_lgbluray.h
Samsung Blu-Ray player
	new file:   Platformio/src/devices/mediaPlayer/device_samsungbluray/device_samsungbluray.cpp
	new file:   Platformio/src/devices/mediaPlayer/device_samsungbluray/device_samsungbluray.h
Nvidea Shield 2015
	new file:   Platformio/src/devices/mediaPlayer/device_shield/device_shield.cpp
	new file:   Platformio/src/devices/mediaPlayer/device_shield/device_shield.h
2024-04-15 13:25:47 +02:00
KlausMu
3b5e8b5c39 changed u_int8_t to int due to consistancy and for mingw 2024-04-11 08:38:31 +02:00
KlausMu
ef162cde24 navigate with pageIndicator and commands to prev and next gui 2024-04-11 08:38:31 +02:00
KlausMu
ff60667ed2 increased timer until scene is activated 2024-04-05 13:18:50 +02:00
KlausMu
f0374fde99 renamed scene__defaultKeys to scene__default 2024-04-05 13:18:50 +02:00
KlausMu
4488b1e589 gui for scene selection 2024-04-05 13:18:50 +02:00
KlausMu
d91b3c0041 receive MQTT message even if gui is not in memory 2024-03-24 19:20:04 +01:00
KlausMu
054a9dbc51 wait only 5 ms instead of 100 ms for LCD driver to power on 2024-03-24 12:59:07 +01:00
KlausMu
665b6908e1 MQTT support in lvgl simulator 2024-03-18 20:20:59 +01:00
KlausMu
73caf51198 prevent high current during sleep 2024-03-16 21:25:33 +01:00
KlausMu
17873f50d4 prevent high current during sleep 2024-03-16 21:24:10 +01:00
KlausMu
dbfa058d22 rearranged order of hardware initialization 2024-03-15 21:35:13 +01:00
KlausMu
af815a234f folders removed which are not used anymore 2024-03-14 17:48:52 +01:00
KlausMu
ac29d4936b enable smarthome when wifi is enabled, not when mqtt keyboard is enabled 2024-03-14 14:43:33 +01:00
KlausMu
7cafda93da Merge branch 'lvgl-simulator' of https://github.com/CoretechR/OMOTE into lvgl-simulator 2024-03-13 07:17:41 +01:00
KlausMu
3e22a4c88b changed .vscode/settings.json 2024-03-13 07:17:36 +01:00
KlausMu
dd36f09c15 only activate used commands. Saves 15k of memory 2024-03-12 20:26:55 +01:00
KlausMu
934a2cd9af removed unnecessary complexity when registering scenes 2024-03-12 19:12:43 +01:00
KlausMu
63d50baa11 changed comment for hardware rev 2 and 3 in platformio.ini 2024-03-11 07:44:29 +01:00
KlausMu
991a0db146 added some missing #include <stdint.h> for simulator in Windows 2024-03-10 20:25:53 +01:00
KlausMu
153535b586 simulator for Windows, WSL2 and Linux 2024-03-10 19:27:46 +01:00
KlausMu
b98a06e91c memory optimization, only three tabs in memory at the same time 2024-03-10 14:41:50 +01:00
Matthew Gajownik
4227372859
Add IR codes for Denon AVR (#61)
Covers all buttons available on the RC-1243
2024-03-10 11:40:26 +01:00
Max
a8265c9580 fixed the ESP32 build action
- Changed include name to fix build actions
- Removes Changes in this fork from readme
2024-02-12 20:51:34 +01:00
Klaus Musch
7ba79d5c92
Modular approach - first version for main branch (#60)
* first version of "modular-approach"

* changed keyboard commands for HOME and BACK

* Update README.md

* only some typos in comments

* readability

* comment for what the mqtt keyboard is used

* removed numbering of tab variables. not needed anymore

* changed the default keyboard from "´mqtt keyboard" to "BLE keyboard"

* updated to latest version of keypad library from Github, changes for inverted logic are explicitely marked

* added comment for key repeatModes

* added comment for MQTT keyboard

* setting timout via GUI now works, not only dropdown without functionality

* BLE indicator added; separation of BLE/WiFi activation from activation of devices using it

* report battery level to BLE device

* Dynamic keyboard commands, so you can safely deactivate BLE and/or WiFi and not break the example code

* reorganized files into folders

* moved lv_conf.h into the gui folder

* added devices for appleTV and smarthome

* assets.c broken up and placed them where they are used

* added support for IR RC5

* reorganization of files and folder

* added comment

* renamed assets files

* introduction of gui_registry

* removed unnecessary functions from sleep.h

* use gui_registry.h only once

* some files renamed for better understandability

* minor renaming

* some more renaming

* check if WiFi label was instantiated before using it

* introduction of a scene registry

* save prefs directly after timeout is changed

* renaming of preferencesStorage

* comment added

* only readability

* detailled definition of key layout for the diferrent scenes

* made code compile for "device_smarthome" when WiFi is deactivated

* fixed access violation when no scene was active

* added support for IR DENON commands

* increased lvgl heap from 32K to 48K
2024-02-12 19:57:51 +01:00
Klaus Musch
d97d263620
changed bufA and bufB from static to dynamic allocated memory to safe static DRAM (#57) 2024-01-21 20:05:49 +01:00
phant0mias
a42a756205
Update platformio.ini (#43)
The used CPU has 4MB of flash memory. With the default settings only 1310720 bytes are used for the program
Current omote with default settings: Flash: [========= ]  85.1% (used 1115225 bytes from 1310720 bytes)

Using a different partition table will solve this problem. 

As the OTA feature is not needed this partition can be used for the application.
With this partition table 3145728 bytes are available for the application

Flash: [====      ]  35.5% (used 1115225 bytes from 3145728 bytes)
2023-09-27 20:46:52 +02:00
Max
ff472fe232 Lower default SPI Clock
Lowered the default SPI clock as some displays might show glitches with the SPI frequency set above 40MHz.
2023-07-31 20:20:56 +02:00
Max
00145ed0dc Initial Upload 2023-06-28 20:26:56 +02:00