LED Matrix MQTT Sign

As stated by keith666 you’re using the wrong version of the PubSubClient library. Replace the version you’re using with the older version linked.

A side question, does anyone have any suggestions on how to best join the LED matrix boards connections? I haven’t come up with anything that I have been able to make work easily.

I just soldered mine directly together rather than using wires, it works well enough if you have it in a 3D Printed enclosure since it is supported.

1 Like

Hi @keithh666

I already managed to get the panels working.
I used your project but can you help a situation?
How do I put a slider to control the speed of messages? and the control of the intensity of the panels?

https://gitea.ddns.net/keithh666/Basic_LED_Matrix_Sign

Setup your Input_text file....


text0:
  name: Text 0
  initial: Please Do the dishes/load the dishwasher
text1:
  name: Text 1
  initial: Please Do you homework
text2:
  name: Text 2
  initial: Please wash the car
text3:
  name: Text 3
  initial: Please turn your music down
text4:
  name: Text 4
  initial: Please come down for dinner   
text5:
  name: Text 5
  initial: Please turn off your Xbox/Phone 
text6:
  name: Text 6
  initial: Please bring your football kit for washing 
text7:
  name: Text 7
  initial: Please come down to collect your pocket money 
text8:
  name: Text 8
  initial: Please put out the green recycle bin ... tonight 
text9:
  name: Text 9
  initial: Please put out the black bin ... tonight 


Setup your Input_selects.....


mqttsignscrolling:
  name: MQTTSignScrolling
  options:
    - PA_PRINT
    - PA_SCROLL_LEFT
    - PA_SCROLL_RIGHT
    - PA_SCROLL_UP
    - PA_SCROLL_DOWN
    - PA_SLICE
    - PA_MESH
    - PA_FADE
    - PA_DISSOLVE
    - PA_BLINDS
    - PA_RANDOM
    - PA_WIPE
    - PA_WIPE_CURSOR
    - PA_SCAN_HORIZ
    - PA_SCAN_VERT
    - PA_OPENING
    - PA_OPENING_CURSOR
    - PA_CLOSING
    - PA_CLOSING_CURSOR
    - PA_GROW_UP
    - PA_GROW_DOWN
  initial: PA_SCROLL_LEFT
  icon: mdi:settings

  
Setup your Input_booleans......

  mqttsign_line0:
    name: MQTT Sign Line0
    initial: off
  mqttsign_line1:
    name: MQTT Sign Line1
    initial: off
  mqttsign_line2:
    name: MQTT Sign Line2
    initial: off
  mqttsign_line3:
    name: MQTT Sign Line3
    initial: off
  mqttsign_line4:
    name: MQTT Sign Line4
    initial: off
  mqttsign_line5:
    name: MQTT Sign Line5
    initial: off
  mqttsign_line6:
    name: MQTT Sign Line6
    initial: off
  mqttsign_line7:
    name: MQTT Sign Line7
    initial: off
  mqttsign_line8:
    name: MQTT Sign Line8
    initial: off
  mqttsign_line9:
    name: MQTT Sign Line9
    initial: off
    
  mqttsign:
    name: MQTT Sign
    initial: on
    icon: mdi:eye

    


Setup your groups file.....


    mqttsign:
      name: MQTT Sign
      entities:
        - input_boolean.mqttsignon
        - input_select.mqttsignscrolling
        - input_number.mqttsignbrightness
        - input_number.mqttsignspeed
        - input_boolean.mqttsign_line0
        - input_text.text0
        - input_boolean.mqttsign_line1
        - input_text.text1
        - input_boolean.mqttsign_line2
        - input_text.text2
        - input_boolean.mqttsign_line3
        - input_text.text3
        - input_boolean.mqttsign_line4
        - input_text.text4
        - input_boolean.mqttsign_line5
        - input_text.text5
        - input_boolean.mqttsign_line6
        - input_text.text6
        - input_boolean.mqttsign_line7
        - input_text.text7
        - input_boolean.mqttsign_line8
        - input_text.text8
        - input_boolean.mqttsign_line9
        - input_text.text9
        
 
Setup your automations....


############################################################
#
#  MQTT Sign automations
#
############################################################
- alias: Send a templated input_text msg to the Sign Line 0
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line0
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line0'
        payload_template: '{{ states.input_text.text0.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 0
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line0
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line0'
        payload: '0fffalse'
#############################################################        
                
- alias: Send a templated input_text msg to the Sign Line 1
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line1
      to: 'on'
  action:
   - service: mqtt.publish
     data:
       topic: 'cmnd/MQTTSign/Line1'
       payload_template: '{{ states.input_text.text1.state }}'
       
