1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-18 16:50:28 +01:00

17 Commits

Author SHA1 Message Date
Edward Firmo
9816c27031
[nextion] Remove _internal from non-protected functions () 2024-12-16 11:00:44 +13:00
Edward Firmo
9d03f47233
[nextion] Add basic functions to Intelligent series () 2024-05-24 09:11:34 +12:00
Edward Firmo
197f9d6d03
Nextion - Review types () 2024-04-18 12:10:10 +12:00
Edward Firmo
8c323e2e4c
Nextion - Review set_protocol_reparse_mode() () 2024-04-18 11:07:05 +12:00
Edward Firmo
e753ac3a97
Fix Nextion set_component_picture call ()
This fixes the call to the Nextion display to change the pic id from a component.
It was previously changing the attribute `val`, which is related to something else.
In addition, I've changed the parameter for picture_id to be uint_8, as Nextion requires an integer from 0 to 255 on this attribute.
2024-03-16 00:19:25 -05:00
Edward Firmo
869cdf122d
Nextion draw QR code at runtime () 2024-01-09 09:47:48 +09:00
Edward Firmo
f026f49415
Nextion exit reparse mode on startup ()
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-12-06 00:55:07 -06:00
Edward Firmo
4d3730b50e
Nextion support to idf with cinttypes () 2023-12-04 19:09:44 -06:00
Edward Firmo
2f888ff7c5
Nextion colors parameters ()
* Add `foreground` color

- Adds `set_component_foreground_color` and `set_component_pressed_foreground_color` which does the same as `set_component_font_color` and `set_component_pressed_font_color` but with a more intuitive name, as this can be used for any component and not only the ones with a text (font).
- I've also reviewed some docstring when related to colors.

* Add numeric color to drawing methods

Should I've used uint32_t instead? In order to keep consistency?

* component color support to uint6_t

This is the right format and is now consistent with colors on drawings.
I'm keeping uint32_t also to avoid breaking changes.

* Enforces uint16_t for colors

uint32_t is incorrect for Nextion display colors.

* Fix clang-format
2023-11-27 22:50:14 -06:00
Edward Firmo
d81bec860b
Nextion support to esp-idf ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-07 19:50:45 -06:00
Edward Firmo
a8a9c6192d
Remove page jump on Nextion startup () 2023-11-06 18:48:15 -06:00
Edward Firmo
7e27e98bff
set Nextion protocol reparse mode () 2023-10-24 08:02:57 +13:00
Edward Firmo
3d7d0d4f73
Remove unnecessary checks in Nextion component () 2023-10-21 14:38:22 -05:00
Jesse Hills
302dea4169
Move ESPTime into core esphome namespace ()
* Prep-work for datetime entities

* Fix some includes and remove some restrictions on printing time on displays

* format

* format

* More formatting

* Move function contents

* Ignore clang-tidy
2023-06-08 17:24:44 -05:00
Viktor Nagy
5abd91d6d5
Nextion brightness setting requires an assignment () 2022-06-09 16:20:05 +12:00
Lubos Horacek
7217a4f7a4
Fix display picture for nextion display () 2022-01-10 14:08:38 +13:00
SenexCrenshaw
0651716b96
Nextion upload and sensors ()
Co-authored-by: Senex Crenshaw <senexcrenshaw@gmail.com>
2021-07-15 12:51:15 +12:00