widapro / wledPixel

Dot matrix panel management
MIT License
68 stars 12 forks source link

Another couple of ideas :-) #4

Open Grey-Lancaster opened 2 years ago

Grey-Lancaster commented 2 years ago

1 Would it be hard to keep everything scrolling. Like "Mary had a little lamb:?

2 If that is possible, be able to add text before or after the mqtt value. "Outside Temperature is" mqtt

widapro commented 2 years ago

Answering question #2 In my opinion, it is easier to add a prefix in HA during sending a message. Try to use this in your HA automation:

action:
  service: mqtt.publish
  data_template:
    payload_template: "{{trigger.to_state.state}} Your_Prefix"
    topic: meat/1

in my HA I use this:

action:
  service: mqtt.publish
  data:
    topic: testTopic1
    payload_template: "{{states('sensor.lumi_lumi_weather_40c2e307_temperature_2')}} C"
Grey-Lancaster commented 2 years ago

That works !

Thanks

now I really need to keep it scrolling LOL

alt 0176 gave me the degree symbol

widapro commented 2 years ago

Another way to solve this question: in the new release, I added postfix for MQTT messages.