Set Color of only one Panel (Python API)

Started by DD
Be970ef586e84174c80802d7017711c1?s=128&d=mm

DD

Hey I want to set a static color on a specific tile. This 'nl.write_effect(json.loads('{"command": "display", "version": "1.0", "animType": "static", "animData": "1 87 1 (10 50 150) 0 1", "loop": false}'))' worked fine till last week. I think an update broke it. The panel id is 87. In the docs is a only a function to set all panels at the same time.

C39416f4bdabbd5010f596095fb24348?s=128&d=mm

Aliakbar Eski

You need a palette, even an empty palette is fine.
try:
{"command": "display", "version": "1.0", "animType": "static", "animData": "1 87 1 10 50 150 0 1", "loop": false, "palette":[]}

Let me know if this works

PS: I removed the brackets, they should not be there

Regards

Be970ef586e84174c80802d7017711c1?s=128&d=mm

DD

Thank you very much! It's working again!