logo elektroda
logo elektroda
X
logo elektroda

SmallTV-Ultra which is a small display on ESP8266 showing weather forecast, photos, animations

p.kaczmarek2 5511 34
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #31 21494921
    p.kaczmarek2
    Moderator Smart Home
    I've made the tutorial showing you step by step how you can run this SmallTV-Ultra with PlatformIO, but it's the same as in ArduinoIDE mostly. Check it out:
    How to program SmallTV-Ultra in PlatformIO? Running TFT ST7789 with Adafruit and directly
    I've also included code sample for running TFT without external library. Let me know if I can help you futher somehow, and I'll be happy if you mention my tutorial in the video.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #32 21494935
    EmperorProdigy
    Level 4  
    This is super helpful - thank you so much!

    I'll be sure to mention this in my video and credit you for it
  • ADVERTISEMENT
  • #33 21495329
    p.kaczmarek2
    Moderator Smart Home
    You're welcome. If you have any futher requests or ideas for SmallTV-ultra or generic ESP tutorials, let me know.

    For now, I've gotten those boards for some testing and research:

    Electronic modules and screen on a wooden surface.
    Electronic modules with a touch display on a table.
    ESP32-S3-Touch-LCD-5 module held by a hand.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #34 21504698
    EmperorProdigy
    Level 4  
    The new GeekMagic ultra arrived and i got the code working! Thank you so much i really appreciate it

    Next step is to see if i can program a very basic game (something like pong or atari breakout) onto it, the controls would be from buttons hosted on a website on a webserver running on the SoC itself
  • #35 21522131
    laciaty1990
    Level 14  
    Cześć,
    posiadam falownik sofar spięty z homeassistantem po modbus over tcp, działa to ładnie. Kiedy zobaczyłem na ali te ekraniki od razu kupiłem dwa, zainstalowałem esphome, i zacząłem rzeźbić yamla, udało mi się dojść do etapu gdzie wszystko ładnie się odświeża i wyświetla, ale obsługa tego lcd przez sterownik to jest jakaś padaka, 13 sek zamrożonego ekranu, 2 sek czarnego i potem nowy ekran z odświeżoną zawartością. Pamietam że na oryginalnym sofcie te ekraniki były bardzo responsywne, generowały grafiki bardzo dynamicznie.

    esphome:
    name: small-tv-white
    friendly_name: small_tv_white

    esp8266:
    board: esp01_1m

    # Enable logging
    logger:

    # Enable Home Assistant API
    api:
    encryption:
    key: "xxxx"

    ota:
    - platform: esphome
    password: "xxxx"

    wifi:
    ssid: !secret wifi_ssid
    password: !secret wifi_password

    # Enable fallback hotspot (captive portal) in case wifi connection fails
    ap:
    ssid: "Small-Tv-White Fallback Hotspot"
    password: "SxKIpMSsyrQe"

    captive_portal:


    external_components:
    - source:
    type: git
    url: https://github.com/rletendu/esphome.git
    ref: st7789_nobuffer_202312
    components: [st7789v]



    spi:
    clk_pin: GPIO14
    mosi_pin: GPIO13
    interface: hardware
    id: spihwd

    time:
    - platform: homeassistant
    id: ha_time

    output:
    - platform: esp8266_pwm
    pin: GPIO05
    frequency: 40 Hz
    id: pwm_output

    light:
    - platform: monochromatic
    output: pwm_output
    name: "Backlight"

    display:
    - platform: st7789v
    model: "Custom"
    spi_id: spihwd
    height: 240
    width: 240
    offset_height: 0
    offset_width: 0
    dc_pin: GPIO00
    reset_pin: GPIO02
    eightbitcolor: True
    update_interval: 20s
    id: disp
    spi_mode: mode3
    lambda: |-
    it.fill(Color::BLACK);

    // Wiersz 1: MOC
    it.printf(10, 10, id(font_large), Color::WHITE, "MOC:");
    it.printf(105, 10, id(font_large), Color(255, 0, 0), "%.0f kW", id(moc_chwilowa).state);

    // Wiersz 2: DZIŚ
    it.printf(10, 55, id(font_large), Color::WHITE, "Dzis:");
    it.printf(95, 55, id(font_large), Color(0, 255, 0), "%.1f kWh", id(prod_dzienna).state);

    // Wiersz 3: OGÓLNIE
    it.printf(60, 105, id(font_large), Color::WHITE, "Ogolnie:");
    it.printf(40, 145, id(font_large), Color(0, 255, 255), "%.0f kWh", id(produkcja_total).state);

    // Wiersz 4: TEMPERATURA
    it.printf(15, 190, id(font_large), Color::WHITE, "Temp:");
    it.printf(125, 190, id(font_large), Color(255, 255, 0), "%.0f°C", id(temperatura_falownika).state);

    sensor:
    - platform: homeassistant
    id: moc_chwilowa
    entity_id: sensor.falownik_moc_chwilowa

    - platform: homeassistant
    id: prod_dzienna
    entity_id: sensor.falownik_produkcja

    - platform: homeassistant
    id: produkcja_total
    entity_id: sensor.produkcja_calkowita

    - platform: homeassistant
    id: temperatura_falownika
    entity_id: sensor.temperatura_falownika

    font:
    - file: "gfonts://Roboto"
    id: font_large
    size: 36

    - file: "gfonts://Roboto"
    id: font_small
    size: 16



    A small electronic display showing energy and temperature data.

    zastanawiam się jakiego sterownika używacie?

Topic summary

SmallTV-Ultra is a compact weather display device powered by the ESP8266, featuring a 1.5-inch IPS TFT screen with a resolution of 240x240 pixels. It can fetch real-time weather data and time from the internet, and allows users to upload images and animations via a web interface. The device is customizable, including a skin system for personalizing its appearance. Users have discussed its potential applications in various settings, such as kitchens and children's rooms, while also comparing it to other projects like the ThinkPulse weather station. Some users have expressed concerns about the display size and quality, while others have successfully integrated additional sensors for enhanced functionality. The device's firmware has been updated to improve stability and performance, and users have shared experiences with configuring weather data sources like OpenWeatherMap.
Summary generated by the language model.
ADVERTISEMENT