Replies: 7 comments 17 replies
-
Try the |
Beta Was this translation helpful? Give feedback.
-
yup, the command was successful
…On Wed, 6 Mar 2024 at 09:40, Zavoyko ***@***.***> wrote:
(mppsolar) # mpp-solar -P PI17infini -o screen -c ACCT2200,2259,2300,2359
-p /dev/hidraw0 -D
2024-03-05 ***@***.***: Solar Device Command
Utility, version: 0.16.27-dev, python version: 3.11.2
2024-03-05 ***@***.***
<https://github.com/29>: mqttbroker config: {'name': 'localhost', 'port':
1883, 'user': None, 'pass': None}
2024-03-05 ***@***.***: MqttBroker name:
localhost, port: 1883, user: None
2024-03-05 ***@***.***: udp port 5555
2024-03-05 ***@***.***: Using Postgres None
2024-03-05 ***@***.***: Using Mongo None with
mppsolar
2024-03-05 ***@***.***: Creating device "unnamed"
(type: "mppsolar") on port "/dev/hidraw0 (porttype=None)" using protocol
"PI17infini"
2024-03-05 ***@***.***: device_class <class
'mppsolar.devices.mppsolar.mppsolar'>
2024-03-05 ***@***.*** <https://github.com/34>:
*init* args ()
2024-03-05 ***@***.*** <https://github.com/35>:
*init* kwargs {'name': 'unnamed', 'port': '/dev/hidraw0', 'protocol':
'PI17infini', 'baud': 2400, 'porttype': None, 'mqtt_broker':
<mppsolar.libs.mqttbrokerc.MqttBroker object at 0x7f7ded2706d0>,
'udp_port': 5555, 'mongo_url': None, 'mongo_db': 'mppsolar', 'push_url': '
http://localhost:9091/metrics/job/pushgateway'}
2024-03-05 ***@***.***: port matches hidraw
2024-03-05 ***@***.***: Using hidrawio for
communications
2024-03-05 ***@***.***: Protocol PI17infini
2024-03-05 ***@***.*** <https://github.com/39>:
*init* name unnamed, port <mppsolar.inout.hidrawio.HIDRawIO object at
0x7f7ded2d7410>, protocol PI17INFINI protocol handler
2024-03-05 ***@***.***: Commands
[(<mppsolar.devices.mppsolar.mppsolar object at 0x7f7ded2d70d0>,
'ACCT2200,2259,2300,2359', 'ACCT2200,2259,2300,2359', 'screen', None, None)]
2024-03-05 ***@***.***: Looping 1 commands
2024-03-05 ***@***.***: Getting results from
device: mppsolar device - name: unnamed, port:
<mppsolar.inout.hidrawio.HIDRawIO object at 0x7f7ded2d7410>, protocol:
PI17INFINI protocol handler for command: ACCT2200,2259,2300,2359, tag:
ACCT2200,2259,2300,2359, outputs: screen
2024-03-05 ***@***.***: Running command
ACCT2200,2259,2300,2359
2024-03-05 ***@***.***: Using protocol
b'PI17INFINI' with 48 commands
2024-03-05 ***@***.***:
Processing command 'ACCT2200,2259,2300,2359'
2024-03-05 ***@***.***: Regex
commands _command: EY
2024-03-05 ***@***.***: Regex
commands _command: EM
2024-03-05 ***@***.***: Regex
commands _command: ED
2024-03-05 ***@***.***: Regex
commands _command: EH
2024-03-05 ***@***.***: Regex
commands _command: LON
2024-03-05 ***@***.***: Regex
commands _command: PA
2024-03-05 ***@***.***: Regex
commands _command: PB
2024-03-05 ***@***.***: Regex
commands _command: PC
2024-03-05 ***@***.***: Regex
commands _command: PD
2024-03-05 ***@***.***: Regex
commands _command: PE
2024-03-05 ***@***.***: Regex
commands _command: PF
2024-03-05 ***@***.***: Regex
commands _command: DAT
2024-03-05 ***@***.***: Regex
commands _command: LST
2024-03-05 ***@***.***: Regex
commands _command: EDA
2024-03-05 ***@***.***: Regex
commands _command: EDB
2024-03-05 ***@***.***: Regex
commands _command: EDC
2024-03-05 ***@***.***: Regex
commands _command: EDD
2024-03-05 ***@***.***: Regex
commands _command: EDE
2024-03-05 ***@***.***: Regex
commands _command: EDF
2024-03-05 ***@***.***: Regex
commands _command: EDG
2024-03-05 ***@***.***: Regex
commands _command: BT
2024-03-05 ***@***.***: Regex
commands _command: MCHGV
2024-03-05 ***@***.***: Regex
commands _command: ACCT
2024-03-05 ***@***.***:
Matched: ACCT2200,2259,2300,2359 to: ACCT value: 2200,2259,2300,2359
2024-03-05 ***@***.***: _pre_cmd:
b'^S024ACCT2200,2259,2300,2359'
2024-03-05 ***@***.***: full command:
b'^S024ACCT2200,2259,2300,2359\r'
2024-03-05 ***@***.***: full command
b'^S024ACCT2200,2259,2300,2359\r' for command ACCT2200,2259,2300,2359
2024-03-05 ***@***.***:
Processing command 'ACCT2200,2259,2300,2359'
2024-03-05 ***@***.***: Regex
commands _command: EY
2024-03-05 ***@***.***: Regex
commands _command: EM
2024-03-05 ***@***.***: Regex
commands _command: ED
2024-03-05 ***@***.***: Regex
commands _command: EH
2024-03-05 ***@***.***: Regex
commands _command: LON
2024-03-05 ***@***.***: Regex
commands _command: PA
2024-03-05 ***@***.***: Regex
commands _command: PB
2024-03-05 ***@***.***: Regex
commands _command: PC
2024-03-05 ***@***.***: Regex
commands _command: PD
2024-03-05 ***@***.***: Regex
commands _command: PE
2024-03-05 ***@***.***: Regex
commands _command: PF
2024-03-05 ***@***.***: Regex
commands _command: DAT
2024-03-05 ***@***.***: Regex
commands _command: LST
2024-03-05 ***@***.***: Regex
commands _command: EDA
2024-03-05 ***@***.***: Regex
commands _command: EDB
2024-03-05 ***@***.***: Regex
commands _command: EDC
2024-03-05 ***@***.***: Regex
commands _command: EDD
2024-03-05 ***@***.***: Regex
commands _command: EDE
2024-03-05 ***@***.***: Regex
commands _command: EDF
2024-03-05 ***@***.***: Regex
commands _command: EDG
2024-03-05 ***@***.***: Regex
commands _command: BT
2024-03-05 ***@***.***: Regex
commands _command: MCHGV
2024-03-05 ***@***.***: Regex
commands _command: ACCT
2024-03-05 ***@***.***:
Matched: ACCT2200,2259,2300,2359 to: ACCT value: 2200,2259,2300,2359
2024-03-05 ***@***.***: length of
to_send: 29
2024-03-05 ***@***.***: multiple
chunk send
2024-03-05 ***@***.***: sending
chunk: b'^S024ACC'
2024-03-05 ***@***.***: sending
chunk: b'T2200,22'
2024-03-05 ***@***.***: sending
chunk: b'59,2300,'
2024-03-05 ***@***.***: sending
chunk: b'2359\r\x00\x00\x00'
2024-03-05 ***@***.***: usb response
was: b'^1\x0b\xc2\r'
2024-03-05 ***@***.***: Send and Receive
Response b'^1\x0b\xc2\r'
2024-03-05 ***@***.***: response passed
to decode: b'^1\x0b\xc2\r'
2024-03-05 ***@***.***:
Processing command 'ACCT2200,2259,2300,2359'
2024-03-05 ***@***.***: Regex
commands _command: EY
2024-03-05 ***@***.***: Regex
commands _command: EM
2024-03-05 ***@***.***: Regex
commands _command: ED
2024-03-05 ***@***.***: Regex
commands _command: EH
2024-03-05 ***@***.***: Regex
commands _command: LON
2024-03-05 ***@***.***: Regex
commands _command: PA
2024-03-05 ***@***.***: Regex
commands _command: PB
2024-03-05 ***@***.***: Regex
commands _command: PC
2024-03-05 ***@***.***: Regex
commands _command: PD
2024-03-05 ***@***.***: Regex
commands _command: PE
2024-03-05 ***@***.***: Regex
commands _command: PF
2024-03-05 ***@***.***: Regex
commands _command: DAT
2024-03-05 ***@***.***: Regex
commands _command: LST
2024-03-05 ***@***.***: Regex
commands _command: EDA
2024-03-05 ***@***.***: Regex
commands _command: EDB
2024-03-05 ***@***.***: Regex
commands _command: EDC
2024-03-05 ***@***.***: Regex
commands _command: EDD
2024-03-05 ***@***.***: Regex
commands _command: EDE
2024-03-05 ***@***.***: Regex
commands _command: EDF
2024-03-05 ***@***.***: Regex
commands _command: EDG
2024-03-05 ***@***.***: Regex
commands _command: BT
2024-03-05 ***@***.***: Regex
commands _command: MCHGV
2024-03-05 ***@***.***: Regex
commands _command: ACCT
2024-03-05 ***@***.***:
Matched: ACCT2200,2259,2300,2359 to: ACCT value: 2200,2259,2300,2359
2024-03-05 ***@***.***: Processing
response of type DEFAULT
2024-03-05 ***@***.***: trimmed and
split responses: ['ACK']
2024-03-05 ***@***.***: Processing
DEFAULT type responses
2024-03-05 ***@***.***: result ACK,
key Command execution, resp_format ['ack', 'Command execution', {'NAK':
'Failed', 'ACK': 'Successful'}]
2024-03-05 ***@***.***: Decoded response
{'_command': 'ACCT2200,2259,2300,2359', '_command_description': 'Set AC
charge time range', 'raw_response': ['^1\x0bÂ\r', ''], 'ACCT': ['ACK', '']}
2024-03-05 ***@***.***: results: {'_command':
'ACCT2200,2259,2300,2359', '_command_description': 'Set AC charge time
range', 'raw_response': ['^1\x0bÂ\r', ''], 'ACCT': ['ACK', '']}
2024-03-05 ***@***.***: attempting to create
output processor: screen
2024-03-05 ***@***.*** <https://github.com/17>:
processor.screen *init* args: (), kwargs: {}
2024-03-05 ***@***.***: Using output filter: None
2024-03-05 ***@***.***: Using output processor:
screen
2024-03-05 ***@***.***: kwargs {'data':
{'_command': 'ACCT2200,2259,2300,2359', '_command_description': 'Set AC
charge time range', 'raw_response': ['^1\x0bÂ\r', ''], 'ACCT': ['ACK',
'']}, 'tag': 'ACCT2200,2259,2300,2359', 'name': 'unnamed', 'mqtt_broker':
<mppsolar.libs.mqttbrokerc.MqttBroker object at 0x7f7ded2706d0>,
'udp_port': 5555, 'postgres_url': None, 'mongo_url': None, 'mongo_db':
'mppsolar', 'push_url': 'http://localhost:9091/metrics/job/pushgateway',
'mqtt_topic': None, 'filter': None, 'excl_filter': None, 'keep_case': False}
2024-03-05 ***@***.***: displayData: {'acct':
['ACK', '']}
Command: ACCT2200,2259,2300,2359 - Set AC charge time range
Parameter Value Unit
acct ACK
I take it everything went okay?
—
Reply to this email directly, view it on GitHub
<#475 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNWGBA2FRHFEGQGWLZ3YWYUUXAVCNFSM6AAAAABEHAMK72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBVGMZTS>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
mpp-solar -P PI17infini -o screen -c PA0 -p /dev/hidraw0 warning0 Command PA0 was rejected mpp-solar -P PI17 -o screen -c PA0 -p /dev/hidraw0 warning0 Command PA0 was rejected |
Beta Was this translation helpful? Give feedback.
-
just pushed version 0.16.27 try that
…On Wed, 6 Mar 2024 at 10:43, Zavoyko ***@***.***> wrote:
pip
—
Reply to this email directly, view it on GitHub
<#475 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNTM44SBQNNW2KP4353YWY37RAVCNFSM6AAAAABEHAMK72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBVHA3DM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
no stay using the pypi package ie `pip install mppsolar`
…On Wed, 6 Mar 2024 at 10:47, Zavoyko ***@***.***> wrote:
pip install -e "git+https://github.com/jblance/mpp-solar.git#egg=mppsolar"
?
—
Reply to this email directly, view it on GitHub
<#475 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNWEJ355FQYFPCXSOF3YWY4P3AVCNFSM6AAAAABEHAMK72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBVHEYDQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
excellent!
…On Wed, 6 Mar 2024 at 11:04, Zavoyko ***@***.***> wrote:
Command: PEA - Enable 'mute buzzer beep
Thank you, it worked.
—
Reply to this email directly, view it on GitHub
<#475 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNX3NN4LINZDBMKX2K3YWY6OPAVCNFSM6AAAAABEHAMK72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBWGA2DC>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I run mpp-solar in docker, works well and sends data to mqtt in home assistan. |
Beta Was this translation helpful? Give feedback.
-
Hello! mpp-solar problem or am I doing something wrong?
THANK YOU!
(mppsolar) # mpp-solar -P PI17 -o screen -c ACCT2330-0300 -p /dev/hidraw0 -D
2024-03-05 22:52:33,249:INFO:init:main@205: Solar Device Command Utility, version: 0.16.27-dev, python version: 3.11.2
2024-03-05 22:52:33,250:DEBUG:mqttbrokerc:init@29: mqttbroker config: {'name': 'localhost', 'port': 1883, 'user': None, 'pass': None}
2024-03-05 22:52:33,250:DEBUG:init:main@240: MqttBroker name: localhost, port: 1883, user: None
2024-03-05 22:52:33,250:DEBUG:init:main@242: udp port 5555
2024-03-05 22:52:33,250:DEBUG:init:main@244: Using Postgres None
2024-03-05 22:52:33,250:DEBUG:init:main@247: Using Mongo None with mppsolar
2024-03-05 22:52:33,250:INFO:init:main@358: Creating device "unnamed" (type: "mppsolar") on port "/dev/hidraw0 (porttype=None)" using protocol "PI17"
2024-03-05 22:52:33,251:DEBUG:init:main@362: device_class <class 'mppsolar.devices.mppsolar.mppsolar'>
2024-03-05 22:52:33,251:DEBUG:device:init@34: init args ()
2024-03-05 22:52:33,251:DEBUG:device:init@35: init kwargs {'name': 'unnamed', 'port': '/dev/hidraw0', 'protocol': 'PI17', 'baud': 2400, 'porttype': None, 'mqtt_broker': <mppsolar.libs.mqttbrokerc.MqttBroker object at 0x7fcafbbf00d0>, 'udp_port': 5555, 'mongo_url': None, 'mongo_db': 'mppsolar', 'push_url': 'http://localhost:9091/metrics/job/pushgateway'}
2024-03-05 22:52:33,251:DEBUG:init:get_port_type@39: port matches hidraw
2024-03-05 22:52:33,251:INFO:init:get_port@93: Using hidrawio for communications
2024-03-05 22:52:33,252:DEBUG:init:get_protocol@13: Protocol PI17
2024-03-05 22:52:33,355:DEBUG:device:init@39: init name unnamed, port <mppsolar.inout.hidrawio.HIDRawIO object at 0x7fcafbc19bd0>, protocol PI17 protocol handler
2024-03-05 22:52:33,355:DEBUG:init:main@408: Commands [(<mppsolar.devices.mppsolar.mppsolar object at 0x7fcafb1b75d0>, 'ACCT2330-0300', 'ACCT2330-0300', 'screen', None, None)]
2024-03-05 22:52:33,355:INFO:init:main@413: Looping 1 commands
2024-03-05 22:52:33,355:INFO:init:main@423: Getting results from device: mppsolar device - name: unnamed, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7fcafbc19bd0>, protocol: PI17 protocol handler for command: ACCT2330-0300, tag: ACCT2330-0300, outputs: screen
2024-03-05 22:52:33,355:INFO:device:run_command@51: Running command ACCT2330-0300
2024-03-05 22:52:33,355:INFO:pi17:get_full_command@896: Using protocol b'PI17' with 48 commands
2024-03-05 22:52:33,355:DEBUG:abstractprotocol:get_command_defn@71: Processing command 'ACCT2330-0300'
2024-03-05 22:52:33,355:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EY
2024-03-05 22:52:33,355:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EM
2024-03-05 22:52:33,355:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: ED
2024-03-05 22:52:33,355:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EH
2024-03-05 22:52:33,355:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: LON
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PA
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PB
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PC
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PD
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PE
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PF
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: DAT
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: LST
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDA
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDB
2024-03-05 22:52:33,356:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDC
2024-03-05 22:52:33,357:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDD
2024-03-05 22:52:33,357:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDE
2024-03-05 22:52:33,357:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDF
2024-03-05 22:52:33,357:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDG
2024-03-05 22:52:33,357:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: BT
2024-03-05 22:52:33,357:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: MCHGV
2024-03-05 22:52:33,357:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: ACCT
2024-03-05 22:52:33,357:DEBUG:abstractprotocol:get_command_defn@81: Matched: ACCT2330-0300 to: ACCT value: 2330-0300
2024-03-05 22:52:33,358:DEBUG:pi17:get_full_command@937: _pre_cmd: b'^S014ACCT2330-0300'
2024-03-05 22:52:33,358:DEBUG:pi17:get_full_command@944: full command: b'^S014ACCT2330-0300\r'
2024-03-05 22:52:33,358:INFO:device:run_command@81: full command b'^S014ACCT2330-0300\r' for command ACCT2330-0300
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@71: Processing command 'ACCT2330-0300'
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EY
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EM
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: ED
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EH
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: LON
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PA
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PB
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PC
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PD
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PE
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PF
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: DAT
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: LST
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDA
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDB
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDC
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDD
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDE
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDF
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDG
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: BT
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: MCHGV
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: ACCT
2024-03-05 22:52:33,358:DEBUG:abstractprotocol:get_command_defn@81: Matched: ACCT2330-0300 to: ACCT value: 2330-0300
2024-03-05 22:52:33,418:DEBUG:hidrawio:send_and_receive@28: length of to_send: 19
2024-03-05 22:52:33,418:DEBUG:hidrawio:send_and_receive@37: multiple chunk send
2024-03-05 22:52:33,418:DEBUG:hidrawio:send_and_receive@44: sending chunk: b'^S014ACC'
2024-03-05 22:52:33,470:DEBUG:hidrawio:send_and_receive@44: sending chunk: b'T2330-03'
2024-03-05 22:52:33,523:DEBUG:hidrawio:send_and_receive@44: sending chunk: b'00\r\x00\x00\x00\x00\x00'
2024-03-05 22:52:33,975:DEBUG:hidrawio:send_and_receive@63: usb response was: b'^0\x1b\xe3\r'
2024-03-05 22:52:33,976:DEBUG:device:run_command@98: Send and Receive Response b'^0\x1b\xe3\r'
2024-03-05 22:52:33,976:INFO:abstractprotocol:decode@236: response passed to decode: b'^0\x1b\xe3\r'
2024-03-05 22:52:33,976:DEBUG:abstractprotocol:get_command_defn@71: Processing command 'ACCT2330-0300'
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EY
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EM
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: ED
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EH
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: LON
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PA
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PB
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PC
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PD
2024-03-05 22:52:33,977:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PE
2024-03-05 22:52:33,978:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: PF
2024-03-05 22:52:33,978:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: DAT
2024-03-05 22:52:33,978:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: LST
2024-03-05 22:52:33,978:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDA
2024-03-05 22:52:33,978:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDB
2024-03-05 22:52:33,978:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDC
2024-03-05 22:52:33,978:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDD
2024-03-05 22:52:33,978:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDE
2024-03-05 22:52:33,979:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDF
2024-03-05 22:52:33,979:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: EDG
2024-03-05 22:52:33,979:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: BT
2024-03-05 22:52:33,979:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: MCHGV
2024-03-05 22:52:33,979:DEBUG:abstractprotocol:get_command_defn@77: Regex commands _command: ACCT
2024-03-05 22:52:33,979:DEBUG:abstractprotocol:get_command_defn@81: Matched: ACCT2330-0300 to: ACCT value: 2330-0300
2024-03-05 22:52:33,979:INFO:abstractprotocol:decode@280: Processing response of type DEFAULT
2024-03-05 22:52:33,979:DEBUG:abstractprotocol:decode@284: trimmed and split responses: ['NAK']
2024-03-05 22:52:33,979:INFO:abstractprotocol:decode@291: Processing DEFAULT type responses
2024-03-05 22:52:33,980:DEBUG:abstractprotocol:decode@308: result NAK, key Command execution, resp_format ['ack', 'Command execution', {'NAK': 'Failed', 'ACK': 'Successful'}]
2024-03-05 22:52:33,980:INFO:device:run_command@116: Decoded response {'_command': 'ACCT2330-0300', '_command_description': 'Set AC charge time range', 'raw_response': ['^0\x1bã\r', ''], 'WARNING0': ['Command ACCT2330-0300 was rejected', '']}
2024-03-05 22:52:33,980:DEBUG:init:main@427: results: {'_command': 'ACCT2330-0300', '_command_description': 'Set AC charge time range', 'raw_response': ['^0\x1bã\r', ''], 'WARNING0': ['Command ACCT2330-0300 was rejected', '']}
2024-03-05 22:52:33,980:INFO:init:get_output@40: attempting to create output processor: screen
2024-03-05 22:52:33,981:DEBUG:screen:init@17: processor.screen init args: (), kwargs: {}
2024-03-05 22:52:33,981:DEBUG:init:main@433: Using output filter: None
2024-03-05 22:52:33,981:INFO:screen:output@23: Using output processor: screen
2024-03-05 22:52:33,981:DEBUG:screen:output@24: kwargs {'data': {'_command': 'ACCT2330-0300', '_command_description': 'Set AC charge time range', 'raw_response': ['^0\x1bã\r', ''], 'WARNING0': ['Command ACCT2330-0300 was rejected', '']}, 'tag': 'ACCT2330-0300', 'name': 'unnamed', 'mqtt_broker': <mppsolar.libs.mqttbrokerc.MqttBroker object at 0x7fcafbbf00d0>, 'udp_port': 5555, 'postgres_url': None, 'mongo_url': None, 'mongo_db': 'mppsolar', 'push_url': 'http://localhost:9091/metrics/job/pushgateway', 'mqtt_topic': None, 'filter': None, 'excl_filter': None, 'keep_case': False}
2024-03-05 22:52:33,981:DEBUG:screen:output@68: displayData: {'warning0': ['Command ACCT2330-0300 was rejected', '']}
Command: ACCT2330-0300 - Set AC charge time range
Parameter Value Unit
warning0 Command ACCT2330-0300 was rejected
2024-03-05 22:52:33,981:DEBUG:init:main@459: Not daemon, so not looping
+++
(mppsolar) # mpp-solar -P PI17 -o screen -c ID -p /dev/hidraw0
Command: ID - Device Serial Number inquiry
Parameter Value Unit
serial_number 14961618051000**000000
+++
(mppsolar) # mpp-solar -P PI17 -o screen -c PI -p /dev/hidraw0
Command: PI - Device Protocol Version inquiry
Parameter Value Unit
protocol_version 17
Beta Was this translation helpful? Give feedback.
All reactions