- alias: Turn Off templated input_text msg to the Sign Line 1
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line1
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line1'
        payload: '0fffalse'
       
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 2
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line2
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line2'
        payload_template: '{{ states.input_text.text2.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 2
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line2
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line2'
        payload: '0fffalse'
        
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 3
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line3
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line3'
        payload_template: '{{ states.input_text.text3.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 3
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line3
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line3'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 4
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line4
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line4'
        payload_template: '{{ states.input_text.text4.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 4
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line4
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line4'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 5
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line5
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line5'
        payload_template: '{{ states.input_text.text5.state }}'
         
- alias: Turn Off templated input_text msg to the Sign Line 5
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line5
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line5'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line6
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line6
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line6'
        payload_template: '{{ states.input_text.text6.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 6
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line6
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line6'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line7
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line7
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line7'
        payload_template: '{{ states.input_text.text7.state }}'
       
- alias: Turn Off templated input_text msg to the Sign Line 7
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line7
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line7'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 8
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line8
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line8'
        payload_template: '{{ states.input_text.text8.state }}'
       
- alias: Turn Off templated input_text msg to the Sign Line 8
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line8
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line8'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line9
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line9
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line9'
        payload_template: 'The Current Livingroom Temp is {{ states. sensor.rfl_livingroom_temperature.state }}degC'
    - service: input_text.set_value
      data_template:
        entity_id: input_text.mqttsign_line9
        value: 'The Current Livingroom Temp is {{ states. sensor.rfl_livingroom_temperature.state }}degC'
        
- alias: Turn Off templated input_text msg to the Sign Line 9
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line9
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line9'
        payload: '0fffalse'
       
# Add a service call to set the input_text value to the payload.

#############################################################        
- alias: Send a changed speed msg to the MQTT Sign
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_number.mqttsignspeed
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Speed'
        payload_template: '{{ states.input_number.mqttsignspeed.state }}'
        
#############################################################        
- alias: Send a changed intensity msg to the MQTT Sign
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_number.mqttsignbrightness
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Intensity'
        payload_template: '{{ states.input_number.mqttsignbrightness.state }}'
        
#############################################################        
- alias: Send a changed Scroll Effect msg to the MQTT Sign
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_select.mqttsignscrolling
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/ScrollEffct'
        payload_template: '{{ states.input_select.mqttsignscrolling.state }}'
       

###############################################################################################
#                                                                                             #
# MQTT Sign OFF (when bedtime)                                                                #
#                                                                                             #
###############################################################################################
- alias: MQTT Sign Off
  initial_state: 'on'
#  hide_entity: false
  trigger:
    - platform: time
      at: '12:30:00'
    - platform: state
      entity_id: input_boolean.mqttsignon
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: "cmnd/MQTTSign/On"
        payload: 'off'
###############################################################################################
#                                                                                             #
# MQTT Sign On (in the morning)                                                               #
#                                                                                             #
###############################################################################################
- alias: MQTT Sign On
 #  hide_entity: false
  initial_state: 'on'
  trigger:
    - platform: time
      at: '06:00:00'
    - platform: state
      entity_id: input_boolean.mqttsignon
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: "cmnd/MQTTSign/On"
        payload: 'on'So the text9 currently outputs MY livingroom temperature as an example of how you could change it to send 
any info to the sign - see the automation for line 9 ......


Setup your Input_text file....


text0:
  name: Text 0
  initial: Please Do the dishes/load the dishwasher
text1:
  name: Text 1
  initial: Please Do you homework
text2:
  name: Text 2
  initial: Please wash the car
text3:
  name: Text 3
  initial: Please turn your music down
text4:
  name: Text 4
  initial: Please come down for dinner   
text5:
  name: Text 5
  initial: Please turn off your Xbox/Phone 
text6:
  name: Text 6
  initial: Please bring your football kit for washing 
text7:
  name: Text 7
  initial: Please come down to collect your pocket money 
text8:
  name: Text 8
  initial: Please put out the green recycle bin ... tonight 
text9:
  name: Text 9
  initial: Please put out the black bin ... tonight 


Setup your Input_selects.....


mqttsignscrolling:
  name: MQTTSignScrolling
  options:
    - PA_PRINT
    - PA_SCROLL_LEFT
    - PA_SCROLL_RIGHT
    - PA_SCROLL_UP
    - PA_SCROLL_DOWN
    - PA_SLICE
    - PA_MESH
    - PA_FADE
    - PA_DISSOLVE
    - PA_BLINDS
    - PA_RANDOM
    - PA_WIPE
    - PA_WIPE_CURSOR
    - PA_SCAN_HORIZ
    - PA_SCAN_VERT
    - PA_OPENING
    - PA_OPENING_CURSOR
    - PA_CLOSING
    - PA_CLOSING_CURSOR
    - PA_GROW_UP
    - PA_GROW_DOWN
  initial: PA_SCROLL_LEFT
  icon: mdi:settings

  
