Hi @10der , I wonder if you could help me to understand how calculations are made ?
I’m fetching the Internet Speed of my router and showing it every X minutes on the clock. This works fine. I want to use the progress bar to show the % of max speed to this.
The math should be “current speed” / “max speed” * “100”.
Can you explain how to do this in very basic steps ? Thanks
One question: Is there an option to change the color coding of the forecast line at the bottom of the weather app? It seems the range 15° to 25° is yellow, so my bar is mostly yellow only.
I am using the weather app via the blueprint as follows:
Just to follow on my attempt to improve the readibility of the weather forecast bar: I updated the following line in awtrix.py to “compress” the color scale for locations with smaller temperature ranges:
Example hue value for current / updated code:
-5°C: 170° / 341°
10°C: 110° / 176°
25°C: 50° / 11°
However, this only slightly improves the situation. When checking the live view of the clock via the awtrix webinterface I realized that the actual issue is a hardware limitation of the clock in terms of color resolution. In the live view a variety of colors between light green, yellow and light orange are shown, while on the real clock all forecast pixels are shown in the same yellow color.
Thanks so far, I’m a noob, so could you explain what kind of Action I should create to do the math ?
I got 2 Sensors with the values, so this should be possible
Thanks for taking the time to help me here. I still can’t get my head around this.
I installed your blueprints and everything.
I’m using notify, as I would rather not push the app each time the speed changes, so I run this every 2 Minutes, which is good enough for me. (trigger in the example below is empty)
description: ""
snipp
mode: single
So the progress bar is always showing 100%. So I do not understand how to do this properly. It’s rather confusing how HA works here
Hey Oleg, I just discovered (and installed) your nice custom component (from a video by YouTuber BeardedTinker), and it’s really really useful with Home Assistant and my Awtrix (Ulanzi TC001)—many thanks!
Didn’t really know where to post it, but I added some mor “apps” (frames, in your terminology) to your weather app. Screenshots and code over in your GitHub issues, if anyone is interested.
I take existing data from HA’s Weather integration, notably Humidity, Wind Speed and UV Index, which will be shown own the Awtrix.
While playing around with your component, I found some minor things which you might look into if you wish:
In HA, the “Awtrix tools and notifiction” integration shows no icon.
When opening it, it gives me “no devices or entities”, but the automations are usable if one knows the name. I named my device “awtrix1” (HA still shows the sensors as “awtrix_xxxxxx…”), so maybe the lookup code should be improved. I use Awtrix 3, v0.96, and HA Core 2024.10.3.
Your Blueprints don’t work for the same reason—no device found.
I couldn’t find out how to add my own “effects” (actually just 32x8 GIFs playing for a certain duration). Are these effects or icons? And can I use the device as storage (tried ICONS folder, but only managed to crash Awtrix), or how does this work? Could you put an example on your GitHub maybe?
Otherwise, thanks again—this is sadly rather unknown, but a real good addition if one uses Awtrix devices!
Oops! Why? It was (for me) the most useful feature for my Awtrix yet (and the reason why I installed your component, and added to it). I actually called up some friends, and all were delighted, and even bought new Ulanzi clocks just for this feature. Yeah, experimental, I know… still would love if it stayed, or came back.
I am preparing source code to integrate to HASS instead of custom_components.
Please use blueprint it’s very useful and easy to customize.
I wouldn’t to add specific code to component, please understand me right. All what doing right now weather command (more than!) covered by awtrix-simple.yaml
Thanks for your reply, and letting us know what is coming! Much appreciated! And a HASS integration would be just awesome.
Just wanted to let you know that your component gets appreciation, and is so nice to check for outdoor activities, gardening, knowing the roads might be icy at night, etc.
So I will play with the blueprint for the time being, and let my friends have copies of how I did it. And of course let them know that there is more and better things to come.
Btw, liked how you integrated the icons, so “normal users” wouldn’t have to fiddle with uploading them, but still have the option.