Skip to content

blink1-tool and blink1-tiny-server v2.4.0

Choose a tag to compare

@todbot todbot released this 24 Nov 22:22
· 58 commits to main since this release

Tools:

blink1-tool: commandline tool for controlling blink(1)

blink1-tiny-server: small commandline HTTP REST server to control blink(1)

blink1control-tool: commandline tool for controlling blink(1) when controlled by Blink1Control2 server or blink1-tiny-server

What's Changed

  • blink1-tiny-server

    • built-in HTML examples work again and server properly responds if they're disabled (#72)
    • blink1-tiny-server now has lastColor and color pattern support. These API endpoints now work:
      • /blink1/lastColor -- return last color sent to blink(1)
      • /blink1/pattern -- list color patterns in blink1-tiny-server
      • /blink1/pattern/play -- start playing pattern on blink(1)
      • /blink1/pattern/stop -- stop playing pattern
      • /blink1/pattern/add -- add a pattern to the server's pattern list
      • /blink1/pattern/del -- delete a pattern from the server's pattern list
        Note that unlike the API server in Blink1Control2 app, these colors patterns play using the blink(1)'s built-in pattern engine instead of sending colors over USB.
    • updated internal Mongoose HTTP server library to 7.12.
  • blink1-tool

    • dmillis math fixes (#67)
  • blink1-lib

    • now has parsePattern() and toPatternString() functions to parse to a from the text color pattern string format (e.g. "3,#ff4cff,1.0,0,#630000,0.2,0,#0000ff,0.1,0")
  • blink1control-tool

    • Allow blink1control-tool to be properly quiet by @normanr in #55
  • other:

    • "Dockerfile-ubuntu" updated to show how to build and use both blink1-tool and blink1-tiny-server from Docker.
    • add missing LDFLAGS to library build by @joggee-fr in #69

Full Changelog: v2.3.0...v2.4.0