I had been exploring the scripting options of Hue lights lately. One of the use cases of these smart lightbulbs is that you can actually use the lights and their colors for notifications. While playing with it, I've decided to create notifications on my witness' vote approvals/disapprovals. The goal is simple: - Blink green when somebody approves my witness - Blink red when somebody **dis**approves my witness To have the same setup, you need: - At least one Hue white and color smart lightbulb - Hue bridge #### Getting Started *** I've added three scenes to my target room (workspace). - Witness Vote Approval - Witness Vote Disapproval - Default <center></center> The software should listen to every transaction in the HIVE network, and if it sees an `account_witness_vote` operation targeted to our witness account, it should blink the lights green or red. I would make the blinking colors in the scripting side, however, instead, I chose to trigger scenes so that I can play with the colors without touching the code again. | Operation | Action | |--------------------------------------------------|---------------| |Witness Approval |  | |Witness Disapproval |  #### Python script *** ``` import logging import time from lighthive.client import Client from phue import Bridge import threading logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) # CONFIGURATION HUE_BRIDGE_IP = "<ip>" # can be shown at hue app WITNESSES = ["emrebeyler",] ROOM_NAME = "Workspace" LIGHTBULB_NAME = "Workspace light" class TransactionListener: def __init__(self, client, blockchain_mode="head", start_block=None, end_block=None): self.client = client self.blockchain_mode = blockchain_mode or "irreversible" self.start_block = start_block self.end_block = end_block self.bridge = Bridge(HUE_BRIDGE_IP) def get_last_block_height(self): props = self.client.get_dynamic_global_properties() return props['head_block_number'] def get_block(self, block_num): logger.info("Getting block: %s", block_num) block_data = self.client.get_block(block_num) return block_data def process_block(self, block_data): for transaction in block_data.get("transactions", []): for op_type, op_value in transaction.get("operations"): if op_type != "account_witness_vote": continue if op_value.get("witness") not in WITNESSES: continue t = threading.Thread( target=self.notify, args=( op_value, ), kwargs={}, ) t.start() def notify(self, op): default_state = self.bridge.get_light(LIGHTBULB_NAME) scene_name = 'Witness Vote Approval' if op.get("approve") else \ 'Witness Vote Disapproval' for i in range(0, 5): self.bridge.run_scene(ROOM_NAME, scene_name, transition_time=5) time.sleep(0.5) self.bridge.run_scene(ROOM_NAME, 'Default', transition_time=5) time.sleep(0.5) defaults = { 'on': default_state['state']['on'], 'sat': default_state['state']['sat'], 'hue': default_state['state']['hue'], 'bri': default_state['state']['bri'], } self.bridge.set_light(LIGHTBULB_NAME, defaults, transitiontime=5) def listen(self): current_block = self.get_last_block_height() while True: while (self.get_last_block_height() - current_block) > 0: if self.end_block and current_block > self.end_block: return else: yield self.get_block(current_block) current_block += 1 time.sleep(2.9) if __name__ == '__main__': c = Client() tx_listener = TransactionListener(c) for block_data in tx_listener.listen(): tx_listener.process_block(block_data) ``` *** Just update the configuration and run it. It requires `lighthive` and `phue` libraries installed in your system. I put this into `supervisord` so if somehow the script stops due to node failures, it should restart itself automatically. Also, in a different Python file, you need to authenticate the phue library with your Hue bridge. Press the authenticate button in the Hue bridge and run this one: ``` from phue import Bridge b = Bridge('<bridge_api>') b.connect() ``` *** This is required only once. *** #### A call to action, testing time! 😂 *** This lightbulb in the gifs is connected to my workspace's main lightning at the moment. If you didn't vote for my witness yet, vote for my witness on [Hivesigner](https://hivesigner.com.com/sign/account-witness-vote?witness=emrebeyler&approve=1) or on [PeakD](https://peakd.com/witnesses) so that we can see the live result. <sup>Currently testing is limited only to approval actions please don't troll me. :P </sup> Cheers,
author | emrebeyler |
---|---|
permlink | using-smart-lights-for-witness-vote-notifications |
category | hive-139531 |
json_metadata | {"app":"hiveblog/0.1","format":"markdown","image":["https://images.hive.blog/DQmbuMVfE9qHop4e2KAnXGNVHuPZiun3s168q1Rztbu8WV6/photo5843617973795928702.jpg","https://images.hive.blog/DQmeQN8znKgcqiH6mqdSRjvewWjUYiTBTN2pWuudspG3C2Y/IMG-3061.gif","https://images.hive.blog/DQmVkLpc2FTgXAw45FDsto6xPu2523U9FqYnqw34S9DMdTz/IMG-3058.gif"],"links":["https://hivesigner.com.com/sign/account-witness-vote?witness=emrebeyler&approve=1","https://peakd.com/witnesses"],"tags":["smart-home","development","witness","witness-category"]} |
created | 2020-04-24 13:23:30 |
last_update | 2020-04-24 15:42:54 |
depth | 0 |
children | 13 |
last_payout | 2020-05-01 13:23:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 72.336 HBD |
curator_payout_value | 65.440 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5,580 |
author_reputation | 448,535,049,068,622 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,976,561 |
net_rshares | 147,646,596,794,455 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bue | 0 | 436,575,745,829 | 100% | ||
acidyo | 0 | 5,674,798,496,527 | 50% | ||
gerber | 0 | 490,148,851,173 | 6.9% | ||
kosimoos | 0 | 536,297,279 | 50% | ||
roelandp | 0 | 5,386,664,354,303 | 100% | ||
daan | 0 | 81,673,430,105 | 8% | ||
kendewitt | 0 | 187,098,212,698 | 99% | ||
arcange | 0 | 71,917,632,160 | 3% | ||
sharker | 0 | 5,466,244,928 | 24.5% | ||
raphaelle | 0 | 2,390,842,687 | 3% | ||
kibela | 0 | 7,265,211,604 | 24.5% | ||
felixxx | 0 | 313,581,797,721 | 100% | ||
alinalazareva | 0 | 711,612,786 | 14% | ||
jphamer1 | 0 | 2,866,877,752,122 | 100% | ||
kpine | 0 | 9,272,208,264,131 | 30% | ||
anech512 | 0 | 26,501,589,282 | 100% | ||
protegeaa | 0 | 335,421,979,453 | 100% | ||
someguy123 | 0 | 105,651,426,228 | 6.9% | ||
funnyman | 0 | 3,262,620,163 | 20% | ||
edb | 0 | 34,779,185,828 | 50% | ||
cardboard | 0 | 5,207,859,311 | 100% | ||
rahul.stan | 0 | 23,380,385,872 | 25% | ||
kotturinn | 0 | 70,711,730,999 | 100% | ||
pqlenator | 0 | 9,066,527 | 100% | ||
oneshot | 0 | 44,149,034,479 | 100% | ||
danielsaori | 0 | 389,894,931,716 | 100% | ||
ocisly | 0 | 10,050,804,558 | 100% | ||
imperfect-one | 0 | 15,641,658,133 | 100% | ||
tyzzzz | 0 | 1,636,263,014 | 100% | ||
grider123 | 0 | 15,245,289,121 | 100% | ||
mys | 0 | 1,035,092,191 | 0.35% | ||
fredrikaa | 0 | 1,973,672,537,678 | 100% | ||
mercadosaway | 0 | 810,717,290 | 100% | ||
aditor | 0 | 5,319,958,387 | 100% | ||
ruel.cedeno | 0 | 4,670,129,002 | 100% | ||
giuatt07 | 0 | 270,399,804,609 | 25% | ||
maxer27 | 0 | 164,735,250,054 | 35% | ||
wf9877 | 0 | 644,228,754,854 | 100% | ||
netuoso | 0 | 2,386,931,006,142 | 100% | ||
gulshannsaini | 0 | 2,577,332,775 | 100% | ||
jeffrey24864 | 0 | 170,338,647,740 | 100% | ||
rafalski | 0 | 677,108,111 | 3.85% | ||
steemshiro | 0 | 154,499,815,567 | 100% | ||
nicniezgrublem | 0 | 21,691,105,847 | 100% | ||
howo | 0 | 3,521,636,219,510 | 100% | ||
yoogyart | 0 | 19,366,834,483 | 51% | ||
superhardness | 0 | 4,985,994,563,184 | 100% | ||
khalil319 | 0 | 3,569,929,315 | 100% | ||
steemik | 0 | 2,595,462,400,109 | 100% | ||
kamilason | 0 | 6,898,146,099 | 100% | ||
nainaztengra | 0 | 98,875,299,312 | 15% | ||
crokkon | 0 | 42,098,142,664 | 100% | ||
fbslo | 0 | 593,909,773 | 0.17% | ||
roleerob | 0 | 6,200,235,281 | 1.38% | ||
deathwing | 0 | 2,667,843,389 | 6.9% | ||
scorer | 0 | 104,078,380,196 | 100% | ||
raycoms | 0 | 62,459,332,220 | 100% | ||
revisesociology | 0 | 186,666,415,075 | 20% | ||
isnochys | 0 | 37,057,389,444 | 28% | ||
steemed-proxy | 0 | 19,437,727,462,878 | 100% | ||
spacesheep | 0 | 4,417,766,544 | 100% | ||
pataty69 | 0 | 2,423,760,616 | 3.45% | ||
unforgettable | 0 | 3,947,315,049 | 100% | ||
emrebeyler | 0 | 1,739,040,837,233 | 100% | ||
zakia | 0 | 38,344,875,721 | 100% | ||
not-a-bird | 0 | 10,987,772,773 | 50% | ||
sarakey | 0 | 8,081,535,751 | 100% | ||
evilest-fiend | 0 | 1,239,291,012 | 50% | ||
mytechtrail | 0 | 42,296,151,385 | 20% | ||
mhm-philippines | 0 | 78,215,722,867 | 24.5% | ||
upali | 0 | 20,363,547,253 | 100% | ||
one-person | 0 | 2,366,126,957 | 100% | ||
nokodemion | 0 | 32,326,467,234 | 100% | ||
fourfourfun | 0 | 6,494,850,312 | 25% | ||
tinowhale | 0 | 3,031,549,186 | 49% | ||
fromhell2sky | 0 | 9,648,108,252 | 24.5% | ||
nataly2317 | 0 | 2,055,116,381 | 100% | ||
santarius | 0 | 1,721,768,101 | 100% | ||
acronyms | 0 | 1,436,009,166 | 100% | ||
soyrosa | 0 | 663,915,260,951 | 100% | ||
stehaller | 0 | 69,385,989,325 | 100% | ||
chorock | 0 | 117,657,586,704 | 10% | ||
cfminer | 0 | 545,126,400 | 100% | ||
tobias-g | 0 | 600,455,690,714 | 100% | ||
holger80 | 0 | 2,925,262,788,669 | 75% | ||
shmoogleosukami | 0 | 8,078,492,851 | 25% | ||
cadawg | 0 | 15,583,561,216 | 4.82% | ||
ahmetmertugrul | 0 | 832,386,610 | 100% | ||
tdogvoid | 0 | 571,941,645 | 100% | ||
cheema1 | 0 | 20,032,354,816 | 50% | ||
tipitip | 0 | 799,970,145 | 100% | ||
raoul.poenar | 0 | 3,683,846,448 | 100% | ||
cst90 | 0 | 42,318,218,255 | 100% | ||
thomasthewolf | 0 | 27,964,889,983 | 40% | ||
ruh | 0 | 815,378,851 | 100% | ||
olimiesma | 0 | 35,465,726,396 | 100% | ||
bonzopoe | 0 | 5,334,723,119 | 25% | ||
bulent1976 | 0 | 652,028,240 | 100% | ||
bestboom | 0 | 46,593,138,903 | 6.9% | ||
abrockman | 0 | 769,291,378,053 | 100% | ||
muratkbesiroglu | 0 | 45,332,478,400 | 100% | ||
sereze | 0 | 155,733,150,412 | 100% | ||
paragism | 0 | 5,743,484,948 | 29% | ||
freddio | 0 | 60,007,375,569 | 15% | ||
chuuuckie | 0 | 715,751,083 | 50% | ||
andreasgrubhofer | 0 | 13,564,307,283 | 100% | ||
promobot | 0 | 876,868,325,762 | 100% | ||
glodniwiedzy | 0 | 28,533,425,583 | 100% | ||
jancharlest | 0 | 2,967,377,316 | 3% | ||
atanas007 | 0 | 8,675,945,859 | 100% | ||
honoru | 0 | 34,185,283,423 | 10% | ||
pladozero | 0 | 75,199,919,396 | 10% | ||
nateaguila | 0 | 281,860,906,014 | 8% | ||
bilimkurgu | 0 | 20,278,731,181 | 100% | ||
swisswitness | 0 | 43,954,851,407 | 100% | ||
adrimonte | 0 | 2,523,953,667 | 100% | ||
cryptojiang | 0 | 366,625,191 | 100% | ||
luciomcabee | 0 | 652,856,020 | 100% | ||
roger5120 | 0 | 274,319,533,850 | 23% | ||
agathusia | 0 | 811,770,315 | 100% | ||
profitcheck | 0 | 424,012,896 | 100% | ||
olumzy | 0 | 75,823,268,213 | 100% | ||
pablorg94 | 0 | 606,339,437 | 100% | ||
gallerani | 0 | 10,660,423,663 | 6.9% | ||
zaibkang | 0 | 47,140,217,494 | 100% | ||
daath | 0 | 3,228,123,582 | 100% | ||
goumao | 0 | 79,509,047,412 | 100% | ||
dlike | 0 | 98,178,143,282 | 6.9% | ||
triptolemus | 0 | 13,408,671,334 | 6.9% | ||
deathcross | 0 | 106,877,565,429 | 100% | ||
fullnodeupdate | 0 | 13,779,193,374 | 75% | ||
ceruleanblue | 0 | 569,980,421 | 100% | ||
engrave | 0 | 1,371,236,633,243 | 100% | ||
sampraise | 0 | 9,544,004,798 | 100% | ||
pet.society | 0 | 8,055,152,925 | 2% | ||
steemituplife | 0 | 631,698,815 | 25% | ||
cultus-forex | 0 | 50,996,082,488 | 40% | ||
steemwhalepower | 0 | 842,145,504 | 100% | ||
mister-meeseeks | 0 | 19,794,329,047 | 25% | ||
cryptoxicate | 0 | 155,920,279,383 | 16% | ||
anti-bully | 0 | 2,070,023,081 | 100% | ||
brianoflondon | 0 | 641,493,073,074 | 100% | ||
gameeit | 0 | 2,870,747,274 | 100% | ||
maxi01 | 0 | 2,046,329,908 | 100% | ||
bgornicki | 0 | 1,114,984,536 | 100% | ||
dein-problem | 0 | -12,894,154 | -1% | ||
moneytron | 0 | 27,450,004,934 | 100% | ||
bluerobo | 0 | 77,554,846,015 | 100% | ||
enthef | 0 | 11,823,790,034 | 100% | ||
samsemilia7 | 0 | 7,657,630,475 | 40% | ||
determine | 0 | 10,651,689,566 | 6.9% | ||
permaculturedude | 0 | 1,328,232,342 | 3.45% | ||
idiosyncratic1 | 0 | 11,574,763,771 | 100% | ||
jamesbattler | 0 | 98,208,898,771 | 100% | ||
darrenfj | 0 | 9,058,994,990 | 25% | ||
hanke | 0 | 2,010,106,957 | 100% | ||
goodcontentbot | 0 | 2,778,926,668 | 50% | ||
samflow | 0 | 613,026,307 | 100% | ||
realgoodcontent | 0 | 867,492,402 | 100% | ||
cooperfelix | 0 | 4,248,360,889 | 15% | ||
giftgiver | 0 | 18,978,819,300 | 100% | ||
goodcontentbot1 | 0 | 1,278,960,199 | 90% | ||
cpt-sparrow | 0 | 22,194,118,012 | 100% | ||
ttg | 0 | 612,342,881,166 | 100% | ||
russia-btc | 0 | 421,271,897,548 | 50% | ||
bitcoinator | 0 | 1,586,602,985 | 50% | ||
korle | 0 | 1,088,350,459 | 100% | ||
maryincryptoland | 0 | 11,432,981,601 | 100% | ||
bigmoneyman | 0 | 910,007,018 | 50% | ||
likwid | 0 | 32,020,007,787,616 | 100% | ||
oxoskva | 0 | 908,037,437 | 100% | ||
diazrock | 0 | 2,360,431,666 | 100% | ||
steem.leo | 0 | 85,174,163,810 | 6.83% | ||
everythingsmgirl | 0 | 1,181,111,398 | 50% | ||
freddio.sport | 0 | 6,226,918,228 | 15% | ||
asteroids | 0 | 17,094,552,523 | 6.9% | ||
midlet-creates | 0 | 1,642,167,251 | 100% | ||
leo.syndication | 0 | 1,841,348,478 | 6.9% | ||
one.life | 0 | 20,042,598,107 | 6.88% | ||
tomhall.leo | 0 | 488,491,664 | 100% | ||
maxuvd | 0 | 4,035,701,405 | 6.9% | ||
dappcoder | 0 | 24,961,455,019 | 7.8% | ||
huaren.news | 0 | 468,519,013,982 | 8.26% | ||
goodreader | 0 | 35,590,186,894 | 7.16% | ||
gerbo | 0 | 35,785,141 | 6.9% | ||
fearlessgu | 0 | 4,203,467,439 | 50% | ||
gmlrecordz | 0 | 4,820,561,691 | 50% | ||
hamsterpoweriii | 0 | 13,807,493,943 | 100% | ||
staryao | 0 | 36,444,388,915 | 7.61% | ||
diamond-head | 0 | 4,169,862,919 | 100% | ||
importante | 0 | 7,495,116,314 | 65% | ||
steemcityrewards | 0 | 29,485,073,841 | 6.9% | ||
aivote | 0 | 302,113,545 | 2.06% | ||
karpnado | 0 | 58,610,132,073 | 100% | ||
picciridda2 | 0 | 3,638,670,745 | 100% | ||
innerhive | 0 | 38,608,000,407,555 | 100% | ||
blue-witness | 0 | 2,380,415,660 | 100% | ||
bookmarker | 0 | 18,482,419,659 | 100% | ||
edwin-doncel | 0 | 2,409,207,473 | 100% | ||
tips.tracker | 0 | 145,316,514 | 1% | ||
lazarmarlin | 0 | 0 | 100% | ||
trustwallet | 0 | 0 | 100% |
So cool! I've got an idea for you regarding witnesses and polls, what's the best way to contact you for a chat? I'm @Brianoflondon pretty much everywhere.
author | brianoflondon | ||||||
---|---|---|---|---|---|---|---|
permlink | re-emrebeyler-2020424t17625434z | ||||||
category | hive-139531 | ||||||
json_metadata | {"tags":["smart-home","development","witness","witness-category"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"} | ||||||
created | 2020-04-24 14:06:24 | ||||||
last_update | 2020-04-24 14:06:24 | ||||||
depth | 1 | ||||||
children | 1 | ||||||
last_payout | 2020-05-01 14:06:24 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 155 | ||||||
author_reputation | 760,626,613,375,672 | ||||||
root_title | "Using smart lights for witness vote notifications" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 96,977,109 | ||||||
net_rshares | 0 |
thanks! I'll dm you today or tomorrow.
author | emrebeyler |
---|---|
permlink | q9aue3 |
category | hive-139531 |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-04-24 15:44:27 |
last_update | 2020-04-24 15:44:27 |
depth | 2 |
children | 0 |
last_payout | 2020-05-01 15:44:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.149 HBD |
curator_payout_value | 0.150 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 39 |
author_reputation | 448,535,049,068,622 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,978,337 |
net_rshares | 571,246,955,134 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
brianoflondon | 0 | 571,259,849,288 | 100% | ||
dein-problem | 0 | -12,894,154 | -1% |
https://www.wykop.pl/cdn/c3201142/comment_GqjGdjfDdqce52G5BGKU1DM7ZDPTrwx0.gif
author | cardboard |
---|---|
permlink | re-emrebeyler-q9apn8 |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.04.5"} |
created | 2020-04-24 14:02:00 |
last_update | 2020-04-24 14:02:00 |
depth | 1 |
children | 1 |
last_payout | 2020-05-01 14:02:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 79 |
author_reputation | 31,522,757,177,122 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,977,047 |
net_rshares | 0 |
😂
author | emrebeyler |
---|---|
permlink | q9aub4 |
category | hive-139531 |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-04-24 15:42:42 |
last_update | 2020-04-24 15:42:42 |
depth | 2 |
children | 0 |
last_payout | 2020-05-01 15:42:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1 |
author_reputation | 448,535,049,068,622 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,978,312 |
net_rshares | 0 |
Hi.. You know so much programming.. You are making different lights to glow for different actions..
author | gulshannsaini |
---|---|
permlink | q9l0mf |
category | hive-139531 |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-04-30 03:35:06 |
last_update | 2020-04-30 03:35:06 |
depth | 1 |
children | 0 |
last_payout | 2020-05-07 03:35:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 99 |
author_reputation | 1,710,729,654,830 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,088,110 |
net_rshares | 0 |
It actually looks cool
author | paragism | ||||||
---|---|---|---|---|---|---|---|
permlink | re-emrebeyler-2020425t1415215z | ||||||
category | hive-139531 | ||||||
json_metadata | {"tags":["smart-home","development","witness","witness-category"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"} | ||||||
created | 2020-04-25 08:46:54 | ||||||
last_update | 2020-04-25 08:46:54 | ||||||
depth | 1 | ||||||
children | 1 | ||||||
last_payout | 2020-05-02 08:46:54 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 22 | ||||||
author_reputation | 36,292,755,022,096 | ||||||
root_title | "Using smart lights for witness vote notifications" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 96,989,066 | ||||||
net_rshares | 0 |
Thanks! :)
author | emrebeyler |
---|---|
permlink | re-paragism-q9ezix |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.04.5"} |
created | 2020-04-26 21:25:45 |
last_update | 2020-04-26 21:25:45 |
depth | 2 |
children | 0 |
last_payout | 2020-05-03 21:25:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 10 |
author_reputation | 448,535,049,068,622 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,017,061 |
net_rshares | 0 |
So theoretically if you make it blink only once per vote, it's possible to send some morse code through this? Using blinks as the pauses and the time in between as long/short presses.
author | rishi556 |
---|---|
permlink | re-emrebeyler-q9bo3p |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.04.5"} |
created | 2020-04-25 02:26:12 |
last_update | 2020-04-25 02:26:12 |
depth | 1 |
children | 5 |
last_payout | 2020-05-02 02:26:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.066 HBD |
curator_payout_value | 0.067 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 183 |
author_reputation | 132,735,189,827,616 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,985,605 |
net_rshares | 272,586,873,656 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bubke | 0 | 272,586,873,656 | 11% |
you need to use time intervals of at least 3 secs then or can you do more than 1 vote in a block?
author | bubke |
---|---|
permlink | re-rishi556-q9btpt |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.04.4"} |
created | 2020-04-25 04:27:33 |
last_update | 2020-04-25 04:27:33 |
depth | 2 |
children | 3 |
last_payout | 2020-05-02 04:27:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 97 |
author_reputation | 9,285,631,006,103 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,986,519 |
net_rshares | 0 |
Min time intervals of 3 sec. So dots can be 3 sec wait, and dashes be 6 seconds.
author | rishi556 |
---|---|
permlink | re-bubke-q9btrl |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.04.5"} |
created | 2020-04-25 04:28:33 |
last_update | 2020-04-25 04:28:33 |
depth | 3 |
children | 2 |
last_payout | 2020-05-02 04:28:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 81 |
author_reputation | 132,735,189,827,616 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,986,536 |
net_rshares | 0 |
Well, with a little bit of modification it should be possible. :)
author | emrebeyler |
---|---|
permlink | re-rishi556-q9ezob |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.04.5"} |
created | 2020-04-26 21:29:00 |
last_update | 2020-04-26 21:29:00 |
depth | 2 |
children | 0 |
last_payout | 2020-05-03 21:29:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 65 |
author_reputation | 448,535,049,068,622 |
root_title | "Using smart lights for witness vote notifications" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 97,017,100 |
net_rshares | 0 |