Solved

set patterns in blink(1)

Posted on 2015-01-29
6
130 Views
Last Modified: 2016-06-08
I bought a blink(1) http://blink1.thingm.com/ and am playing with it. Does anyone have one of these? I'm trying to figure out how to set and play patterns. There is NO documentation and I can find no examples by surfing. The "help" gives the syntax as:

  --setpattline <pos>         Write pattern RGB val at pos (--rgb/hsb to set)
  --getpattline <pos>         Read pattern RGB value at pos
  --savepattern               Save color pattern to flash (mk2)
  --play <1/0,pos>            Start playing color sequence (at pos)
  --play <1/0,start,end,cnt>  Playing color sequence sub-loop (mk2)

I've tried a bunch of things, but nothing works. No idea what <pos> means, no idea what start, end, cnt, or for that matter 1/0 mean.

Any idea how to make it blink forever without the blink1-tool having to run forever (I was hoping maybe the --play would do that)

Any idea how to use --servertickle? `blink1-tool --servertickle 1` turns on apparently random leds  forever, but trying args e.g. 1,0,1 doesn't seem to have any effect. If I could get this to alternate color/off I could do my blinking light thing.

I'm running this on Linux using the command line tool: blink1-tool. If anyone has one of these nifty little devices I'd like some help. Thanks
0
Comment
Question by:jmarkfoley
  • 2
6 Comments
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 40579106
are you using the mac osx installer? did you download and compile the binaries from https://github.com/todbot/blink1/releases/tag/v1.94 ?
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 40585377
Hmmm, don't recall checking the MAC OS and Apple topics; I intended to check Misc Hardware and Linux.

This is installed on a Linux OS and I did successfully get, and make from source. The device and software work OK, I just can't find any docs on the pattern/play commands and I'm not figuring it out from the `blink1-tool` command help, nor by experimentation.

I've tested --blink -1, and --blink 1024, but 512 seems to be the max value allowed. This give a little over 4 minutes of blinkage. Changing the millisecond fade time still does not let it exceed the 4+ minute time.
0
 
LVL 29

Assisted Solution

by:serialband
serialband earned 500 total points
ID: 40587220
Seems quite proprietary.  Is there a man page for blink?  Have you tried contacting them?  http://blink1.thingm.com/contact/
0
 
LVL 1

Accepted Solution

by:
jmarkfoley earned 0 total points
ID: 40618172
Did contact them and received the reply below. Will try to pursue information ASAP.
Hi Mark,

We have a list of various help resources here:
  http://blink1.thingm.com/help/

There's a sub-reddit as a forum but if you have a specific bug/issue you might
want to open an issue on github (which also often functions as a forum)

To address your specific concerns about blink1-tool: you're right, the docs are
sparse and scattered.  blink1-tool can do a lot of stuff (it's what I use
primarily to exercise blink(1)s) and it should be better documented.

I've started collating the docs in one place here:
  https://github.com/todbot/blink1/blob/master/docs/blink1-tool-tips.md
and I'll eventually put it up on blink1.thingm.com.

Let me know if you have any questions,

-=tod
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Supermicro 91 error 8 62
4.74 vdc vs 5.00 vdc  USB 2 21
How to connect Time Capsule to Time Machine? 15 35
Nee dhelp identifying the OS and how to access 7 38
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
A professional opinion on which Apple product to buy, and a tidbit about the WWDC.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question