Setup your Input_booleans......

  mqttsign_line0:
    name: MQTT Sign Line0
    initial: off
  mqttsign_line1:
    name: MQTT Sign Line1
    initial: off
  mqttsign_line2:
    name: MQTT Sign Line2
    initial: off
  mqttsign_line3:
    name: MQTT Sign Line3
    initial: off
  mqttsign_line4:
    name: MQTT Sign Line4
    initial: off
  mqttsign_line5:
    name: MQTT Sign Line5
    initial: off
  mqttsign_line6:
    name: MQTT Sign Line6
    initial: off
  mqttsign_line7:
    name: MQTT Sign Line7
    initial: off
  mqttsign_line8:
    name: MQTT Sign Line8
    initial: off
  mqttsign_line9:
    name: MQTT Sign Line9
    initial: off
    
  mqttsign:
    name: MQTT Sign
    initial: on
    icon: mdi:eye

    


Setup your groups file.....


    mqttsign:
      name: MQTT Sign
      entities:
        - input_boolean.mqttsignon
        - input_select.mqttsignscrolling
        - input_number.mqttsignbrightness
        - input_number.mqttsignspeed
        - input_boolean.mqttsign_line0
        - input_text.text0
        - input_boolean.mqttsign_line1
        - input_text.text1
        - input_boolean.mqttsign_line2
        - input_text.text2
        - input_boolean.mqttsign_line3
        - input_text.text3
        - input_boolean.mqttsign_line4
        - input_text.text4
        - input_boolean.mqttsign_line5
        - input_text.text5
        - input_boolean.mqttsign_line6
        - input_text.text6
        - input_boolean.mqttsign_line7
        - input_text.text7
        - input_boolean.mqttsign_line8
        - input_text.text8
        - input_boolean.mqttsign_line9
        - input_text.text9
        
 
Setup your automations....


############################################################
#
#  MQTT Sign automations
#
############################################################
- alias: Send a templated input_text msg to the Sign Line 0
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line0
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line0'
        payload_template: '{{ states.input_text.text0.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 0
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line0
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line0'
        payload: '0fffalse'
#############################################################        
                
- alias: Send a templated input_text msg to the Sign Line 1
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line1
      to: 'on'
  action:
   - service: mqtt.publish
     data:
       topic: 'cmnd/MQTTSign/Line1'
       payload_template: '{{ states.input_text.text1.state }}'
       
- alias: Turn Off templated input_text msg to the Sign Line 1
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line1
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line1'
        payload: '0fffalse'
       
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 2
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line2
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line2'
        payload_template: '{{ states.input_text.text2.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 2
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line2
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line2'
        payload: '0fffalse'
        
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 3
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line3
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line3'
        payload_template: '{{ states.input_text.text3.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 3
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line3
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line3'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 4
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line4
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line4'
        payload_template: '{{ states.input_text.text4.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 4
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line4
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line4'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 5
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line5
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line5'
        payload_template: '{{ states.input_text.text5.state }}'
         
- alias: Turn Off templated input_text msg to the Sign Line 5
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line5
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line5'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line6
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line6
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line6'
        payload_template: '{{ states.input_text.text6.state }}'
        
- alias: Turn Off templated input_text msg to the Sign Line 6
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line6
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line6'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line7
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line7
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line7'
        payload_template: '{{ states.input_text.text7.state }}'
       
- alias: Turn Off templated input_text msg to the Sign Line 7
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line7
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line7'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line 8
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line8
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line8'
        payload_template: '{{ states.input_text.text8.state }}'
       
- alias: Turn Off templated input_text msg to the Sign Line 8
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line8
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line8'
        payload: '0fffalse'
#############################################################        
- alias: Send a templated input_text msg to the Sign Line9
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line9
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line9'
        payload_template: 'The Current Livingroom Temp is {{ states. sensor.rfl_livingroom_temperature.state }}degC'
    - service: input_text.set_value
      data_template:
        entity_id: input_text.mqttsign_line9
        value: 'The Current Livingroom Temp is {{ states. sensor.rfl_livingroom_temperature.state }}degC'
        
- alias: Turn Off templated input_text msg to the Sign Line 9
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_boolean.mqttsign_line9
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Line9'
        payload: '0fffalse'
       
# Add a service call to set the input_text value to the payload.

#############################################################        
- alias: Send a changed speed msg to the MQTT Sign
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_number.mqttsignspeed
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Speed'
        payload_template: '{{ states.input_number.mqttsignspeed.state }}'
        
#############################################################        
- alias: Send a changed intensity msg to the MQTT Sign
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_number.mqttsignbrightness
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/Intensity'
        payload_template: '{{ states.input_number.mqttsignbrightness.state }}'
        
