#WOPR 2U Blanking Plate

18 messages ยท Page 1 of 1 (latest)

craggy tinsel
#

looks better than a 2U sheet of black steel imo, and more fun

i used x24 max7219digit matrix in 2 lines of 12, hot glued onto a sheet of 2U cut sized 50% black tinted acrylic, which was lying around from another project, each matrix display one of 10 random 8x8 png's, i initially did it by using HA sensor data but it had quite an impact on HA and the esp to get the speed of updates i was after, so opted for just random

errant lodge
craggy tinsel
#

I was using HA to munge loads of sensor updates into one sensor with an automation, I think it was flooding recorder until I stopped it, anyway it was a temp solution to better things

errant lodge
#

That should be done on the ESP, then you wouldn't have that problem. But if you prefer this method, then it's doesn't matter anyway.

halcyon scaffold
#

will definetly do the same project !

#

with the idea of the animation speed adjusted by network data troughput from the router

#

idea:

#

use a ld2450 or other microwave human presence sensor

#

so it react to nearby humans ๐Ÿ™‚

dim comet
#

Looks amazing.
Does it play the WOPR sound ??

craggy tinsel
#

now thats an idea, if i can fix the issue for updating esphome on it

#

Hey All, I have some code that worked fine, until i updated esphome, and now i dont know how to sort the problem so i cant update the board. any help appreciated

display:
  - platform: max7219digit
    id: display_max
    cs_pin: 15
    num_chips: 24
    num_chip_lines: 2
    chip_lines_style: snake
    rotate_chip: 0
    scroll_enable: False
    update_interval: 16ms
    intensity: 0
    lambda: |-
      if (id(lcd_page).state == "WOPR") {
        static display::image *wopr_array[] = {
          id(wopr_01), id(wopr_02), 
          id(wopr_03), id(wopr_04), 
          id(wopr_05), id(wopr_06), 
          id(wopr_07), id(wopr_08), 
          id(wopr_09), id(wopr_10)};

        int n = rand() % 10;
        it.image(0, 0, wopr_array[rand() % 10]);
        it.image(8, 0, wopr_array[rand() % 10]);
        it.image(16, 0, wopr_array[rand() % 10]);
        it.image(24, 0, wopr_array[rand() % 10]);
        it.image(32, 0, wopr_array[rand() % 10]);
}

image:
  - file: "wopr/01.png"
    id: wopr_01
  - file: "wopr/02.png"
    id: wopr_02
  - file: "wopr/03.png"
    id: wopr_03
  - file: "wopr/04.png"
    id: wopr_04
  - file: "wopr/05.png"
    id: wopr_05
  - file: "wopr/06.png"
    id: wopr_06
  - file: "wopr/07.png"
    id: wopr_07
  - file: "wopr/08.png"
    id: wopr_08
  - file: "wopr/09.png"
    id: wopr_09
  - file: "wopr/10.png"
    id: wopr_10```

i now get the error

```/config/wopr.yaml: In lambda function:
/config/wopr.yaml:146:25: error: 'image' in namespace 'esphome::display' does not name a type
         static display::image *wopr_array[] = {
                         ^~~~~
/config/wopr.yaml:154:24: error: 'wopr_array' was not declared in this scope
         it.image(0, 0, wopr_array[rand() % 10]);
                        ^~~~~~~~~~
/config/wopr.yaml:154:24: note: suggested alternative: 'wopr_10'
         it.image(0, 0, wopr_array[rand() % 10]);
                        ^~~~~~~~~~
                        wopr_10```
errant lodge
#

I think image was moved somewhere else.

#

It's now image::Image

kind fjord
#

Welp now I need to watch War Games again ๐Ÿ˜…

craggy tinsel
#

thanks, thats the one!

rocky fiber
#

i am a noob to this. BUT i need this to my rack... wow. Are they any guids or videon about this, i did some googeling but did not find ant good