Installing ESPhome on GEEKMAGIC Smart Weather Clock (smalltv/pro)

Wauw, luckily, I was getting nervous :slight_smile: The date should come from the NTP server like the time, it’s loading instantly here… Same story after a reboot?

Just tried several reboots. Time is back to 15:57:xx after each reboot and date is still 01-01-1970. Strange :sweat_smile:

I’ve seen your discussion with adrienbrault regarding an ESPhome component. Sounds promising!

Hmmm… I didn’t have any luck with adrienbrault’s integration either. The device was always added twice and there doesn’t seem to be a function to delete one of them. Neither of them worked. It was displayed as online in the Geekmagic Dashboard, but after I created and assigned a view, it was never displayed on the device.

I’m putting this topic on hold for now, let’s see how it develops…

I see 2 devices in HA as well, I’m just ignoring the one with the 1 entity. I had to wiggle a bit with the buttons and settings to get it working, but it looks good now. These buttons:

1 Like

Gave this a try and works very well, no issues at all. Been testing it with the geekmagic-hacs. Installed firmware via ESPHome web tools. Gotta appreciate the documentation on Github, good work and thank you for the effort!

Hey folks! Now that I managed to successfully flash it (:joy:) I’ve been tinkering around with my SmallTV Pro to use as a little weather station/info screen. I don’t like screens that cycle automatically, so this stays on the main screen until you tap it.

On the main screen, it shows outside temperature, humidity, and pressure from HA, and the second screen shows all sorts of stats about whatever you’d like.

A short tap on the top changes the page to the info page for 10 seconds, a medium press loggles the backlight, and a very long hold switches it to the next page until you switch it back.

whenever the screen is off, it activates the built in LVGL show_snow anti burn mode, which is definitely overkill but makes me happy :stuck_out_tongue_winking_eye:

I’ve uploaded it to GitHub - read the README!

2 Likes

I post my Code for Pro Here

1 Like

This is amazing - I’m loving playing with all the layouts!

Cheeky question - is there any plan to support Unicode/emoji characters? I’ve been working on an automation that creates a multiline, context sensitive widget for my Android phone, and it makes much use of emojis to keep the info as compact as possible. Making this also display on the GeekMagic box feels like a really good fit for it. When I tried the relevant sensor, it isn’t able to display the unicode characters though. It is of course entirely possible I need to make some config change to enable this!

Thanks again for great work on this



1 Like

I have this exact device. Did you ever get ESPHome running on it? I build the firmware using jpaha’s example. Upload it to the initial SmartTV-Pro website - settings - upload firmware. It says it was uploaded successfully. That’s it. Left it sitting for 30 minutes. Power cycled it and it is still the initial firmware. Nothing has changed.

I have ESPHome working on 3 Pro devices now.
The most reliable way to do it is to create the new firmware with almost nothing in it, and download the ā€œOTAā€ version of the new firmware.

I select New Device, ESP32, and it’ll create something like the following:

esphome:
  name: test
  friendly_name: test

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

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

ota:
  - platform: esphome
    password: "stuffGoesHere2"

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

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Test Fallback Hotspot"
    password: "stuffGoesHere3"

captive_portal:
    

I found selecting the factory firmware didn’t work, but OTA works fine.
The file should be less than a megabyte and should upload fine.

2 Likes

Yes, I just found the post in here from 2 years ago - Use the ā€œLegacyā€ firmware build and no the ā€œModernā€ one. Finally got it flashed using the initial web interface!

1 Like

I have the GeekMagic Pro model: gm32-n16 n4xx. Can I install custom firmware on it?

Works really well. Thank you very much.

The ultra esp8266 versions of the ThinkMagic are now very cheap. Less than usd 5 on Aliexpress.

Cool! Can you share it?

Yellow cheapest.

I just found this on AliExpress:
Small Portable Smart Wifi Weather Station Display Weather Temperature Humidity Time Alarm Clock Desktop Decoration
https://a.aliexpress.com/_mrrdHcN

What’s better to buy: 8266 or ESP32?

ESP32, more memory to start with.

That would depend on what you’re planning to do with it. Esp32 has more power, more memory, one touch button at the top… ok, touch button can be added on 8266, too if you plan to use esphome as fw (buy ā€œtouch sensorā€ pcb on aliexpress and install it beneath top side.)
If you plan to play with pics or very fast changes then definitely 32, but just for simple things you can get 2 of 8266’s for one esp32.

Which one should I buy? There are so many.