todbot / blink1

Official software for blink(1) USB RGB LED by ThingM
https://blink1.thingm.com/
Other
953 stars 237 forks source link

Cannot Add Pattern with API #669

Closed PhillipBrickner closed 1 year ago

PhillipBrickner commented 1 year ago

I have some issue using the API to add a Pattern. I have tried the example http://localhost:8934/blink1/pattern/add?pname=blink3_red&pattern=3,%23FF0000,1.0,%23000000,1.0 I get the response

capture1

{ "pattern": null, "status": "pattern add: pattern 'red' added" }

But when I do a search on the patterns available it is not available.

Capture2

All other API functions I tested seem to work. The commands show up in the logs as well. I can add in patters manually in the C:\Users\%username%\AppData\Roaming\Blink1Control2\blink1control2-config.json It feels like a permissions issue but not sure where at? I have tested with the full install and portable install of Blink1Control2 version 2.2.9

todbot commented 1 year ago

Hi,
Thanks for submitting this bug. I've verified this problem and opened in an issue in Blink1Control2 repo to track it. Closing this issue and moving comments there.

As a workaround you can use Blink1Control2 v2.2.8 until I get a new release out, hopefully in a few days.

Thanks again. I feel so embarrassed this got released.