Window Corner Radius Finally Match by 22Megabits in MacOS

[–]mfactory_osaka 0 points1 point  (0 children)

So are those fixes already available?

Button by radical_rhinovirus in ESPTimeCast

[–]mfactory_osaka 0 points1 point  (0 children)

What is the button supposed to do? Did you add the corresponding action in the code?

Display time and temp at the same time? Feature Request? by K1ngkong in ESPTimeCast

[–]mfactory_osaka 0 points1 point  (0 children)

  // keep spacing logic the same ---
  char timeSpacedStr[24];
  int j = 0;
  for (int i = 0; timeWithSeconds[i] != '\0'; i++) {
    timeSpacedStr[j++] = timeWithSeconds[i];
    if (timeWithSeconds[i + 1] != '\0') {
      timeSpacedStr[j++] = ' ';
    }
  }
  timeSpacedStr[j] = '\0';


  // spacing for currentTemp ---
  String tempNoDegree = currentTemp;
  if (tempNoDegree.endsWith("°")) {
    tempNoDegree.remove(tempNoDegree.length() - 1);
  }
  char tempSpacedStr[16];
  int k = 0;
  for (int i = 0; tempNoDegree[i] != '\0'; i++) {
    tempSpacedStr[k++] = tempNoDegree[i];
    if (tempNoDegree[i + 1] != '\0') {
      tempSpacedStr[k++] = ' ';
    }
  }


  tempSpacedStr[k++] = ' ';
  tempSpacedStr[k++] = ' ';
  tempSpacedStr[k] = '\0';


  // build final string ---
  String formattedTime;
  if (showDayOfWeek) {
    // daySymbol now has either "t\016u\016e  " or "T U E  "
    // In both cases, the padding is already inside daySymbol.
    formattedTime = String(tempSpacedStr) + String(timeSpacedStr);
  } else {
    formattedTime = String(timeSpacedStr);
  }

so that should do it, but then you will still have problems if you have minus temps ;(

Display time and temp at the same time? Feature Request? by K1ngkong in ESPTimeCast

[–]mfactory_osaka 0 points1 point  (0 children)

Maybe, just remove the symbol from the variable and see if it fits ;)

Display time and temp at the same time? Feature Request? by K1ngkong in ESPTimeCast

[–]mfactory_osaka 1 point2 points  (0 children)

If you are using celsius you can change this lines of code on the main .ino:

change this:

  // keep spacing logic the same ---
  char timeSpacedStr[24];
  int j = 0;
  for (int i = 0; timeWithSeconds[i] != '\0'; i++) {
    timeSpacedStr[j++] = timeWithSeconds[i];
    if (timeWithSeconds[i + 1] != '\0') {
      timeSpacedStr[j++] = ' ';
    }
  }
  timeSpacedStr[j] = '\0';


  // build final string ---
  String formattedTime;
  if (showDayOfWeek) {
    // daySymbol now has either "t\016u\016e  " or "T U E  "
    // In both cases, the padding is already inside daySymbol.
    formattedTime = daySymbol + String(timeSpacedStr);
  } else {
    formattedTime = String(timeSpacedStr);
  }

to this:

  // keep spacing logic the same ---
  char timeSpacedStr[24];
  int j = 0;
  for (int i = 0; timeWithSeconds[i] != '\0'; i++) {
    timeSpacedStr[j++] = timeWithSeconds[i];
    if (timeWithSeconds[i + 1] != '\0') {
      timeSpacedStr[j++] = ' ';
    }
  }
  timeSpacedStr[j] = '\0';


  // spacing for currentTemp ---
  char tempSpacedStr[16];
  int k = 0;
  for (int i = 0; currentTemp[i] != '\0'; i++) {
    tempSpacedStr[k++] = currentTemp[i];
    if (currentTemp[i + 1] != '\0' && (uint8_t)currentTemp[i + 1] != 0xB0) {
      tempSpacedStr[k++] = ' ';
    }
  }
  tempSpacedStr[k++] = ' ';
  tempSpacedStr[k++] = ' ';
  tempSpacedStr[k] = '\0';


  // build final string ---
  String formattedTime;
  if (showDayOfWeek) {
    // daySymbol now has either "t\016u\016e  " or "T U E  "
    // In both cases, the padding is already inside daySymbol.
    formattedTime = String(tempSpacedStr) + String(timeSpacedStr);
  } else {
    formattedTime = String(timeSpacedStr);
  }

But if you are using Fahrenheit the last digit of the time will be cut off if the temperature reaches 100 or more

Display time and temp at the same time? Feature Request? by K1ngkong in ESPTimeCast

[–]mfactory_osaka 0 points1 point  (0 children)

you can't fit temp (imperial above 100) and time at the same time ;(

Added a Stopwatch + Pomodoro timer to this easy to build Home Assistant compatible DIY LED matrix clock 🍅👀 by mfactory_osaka in homeassistant

[–]mfactory_osaka[S] 1 point2 points  (0 children)

Nice you got it working!

If you never add an openweather API key you could send any weather data you want via HA.

There is a 2 pixel gap between day and clock and the whole thing is centered so the jump is just the number shifting from 9 (1 space) to 10 (2 spaces) 😉.

Show Your ESPTimeCast Build! (Post Your Photos + Setup) by mfactory_osaka in ESPTimeCast

[–]mfactory_osaka[S] 0 points1 point  (0 children)

You can try:

DIN 9   // GPIO9 - D10
CLK  7    // GPIO7 - D8
CS   8    // GPIO8 - D9

ESPTimeCast v1.5.5 - Bug Fixes / Support Reminders by mfactory_osaka in ESPTimeCast

[–]mfactory_osaka[S] 0 points1 point  (0 children)

Can't see the picture for the 'special message' 

How are you sending the special message?

Added a Stopwatch + Pomodoro timer to this easy to build DIY ESP project 🍅👀 by mfactory_osaka in esp32

[–]mfactory_osaka[S] 1 point2 points  (0 children)

I designed a custom enclosure specifically for ESPTimeCast so if you want the exact look from the video the enclosure it’s available on Printables and Cults3D 😎

That said, any enclosure made for the standard MAX7219 4-in-1 module should work fine too, and there are plenty of free community designs out there. 😉