pyasic icon indicating copy to clipboard operation
pyasic copied to clipboard

Continue issue 242 (https://github.com/UpstreamData/pyasic/issues/242)

Open Awote opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. The problem with update pools in Bos miners. The problem here

        boser_cfg = config.as_boser(user_suffix=user_suffix)
        for key in boser_cfg:
            await self.web.send_command(key, message=boser_cfg[key])

it fall down when i send power mode

Describe the solution you'd like First idea: The easiest way is add try catch in send_config. Second idea: Add choose what parameter of configurtion can i send.

Awote avatar Dec 05 '24 17:12 Awote

I would rather fix the underlying issue rather than just catch the error, I think a user would rather know if there is an issue with the config rather than just send the rest of it.

b-rowan avatar Dec 09 '24 16:12 b-rowan