63 Commits

Author SHA1 Message Date
Ludovic BOUÉ
e5478039ab Create m5coreS3.yaml 2024-01-29 23:05:25 +01:00
Ludovic BOUÉ
4c5c859321 Add link to Core2 V1.1 doc
Add link to Core2 V1.1 doc
2024-01-27 15:12:50 +01:00
Stefan Thoss
4f04516323 Use ESP_LOGCONFIG (#2) 2024-01-09 16:01:45 -08:00
Stefan Thoss
469b50b607 Add battery charging state and voltage (#1) 2023-12-22 21:22:26 -08:00
Stefan Thoss
a477785a34 Add XPowersLib 2023-12-21 21:02:44 -08:00
Stefan Thoss
89adb157fa First working version 2023-12-21 20:51:50 -08:00
Stefan Thoss
f215521303 Change to AXP2102 2023-12-21 20:50:53 -08:00
martydingo
7319e5d4ab Update README.md 2023-05-31 18:00:05 +01:00
martydingo
ddb280dca7 Merge pull request #5 from DotBowder/master
Bugfix: Add breaks to switch/case statements. Format: Replace tabs with four spaces. Remove trailing spaces.
2023-05-18 00:51:32 +01:00
Daniel
56e649bd4e Replace tabs with four spaces. Remove trailing whitespace. 2023-05-16 04:50:38 -07:00
Daniel
58998da466 Add breaks to switch/case statements. 2023-05-16 04:36:45 -07:00
martydingo
1dfd568b05 Update README.md 2023-04-17 14:08:39 +01:00
martydingo
a0a9883fcd Update README.md 2023-04-17 13:48:05 +01:00
martydingo
d4228e5467 Merge pull request #3 from paulchilton/master
Added an option for the M5TOUGH display
2023-04-17 12:28:38 +01:00
paulchilton
87875c10ef Create m5tough.yaml 2023-01-02 09:11:26 +00:00
paulchilton
bf415d05cc Added README details specific to this repo 2023-01-02 09:00:40 +00:00
paulchilton
6d87e2c74d Changed brightness log so it only logs when the value is changed 2023-01-01 10:00:49 +00:00
paulchilton
97b6f0115f Moved restart code to the correct place for the M5Tough 2022-12-31 20:51:02 +00:00
paulchilton
25fcd23de9 Removed log entry 2022-12-31 20:48:08 +00:00
paulchilton
cb8a0e8364 Update axp192.cpp 2022-12-31 20:47:27 +00:00
paulchilton
3e3ec2366c Added GetStartupReason method header 2022-12-31 20:47:16 +00:00
paulchilton
21078e5565 Update axp192.cpp 2022-12-31 20:45:39 +00:00
paulchilton
4c91690d8d Update axp192.cpp 2022-12-31 20:41:23 +00:00
paulchilton
253aaccfa7 Update axp192.cpp 2022-12-31 20:34:23 +00:00
paulchilton
93a89eb95d Testing different placement of auto-restart 2022-12-31 20:19:45 +00:00
paulchilton
fe779b8631 Update axp192.cpp 2022-12-31 20:13:15 +00:00
paulchilton
a6ea145770 Added check for first power on and reset so the display properly initialises 2022-12-31 20:08:15 +00:00
paulchilton
48e528e8a3 Update README.md 2022-12-31 17:10:18 +00:00
paulchilton
fc022332b3 Added M5Tough Option 2022-12-31 17:06:46 +00:00
paulchilton
89bda5a501 Added M5 Tough Option 2022-12-31 17:05:29 +00:00
paulchilton
a1d5441cda Added M5 Tough option 2022-12-31 17:04:51 +00:00
martydingo
ca65bd6e48 Merge pull request #1 from cmet7/brightness-fix
fix brightness of m5core2 screen
2022-11-29 17:32:16 +00:00
Chris Metcalfe
35e0c12938 fix brightness of m5core2 screen
m5core2 uses DC-DC3 to control brightness rather than using LDO2. DC-DC3 is controlled by the 7 least significant bits in the 0x27 register; the most significant bit is reserved. As a result the brightness value shifts left 3 places rather than 4. in order to set the register I read the entire byte, logical AND with 0x80 to clear all bits except the reserved bit, logical OR with the shifted brightness value.

added brightness to the sample m5core2 config
2022-10-10 19:05:18 -05:00
marty@dingo.sh
2991c78f5b Merge branch 'master' of github.com:martydingo/esphome-axp192
Merged TEADME.md
2022-09-09 01:17:44 +01:00
marty@dingo.sh
e0adb42e6d actually commit m5core.yaml 2022-09-09 01:16:47 +01:00
martydingo
911679c69a Update README.md 2022-09-03 17:16:35 +01:00
marty@dingo.sh
401605df03 initial commit 2022-09-03 17:13:33 +01:00
Airy André
6f4d842a2a Merge pull request #17 from gonzalop/updates-in-ha
Fixes compilation with esphome > 2022.2.6.
2022-03-29 16:35:42 +02:00
Gonzalo Paniagua Javier
f0c48216fd Fixes compilation in with esphome > 2022.2.6.
esphome versions after 2022.2.6 fail to compile axp192 with the
following error:

  File "/home/test/esphome/custom_components/axp192/sensor.py", line 16, in <module>
    sensor.sensor_schema(UNIT_PERCENT, ICON_BATTERY, 1).extend({
  TypeError: sensor_schema() takes from 0 to 1 positional arguments but 3 were given
2022-03-29 10:29:34 -04:00
Airy André
7c6577f32b Merge pull request #15 from shish/master
Use uint8_t for byte data
2022-01-05 23:10:09 +01:00
Shish
1a46c6e86d Use uint8_t for byte data 2022-01-05 22:01:14 +00:00
Airy André
50f7708f57 Merge pull request #14 from gonzalop/patch-1
Fix compilation with current esphome code
2022-01-05 15:02:48 +01:00
Gonzalo Paniagua Javier
2f9a66b23e Fix compilation with current esphome code
Fixes errors including:
src/esphome/components/axp192/axp192.cpp: In member function 'void esphome::axp192::AXP192Component::DeepSleep(uint64_t)':
src/esphome/components/axp192/axp192.cpp:355:35: error: 'gpio_num_t' was not declared in this scope
     esp_sleep_enable_ext0_wakeup((gpio_num_t)37, LOW);
                                   ^
src/esphome/components/axp192/axp192.cpp:355:50: error: 'LOW' was not declared in this scope
     esp_sleep_enable_ext0_wakeup((gpio_num_t)37, LOW);
                                                  ^
2021-12-30 16:53:01 -05:00
Airy André
b9d955732c Make colors great again 2020-10-20 11:32:39 +02:00
Airy André
37c4fa7bc6 Merge pull request #9 from geiseri/master
support page operations on display
2020-10-20 11:20:07 +02:00
Airy André
8c301f300c Merge branch 'master' into master 2020-10-20 11:19:58 +02:00
Airy André
42bb5e58b2 Merge pull request #10 from geiseri/1_15_changes
Changes to support ESPHome 1.15
2020-10-20 11:12:37 +02:00
Ian Geiser
5e31e93afa make colors compat again 2020-09-15 13:51:37 -04:00
Ian Geiser
7e4c5cbf6a Merge branch '1_15_changes' of github.com:geiseri/esphome-m5stickC 2020-09-15 11:39:35 -04:00
Ian Geiser
5d2419b4ad use Color class from upstream 2020-09-15 11:38:33 -04:00