New features and improvements for Blinkit: Blink length slider, and Blink on new posts from a specific user

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@techtek·
0.000 HBD
New features and improvements for Blinkit: Blink length slider, and Blink on new posts from a specific user
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1520628824/o4m3nwlwuqbbiyt8s2iz.png)


Blinkit is a notification software that turns any USB sticks status L.E.D. into a notification light for Steem related actions. 

![](https://steemitimages.com/0x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1519690304/laf1ozukr21zwdbz3mjy.png)

[Blinkit Introdution ](https://steemit.com/utopian-io/@techtek/introducing-blinkit-v1-0-usb-led-light-notifications-for-steem)

New feature and improvements made to Blinkit:

### New Features:


#### Added a Slider to the interface to set the Blink length.
---

In the previous version the length of each blink action could be set with a pull down, the menu only had 2 options, short, medium and long. 

With the new slider a user can easily set the blink length to the desirable length.
The slider also makes Blinkit more flexible to use with different hardware. (USB 1.0, 2.0, 3.0) 

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1520610274/wtn4yiyeiozeygqppjpo.png)



The source files are [updated](https://github.com/techtek/Blinkit-vb.net)

These files are [added](https://github.com/techtek/Blinkit/tree/master/ledfile)


---

<br></br>

#### Blink the L.E.D of a connected USB stick when a specified user posts a new comment or article on the Steem blockchain. 

---




Now when the newly added *Posts* button is pressed Blinkit wil start [posts.bat](https://github.com/techtek/Blinkit/blob/master/bat/posts.bat) and look for new posts and comments made by a Steem user.  When Blinkit detects a new post/comment it will turn on the LED of your USB stick. 

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1520610460/ezdshiq63pz2s63hkjrx.png)

*The Posts script can be directly edited by the user by clicking the edit label underneath the button.*

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1520612187/dydlaxusplqnaz2stjr2.png)
*Blinkit is running and looking for new posts from me.*


The Steem posts data comes from @moisesmcardona Web API:
 https://api.steem.place/getPostCount/?a=techtek

The code added to Blinkit to implement this new feature:
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1520460817/yfo4wbjou22xuf1vu6uj.png)



[Link](https://github.com/techtek/Blinkit/blob/master/bat/posts.bat) to the posts.bat script

This feature for Blinkit was requested by @valchiz and @mmasim

<br></br>

---
#### Improved the notification script for upvotes, followers and posts.
---

In the previous version there was a moment in the scripts that could lead to missing a action, this happend because the script would re downloaded the data at the begin of each loop,  and download it again for comparison, but it should better leave it untouched and only redownload it after a notification is done.

in this new version the previously downloaded data only gets downloaded again after the comparison of the data have resulted in a notification.

The below code is updated to improve the scripts accuracy and after testing it it works very well and it is now almost real time notifying you about new posts, followers, and seems to not miss a notification. The upvote notifications can be a bit slow.


![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1520462471/denijgbb40urqz8t3i2s.png)


The following files are updated with the improvement

- [upvotes.bat](https://github.com/techtek/Blinkit/blob/master/bat/upvotes.bat)
- [followers.bat](https://github.com/techtek/Blinkit/blob/master/bat/followers.bat)
- [posts.bat](https://github.com/techtek/Blinkit/blob/master/bat/posts.bat)

<br></br>

#### VB.NET project source files are updated
---
[Download](https://github.com/techtek/Blinkit-vb.net) the project files

#### Blinkit for Windows is Updated
---
[Download ](https://github.com/techtek/Blinkit) the latest version of Blinkit.

![image.png](https://steemitimages.com/0x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1519520404/owwlil5p4fqxggd3zllo.png)

![ezgif.com-optimize%20(6).gif](https://steemitimages.com/0x0/https://steemitimages.com/DQmZatTSjV7L7Q2fgz1rkzRbtSTnpRaP36nvCSJJWJm1G2v/ezgif.com-optimize%20(6).gif)
*My [previous post](https://steemit.com/utopian-io/@techtek/simple-cheap-and-fun-diy-project-for-blinkit) was about the idea of making a light defusing enclosure for USB sticks.*

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@techtek/new-features-and-improvements-for-blinkit-blink-length-slider-and-blink-on-new-posts-from-a-specific-user">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,