Still running strong! Make sure to use correct lib versions, the code is solid but in my experience it will always need some tinkering to get it running (but without this it would be less fun and rewarding)
Other effects are possible, i removed them but they can be added back without too much hassle. You can make them controllable by mqtt which would be cool. The reason i removed the effects is because after testing them i found them all to be less effective in actual use compared to just scrolling.
That’s a WatchDog Timer reset so something is taking over 8 seceonds to complete without letting the wdt update. You will have to say which version of the code you are using (however removing the ota code may stop the problem if you are using it).
Would you mind explaining how you have your google calendar garbage pickup functions set up? Do you have specific wording/times set up for each calendar?
I just created 2 new calendars: garbageblue (recycling) and garbageblack (trash), with all day events set up for alternating thursdays (blue is every second thurs, and black is every other second thurs). But I do not have a strong grasp of understanding function nodes to get this to work properly.
Also, would you mind providing an example of code to throw in there if you wanted to attach a lux sensor right to the device (using a pin the D1 mini) so that it can control the brightness based off of its own sensor? This feature does not seem to work when I use one of my bruh multisensor lux sensors as the entity.
Thanks for posting all of your setup so far, it is working well for me.
Hi friends can someone post a complete zip with libraries and sketch that works i have tried all and cant get it to work. I have a lolin node mcu V3. And a FC16 module and it wont bust in serial monitor i get a sam wdt restart error like someone before me. This is a project i have left to long on wait. If anyone is kind enough to push the code somewhere with some helpfull insctructions many thanks.
############################################################
#
# 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'
- platform: time_pattern
minutes: '/10'
action:
- service: mqtt.publish
data:
topic: 'cmnd/MQTTSign/MSG0'
payload_template: 'The Current Bitcoin Price is {{ states.sensor.market_price.state }} USD'
- service: input_text.set_value
data_template:
entity_id: input_text.text0
value: 'The Current Bitcoin Price is {{ states.sensor.market_price.state }} USD'
- 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/MSG0'
payload: ''
#############################################################
- 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'
- platform: time_pattern
minutes: '/1'
action:
- service: mqtt.publish
data:
topic: 'cmnd/MQTTSign/MSG1'
payload_template: Time and Date is {{states.sensor.time.state +' '+states.sensor.date.state}}
- service: input_text.set_value
data_template:
entity_id: input_text.text1
value: Time and Date is {{states.sensor.time.state +' '+states.sensor.date.state}}
# 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/MSG1'
payload: ''
#############################################################
# Setup some input_texts in input_text.yaml
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
# setup some input_booleans in input_boolean.yaml
############################################################
#
# MQTT Sign
#
############################################################
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
Thanks… but didn’t get the stuff runing yet… it compiles … connects … but sending a message via mqtt in hass wont show any message on the sign itself. Did u change the wiring?
I think i will have to double check the wiring given in the code.
I just checked the code and indeed i had another wiring… Let me setup hassio and all the stuff (simply from backup) and revert to you. But seems good so far… serial monoitor shows connecting to wifi . My hassio crashed yesterday after having upgraded something … but as I made it in a bunch of actions … I dunno what causes this issue… my homeassistant runs… but webinterface and most of autmations don’t … don’t ask! But I will tell you for the Matrix sign.
anyway … did u follow the esphome issue to support this LED matrix? did they plan to add it to esphome?
@keithh666 Just a stupid question: #define MAX_DEVICES 12 means the amount of LED panels. Means in this cae 3 banks 4 panels each?
I have an idea… wanna send messages to homeassistant via xmpp and show it on the display. is that possicle with test sensor or do you have an idea? At the moment I send messages to homeassistant via xmpp… node red translates those in mqtt and i created a sensor which has the message… well… Then i KNOW!!! let me try
@keithh666 Got it working … I can now send messages from my phone via xmpp to the panel I just need a good automation that sends the sensor state (which contains the message) to hass once I sent a message.
Another question. How would I remove the standard demo messages? They are hardcoded. I would need to change the hardcoded messages?
Could you please also post the config parts to change speed… scroll direction etc .
Thanks mate! Great stuff!!
Got it!
- alias: led matrix - send xmpp messages to matrix
trigger:
- platform: state
entity_id: sensor.xmpp_message_box
action:
- service: mqtt.publish
data_template:
topic: 'cmnd/MQTTSign/MSG0'
payload_template: '{{ trigger.to_state.state }}'
This will send new messages received by the sensor to LED Matrix
I just used the old config example you posted in the very early posts and will see if it works.