Blinkit v1.3 | Sonoff integration, Blink the lights in your house on new Upvotes, Followers and Posts
This new updated version of Blinkit makes it possible to blink a regular light in your house when new Upvotes, Followers, and Post are detected.
(The previous versions of Blinkit could already blink USB sticks status LEDs and give a sound notification when new Upvotes, Followers and Posts are detected.)
To blink a light in your house with Blinkit, you do need to have a 5$, Sonoff Wifi smart switch, they are very cheap, popular and widely (online) available, for example on DealExtreme, Aliexpress, Banggood, and you would need to put the latest Tasmota firmware on it. (which is a must, to have running on them because of all the extra features it offers compared to the stock firmware that runs on it)
Blink a regular light bulb
How is it implemented ?
The most popular custom firmware for Sonoff smart switches is Theo Arends, Tasmota firmware, his firmware is free available for a wide variate of models (30+/-) his firmware makes it possible for the Sonoff to accept direct commands send to it by URL:
http://192.168.1.123/cm?cmnd=power%20on
http://192.168.1.123/cm?cmnd=power%20off
http://192.168.1.123/cm?cmnd=power%20toggle
Blinkit makes use of this function to send the On, Off, and Toggle commands to the Wifi connected Sonoff switch.
Features of the newly added Sonoff module in Binkit:
- IP / Hostname of your Sonoff switch can be typed in and saved
- The light connected to your Sonoff switch can be switched On and Off with the buttons
- The blink length can be set with a slider, and saved by the user (0-11 sec)
- The blink button can be used to test the saved blink settings. (it will toggle the light, a toggle is used because the light could already be On, for normal use or be Off because not in use)
- Blink the light when new Steem Upvotes, Followers and Posts are detected for a specified user.
Blinkit interface v1.3, with the newly added Sonoff module
Script that toggles the Sonoff: blinksonoff.bat
Files that where added/updated:
form1.vb (The interface is updated)
blinksonoff.bat is added (this script toggles the Sonoff device, and waits for X seconds and toggles it back into the previous state)
upvotessonoff.bat is added (this script watches for new Upvotes and when found calls blinksonoff.bat)
followerssonoff.bat is added (this script watches for new Followers and when found calls blinksonoff.bat)
postssonoff.bat is added (this script watches for new posts and when found calls blinksonoff.bat
The following repositories are updated:
VB .net source files
Blinkit software
Blinkit is open source and free to download
Your input and suggestions are always welcome and will help to improve Blinkit, What features do you want to see integrated?
Do you have suggestions on improving the .bat scripts that look for new Votes, Followers, and Posts or suggestions on improving the the interface ?
Do you have a Sonoff switch?
What USB sticks do you have laying around, and does it have a status LED?
Do you have smart light bulbs in your house?
- New Upvotes and Follows on my account will Blink the light in my room, give it a try and blink the light?
- Search your drawers for a USB stick (and/or order a Sonoff) and start blinking your own lights on Steem related actions with Blinkit!
Posted on Utopian.io - Rewarding Open Source Contributors
Wayy too cool!! Love making your house lights blink!! Thanks again for your innovation!
Thanks, You are blinking lights in my house for some time now, You always make a party :)
Thank you for the contribution. It has been approved.
The one commit was useful for me to look at the work.
Next is IP smart plugs? ;-)
You can contact us on Discord.
[utopian-moderator]
Thanks for the approval, Possibly next could be the Philips Hue lights but i need to look into it first. if there are suggestions for popular brands i will want to look into integrating them as well.
(i'm at the moment working on a settings module for notification sounds.)
Hey @techtek I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
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
As a follower of @followforupvotes this post has been randomly selected and upvoted! Enjoy your upvote and have a great day!
Thank you @followforupvotes bot, for the upvote and as a result > blinking the lights!
:D
Postingan yang sangat bagus
Xie Xie
👍👍👍