Describe the bug
Miner is detected as partially supported with warning: "Partially supported miner found: Antminer S19 Hydro, type: MinerTypes.VNISH, please open an issue with miner data and this model on GitHub"
To Reproduce
- Use pyasic to detect an Antminer S19 Hydro miner (with installed VNISH firmware)
- Observe the warning in logs
- Attempt to use the miner in Home Assistant hass-miner integration
- Get error: 'NoneType' object cannot be interpreted as an integer due to expected_hashboards being None
Desktop (please complete the following information):
- OS: Linux
- Version: Ubuntu (Home Assistant environment)
Miner Information (If applicable):
- Manufacturer: Bitmain
- Type: S19 Hydro
- Firmware Type: VNISH
- Firmware Version: Unknown
Additional context
I applied this fix (sensor.py, line 151) to get it working temporarily:
sensors = []
for s in coordinator.data["miner_sensors"]:
sensors.append(_create_miner_entity(s))
for board_num in coordinator.data["board_sensors"]:
for s in ["board_temperature", "chip_temperature", "board_hashrate"]:
sensors.append(_create_board_entity(board_num, s))
for fan_num in coordinator.data["fan_sensors"]:
for s in ["fan_speed"]:
sensors.append(_create_fan_entity(fan_num, s))
async_add_entities(sensors)
Before the fix i got the following entities:
- switch.active
- number.power_limit
Now i get the following entities:
- switch.active
- sensor.efficiency
- sensor.hashrate
- sensor.ideal_hashrate
- sensor.miner_consumption
- number.power_limit
- sensor.power_limit
- sensor.temperature
The hashrate and ideal_hashrate have invalid units.
Exemple: 22.283.303.000.000,0 TH/s (H/s would be fine)
The temperature entity does not show a value (0 all the time).
My best guess would be a format missmatch hence VNISH gui shows values like 21-30°C.
Describe the bug
Miner is detected as partially supported with warning: "Partially supported miner found: Antminer S19 Hydro, type: MinerTypes.VNISH, please open an issue with miner data and this model on GitHub"
To Reproduce
Desktop (please complete the following information):
Miner Information (If applicable):
Additional context
I applied this fix (
sensor.py, line 151) to get it working temporarily:Before the fix i got the following entities:
Now i get the following entities:
The
hashrateandideal_hashratehave invalid units.Exemple:
22.283.303.000.000,0 TH/s(H/swould be fine)The
temperatureentity does not show a value (0all the time).My best guess would be a format missmatch hence VNISH gui shows values like
21-30°C.