#############################################################        
- alias: Send a changed Scroll Effect msg to the MQTT Sign
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: input_select.mqttsignscrolling
  action:
    - service: mqtt.publish
      data:
        topic: 'cmnd/MQTTSign/ScrollEffct'
        payload_template: '{{ states.input_select.mqttsignscrolling.state }}'
       

###############################################################################################
#                                                                                             #
# MQTT Sign OFF (when bedtime)                                                                #
#                                                                                             #
###############################################################################################
- alias: MQTT Sign Off
  initial_state: 'on'
#  hide_entity: false
  trigger:
    - platform: time
      at: '12:30:00'
    - platform: state
      entity_id: input_boolean.mqttsignon
      to: 'off'
  action:
    - service: mqtt.publish
      data:
        topic: "cmnd/MQTTSign/On"
        payload: 'off'
###############################################################################################
#                                                                                             #
# MQTT Sign On (in the morning)                                                               #
#                                                                                             #
###############################################################################################
- alias: MQTT Sign On
 #  hide_entity: false
  initial_state: 'on'
  trigger:
    - platform: time
      at: '06:00:00'
    - platform: state
      entity_id: input_boolean.mqttsignon
      to: 'on'
  action:
    - service: mqtt.publish
      data:
        topic: "cmnd/MQTTSign/On"
        payload: 'on'

Ok, it looks like you don’t have the MQTT files, this version has everything included…

https://1drv.ms/u/s!AmTLZpPsxi58hx7aaWpV61vZJTiy

@keithh666

Thank you for your quick response.
With your files in project page everything is working. I put the automations on yaml files but this is missing the code to change the speed of messages and brightness.

Later on I’ll test the .ino you sent and then I’ll tell you something.
Thank you

Input select
mqttsignscrolling:
  name: MQTTSignScrolling
  options:
    - PA_PRINT
    - PA_SCROLL_LEFT
    - PA_SCROLL_RIGHT
    - PA_SCROLL_UP
    - PA_SCROLL_DOWN
    - PA_SLICE
    - PA_MESH
    - PA_FADE
    - PA_DISSOLVE
    - PA_BLINDS
    - PA_RANDOM
    - PA_WIPE
    - PA_WIPE_CURSOR
    - PA_SCAN_HORIZ
    - PA_SCAN_VERT
    - PA_OPENING
    - PA_OPENING_CURSOR
    - PA_CLOSING
    - PA_CLOSING_CURSOR
    - PA_GROW_UP
    - PA_GROW_DOWN
  initial: PA_SCROLL_LEFT
  icon: mdi:settings

Input numbers

mqttsignbrightness:
  name: MQTTSign Brightness
  initial: 0
  min: 0
  max: 15
  step: 1
  
mqttsignspeed:
  name: MQTTSign Speed
  initial: 25
  min: 10
  max: 75
  step: 1
  
Input boolean
  mqttsign:
    name: MQTT Sign
    initial: on
    icon: mdi:eye
1 Like

@keithh666 Thanks my friend… slider is working nice… THANKS!!
The new .ino I have not tested it yet as soon as I get home I will test and then say something

I didn’t realise you were using the new version the ino I just provided is for the old version so it doesn’t work like the new version in that the new version only lets you send MQTT messages for display.

Is there any way to put the time on the panel when there are no messages? To stay like a clock

The only way with that code is to send it a message with the time string when you have nothing else to display.

@ShadowDrake
image

One ideia to join the panels

1 Like

Dang, that’s brilliant, wouldn’t have thought of that. I was just struggling to get solder to bridge across the boards and I don’t have a decent set of helping hands and figured someone would have a much better way. Thanks!

1 Like

Hey, I’m trying this out and I keep getting this error message. I used the right libraries etc. DO I need to change something in MD_MAX72xx.h? thanks!

D_Parola P = MD_Parola(HARDWARE_TYPE, DATA_PIN, CLK_PIN, CS_PIN, MAX_DEVICES);

                     ^

exit status 1
‘FC16_HW’ is not a member of ‘MD_MAX72XX’

See comment 77 above :slight_smile:

1 Like

How can I see where comment 77 is? Sorry never used thiw website :stuck_out_tongue:

@ the righthand side it tells you the comment number.

1 Like

What am I doing wrong :roll_eyes:

I would say that you don’t have the correct libraries installed, the latest Max72xx and MD_Parola should be installed.I have 3.0.2 for Max72xx and the same for MD_Parola.

Hi @vbh

How is the matrix sign working for you? I have just ordered the parts and will be using your latest code that you shared the link of to build mine.

Anything I need to do before uploading it to my esp8266?

Thanks.