Dashticz - Module - Crypto Currency [BETA]

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

Post Reply
User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Dashticz - Module - Crypto Currency [BETA]

Post by robgeerts » Saturday 11 November 2017 22:53

In latest beta it is possible to show the current exchange rates for crypto currencies like Bitcoins, Bitcoin Cash etc.
Image

Add to config.js:

Code: Select all

var coins = {}
coins.bitcoin = { key:'bitcoin', currency: 'EUR', layout:'vertical',width:6 }
coins.monero = { key:'monero', currency: 'EUR', layout:'vertical',width:6 }
coins.bitcoincash = { key:'bitcoin-cash',  amount: 0.03071800, currency: 'EUR', width:12 }
Add to blocks like:

Code: Select all

columns[1]['blocks'] = [coins.bitcoin, coins.monero, coins.bitcoincash]
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
Teknor
Posts: 34
Joined: Monday 08 February 2016 14:26
Target OS: Raspberry Pi
Domoticz version: 3.48
Location: Norway
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by Teknor » Saturday 11 November 2017 23:23

Cool,
From which beta?
Raspberry Pi 3 running RFXTRX433e Mysensors NRF24L01 MotionEYE - Raspberry Pi 2 running Pikrellcam

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by robgeerts » Saturday 11 November 2017 23:35

Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

freakshock
Posts: 75
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by freakshock » Sunday 12 November 2017 16:14

Thanks Rob, nice idea for a module.
Seems to crash my tablet browser (Fully Kiosk Browser) quite often however.
Have not tested other browsers.

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by robgeerts » Monday 13 November 2017 17:22

Could you test latest BETA?
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by robgeerts » Tuesday 14 November 2017 11:38

Also, in latest beta it is possible to use litebit.eu as a source.
just add the source-parameter, like:

Code: Select all

var coins = {}
coins.btc = { key:'btc', source: 'litebit', currency: 'EUR', layout:'vertical',width:6 }
coins.bcc = { key:'bcc', source: 'litebit', currency: 'EUR', layout:'vertical',width:6 }
coins.dash = { key:'dash', source: 'litebit', currency: 'EUR', amount: 0.07935300, width:12 }
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

freakshock
Posts: 75
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by freakshock » Thursday 16 November 2017 16:20

robgeerts wrote:
Monday 13 November 2017 17:22
Could you test latest BETA?
Seems fixed now Rob, thanks!

User avatar
gielie
Posts: 219
Joined: Tuesday 12 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by gielie » Tuesday 21 November 2017 21:56

really nice feature, is it possible to use USD, if i change EUR to USD it doesnt work.
What i also like to see is how much BTC my alts are, so BTC as currency
- Vision ZU1401 USB Stick
- Aeotec MultiSensor 6
- FIBARO FGS222
- FIBARO FGWPE Wall Plug
- Everspring AN157
- Neo CoolCam Power plug
- Neo CoolCam PIR Sensor
- Popp Smoke Detector
- Toon
- Kodi Media Server

User avatar
remb0
Posts: 970
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by remb0 » Thursday 21 December 2017 12:20

I have added this with nxt nem etc. but I don't see them:
https://cors-anywhere.herokuapp.com/htt ... ve-updates
is a red line when I use F12. So it can't use this, can I use another link or disable cors?
nu and garbage still works.

nldforce
Posts: 14
Joined: Wednesday 27 December 2017 23:08
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by nldforce » Thursday 28 December 2017 16:35

Hey Rob,

great work on this. got it all setup.
i got also navoin but it does not seems to work.
i think it is 'coins.navcoin parameter??'

it would also bee nice if you could add the symbols of the curency

User avatar
robgeerts
Posts: 1233
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by robgeerts » Thursday 28 December 2017 16:58

This works:

Code: Select all

coins.nav = { key:'nav-coin', currency: 'EUR', amount: 200, width:12 }
Creator of Dashticz
Do you appreciate my work and want to buy me a beer?
Send:
- XVG to D8fwNbyV6YxJk1aSiXftWTtdaPipsKn2Fa
- ANY ERC20-TOKEN to 0x9b8ee84329d77765a28bca188218c6c793875a8a

or donate via PayPal: https://www.paypal.me/robgeerts

nldforce
Posts: 14
Joined: Wednesday 27 December 2017 23:08
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Crypto Currency [BETA]

Post by nldforce » Thursday 28 December 2017 17:54

robgeerts wrote:
Thursday 28 December 2017 16:58
This works:

Code: Select all

coins.nav = { key:'nav-coin', currency: 'EUR', amount: 200, width:12 }
this looks like it is not working
coins.nav = { key:'navcoin', amount: *hidden*.04140900, currency: 'EUR', width:3 }

but yours is thnx

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests