Search found 3 matches
- Friday 26 March 2021 8:01
- Forum: dzVents
- Topic: Problem with dzVents HTTP Request [Solved]
- Replies: 5
- Views: 1042
Re: Problem with dzVents HTTP Request [Solved]
Now works. Thank you very much. I have one more question, the return value is in this form 1.99167e+08. But when I set my virtual device to "text", and raplece "domoticz.devices('Hashrate').updateCustomSensor(domoticz.utils.round(item.json.data.currentHashrate, 3))" to "domoticz.devices('Hashrate ...
- Thursday 25 March 2021 20:37
- Forum: dzVents
- Topic: Problem with dzVents HTTP Request [Solved]
- Replies: 5
- Views: 1042
Re: Problem with dzVents HTTP Request [Solved]
you need to replace "mymineraddress" with your wallet address. E.g https://api.ethermine.org/miner/0xEAC8427BA42a46Cc9804e0C81EF3bA8eD1dDD4Ff/currentStats/ and the resoponse is {"status":"OK","data":{"time":1616700600,"lastSeen":1616700568,"reportedHashrate":1415928031,"currentHashrate":1415055555 ...
- Thursday 25 March 2021 19:12
- Forum: dzVents
- Topic: Problem with dzVents HTTP Request [Solved]
- Replies: 5
- Views: 1042
Problem with dzVents HTTP Request [Solved]
Hi. I have a problem with a script that gets a value from api ethermine (https://api.ethermine.org/) . The script returns 0 value. If i asks other api, e.g. https://corona.lmao.ninja/v3/covid-19/countries/slovakia the script returns valid values. return { on = { timer = { 'every 1 minutes' }, system ...