Replies: 6 comments 18 replies
-
What is the full command you are using
Can you supply more of the debug messages (or run the command on the
command line with `-D` and post the output)
Does using mosquitto_pub with the same message and broker details work?
…On Thu, 12 May 2022 at 03:39, SveinHaDD ***@***.***> wrote:
Hi.
Just started using mpp-solar on my EAsun SMW8k inverter and output to
screen works fine but I'm not able to send tu my existing Mosquitto broker,
getting this error: ***@***.***: Error publishing MQTT
messages to broker '172.16.0.94' on port '1883' with auth...
I also get: ***@***.***: '<=' not supported between instances
of 'str' and 'int' but I guess the first one must be solved first.
I don't find anything useful in "Troubleshooting". My bruker supports both
anonymous and username/password but both fails.
Config file:
`[SETUP]
pause=5
mqtt_broker=172.16.0.94
mqtt_port=1883
mqtt_user=xxxx
mqtt_pass=xxxx
[EAsun SMW8k]
protocol=PI30
port=/dev/ttyUSB0
command=QMOD
tag=ValePower1
outputs=mqtt
`
—
Reply to this email directly, view it on GitHub
<#225>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNRASOPPQYIWPJ3OUYDVJPICLANCNFSM5VVL7AHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
try |
Beta Was this translation helpful? Give feedback.
-
I see 2 differences:
point 2 is more likely the problem |
Beta Was this translation helpful? Give feedback.
-
That looked liked it worked?
…On Thu, 12 May 2022, 5:45 pm SveinHaDD, ***@***.***> wrote:
Here we go, took some time since night appeared on this part of the
globe...
***@***.***:~ $ mpp-solar -p /dev/ttyUSB0 -C /home/pi/mpp-solar.conf
-D 2022-05-12 ***@***.***: Solar Device Command
Utility, version: 0.12.2, influx_mqtt remove blank units 2022-05-12
***@***.***: MqttBroker(name='localhost',
port=1883, username=None, password=None, results_topic='mpp-solar',
mqttc=<paho.mqtt.client.Client object at 0x76668f40>, _isConnected=False)
2022-05-12 ***@***.***: udp port 5555 2022-05-12
***@***.***: Using Mongo None with mppsolar
2022-05-12 ***@***.***: args.configfile is true:
/home/pi/mpp-solar.conf 2022-05-12 ***@***.***:
device_class <class 'mppsolar.devices.mppsolar.mppsolar'> 2022-05-12
***@***.***: __init__ args () 2022-05-12
***@***.***: __init__ kwargs {'name': 'EAsun
SMW8k', 'port': '/dev/ttyUSB0', 'protocol': 'PI30', 'outputs': 'mqtt',
'baud': 2400, 'porttype': None, 'mqtt_broker':
MqttBroker(name='172.16.0.94', port=1883, username='DaleMQTT',
password='DaleMQTT', results_topic='mpp-solar',
mqttc=<paho.mqtt.client.Client object at 0x76668f40>, _isConnected=False),
'udp_port': None, 'mongo_url': None, 'mongo_db': None} 2022-05-12
***@***.***: port matches ttyusb
2022-05-12 ***@***.***: Using serialio for
communications 2022-05-12 ***@***.***:
Protocol PI30 2022-05-12 ***@***.***: __init__
name EAsun SMW8k, port <mppsolar.inout.serialio.SerialIO object at
0x75fd1658>, protocol <mppsolar.protocols.pi30.pi30 object at 0x75fd1718>
2022-05-12 ***@***.***: Commands from config
file [(<mppsolar.devices.mppsolar.mppsolar object at 0x75fd1688>, 'QPIGS',
'ValePower1', 'mqtt', None, None)] 2022-05-12
***@***.***: Config file: /home/pi/mpp-solar.conf
2022-05-12 ***@***.***: Config setting - pause: 5
2022-05-12 ***@***.***: Config setting - command
sections found: 1 2022-05-12 ***@***.***: Looping
1 commands 2022-05-12 ***@***.***: Getting
results from device: mppsolar device - name: EAsun SMW8k, port:
<mppsolar.inout.serialio.SerialIO object at 0x75fd1658>, protocol:
<mppsolar.protocols.pi30.pi30 object at 0x75fd1718> for command: QPIGS,
tag: ValePower1, outputs: mqtt 2022-05-12
***@***.***: Running command QPIGS
2022-05-12 ***@***.***: Using
protocol b'PI30' with 40 commands 2022-05-12
***@***.***: Calculating CRC for
b'QPIGS' 2022-05-12 ***@***.***:
Generated CRC 0xb7 0xa9 0xb7a9 2022-05-12
***@***.***: full command:
b'QPIGS\xb7\xa9\r' 2022-05-12 ***@***.***:
full command b'QPIGS\xb7\xa9\r' for command QPIGS 2022-05-12
***@***.***: Processing
command 'QPIGS' 2022-05-12
***@***.***: Found command
QPIGS in protocol b'PI30' 2022-05-12
***@***.***: port /dev/ttyUSB0,
baudrate 2400 2022-05-12 ***@***.***:
Executing command via serialio... 2022-05-12
***@***.***: serial response was:
b'(240.2 49.9 240.2 49.9 2139 2089 026 389 49.30 000 051 0023 00.7 089.9
00.00 00000 00010110 00 00 00068 010)\xf4\r' 2022-05-12
***@***.***: Send and Receive Response
b'(240.2 49.9 240.2 49.9 2139 2089 026 389 49.30 000 051 0023 00.7 089.9
00.00 00000 00010110 00 00 00068 010)\xf4\r' 2022-05-12
***@***.***: response passed to decode:
b'(240.2 49.9 240.2 49.9 2139 2089 026 389 49.30 000 051 0023 00.7 089.9
00.00 00000 00010110 00 00 00068 010)\xf4\r' 2022-05-12
***@***.***: Calculating CRC for
b'(240.2 49.9 240.2 49.9 2139 2089 026 389 49.30 000 051 0023 00.7 089.9
00.00 00000 00010110 00 00 00068 010' 2022-05-12
***@***.***: Generated CRC 0x29 0xf4
0x29f4 2022-05-12 ***@***.***: CRCs
match 2022-05-12 ***@***.***:
Processing command 'QPIGS' 2022-05-12
***@***.***: Found command
QPIGS in protocol b'PI30' 2022-05-12
***@***.***: Processing response of
type DEFAULT 2022-05-12 ***@***.***:
trimmed and split responses: [b'240.2', b'49.9', b'240.2', b'49.9',
b'2139', b'2089', b'026', b'389', b'49.30', b'000', b'051', b'0023',
b'00.7', b'089.9', b'00.00', b'00000', b'00010110', b'00', b'00', b'00068',
b'010'] 2022-05-12 ***@***.***:
Processing DEFAULT type responses 2022-05-12
***@***.***: Decoded response
{'raw_response': ['(240.2 49.9 240.2 49.9 2139 2089 026 389 49.30 000 051
0023 00.7 089.9 00.00 00000 00010110 00 00 00068 010)ô\r', ''], '_command':
'QPIGS', '_command_description': 'General Status Parameters inquiry', 'AC
Input Voltage': [240.2, 'V'], 'AC Input Frequency': [49.9, 'Hz'], 'AC
Output Voltage': [240.2, 'V'], 'AC Output Frequency': [49.9, 'Hz'], 'AC
Output Apparent Power': [2139, 'VA'], 'AC Output Active Power': [2089,
'W'], 'AC Output Load': [26, '%'], 'BUS Voltage': [389, 'V'], 'Battery
Voltage': [49.3, 'V'], 'Battery Charging Current': [0, 'A'], 'Battery
Capacity': [51, '%'], 'Inverter Heat Sink Temperature': [23, '°C'], 'PV
Input Current for Battery': [0.7, 'A'], 'PV Input Voltage': [89.9, 'V'],
'Battery Voltage from SCC': [0.0, 'V'], 'Battery Discharge Current': [0,
'A'], 'Is SBU Priority Version Added': [0, 'bool'], 'Is Configuration
Changed': [0, 'bool'], 'Is SCC Firmware Updated': [0, 'bool'], 'Is Load
On': [1, 'bool'], 'Is Battery Voltage to Steady While Charging': [0,
'bool'], 'Is Charging On': [1, 'bool'], 'Is SCC Charging On': [1, 'bool'],
'Is AC Charging On': [0, 'bool'], 'RSV1': [0, 'A'], 'RSV2': [0, 'A'], 'PV
Input Power': [68, 'W'], 'Is Charging to Float': [0, 'bool'], 'Is Switched
On': [1, 'bool'], 'Is Reserved': [0, 'bool']} 2022-05-12
***@***.***: results: {'raw_response': ['(240.2
49.9 240.2 49.9 2139 2089 026 389 49.30 000 051 0023 00.7 089.9 00.00 00000
00010110 00 00 00068 010)ô\r', ''], '_command': 'QPIGS',
'_command_description': 'General Status Parameters inquiry', 'AC Input
Voltage': [240.2, 'V'], 'AC Input Frequency': [49.9, 'Hz'], 'AC Output
Voltage': [240.2, 'V'], 'AC Output Frequency': [49.9, 'Hz'], 'AC Output
Apparent Power': [2139, 'VA'], 'AC Output Active Power': [2089, 'W'], 'AC
Output Load': [26, '%'], 'BUS Voltage': [389, 'V'], 'Battery Voltage':
[49.3, 'V'], 'Battery Charging Current': [0, 'A'], 'Battery Capacity': [51,
'%'], 'Inverter Heat Sink Temperature': [23, '°C'], 'PV Input Current for
Battery': [0.7, 'A'], 'PV Input Voltage': [89.9, 'V'], 'Battery Voltage
from SCC': [0.0, 'V'], 'Battery Discharge Current': [0, 'A'], 'Is SBU
Priority Version Added': [0, 'bool'], 'Is Configuration Changed': [0,
'bool'], 'Is SCC Firmware Updated': [0, 'bool'], 'Is Load On': [1, 'bool'],
'Is Battery Voltage to Steady While Charging': [0, 'bool'], 'Is Charging
On': [1, 'bool'], 'Is SCC Charging On': [1, 'bool'], 'Is AC Charging On':
[0, 'bool'], 'RSV1': [0, 'A'], 'RSV2': [0, 'A'], 'PV Input Power': [68,
'W'], 'Is Charging to Float': [0, 'bool'], 'Is Switched On': [1, 'bool'],
'Is Reserved': [0, 'bool']} 2022-05-12
***@***.***: attempting to create output
processor: mqtt 2022-05-12 ***@***.***: __init__:
kwargs {} 2022-05-12 ***@***.***: Using output
filter: None 2022-05-12 ***@***.***: Using output
processor: mqtt 2022-05-12 ***@***.***: kwargs
{'data': {'raw_response': ['(240.2 49.9 240.2 49.9 2139 2089 026 389 49.30
000 051 0023 00.7 089.9 00.00 00000 00010110 00 00 00068 010)ô\r', ''],
'_command': 'QPIGS', '_command_description': 'General Status Parameters
inquiry', 'AC Input Voltage': [240.2, 'V'], 'AC Input Frequency': [49.9,
'Hz'], 'AC Output Voltage': [240.2, 'V'], 'AC Output Frequency': [49.9,
'Hz'], 'AC Output Apparent Power': [2139, 'VA'], 'AC Output Active Power':
[2089, 'W'], 'AC Output Load': [26, '%'], 'BUS Voltage': [389, 'V'],
'Battery Voltage': [49.3, 'V'], 'Battery Charging Current': [0, 'A'],
'Battery Capacity': [51, '%'], 'Inverter Heat Sink Temperature': [23,
'°C'], 'PV Input Current for Battery': [0.7, 'A'], 'PV Input Voltage':
[89.9, 'V'], 'Battery Voltage from SCC': [0.0, 'V'], 'Battery Discharge
Current': [0, 'A'], 'Is SBU Priority Version Added': [0, 'bool'], 'Is
Configuration Changed': [0, 'bool'], 'Is SCC Firmware Updated': [0,
'bool'], 'Is Load On': [1, 'bool'], 'Is Battery Voltage to Steady While
Charging': [0, 'bool'], 'Is Charging On': [1, 'bool'], 'Is SCC Charging
On': [1, 'bool'], 'Is AC Charging On': [0, 'bool'], 'RSV1': [0, 'A'],
'RSV2': [0, 'A'], 'PV Input Power': [68, 'W'], 'Is Charging to Float': [0,
'bool'], 'Is Switched On': [1, 'bool'], 'Is Reserved': [0, 'bool']}, 'tag':
'ValePower1', 'mqtt_broker': MqttBroker(name='172.16.0.94', port=1883,
username='DaleMQTT', password='DaleMQTT', results_topic='mpp-solar',
mqttc=<paho.mqtt.client.Client object at 0x76668f40>, _isConnected=False),
'udp_port': None, 'mongo_url': None, 'mongo_db': None, 'filter': None,
'excl_filter': None, 'keep_case': False} 2022-05-12
***@***.***: Using mqtt authentication, username:
DaleMQTT, password: [supplied] 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
ac_input_voltage, value 240.2, unit V 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
ac_input_frequency, value 49.9, unit Hz 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
ac_output_voltage, value 240.2, unit V 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
ac_output_frequency, value 49.9, unit Hz 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
ac_output_apparent_power, value 2139, unit VA 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
ac_output_active_power, value 2089, unit W 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
ac_output_load, value 26, unit % 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
bus_voltage, value 389, unit V 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
battery_voltage, value 49.3, unit V 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
battery_charging_current, value 0, unit A 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
battery_capacity, value 51, unit % 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
inverter_heat_sink_temperature, value 23, unit °C 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
pv_input_current_for_battery, value 0.7, unit A 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
pv_input_voltage, value 89.9, unit V 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
battery_voltage_from_scc, value 0.0, unit V 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
battery_discharge_current, value 0, unit A 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_sbu_priority_version_added, value 0, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_configuration_changed, value 0, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_scc_firmware_updated, value 0, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_load_on, value 1, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_battery_voltage_to_steady_while_charging, value 0, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_charging_on, value 1, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_scc_charging_on, value 1, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_ac_charging_on, value 0, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
rsv1, value 0, unit A 2022-05-12 ***@***.***:
build_msgs: tag ValePower1, key rsv2, value 0, unit A 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
pv_input_power, value 68, unit W 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_charging_to_float, value 0, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_switched_on, value 1, unit bool 2022-05-12
***@***.***: build_msgs: tag ValePower1, key
is_reserved, value 0, unit bool 2022-05-12
***@***.***: build_msgs: [{'topic':
'ValePower1/status/ac_input_voltage/value', 'payload': 240.2}, {'topic':
'ValePower1/status/ac_input_voltage/unit', 'payload': 'V'}, {'topic':
'ValePower1/status/ac_input_frequency/value', 'payload': 49.9}, {'topic':
'ValePower1/status/ac_input_frequency/unit', 'payload': 'Hz'}, {'topic':
'ValePower1/status/ac_output_voltage/value', 'payload': 240.2}, {'topic':
'ValePower1/status/ac_output_voltage/unit', 'payload': 'V'}, {'topic':
'ValePower1/status/ac_output_frequency/value', 'payload': 49.9}, {'topic':
'ValePower1/status/ac_output_frequency/unit', 'payload': 'Hz'}, {'topic':
'ValePower1/status/ac_output_apparent_power/value', 'payload': 2139},
{'topic': 'ValePower1/status/ac_output_apparent_power/unit', 'payload':
'VA'}, {'topic': 'ValePower1/status/ac_output_active_power/value',
'payload': 2089}, {'topic':
'ValePower1/status/ac_output_active_power/unit', 'payload': 'W'}, {'topic':
'ValePower1/status/ac_output_load/value', 'payload': 26}, {'topic':
'ValePower1/status/ac_output_load/unit', 'payload': '%'}, {'topic':
'ValePower1/status/bus_voltage/value', 'payload': 389}, {'topic':
'ValePower1/status/bus_voltage/unit', 'payload': 'V'}, {'topic':
'ValePower1/status/battery_voltage/value', 'payload': 49.3}, {'topic':
'ValePower1/status/battery_voltage/unit', 'payload': 'V'}, {'topic':
'ValePower1/status/battery_charging_current/value', 'payload': 0},
{'topic': 'ValePower1/status/battery_charging_current/unit', 'payload':
'A'}, {'topic': 'ValePower1/status/battery_capacity/value', 'payload': 51},
{'topic': 'ValePower1/status/battery_capacity/unit', 'payload': '%'},
{'topic': 'ValePower1/status/inverter_heat_sink_temperature/value',
'payload': 23}, {'topic':
'ValePower1/status/inverter_heat_sink_temperature/unit', 'payload': '°C'},
{'topic': 'ValePower1/status/pv_input_current_for_battery/value',
'payload': 0.7}, {'topic':
'ValePower1/status/pv_input_current_for_battery/unit', 'payload': 'A'},
{'topic': 'ValePower1/status/pv_input_voltage/value', 'payload': 89.9},
{'topic': 'ValePower1/status/pv_input_voltage/unit', 'payload': 'V'},
{'topic': 'ValePower1/status/battery_voltage_from_scc/value', 'payload':
0.0}, {'topic': 'ValePower1/status/battery_voltage_from_scc/unit',
'payload': 'V'}, {'topic':
'ValePower1/status/battery_discharge_current/value', 'payload': 0},
{'topic': 'ValePower1/status/battery_discharge_current/unit', 'payload':
'A'}, {'topic': 'ValePower1/status/is_sbu_priority_version_added/value',
'payload': 0}, {'topic':
'ValePower1/status/is_sbu_priority_version_added/unit', 'payload': 'bool'},
{'topic': 'ValePower1/status/is_configuration_changed/value', 'payload':
0}, {'topic': 'ValePower1/status/is_configuration_changed/unit', 'payload':
'bool'}, {'topic': 'ValePower1/status/is_scc_firmware_updated/value',
'payload': 0}, {'topic': 'ValePower1/status/is_scc_firmware_updated/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/is_load_on/value',
'payload': 1}, {'topic': 'ValePower1/status/is_load_on/unit', 'payload':
'bool'}, {'topic':
'ValePower1/status/is_battery_voltage_to_steady_while_charging/value',
'payload': 0}, {'topic':
'ValePower1/status/is_battery_voltage_to_steady_while_charging/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/is_charging_on/value',
'payload': 1}, {'topic': 'ValePower1/status/is_charging_on/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/is_scc_charging_on/value',
'payload': 1}, {'topic': 'ValePower1/status/is_scc_charging_on/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/is_ac_charging_on/value',
'payload': 0}, {'topic': 'ValePower1/status/is_ac_charging_on/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/rsv1/value', 'payload':
0}, {'topic': 'ValePower1/status/rsv1/unit', 'payload': 'A'}, {'topic':
'ValePower1/status/rsv2/value', 'payload': 0}, {'topic':
'ValePower1/status/rsv2/unit', 'payload': 'A'}, {'topic':
'ValePower1/status/pv_input_power/value', 'payload': 68}, {'topic':
'ValePower1/status/pv_input_power/unit', 'payload': 'W'}, {'topic':
'ValePower1/status/is_charging_to_float/value', 'payload': 0}, {'topic':
'ValePower1/status/is_charging_to_float/unit', 'payload': 'bool'},
{'topic': 'ValePower1/status/is_switched_on/value', 'payload': 1},
{'topic': 'ValePower1/status/is_switched_on/unit', 'payload': 'bool'},
{'topic': 'ValePower1/status/is_reserved/value', 'payload': 0}, {'topic':
'ValePower1/status/is_reserved/unit', 'payload': 'bool'}] 2022-05-12
***@***.***: mqtt.output msgs [{'topic':
'ValePower1/status/ac_input_voltage/value', 'payload': 240.2}, {'topic':
'ValePower1/status/ac_input_voltage/unit', 'payload': 'V'}, {'topic':
'ValePower1/status/ac_input_frequency/value', 'payload': 49.9}, {'topic':
'ValePower1/status/ac_input_frequency/unit', 'payload': 'Hz'}, {'topic':
'ValePower1/status/ac_output_voltage/value', 'payload': 240.2}, {'topic':
'ValePower1/status/ac_output_voltage/unit', 'payload': 'V'}, {'topic':
'ValePower1/status/ac_output_frequency/value', 'payload': 49.9}, {'topic':
'ValePower1/status/ac_output_frequency/unit', 'payload': 'Hz'}, {'topic':
'ValePower1/status/ac_output_apparent_power/value', 'payload': 2139},
{'topic': 'ValePower1/status/ac_output_apparent_power/unit', 'payload':
'VA'}, {'topic': 'ValePower1/status/ac_output_active_power/value',
'payload': 2089}, {'topic':
'ValePower1/status/ac_output_active_power/unit', 'payload': 'W'}, {'topic':
'ValePower1/status/ac_output_load/value', 'payload': 26}, {'topic':
'ValePower1/status/ac_output_load/unit', 'payload': '%'}, {'topic':
'ValePower1/status/bus_voltage/value', 'payload': 389}, {'topic':
'ValePower1/status/bus_voltage/unit', 'payload': 'V'}, {'topic':
'ValePower1/status/battery_voltage/value', 'payload': 49.3}, {'topic':
'ValePower1/status/battery_voltage/unit', 'payload': 'V'}, {'topic':
'ValePower1/status/battery_charging_current/value', 'payload': 0},
{'topic': 'ValePower1/status/battery_charging_current/unit', 'payload':
'A'}, {'topic': 'ValePower1/status/battery_capacity/value', 'payload': 51},
{'topic': 'ValePower1/status/battery_capacity/unit', 'payload': '%'},
{'topic': 'ValePower1/status/inverter_heat_sink_temperature/value',
'payload': 23}, {'topic':
'ValePower1/status/inverter_heat_sink_temperature/unit', 'payload': '°C'},
{'topic': 'ValePower1/status/pv_input_current_for_battery/value',
'payload': 0.7}, {'topic':
'ValePower1/status/pv_input_current_for_battery/unit', 'payload': 'A'},
{'topic': 'ValePower1/status/pv_input_voltage/value', 'payload': 89.9},
{'topic': 'ValePower1/status/pv_input_voltage/unit', 'payload': 'V'},
{'topic': 'ValePower1/status/battery_voltage_from_scc/value', 'payload':
0.0}, {'topic': 'ValePower1/status/battery_voltage_from_scc/unit',
'payload': 'V'}, {'topic':
'ValePower1/status/battery_discharge_current/value', 'payload': 0},
{'topic': 'ValePower1/status/battery_discharge_current/unit', 'payload':
'A'}, {'topic': 'ValePower1/status/is_sbu_priority_version_added/value',
'payload': 0}, {'topic':
'ValePower1/status/is_sbu_priority_version_added/unit', 'payload': 'bool'},
{'topic': 'ValePower1/status/is_configuration_changed/value', 'payload':
0}, {'topic': 'ValePower1/status/is_configuration_changed/unit', 'payload':
'bool'}, {'topic': 'ValePower1/status/is_scc_firmware_updated/value',
'payload': 0}, {'topic': 'ValePower1/status/is_scc_firmware_updated/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/is_load_on/value',
'payload': 1}, {'topic': 'ValePower1/status/is_load_on/unit', 'payload':
'bool'}, {'topic':
'ValePower1/status/is_battery_voltage_to_steady_while_charging/value',
'payload': 0}, {'topic':
'ValePower1/status/is_battery_voltage_to_steady_while_charging/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/is_charging_on/value',
'payload': 1}, {'topic': 'ValePower1/status/is_charging_on/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/is_scc_charging_on/value',
'payload': 1}, {'topic': 'ValePower1/status/is_scc_charging_on/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/is_ac_charging_on/value',
'payload': 0}, {'topic': 'ValePower1/status/is_ac_charging_on/unit',
'payload': 'bool'}, {'topic': 'ValePower1/status/rsv1/value', 'payload':
0}, {'topic': 'ValePower1/status/rsv1/unit', 'payload': 'A'}, {'topic':
'ValePower1/status/rsv2/value', 'payload': 0}, {'topic':
'ValePower1/status/rsv2/unit', 'payload': 'A'}, {'topic':
'ValePower1/status/pv_input_power/value', 'payload': 68}, {'topic':
'ValePower1/status/pv_input_power/unit', 'payload': 'W'}, {'topic':
'ValePower1/status/is_charging_to_float/value', 'payload': 0}, {'topic':
'ValePower1/status/is_charging_to_float/unit', 'payload': 'bool'},
{'topic': 'ValePower1/status/is_switched_on/value', 'payload': 1},
{'topic': 'ValePower1/status/is_switched_on/unit', 'payload': 'bool'},
{'topic': 'ValePower1/status/is_reserved/value', 'payload': 0}, {'topic':
'ValePower1/status/is_reserved/unit', 'payload': 'bool'}] 2022-05-12
***@***.***: Not daemon, so not looping
***@***.***:~ $
—
Reply to this email directly, view it on GitHub
<#225 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNX3URLR4UKH63N4MHLVJSLINANCNFSM5VVL7AHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Try QPIGS#QMOD
…On Thu, 12 May 2022, 5:59 pm SveinHaDD, ***@***.***> wrote:
Yepp, it did.
Using 2 commands in config file command=QPIGS,QMOD do NOT work.
—
Reply to this email directly, view it on GitHub
<#225 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNWLXA32ZNUKOAVHEYLVJSM3VANCNFSM5VVL7AHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Good news.
Yeah it was a recent change and the docs need to be updated
…On Thu, 12 May 2022, 6:06 pm SveinHaDD, ***@***.***> wrote:
That worked, thank you very much. I did see the hashtag mentioned
somewhere but in the examples I saw the comma.
—
Reply to this email directly, view it on GitHub
<#225 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNUIUI4GNIUWUTHPOATVJSNUVANCNFSM5VVL7AHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi.
Just started using mpp-solar on my EAsun SMW8k inverter and output to screen works fine but I'm not able to send to my existing Mosquitto broker, getting this error:
WARNING:mqtt:output@95: Error publishing MQTT messages to broker '172.16.0.94' on port '1883' with auth...
I also get:
WARNING:mqtt:output@98: '<=' not supported between instances of 'str' and 'int'
but I guess the first one must be solved first.I don't find anything useful in "Troubleshooting". My broker supports both anonymous and username/password but both fails.
Config file:
`[SETUP]
pause=5
mqtt_broker=172.16.0.94
mqtt_port=1883
mqtt_user=xxxx
mqtt_pass=xxxx
[EAsun SMW8k]
protocol=PI30
port=/dev/ttyUSB0
command=QMOD
tag=ValePower1
outputs=mqtt
`
Beta Was this translation helpful? Give feedback.
All reactions