-
Great firmware. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 11 replies
-
Hi there , it.printf(20, 120, id(icon_font_80), blue, "\U000F075E"); # icon
it.printf(20, 120, id(my_font3), blue, "Living Room"); # label you may need to change the co-ordinates to line it up. in this case 20 = start at pixel 20 from left(max of 320) and 120 is from the top out of (max of 240) |
Beta Was this translation helpful? Give feedback.
-
HI Lars ,
I’m really pleased that you are finding the box useful! They really are quite good.
I’m not sure if it is possible to change the language, but I will have a look into this and let you know, if it can be done.
The display lines are in a ‘lambda’ and uses c++ rather than yaml. In order to comment out lines you would add // rather than # so it would look like this
//it.printf(20, 75, id(icon_font_80), light_blue,"\U000F1322");
I hope that helps, and I will let you know about the weekdays.
Thanks for your support.
Rob
From: Lars Bluhme ***@***.***>
Sent: Monday, June 17, 2024 5:55 PM
To: BigBobbas/ESP32-S3-Box3-Custom-ESPHome ***@***.***>
Cc: BigBobbas ***@***.***>; Comment ***@***.***>
Subject: Re: [BigBobbas/ESP32-S3-Box3-Custom-ESPHome] Any way to get labels on icons! (Discussion #9)
Great. Thank you. After hours of tinkering on a rainy Sunday I got a result that I am very fond of. And at the same time I get slowly better in using Esphome.
I have screens suited for my purpose and I can show the value of sensors (temperatures) from HA and also turn on and off lights from HA. And make the icons change color after the state :-).
Suddenly the gadget (S3) becomes useful.
I live in Denmark and would like the weekdays in the save screen to show in Danish. Can I do that?
And a stupid question, perhaps. When I try to comment-out lines that I would like to remove from the screen but like to keep in the event that I am going to use them later, I get a compilation error - saying something of "if"
E.g.
it.printf(20, 75, id(icon_font_80), light_blue,"\U000F1322");
it.printf(120, 75, id(icon_font_80), light_blue,"\U000F1322");
it.printf(220, 75, id(icon_font_80), light_blue, "\U000F1322");
well. Thank you for a great job
/Lars
—
Reply to this email directly, view it on GitHub <#9 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BD4EBKP2NWN5JFCJVZI2KYTZH4IEXAVCNFSM6AAAAABJL7LKCOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TOOJXGAYDS> .
You are receiving this because you commented. <https://github.com/notifications/beacon/BD4EBKMTU46ZSKBPWMGY5UTZH4IEXA5CNFSM6AAAAABJL7LKCOWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQASV6ZC.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
Hello again, substitutions:
name: esp32-s3box-3
friendly_name: ESP32-S3-Box-3
####################################################################
#### change the micro wake word to be used on the line below #####
#### options are okay_nabu, hey_jarvis, alexa #####
####################################################################
micro_wake_word_model: okay_nabu
####################################################################
#### Days and months ####
## Change the values on the right to match your locale ##
monday: Monday
tuesday: Tuesday
wednesday: Wednesday
thursday: Thursday
friday: Friday
saturday: Saturday
sunday: Sunday
jan: January
feb: February
mar: March
apr: April
may: May
jun: June
jul: July
aug: August
sept: September
oct: October
nov: November
dec: December Everything on the righthand side is what will be displayed on the screen, so you can basically type anything. secondly I have made a couple of changes to the saver page, so you can just copy and paste the entire block below, overwriting the current config.
I hope that all works ok for you, let me know if you need any help. |
Beta Was this translation helpful? Give feedback.
-
Hello I have a compilation problem with this code
const char *days[] {"{${sunday}","${monday}","${tuesday}","${wednesday}","${thursday}","${friday}","${saturday}"}; it.strftime(180, 10, id(my_font3), light_blue, "%d", id(ha_time).now()); const char *months[] {"{${jan}","${feb}","${mar}","${apr}","${may}","${jun}","${jul}","${aug}","${sept}","${oct}","${nov}","${dec}"}; it.strftime(160, 85, id(my_fontseg2), TextAlign::CENTER, "%H :%M", id(ha_time).now()); |
Beta Was this translation helpful? Give feedback.
-
I try to integrate the temperature of a room and the humidity but the display and suppose
|
Beta Was this translation helpful? Give feedback.
-
it.printf(80, 180, id(my_font4), red,TextAlign::CENTER, "%.f°C", id(liv_temp).state); |
Beta Was this translation helpful? Give feedback.
Great. Thank you. After hours of tinkering on a rainy Sunday I got a result that I am very fond of. And at the same time I get slowly better in using Esphome.
I have screens suited for my purpose and I can show the value of sensors (temperatures) from HA and also turn on and off lights from HA. And make the icons change color after the state :-).
Suddenly the gadget (S3) becomes useful.
I live in Denmark and would like the weekdays in the save screen to show in Danish. Can I do that?
And a stupid question, perhaps. When I try to comment-out lines that I would like to remove from the screen but like to keep in the event that I am going to use them later, I get a compilation error - saying …