get_device_info function

Get inverter device information