Solved

set patterns in blink(1)

Posted on 2015-01-29
6
87 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 27

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

759 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

21 Experts available now in Live!

Get 1:1 Help Now