I actually have several displays around the house to monitor my blood glucose levels, besides using the AMOLED next to my bed. I also Lolin 2.4" TFT displays next to my computer and in the living room.
The graph works okay to show trend and magnitude/rate of change (haven’t figured out how to get the trend arrows yet), but without grid labels it is hard to get the value and time off of the graph. The graph get erased and starts over if the ESP32 is updated or reset. Is will try take a picture tomorrow (3:00 am here). Will also be changing the code to allow brightness to be adjusted from touchscreen.
I am looking forward to the LVGL support that is coming soon, that should make things easier.
Thanks @carbuthn I tried it, but still just a black screen. Where did you see the new 12c pins ?
I also have little displays all around the house and I’m starting to wonder if it might be possible just to integrate with a smart watch somehow. Then I can check my inverter status etc etc at any time just glancing at my watch.
Thanks so much. It says it does need a spi component. I could read off the pinouts the following, but it does not show the reset or mosi pins anywhere.
For the life of me, I can’t seem to figure out how to get this to work. Every time, I get editor complaints about the display, but worse, the compile fails earlier with complaints about the config. If I have that trailing :, it fails on that…
INFO ESPHome 2024.10.2
INFO Reading configuration /config/esphome/test.yaml...
ERROR Unable to import component ili9xxx.display:
Traceback (most recent call last):
File "/esphome/esphome/loader.py", line 177, in _lookup_module
module = importlib.import_module(f"esphome.components.{domain}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/data/external_components/fbb92d5f/esphome/components/ili9xxx/display.py", line 6, in <module>
from esphome.const import (
ImportError: cannot import name 'CONF_INIT_SEQUENCE' from 'esphome.const' (/esphome/esphome/const.py)
Failed config
display.ili9xxx: [source /config/esphome/test.yaml:72]
Platform not found: 'display.ili9xxx'.
platform: ili9xxx
bus_type: i80
cs_pin: 6
reset_pin: 5
id: w32_disp
model: st7789v
data_rate: 2MHz
dimensions:
height: 320
width: 170
offset_width: 35
offset_height: 0
My main reason is so that I can use the esp-idf esphome platform instead of arduino, as it is recommended in the Bluetooth Proxy docs: Bluetooth Proxy — ESPHome
@clydebarrow I saw you closed the 2 PRs related to this. Does this mean it’s not going to get merged into master for home assistant core?