Commit Graph

36 Commits

Author SHA1 Message Date
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
Ian Geiser
d10ff6262e add upstream for #998 2020-09-15 08:18:27 -04:00
Ian Geiser
7976e97046 add more colors from upstream 2020-09-13 08:37:48 -04:00
Ian Geiser
f0b67875a9 support page operations on display 2020-09-13 08:18:23 -04:00
Airy André
d1edf14b5e Merge pull request #3 from abmantis/bright
Add brightness config support
2020-03-07 09:55:21 +01:00
abmantis
6a77ae993a Add brightness config support
This is far from perfect, but its a start. Ideally, the value would be
set in the display component instead.
2020-03-07 00:37:57 +00:00
Airy André
a479ec8241 Force 115200 upload speed 2020-02-23 12:25:47 +01:00
Airy André
9adeb32107 Merge pull request #1 from apolselli/patch-1
bus_b (unused) had wrong pins
2020-02-16 09:23:17 +01:00
apolselli
2ec23b7efa bus_b (unused) had wrong pins 2020-02-16 06:44:48 +01:00
Airy André
52bb51a5ec Add how to install 2020-02-13 11:38:06 +01:00
Airy André
0f63f62937 Fixed config + picture added 2020-02-09 11:33:20 +01:00
Airy André
5b6660dbbf Better battery level - still wrong but at least that's some sample sensor for this component... 2020-02-09 11:15:53 +01:00
Airy André
18b807347d First version of components 2020-02-09 10:06:06 +01:00
Airy André
6da6845416 Initial version 2020-02-09 10:01:19 +01:00