Blinkit v1.1, USB LED light notifications for Steem!

in #utopian-io7 years ago (edited)

image.png

A new version of Blinkit is here, with new features, commented code, and visual improvements made to the interface.

Blinkit is notification software that turns a regular USB stick into a notification light when a new Upvote or Follower is detected. A sound is played and the LED light on a connected USB stick will blink to notify the user.

More information about Blinkit can be found in the introduction post:

Blinkit v1.0 introduction post


New features in Blinkit v1.1

Profile picture

To make the software more personal the Blinkit interface now shows the users Avatar / profile picture.

When a Steem username is typed into the username textbox and the Save button is pressed, it downloads and displays the user's avatar profile picture and when the program is closed and started again it will reload.

image.png

Blinkit now shows the users profile picture

image.png
Code added to the VB project to get and display the users profile picture

image.png
.bat files script that prepares "Avatar URL" with the saved Steem username


Setting for the length of the LED Blink notification

image.png

image.png

image.png

Link to the files that are updated to make this work:


Steem and SBD Price

The steemprice.bat is updated and the steem price is now displayed in the Blinkit interface without the special characters ",. and without the words "Price_usd"

image.png

To delete the unwanted characters from the downloaded Coinmarketcap api data the following code is added:
image.png


Both button

Fixed the "Both" button that plays a notification sound and blinks the LED on the USB stick.

In v1.0 it was linked to the wrong old .bat file; now when the button is pressed it starts blink.bat and bleep.bat

image.png


Visual changes

image.png

  • New header image
  • Capital drive letters in pulldown menu
  • Changed the interface layout; "Save username" , "Save USB stick drive letter" and "Save Blink length" are now located in the top next to the new avatar image.

Cleaned up the code

In this latest version the code is cleaned up; it's now more readable and organised, breaks and spaces removed, and each part of the code now has (more) detailed comments.

image.png

The updated scripts on Github:


Project files

The project files for Visual Studio have been updated to v1.1 and can now be downloaded and used to make changes to the interface.

image.png

The v1.1 project files.


License added

The GPL-3.0 license has been added to the project

image.png


Github Desktop

My programming routine has changed a bit and I now use Github desktop commits.

Blinkit v1.0 was uploaded with the web upload function of Github and changes to the project I were uploaded manually; updates of files where not automatically managed.

A downside of the new routine with Github Dekstop is that I ended up with a deleted version 1.0 Blinkit folder on Github because I didn't find the option to set it to the original "Blinkit" repository. If I'd used Github Desktop from the beginning of the project, it wouldn't have been like that. I learned from it and from now on I will be making commits on the project files with Github Desktop to keep things structured and more easy to work on, by myself and others!

image.png
Using Github Desktop, to make updates to the Blinkit project,


I'm not a professional programmer but I like to play with code and hardware. Please make suggestions on how to improve the VB code or .bat file scripts to simplify and shorten them!

image.png

image.png

Blinkit is a simple program and should also be and stay simple in code; this hopefully also helps for others to understand how it works,. If you make improvements, please add detailed comments!




Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

This is really a cool additive for an usb stick. Unfortunately my ledger hardware wallet has no led light, but luckily i have an old one with a light in it. Finally i have a good reason to use this usb stick again. I will give it a new live as notifier that's pretty cool. thnxs!

What brand and model will you use it with? Let me know if you tested it, so far i have tested it with 2 Windows 10 machines and 2 different USB sticks, but it should most probably also work on previous versions of Windows, and with a crazy lot of USB sticks, independent of brand and model.

I can’t find the stick, so i am going to order a Lexar S45 as you told in your introduction post of blink-it, because as i can see it has a big light on it so that would look much better. Because many of my stuffs are stored since i divorced and moved i think i also stored my old stick somewhere. When i find it i gonna test it and will give you all the feedback.

Thanks, looking forward to your test results, the s45 works very well and the led is bright, i just made a new post with more pictures of the s45 and other USB sticks as wel.

https://steemit.com/utopian-io/@techtek/simple-cheap-and-fun-diy-project-for-blinkit

I have to check the brand. I am working now but this weekend i have time to do some tests. I still use windows 7 but i let you know as soon as i tested. I like the programming and started to learn the basic skills. It’s pretty cool and the possibilities are endless:)

Too cool!! Love that you are always improving on your own product!

Thank you for bringing light at night :)

Wow, this is a good step, can you add it show the person profile also with the image.

Thank you, yes now it shows the profile picture of the saved user.

Cool thing, I like it.

Thank you, and thanks for the Upvote and Resteem
:)

Congratulations! This post has been upvoted by SteemMakers. We are a community based project that aims to support makers and DIYers on the blockchain in every way possible. Find out more about us on our website: www.steemmakers.com.

If you like our work, please consider upvoting this comment to support the growth of our community. Thank you.

Thank you for the contribution. It has been approved.

I look forward to looking at your next commits and pull request now that your repo is organized.

You can contact us on Discord.
[utopian-moderator]

Hey @techtek I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

@techtek, Upvote is the only thing I can support you.

Coin Marketplace

STEEM 0.19
TRX 0.18
JST 0.034
BTC 89118.52
ETH 3131.33
USDT 1.00
SBD 2.76