8000 Axpert King 24V 3KVA · Issue #524 · jblance/mpp-solar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Axpert King 24V 3KVA #524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JiMcNulty opened this issue Jan 8, 2025 · 3 comments
Open

Axpert King 24V 3KVA #524

JiMcNulty opened this issue Jan 8, 2025 · 3 comments

Comments

@JiMcNulty
Copy link

Hi
Thanks for all the hard work you put into this repo!

Wanted to ask before I dive into this rabbit hole
Do you if axpert king will work with this?
If not - do you know what protocol it's using?

@jblance
Copy link
Owner
jblance commented Jan 12, 2025

I dont know - but best bet is to try to connect and query the deviceId - this will give some info that can help

@JiMcNulty
Copy link
Author
JiMcNulty commented Feb 14, 2025

Hi,
I tried it, and it almost works but this command is failing for some reason

root@raspberrypi2:~# mpp-solar -p /dev/hidraw0 -c QPIWS -I
2025-02-14 17:05:54,180:INFO:init:main@236: Solar Device Command Utility, version: 0.7.76, remove brackets in ved protocol
2025-02-14 17:05:54,181:INFO:init:main@339: Creating device "unnamed" (type: "mppsolar") on port "/dev/hidraw0 (porttype=None)" using protocol "PI30"
2025-02-14 17:05:54,192:INFO:device:set_port@142: Using hidrawio for communications
2025-02-14 17:05:54,289:INFO:init:main@395: Looping 1 commands
2025-02-14 17:05:54,290:INFO:init:main@405: Getting results from device: mppsolar device - name: unnamed, port: <mppsolar.io.hidrawio.HIDRawIO object at 0x76793df0>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x767b1388> for command: QPIWS, tag: QPIWS, outputs: screen
2025-02-14 17:05:54,291:INFO:device:run_command@270: Running command QPIWS
2025-02-14 17:05:54,291:INFO:abstractprotocol:get_full_command@31: Using protocol b'PI30' with 36 commands
2025-02-14 17:05:54,292:INFO:device:run_command@296: full command b'QPIWS\xb4\xda\r' for command QPIWS
2025-02-14 17:05:55,710:INFO:abstractprotocol:decode@175: response passed to decode: b'(000001000000000000000000000000000000\xb2\xa7\r'
2025-02-14 17:05:55,712:INFO:abstractprotocol:decode@215: Processing response of type DEFAULT
2025-02-14 17:05:55,713:INFO:abstractprotocol:decode@226: Processing DEFAULT type responses
Traceback (most recent call last):
File "/usr/bin/mpp-solar", line 8, in
sys.exit(main())
File "/usr/lib/python3.8/site-packages/mppsolar/init.py", line 408, in main
results = _device.run_command(command=_command)
File "/usr/lib/python3.8/site-packages/mppsolar/devices/device.py", line 333, in run_command
decoded_response = self._protocol.decode(raw_response, command)
File "/usr/lib/python3.8/site-packages/mppsolar/protocols/abstractprotocol.py", line 284, in decode
key = resp_format[2][j]
IndexError: list index out of range

Any ideas?

@jblance
Copy link
Owner
jblance commented Feb 18, 2025

the version is quite old (0.16.39 is latest and you're on 0.7.76) - suggest you update and try again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0