getminera/minera

innosilicon ASICs crashing dashboard

aepkolol opened this issue · 0 comments

When connecting an innosilicon ASIC as a network miner the dashboard never loads. If you view the raw JSON you get the following:

`

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$Type

Filename: models/util_model.php

Line Number: 435

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$Type

Filename: models/util_model.php

Line Number: 435

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$Type

Filename: models/util_model.php

Line Number: 435

{"notrunning":true,"network_miners":{"RIG NAME":{"start_time":1515689761,"totals":{"temperature":false,"frequency":false,"accepted":3732,"rejected":4,"hw_errors":27394,"shares":0,"hashrate":0,"last_share":1515716871},"pool":{"hashrate":629160273,"url":"MY POOL","alive":true},"pools":[{"priority":0,"url":"MY POOL","active":true,"user":"chaosmining.1","pass":false,"stats":[{"start_time":false,"accepted":3732,"rejected":4,"shares":1691547,"stop_time":false,"stats_id":1}],"stats_id":1,"alive":true}],"config":{"ip":"192.168.1.41","port":"4028","algo":"Scrypt"}}},"minera_id":"ymmyjknmfhzm","miner":"cpuminer","algo":"Scrypt","sysload":[0,0,0],"cron":null,"sysuptime":"1756","temp":{"value":"44.55","scale":"c"},"btc_rates":{"high_eur":12469.66,"last_eur":10845.49,"high":"14900.00","last":"12959.28","timestamp":"1515716657","bid_eur":10844,"vwap_eur":11350.22,"bid":"12957.49","vwap":"13562.38","volume":"19720.24858919","low_eur":10712.19,"ask_eur":10845.49,"low":"12800.00","ask":"12959.28","eur_usd":1.1949},"altcoins_rates":{"error":"true"},"avg":{"1min":[],"5min":[false],"1hour":[false],"1day":[]},"profits":[{"symbol":"btc","coin":"bitcoin","algo":"sha256","reward":12.5,"difficulty":1931136454487.7,"blocks":503777,"networkhashps":"18531285370384620000","btcValue":1,"price":1,"coin_profitability":1.3021197676727e-10,"btc_profitability":1.3021197676727e-10,"timestamp":1515716822,"hashrate":1000000},{"symbol":"bch","coin":"bitcoin cash","algo":"sha256","reward":12.5,"difficulty":53206941.883907,"blocks":518175,"networkhashps":2.9334310642841e+14,"btcValue":0.18436199,"price":0.18436199,"coin_profitability":4.7260204447539e-6,"btc_profitability":8.7129853397552e-7,"timestamp":1515716822,"hashrate":1000000},{"symbol":"ltc","coin":"litecoin","algo":"scrypt","reward":25,"difficulty":3660955.7838378,"blocks":1348703,"networkhashps":1.1158974717661e+14,"btcValue":0.016999,"price":0.016999,"coin_profitability":0.00013737237486249,"btc_profitability":2.3351930002874e-6,"timestamp":1515716822,"hashrate":1000000}],"livestat":true,"timestamp":1515716871}`

If you select the network miner as "other" you are greeted with many more PHP errors.

Checking the miners stats through Minera's SSH terminal to the miners IP you get this:

{"STATUS":[{"STATUS":"S","When":1515693143,"Code":70,"Msg":"CGMiner stats","Description":"cgminer 4.10.0"}],"STATS":[{"STATS":0,"ID":"BA10","Elapsed":3382,"Calls":0,"Wait":0.000000,"Max":0.000000,"Min":99999999.000000},{"STATS":1,"ID":"BA11","Elapsed":3382,"Calls":0,"Wait":0.000000,"Max":0.000000,"Min":99999999.000000},{"STATS":2,"ID":"BA12","Elapsed":3382,"Calls":0,"Wait":0.000000,"Max":0.000000,"Min":99999999.000000},{"STATS":3,"ID":"BA13","Elapsed":3382,"Calls":0,"Wait":0.000000,"Max":0.000000,"Min":99999999.000000},{"STATS":4,"ID":"POOL0","Elapsed":3382,"Calls":0,"Wait":0.000000,"Max":0.000000,"Min":99999999.000000,"Pool Calls":0,"Pool Attempts":0,"Pool Wait":0.000000,"Pool Max":0.000000,"Pool Min":99999999.000000,"Pool Av":0.000000,"Work Had Roll Time":false,"Work Can Roll":false,"Work Had Expire":false,"Work Roll Time":0,"Work Diff":65536.00000000,"Min Diff":8192.00000000,"Max Diff":65536.00000000,"Min Diff Count":974,"Max Diff Count":230480,"Times Sent":488,"Bytes Sent":54470,"Times Recv":721,"Bytes Recv":240146,"Net Bytes Sent":54470,"Net Bytes Recv":240146}],"id":1}