Replies: 1 comment
-
Its invalid json:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
i dont know, whats my Problem is...
`- id: '1728585596906'
alias: Text an PixelIt senden
triggers:
trigger: state
actions:
topic: pixelit/setScreen
payload: "{"text": {"textString": " {{ states('input_text.pixelit_text')
}}",\n "bigFont": true,\n "scrollText": "auto",\n "scrollTextDelay":
40,\n "centerText": false,\n "position": {"x": 8, "y": 1},\n "color":
{"r": 255, "g": 255, "b": 255},\n "hexColor": "#FFFFFF", \n\n
"fontSize": 2}}\n"
action: mqtt.publish`
# PixelIT rest_command: send_pixelit_text: url: 'http://192.168.1.104/api/text' method: post headers: Content-Type: 'application/json' payload: > { "text": { "textString": "{{ input_text.pixelit_text }}", "bigFont": false, "scrollText": "auto", "scrollTextDelay": 20, "centerText": false, "position": { "x": 8, "y": 1 }, "color": { "r": 255, "g": 255, "b": 255 }, "hexColor": "#FFFFFF" } }
Log fromPixelIT:
MQTT_callback: JSON message empty or too long
MQTT_callback: Incoming JSON (Topic: pixelit/setScreen, Cmd: setScreen, Bytes: 240/2)
Beta Was this translation helpful? Give feedback.
All reactions