I added pin 32 in the display config as the backlight and i now see this in the log, however the panel just locks up. Is there anything physically I need to do to the board to enable the backlight on 32?
I have added the firmware lolin-d32-pro_ili9341_full_16MB_v0.6.2.bin to the pre-compiled binaries of the v0.6.2 release. If you upload this firmware to your device the screen should work out of the box.
I am trying to use the messagebox object.
Can someone share their integration of messagebox with home assistant.
I had integrated lights and sensors successfully, still struggling with the mesaagebox.
Purpose of using message box:
Scenario 1: need to have a confirmation message displayed when i press a certain button on the screen.
When confirm button is pressed it fires an action to home assistant. Maybe turns on a switch.
Scenario2: when an alram is triggered in Home assistant, message box appears on the screen as a warning, confirmation button needs to be pressed to initiate clear alarm action.
I think you’ll need to use the HA custom integration, and do the automations in HA. You could create the msgbox via a jsonl command over mqtt, then set it to hidden to make it disappear. Or switch to a page that has the msgbox, then back again after you click disable.
Any chance that a SSD1963 based screens will work? I do see some reference in the lvgl source, but nothing definitive.
As long as there’s a driver for it, it should work. Both TFT_eSPI and LovyanGFX seem to have configuration options for SSD1963 panels. But to have a definitive answer you would have to test it proper.
I’m quite bad at HA integrations myself, but you will need to check the {{ val }} or {{ text }} that is sent in the up event. Similar to this button matrix example:
- obj: "p1b24"
event:
"up":
- service: >
{% if val == 0 %} # First button pressed
climate.turn_on
{%-elif val == 1 %} # Second button pressed
climate.turn_off
{%-elif val == -1 %} # Msgbox contents pressed
# ignored
{% endif %}
target:
entity_id: "climate.thermostat_1"
I have not tested this to confirm, but I think that should point you in the right direction.
I believe these letters belong to the Vietnamese character set, which we currently don’t support in full.
I’ve added a reply in Github discussions on how the go forward with adding support for Vietnamese.
First a big thanks for this project - I had 4 spare FreeTouchDeck circuit boards and matching screens sitting around and was wondering about how I could integrate them into my HA setup.
I seem to be missing something with the file editor though. I can delete files, create files, upload and download files but for the life of me how do you EDIT files??? I can make changes to a file chosen in the editor, but how do I save those changes?
I wonder how difficult it would be to add a rotary encoder to the GPIO options. A clickable knob would be great for navigation and contextual stuff like changing volume or temperature