How to see grid power? #132
Unanswered
giovanniincalza
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings to everyone and thanks to the author for this interesting project.
I want to ask what I need to enable in the code to receive the instantaneous grid power.
This is my code:
Warning:
If you configure a lot of the possible sensors etc. it could be that you run
out of memory (on esp8266). If you configure nearly all sensors etc. you run
in a stack-size issue. In this case you have to increase stack size!
esphome/issues#855
substitutions:
name: "pip-gio"
tx_pin: GPIO4
rx_pin: GPIO5
esphome:
name: ${name}
friendly_name: PIp_v2
platform: ESP8266
board: d1_mini
external_components:
refresh: 0s
wifi:
ssid: *******
password: *****
ota:
logger:
baud_rate: 0
#mqtt:
broker: *******
username: *****
password: ******
id: ******
api:
uart:
id: uart_0
baud_rate: 2400
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
pipsolar:
uart_id: uart_0
id: inverter0
sensor:
pipsolar_id: inverter0
QPIRI
grid_rating_voltage:
name: "${name} grid_rating_voltage"
grid_rating_current:
name: "${name} grid_rating_current"
ac_output_rating_voltage:
name: "${name} ac_output_rating_voltage"
ac_output_rating_frequency:
name: "${name} ac_output_rating_frequency"
ac_output_rating_current:
name: "${name} ac_output_rating_current"
ac_output_rating_apparent_power:
name: "${name} ac_output_rating_apparent_power"
ac_output_rating_active_power:
name: "${name} ac_output_rating_active_power"
battery_rating_voltage:
name: "${name} battery_rating_voltage"
battery_recharge_voltage:
name: "${name} battery_recharge_voltage"
battery_under_voltage:
name: "${name} battery_under_voltage"
battery_bulk_voltage:
name: "${name} battery_bulk_voltage"
battery_float_voltage:
name: "${name} battery_float_voltage"
battery_type:
name: "${name} battery_type"
current_max_ac_charging_current:
name: "${name} current_max_ac_charging_current"
current_max_charging_current:
name: "${name} current_max_charging_current"
input_voltage_range:
name: "${name} input_voltage_range"
output_source_priority:
name: "${name} output_source_priority"
charger_source_priority:
name: "${name} charger_source_priority"
parallel_max_num:
name: "${name} parallel_max_num"
machine_type:
name: "${name} machine_type"
topology:
name: "${name} topology"
output_mode:
name: "${name} output_mode"
battery_redischarge_voltage:
name: "${name} battery_redischarge_voltage"
pv_ok_condition_for_parallel:
name: "${name} pv_ok_condition_for_parallel"
pv_power_balance:
name: "${name} pv_power_balance"
eeprom_version:
name: "${name} eeprom_version"
text_sensor:
pipsolar_id: inverter0
device_mode:
name: "${name} device_mode"
last_qpigs:
name: "${name} last_qpigs"
last_qpiri:
name: "${name} last_qpiri"
last_qmod:
name: "${name} last_qmod"
last_qflag:
name: "${name} last_qflag"
binary_sensor:
pipsolar_id: inverter0
add_sbu_priority_version:
name: "${name} add_sbu_priority_version"
configuration_status:
name: "${name} configuration_status"
scc_firmware_version:
name: "${name} scc_firmware_version"
dustproof_installed:
name: "${name} dustproof_installed"
backlight_on:
name: "${name} backlight_on"
switch:
pipsolar_id: inverter0
output_source_priority_utility:
name: "${name} output_source_priority_utility"
output_source_priority_solar:
name: "${name} output_source_priority_solar"
output_source_priority_battery:
name: "${name} output_source_priority_battery"
input_voltage_range:
name: "${name} input_voltage_range"
pv_ok_condition_for_parallel:
name: "${name} pv_ok_condition_for_parallel"
pv_power_balance:
name: "${name} pv_power_balance"
output:
platform: pipsolar
pipsolar_id: inverter0
battery_recharge_voltage:
id: inverter0_battery_recharge_voltage_out
platform: pipsolar
pipsolar_id: inverter0
battery_bulk_voltage:
id: inverter0_battery_bulk_voltage_out
select:
platform: pipsolar
pipsolar_id: inverter0
output_source_priority:
id: inverter0_output_source_priority_select
name: inverter0_output_source_priority_select
optionsmap:
"Utility first": "POP00"
"Solar only": "POP01"
"Solar Battery Utility": "POP02"
statusmap:
"0": "Utility first"
"1": "Solar only"
"2": "Solar Battery Utility"
platform: pipsolar
pipsolar_id: inverter0
charging_discharging_control:
See MAX_Communication_Protocol_20200526.pdf page 18
name: "${name} charging discharging control"
optionsmap:
"111": "PBATCD111"
"011": "PBATCD011"
"101": "PBATCD101"
"110": "PBATCD110"
"010": "PBATCD010"
"100": "PBATCD100"
"001": "PBATCD001"
"000": "PBATCD000"
statusmap:
"111": "111"
"011": "011"
"101": "101"
"110": "110"
"010": "010"
"100": "100"
"001": "001"
"000": "000"
platform: pipsolar
pipsolar_id: inverter0
charger_source_priority:
name: ${name} charger_source_priority_select
optionsmap:
"Utility first": "PCP00"
"0": "Utility first"
platform: pipsolar
pipsolar_id: inverter0
current_max_ac_charging_current:
name: ${name} current_max_ac_charging_current_select
optionsmap:
"2A": "MUCHGC0002"
"10A": "MUCHGC0010"
"20A": "MUCHGC0020"
"30A": "MUCHGC0030"
"40A": "MUCHGC0040"
"50A": "MUCHGC0050"
"60A": "MUCHGC0060"
"70A": "MUCHGC0070"
"80A": "MUCHGC0080"
"90A": "MUCHGC0090"
"100A": "MUCHGC0100"
"110A": "MUCHGC0110"
"120A": "MUCHGC0120"
statusmap:
"2": "2A"
"10": "10A"
"20": "20A"
"30": "30A"
"40": "40A"
"50": "50A"
"60": "60A"
"70": "70A"
"80": "80A"
"90": "90A"
"100": "100A"
"110": "110A"
"120": "120A"
platform: pipsolar
pipsolar_id: inverter0
current_max_charging_current:
name: ${name} current_max_charging_current_select
optionsmap:
"10A": "MCHGC010"
"20A": "MCHGC020"
"30A": "MCHGC030"
"40A": "MCHGC040"
"50A": "MCHGC050"
"60A": "MCHGC060"
"70A": "MCHGC070"
"80A": "MCHGC080"
"90A": "MCHGC090"
"100A": "MCHGC100"
"110A": "MCHGC110"
"120A": "MCHGC120"
statusmap:
"10": "10A"
"20": "20A"
"30": "30A"
"40": "40A"
"50": "50A"
"60": "60A"
"70": "70A"
"80": "80A"
"90": "90A"
"100": "100A"
"110": "110A"
"120": "120A"
Beta Was this translation helpful? Give feedback.
All reactions