This new version brings customization options and more control to the user over the Blinkit standalone, Steem notification device.
It's compatible with the inexpensive, (10 usd +/-) and widely available Heltec Wifi KIT 8 (Arduino Nodemcu module) and includes the following new features.
New Features
Main menu
The previously added and new features where filling up the web interface, and to make it more user friendly the new and previously added features are now put inside a collapsible menu, and are categorized in the following menu items:
- Sound
- Light
- Display
- Other
Choose a notification sound
When in the menu the "Sound" item is selected and selected it shows buttons to choose one of the 3 notification sounds:
- Victory beep: "te tuu TUUUU"
- Slow beep x3
- Single beep
Choose one of the 3 themes
When in the menu the "Display" item is selected and opened it now shows buttons to switch the theme of the display between:
- Default
- Big
- Screen Off
Other improvements
- The avatar picture for the saved user is displayed in the webinterface.
- When the menu item "Other" is selected it show links to the @blinkit profile, where the Blinkit related posts are shared, and to the Blinkit Discord, for technical support.
- When the Blinkit logo is pressed it will work as a home button.
How is it implemented ?
Display themes
To make it possible to switch themes, a new variabel is added: displaytheme in here the theme to be used is saved.
The previous mainscreen is turned into the "default" theme, and the newly added themes "big" and "screen off" are added in functions as well that are called based on the request that is received by the device. the web interface sends those commands by the press of one of the buttons.
Direct trigger URLS for the themes:
http://192.168.1.6/defaulttheme
http://192.168.1.6/bignumbertheme
http://192.168.1.6/emptyscreentheme
(Change the IP in the URL to your device IP (the device IP is shown on the display during the start up sequence.)
Newly added "big" theme that shows the received upvotes with a large font on the display
Code that saves the selected theme into variabel "displaytheme"
Code that shows the "big" number theme. for "default" and "screen off" themes are seperate functions.
Notification sounds
To make it possible to switch between notifications sounds a new variabel is added: notificationsound, that stores the by the user saved notification sound, the different notification sounds are added inside there own function and can be called per URL to trigger them. When one of the buttons in the web interface is pressed the file is played and set to be used when new Upvotes are received.
Variabel: notificationsound stores the set notification sounds
Code to show the buttons in the webinterface, to choose the notification sound
Code that gets triggered when the user press a notification sound button in the web interface, it sets the sound as current notification sound and plays the sound once.
Code addded: Function to store and play the notification sounds
Direct trigger URLS:
http://192.168.1.6/victorysound
http://192.168.1.6/3xslowbeep
http://192.168.1.6/1xsinglebeep
(Change the IP in the URL to your device IP (the device IP is shown on the display during the start up sequence.)
The Blinkit repository is updated
https://github.com/techtek/Blinkit
Latest commit: Blinkit v1.3
The following files are updated / added
Thanks for reading and supporting the Blinkit project, if you need help with setting up your device or if you want to get in contact / want to help to contribute to the Blinkit project, please feel free to join the Blinkit Discord server, More details about Blinkit can be found on the Blinkit website.
Thank you for your contribution, a nice update to a project.
Small doubt, a lot of places I have seen you are using only if and not else if, like https://github.com/techtek/Blinkit/commit/66321b387f469f2b955461ea6d67c502396c79cc#diff-fe6449eb7fceb15a3ece3f5c17f7689eR646, is there a reason behind it, can displaytheme variable get more than one value at a time?
Also for this line, https://github.com/techtek/Blinkit/commit/66321b387f469f2b955461ea6d67c502396c79cc#diff-fe6449eb7fceb15a3ece3f5c17f7689eR1004 you are using the below code three times, can this be added as a function and then called, this way your code will look good.
tone(piezopin, 1300, 600); delay(2000);
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your review, @codingdefined!
So far this week you've reviewed 10 contributions. Keep up the good work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for moderating, will look into the suggestions and improve them in the next update.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This project is being supported by @Fundition
Fundition is a next-generation, decentralized, peer-to-peer crowdfunding and collaboration platform, built on the Steem blockchain.
#upfundition and #fundition tags on Steem represent the projects that are started on https://fundition.io.
Are You Prepared to Make the World a Better Place too?
Read the full details of Fundition Fund program
Learn more about Fundition by reading our purplepaper![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmaYfT3fnb6ZyqYLhjHQf3dtSMHiEE8XbThZK6eEhAG542/fundition-large.png)
Join a community with heart based giving at its core
![steemitf.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmX3cy15dCdj13UHEXJweXi56Ke7wPygVATXTn9M4nJXnP/steemitf.png)
![twitterf.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmNpvrZZwovgVjvFzECahb1Rxn3DHW44qQRR6ezKaW5tZm/twitterf.png)
![youtubef.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmb4sujNswmgi3U9HMZhPrzewtnBiq4h2meN2GTGHFncZs/youtubef.png)
![facebookf.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmY4Uc6ocy3pf5743kevVwY8vSta8s1AZEyXnRaQKRuE8P/facebookf.png)
![instaf.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmNSCP9MBQ6ND6nEJM7Tw3tHAHSqeXpUpspaoA9BVSSVqd/instaf.png)
![discordf.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmSxkY56B9RZWXmhUyybUR7ZtsJAf2BHHyH2pGoFLLRaH2/discordf.png)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for the support @fundition
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for liking one of my posts!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @techtek
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You have a minor misspelling in the following sentence:
It should be separate instead of seperate.Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
test
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
test
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit