def get_site_current_power_flow(**kwargs): """ Current power flow between all elements of the site """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) format_output(response=solaredge_api.get_site_current_power_flow(**kwargs), output_format=solaredge_cli_config.format)
def get_site_equipment_sensors(**kwargs): """ Sensors in the site and connections """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) format_output(response=solaredge_api.get_site_equipment_sensors(**kwargs), output_format=solaredge_cli_config.format)
def get_site_inventory(**kwargs): """ Inventory of SolarEdge equipment at the site """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) format_output(response=solaredge_api.get_site_inventory(**kwargs), output_format=solaredge_cli_config.format)
def get_site_overview(**kwargs): """ Sites(s) overview data """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) format_output(response=solaredge_api.get_site_overview(**kwargs), output_format=solaredge_cli_config.format)
def get_site_data_period(**kwargs): """ Sites(s) start_date and end_date of production """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) format_output(response=solaredge_api.get_site_data_period(**kwargs), output_format=solaredge_cli_config.format)
def get_site_details(**kwargs): """ Get site details; name, location, status, etc. """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) format_output(response=solaredge_api.get_site_details(**kwargs), output_format=solaredge_cli_config.format)
def get_site_equipment_change_log(**kwargs): """ Equipment component replacements ordered by date """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) format_output( response=solaredge_api.get_site_equipment_change_log(**kwargs), output_format=solaredge_cli_config.format)
def get_site_environmental_benefits(**kwargs): """ Environmental benefits based on site energy production """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) format_output( response=solaredge_api.get_site_environmental_benefits(**kwargs), output_format=solaredge_cli_config.format)
def get_site_meters(**kwargs): """ Meter lifetime energy, metadata and connection detail """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) kwargs = arg_helper.end_time(kwargs) kwargs = arg_helper.start_time(kwargs, delta_time=-(3600 * 24 * 7)) format_output(response=solaredge_api.get_site_meters(**kwargs), output_format=solaredge_cli_config.format)
def get_site_equipment_data(**kwargs): """ Get specific inverter data for a given timeframe """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) kwargs = arg_helper.end_time(kwargs) kwargs = arg_helper.start_time(kwargs, delta_time=-(3600 * 24 * 7)) format_output(response=solaredge_api.get_site_equipment_data(**kwargs), output_format=solaredge_cli_config.format)
def get_site_storage_data(**kwargs): """ Detailed storage information from batteries """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) kwargs = arg_helper.end_time(kwargs) kwargs = arg_helper.start_time(kwargs, delta_time=-(3600 * 24 * 7)) format_output(response=solaredge_api.get_site_storage_data(**kwargs), output_format=solaredge_cli_config.format)
def get_site_energy_details(**kwargs): """ Detailed site energy measurements from meters """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) kwargs = arg_helper.end_time(kwargs) kwargs = arg_helper.start_time(kwargs, delta_time=-(3600 * 24 * 7)) format_output(response=solaredge_api.get_site_energy_details(**kwargs), output_format=solaredge_cli_config.format)
def get_site_power(**kwargs): """ Site(s) power measurements """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) kwargs = arg_helper.end_time(kwargs) kwargs = arg_helper.start_time(kwargs, delta_time=-(3600 * 24 * 7)) format_output(response=solaredge_api.get_site_power(**kwargs), output_format=solaredge_cli_config.format)
def get_site_time_frame_energy(**kwargs): """ Site(s) total energy produced for a given period """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) kwargs = arg_helper.end_date(kwargs) kwargs = arg_helper.start_date(kwargs, delta_days=-7) format_output(response=solaredge_api.get_site_time_frame_energy(**kwargs), output_format=solaredge_cli_config.format)
def get_site_energy(**kwargs): """ Site(s) energy measurements """ kwargs = arg_helper.site_id(kwargs, config=solaredge_cli_config) kwargs = arg_helper.end_date(kwargs) kwargs = arg_helper.start_date(kwargs, delta_days=-7) format_output(response=solaredge_api.get_site_energy(**kwargs), output_format=solaredge_cli_config.format)