AutoMeterRead.Run

// Job ID: #35455
using CEC.Meters.Web.Jobs.Meters;

var autoMeterRead = Activate<AutoMeterRead>();
autoMeterRead.Run(
    FromJson<ApiClient>("{\"BaseApiLocation\":\"https://gateway.cspbackofficeapi.com/\",\"MeterClientName\":\"CEC3\",\"Username\":\"UcLgRzUDT0V4MOXJq1RuodJMuMQ+pXYyt2NC3q0qWjA=\",\"Password\":\"UcLgRzUDT0V4MOXJq1RuoSx323ScVel9IQ7/mDI7Lh8=\",\"AuthToken\":\"eyJhbGciOiJSUzI1NiIsImtpZCI6IkJBQkNCMzg3MkZFMTA4RENCOTAzNUJERkI3OTFEMDE3IiwidHlwIjoiSldUIn0.eyJuYmYiOjE3NzA5OTgzNjQsImV4cCI6MTc3MTAwMTk2NCwiaXNzIjoiaHR0cHM6Ly9hdXRoc3J2ci5jc3BiYWNrb2ZmaWNlYXBpLmNvbSIsImF1ZCI6WyJjZWMuYXBpLnNlcnZpY2VzIiwiaHR0cHM6Ly9hdXRoc3J2ci5jc3BiYWNrb2ZmaWNlYXBpLmNvbS9yZXNvdXJjZXMiXSwiY2xpZW50X2lkIjoibWV0ZXIuY29udHJvbGxlci5wcml2YXRlIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc3lzdGVtIjoiQ0VDIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjpbIlByaXZhdGVDbGllbnQiLCJQdWJsaWNDbGllbnQiXSwic3ViIjoiMDQ5M2U5ZjUtMDY1NC00YTk4LTgxOWEtMjhiYmM0MWMwMTBkIiwiYXV0aF90aW1lIjoxNzcwOTk4MzY0LCJpZHAiOiJsb2NhbCIsInVzZXJuYW1lIjoiQ0VDTWV0ZXJzQWxzbyIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6IkNFQ01ldGVyc0Fsc29FbmVyZ3lAeW9wbWFpbC5jb20iLCJQZXJtaXNzaW9ucyI6Ikg0LSIsImlhdCI6MTc3MDk5ODM2NCwic2NvcGUiOlsiY2VjLmFwaS5zZXJ2aWNlcyIsIm9wZW5pZCJdLCJhbXIiOlsicHdkIl19.mtNofHoHrplqGssRpgG1aAvixTM98RtU-AzEygWcNTFvUGcLr-gRk1j-pvFmdLdhi3gTAIrClxsEZzhkqy6cWVefOmh9UczjusrmnadfacZtIUYZh9sncfZ9R2f8cs3HDeKIgSVMlSkRqPZk1ZoKMBocfevE5ziz2FAiR7Y0wunWc1RZVLjxAyHiHLceJG8JXr-_Puzq1dBds5M8RdB_ARYHYwLFz0WMcutFQXLWiGidjbcuxI74d-88hh258CTInqiiTztnm9B9rZLkIeUTRTmD-wpNEUK8ymUiR5_tvgi3vTfOkJeilvcY78OZIBxasj9Wr0fD4Vu1iYnKlPf4Vw\",\"UserID\":\"00000000-0000-0000-0000-000000000000\"}"),
    FromJson<FacilityMeterViewModel>("{\"UtilityName\":\"Eversource (NSTAR)\",\"FacilityName\":\"Fairhaven E\",\"FacilityID\":\"8b7bddbe-7106-43c5-8347-346ea4447007\",\"IpAddress\":\"lens.radiangen.com\",\"InstantCGI\":\"\",\"OverAllCGI\":\"variable_name=V_KWH;equipment_name=Meter\",\"Assembly\":\"CEC.Meter.RadianLensV1\",\"LastInstantRead\":501000.0,\"LastOverAllRead\":112779118.0,\"ReadInterval\":900,\"PortNumber\":null,\"StationUserName\":\"jesse.smith@communitysolarplatform.com\",\"StationPassword\":\"c$PR@d1An!\",\"RequiresAuthentication\":true,\"KWhFieldName\":\"retrieval_mode=sum_mode;granularity=MCTINTRVL_I60M\",\"KWhIndex\":null,\"KWhOffset\":0,\"KWFieldName\":\"calculation_code=CT_ACT_KWH;retrieval_mode=sum_mode;granularity=MCTINTRVL_I5M\",\"KWIndex\":null,\"KWOffset\":0,\"IsVirtual\":false,\"ParentMeterID\":null,\"EndPointName\":\"Fairhaven E\",\"SiteId\":0,\"DeviceID\":0,\"Offset\":0,\"ReadMeter\":true,\"Multiplier\":1.0,\"GrossLastInstantRead\":501000.0,\"GrossLastOverAllRead\":112779118.0,\"PrimaryKey\":\"41131036-abcc-4b91-b543-ad646154239c\",\"DateAdded\":\"2021-08-10T00:00:00\",\"Facility\":{\"URL\":null,\"PrimaryKey\":\"8b7bddbe-7106-43c5-8347-346ea4447007\",\"Name\":\"Fairhaven MA 1, LLC\",\"CommonName\":\"Fairhaven E\",\"COOPID\":\"0ee9f9ac-76cd-41d6-a669-3dab20010f6e\",\"FacilityTypeID\":\"cb8c15b3-9aa3-4484-93f1-8cbe6bb38368\",\"FacilityType\":null,\"AddressID\":\"b72b2680-5e5f-40cf-a918-7709337b0977\",\"Address\":null,\"UtilityID\":\"e4401d37-f763-4461-8b35-f6ceb1041216\",\"Utility\":null,\"MinimumSize\":0.0,\"DailyProduction\":5.5,\"TotalCapacity\":2887366.662,\"SolarEquiv\":1.0,\"Efficiency\":95.0,\"Price\":0.0,\"MaintPercent\":0.0,\"MaintAmountWatt\":0.0,\"FromCustomer\":false,\"Notes\":\"\",\"PaymentRateText\":null,\"EscalationRate\":null,\"PPAThirdParty\":null,\"PPADispute\":null,\"PPACapacityRN\":null,\"PPATerm\":null,\"GovState\":null,\"DateAdded\":\"2018-01-03T06:58:58.9\",\"FederalID\":null,\"MakeModel\":null,\"SizeByUsage\":null,\"InterconnectionDate\":\"2021-08-10T15:00:00\",\"MaximumBenefit\":0,\"RECPaymentTitle\":null,\"RECDefinition\":null,\"QueryString\":null,\"FacilityMapImageName\":null,\"Availability\":null,\"LotSize\":null,\"Section32Reference\":null,\"Section44cReference\":null,\"Section54Title\":null,\"Active\":false,\"Latitude\":41.66,\"Longitude\":-70.88,\"TotalPanelAreaM2\":null,\"Timezone\":-5,\"PanelAzimuth\":180.0,\"PanelTiltAngle\":35.0,\"SuppressMonitoring\":false,\"UseVerboseMonitoring\":false,\"SunriseBufferMinutes\":60,\"SunsetBufferMinutes\":60,\"UseDST\":false,\"ExpireDate\":null,\"GateCode\":null,\"REConBill\":\"0\",\"ActiveProject\":false,\"EstimatedInterconnectionDate\":\"2021-08-10T15:00:00\",\"AvailableCustomerTypes\":0,\"MinPercentDown\":null,\"PaymentPolicy\":null,\"ReservationPolicy\":null,\"TrackingMode\":0,\"OMDepositRate\":0.11,\"ProgramName\":null,\"TypeDescription\":null,\"InterestType\":null,\"RECPayment\":null,\"RECPaymentBillCredit\":null,\"IPAAppendixC\":null,\"EntireAgreementAddition\":null,\"Overview\":\"Manage for client without reconciliation.\",\"ProfiledCustomers\":null,\"Section54Content\":null,\"PPATariffCopies\":null,\"CustomerSupport\":\"\",\"RefundableDeposit\":\"\",\"CancelledDeposit\":\"\",\"RECPBITitle\":\"\",\"RECPBICredit\":\"\",\"Section6Reference1\":\"\",\"Section6Reference2\":\"\",\"Demand\":false,\"CommissionedDate\":\"2024-09-05T06:00:00\",\"StandardProduction\":1260.0,\"PaymentProviderDetailID\":null,\"FacilityNotes\":null,\"FacilitySPV\":null,\"JurisdictionID\":\"0700609c-3827-4ef0-80ce-7e665420c491\",\"SalesForceId\":null,\"CNMID\":null,\"DeveloperID\":null,\"FacilityOwnerTypeID\":\"d9bbb219-b843-4cfc-9548-34d5cd63537d\",\"FacilityClassTypeID\":null,\"CapacityAC\":true,\"CECManaged\":true,\"Prefix\":\"\",\"InvoiceTemplateTypeID\":null,\"TotalCapacityAC\":2002800.0,\"ACtoDCFactor\":1.441665,\"Id\":\"00000000-0000-0000-0000-000000000000\"},\"SunRise\":\"6:10\",\"SunSet\":\"17:10\"}"),
    "EV.N:FairhavenE - CEC3",
    0);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RecurringJobId
"EV.N:FairhavenE - CEC3"
Time
1770998406

State

2/13/2026 4:00:16 PM (+9.620s) Failed

An exception occurred during performance of the job.

System.Exception

API ERROR: (400) Bad Request - while trying to Run AutoMeterRead_Scheduled for facility: Fairhaven E EXCEPTION DATA: INNER EXCEPTION DATA: CONTENT DATA: System.Threading.Tasks.Task`1[System.String]

System.Exception: API ERROR:   (400) Bad Request - while trying to Run AutoMeterRead_Scheduled for facility: Fairhaven E  EXCEPTION DATA:   INNER EXCEPTION DATA:   CONTENT DATA: System.Threading.Tasks.Task`1[System.String]
   at CEC.Meters.Web.Jobs.Meters.AutoMeterRead.Run(ApiClient apiClient, FacilityMeterViewModel facilityMeter, String id, Int32 secOffset) in C:\agent2\_work\137\s\src\v300\CEC.Meters.Web\jobs\meters\AutoMeterRead.cs:line 152

+753ms Processing

Server:
dw0sdwk00068l:6872
Worker:
7737eb58

+27ms Enqueued

Triggered by recurring job scheduler

Queue:
default

2/13/2026 4:00:06 PM Created