create account

Waves Full Node Monitor Project by applicationist

View this thread on: hive.blogpeakd.comecency.com
· @applicationist · (edited)
$54.99
Waves Full Node Monitor Project
# Waves Full Node Monitor
WavesBlock is a NodeMCU powered monitor, that allows one to track the status of a [Waves](https://wavesplatform.com/) Full node, as well as the servers stats. 

[Waves](https://wavesplatform.com/) is a proof of stake, open source blockchain platform, with leasing and voting implementations, and its own decentralized exchange (DEX) that allows users to launch their own custom tokens. 

![](https://steemitimages.com/DQmcow8w8s4eSHY4get1GFuzvzgQR6u9stbdEPqYX54WuTb/image.png)

The monitor connects to the node every 30 seconds, and calls a custom script to get information, the screen displays the following information; 

- Waves Logo
- Node Name
- Node Version 
- CPU / RAM / Disk % Usage
- Node connected peers count
- Node status (Mining, Not Mining)
- Node timestamp of status
- Current node block and network block height
- Generating Balance (Nodes need a minimum of 1000 waves to stake, these can be leased. This balance is the effective balance, which is wallet balance + leased balance) 
- Voting (In the example picture, Features 1, 2 and 3 have been voted for) 

### The Electronics

The build this, you will need; 
[Node MCU v3 Wifi Development Board](http://geni.us/BNlKu0p)
[OLED Screen](http://geni.us/M6J4oM)

And depending on your implementation, either some female to female connecting wires, or a breadboard. 

You will need to connect up the wires to 3v, g, D1 and D2, as per the picture; 

![](https://steemitimages.com/DQmdkzrzWusnEesgVvTd6jjW7SutguRJRvoxECksMRj1UWc/image.png)


### The Coding

You will need to use https://nodemcu-build.com/ to build a firmware.  Select the options as per; 

![](https://steemitimages.com/DQmXegYasTCHgTyDnPRU4LgyJoNUdD884QyKWWKsYdYKpCo/image.png)

And you can follow instructions from the site to flash the firmware. 

I've uploaded the code its self to ; 

https://github.com/theapplicationist/wavesblock-nodemcu-monitor

And you can pop in your own WiFi details and send this code to your NodeMcu using Esplorer (https://esp8266.ru/esplorer/) 

The status.php file needs to be hosted on your node, I chose PHP for this as its easy enough to deploy onto a standard ubuntu server. Point the IP in queryserver.lua to your server, and make sure your node configuration file has the Rest API turned on (You can set the IP to 127.0.0.1 since the script queries the API locally) 

### The Box

Obviously you can put this in any box, or even just keep it on a breadboard. I chose to build a 'Waves Logo' box, using a cheap wooden box from the Chinese supermarket. 

![](https://steemitimages.com/DQmakjAbB5BpPTAQKgcx7fU86gbBiCsLt8xQaXGKKCkv2GC/image.png)

I marked up and cut out a hole for the screen, and glued it behind, passed a USB cable through the back (And through the stand) and painted it all Blue (Almost Waves blue!)

### The End

Hope you liked this, and if you have any questions let me know in the comments. 

All feedback welcome, all PR's reviewed!

Please consider leasing to my waves node @ 
alias: waves.theapplicationist.com

https://waves.theapplicationist.com

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@applicationist/5ddalr-waves-full-node-monitor-project">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
πŸ‘  , , , , , , , , , , , ,
properties (23)
authorapplicationist
permlink5ddalr-waves-full-node-monitor-project
categoryutopian-io
json_metadata"{"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":126798226,"name":"wavesblock-nodemcu-monitor","full_name":"theapplicationist/wavesblock-nodemcu-monitor","html_url":"https://github.com/theapplicationist/wavesblock-nodemcu-monitor","fork":false,"owner":{"login":"theapplicationist"}},"pullRequests":[],"platform":"github","type":"development","tags":["utopian-io","electronics","maker","nodemcu","arduino"],"users":["applicationist"],"links":["https://wavesplatform.com/","http://geni.us/BNlKu0p","http://geni.us/M6J4oM"],"moderator":{"account":"decebal2dac","time":"2018-03-28T21:54:27.230Z","flagged":false,"reviewed":true,"pending":false},"questions":[{"question":"Is the project description formal?","answers":[{"value":"Yes it’s straight to the point","selected":true,"score":10},{"value":"Need more description ","selected":false,"score":5},{"value":"Not too descriptive","selected":false,"score":0}],"selected":0},{"question":"Is the language / grammar correct?","answers":[{"value":"Yes","selected":true,"score":20},{"value":"A few mistakes","selected":false,"score":10},{"value":"It's pretty bad","selected":false,"score":0}],"selected":0},{"question":"Was the template followed?","answers":[{"value":"Yes","selected":true,"score":10},{"value":"Partially","selected":false,"score":5},{"value":"No","selected":false,"score":0}],"selected":0},{"question":"How do you rate the amount of work?","answers":[{"value":"Very High","selected":false,"score":20},{"value":"High","selected":false,"score":16},{"value":"Medium","selected":true,"score":12},{"value":"Low","selected":false,"score":7},{"value":"Very Low","selected":false,"score":3}],"selected":2},{"question":"How do you rate the impact on the Project?","answers":[{"value":"Very High","selected":false,"score":20},{"value":"High","selected":false,"score":16},{"value":"Medium","selected":true,"score":12},{"value":"Low","selected":false,"score":7},{"value":"Very Low","selected":false,"score":3}],"selected":2}],"score":50}"
created2018-03-26 21:45:42
last_update2018-03-28 21:54:27
depth0
children3
last_payout2018-04-02 21:45:42
cashout_time1969-12-31 23:59:59
total_payout_value38.075 HBD
curator_payout_value16.911 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,247
author_reputation1,625,762,042,270
root_title"Waves Full Node Monitor Project"
beneficiaries
0.
accountutopian.pay
weight2,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id46,773,914
net_rshares27,033,324,281,329
author_curate_reward""
vote details (13)
@decebal2dac ·
Thank you for the contribution. It has been approved.

You can contact us on [Discord](https://discord.gg/uTyJkNm).
**[[utopian-moderator]](https://utopian.io/moderators)**
πŸ‘  
properties (23)
authordecebal2dac
permlinkre-applicationist-5ddalr-waves-full-node-monitor-project-20180328t215436898z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-03-28 21:54:39
last_update2018-03-28 21:54:39
depth1
children0
last_payout2018-04-04 21:54:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length172
author_reputation13,975,053,566,819
root_title"Waves Full Node Monitor Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id47,165,502
net_rshares599,881,336
author_curate_reward""
vote details (1)
@utopian-io ·
### Hey @applicationist I am @utopian-io. I have just upvoted you!
#### Achievements
- You have less than 500 followers. Just gave you a gift to help you succeed!
- This is your first accepted contribution here in Utopian. Welcome!
#### Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER!
- <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a>
- <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a>
- Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a>

[![mooncryption-utopian-witness-gif](https://steemitimages.com/DQmYPUuQRptAqNBCQRwQjKWAqWU3zJkL3RXVUtEKVury8up/mooncryption-s-utopian-io-witness-gif.gif)](https://steemit.com/~witnesses)

**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**
πŸ‘  
properties (23)
authorutopian-io
permlinkre-applicationist-5ddalr-waves-full-node-monitor-project-20180329t000257663z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-03-29 00:03:00
last_update2018-03-29 00:03:00
depth1
children0
last_payout2018-04-05 00:03:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,109
author_reputation152,955,367,999,756
root_title"Waves Full Node Monitor Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id47,178,470
net_rshares621,638,691
author_curate_reward""
vote details (1)
@zoneboy ·
Your contribution cannot be approved because it does not follow the [Utopian Rules](https://utopian.io/rules).

The repo contains no Program source code and License file

You can contact us on [Discord](https://discord.gg/uTyJkNm).
**[[utopian-moderator]](https://utopian.io/moderators)**
properties (22)
authorzoneboy
permlinkre-applicationist-5ddalr-waves-full-node-monitor-project-20180327t114534083z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-03-27 11:45:48
last_update2018-03-27 11:45:48
depth1
children0
last_payout2018-04-03 11:45:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length288
author_reputation106,788,168,871,967
root_title"Waves Full Node Monitor Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id46,880,079
net_rshares0