Solved

set patterns in blink(1)

Posted on 2015-01-29
6
103 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 78

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 28

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 73
Content Filtering by Search Term with a Smoothwall Firewall 1 87
Hacked File Timestamps 4 49
File Sharing with Apple and Windows 7 35
We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

932 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now