Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

set patterns in blink(1)

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
facebook change 4 52
Quickest way to query Windows Event ID from a Linux Device 3 50
Home lab datacenter 9 97
CentOS 7 Linux for HP DL380 G4 32Bits 7 45
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

789 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