Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]账号可登录但无法查询和添加已绑定的缴费号 #23

Open
chen1070109514 opened this issue Mar 29, 2024 · 1 comment
Open

Comments

@chen1070109514
Copy link

Bug描述
使用家人账号添加后在“添加已绑定的缴费号”出现错误,使用我自己的账号绑定后可成功添加。
两个账号最大的区别应该是存在一个工商政企的用电绑定。
屏幕截图 2024-03-29 091101

日志
【电话号码和用电编号部分我用*替代了】
2024-03-28 11:24:10.035 DEBUG (SyncWorker_43) [custom_components.china_southern_power_grid_stat.csg_client] _make_request: user/getUserInfo, None, True, POST
2024-03-28 11:24:10.089 DEBUG (SyncWorker_43) [custom_components.china_southern_power_grid_stat.csg_client] _make_request: response: {"sta": "00", "message": "", "data": {"bindingId": null, "areaCode": "090000", "custNumber": "NWO0000023224071", "nickname": "\u9648\u5229\u6765", "avatar": null, "sex": null, "email": null, "mobilePhone": "**1189", "mobile": "**1189", "contactName": null, "isIdentityVerified": null, "isSetPassword": "1", "acctIdExtra": null, "wechatNickname": "\u9648\u5229\u6765", "alipayNickname": null, "wechatAvatar": "http://thirdwx.qlogo.cn/mmopen/5Lz5KSwkZyxAut2yMiaHAmMFibI3TDJkUML1Kqaqmq1OQctNGIM8ibbkUFhOsz7icgAp5Gp97USoSxfXSgDuz3AvcWqpHHibKkNBJ/132", "alipayAvatar": null, "desc": null, "province": null, "city": null, "county": null, "bindingRelation": null, "bindingType": null, "acctId": null, "defaultAreaCode": "090000", "oprateType": null, "isOwner": null, "bindingTime": null, "authTime": null, "isAuthTip": "01", "recommendEle": null, "invitationStatus": null, "provinceName": "\u5e7f\u4e1c\u7701", "cityName": "\u6df1\u5733\u5e02", "countyName": null, "unionId": "oxxLTs3dOeMuCFSjmvdRsdmIbkPk", "userId": null, "custType": null, "organizationId": null, "organizationManagerId": null, "organizationManagerCustNumber": null}}
2024-03-28 11:24:10.092 DEBUG (SyncWorker_19) [custom_components.china_southern_power_grid_stat.csg_client] _make_request: eleCustNumber/queryBindEleUsers, {}, True, POST
2024-03-28 11:24:10.160 DEBUG (SyncWorker_19) [custom_components.china_southern_power_grid_stat.csg_client] _make_request: response: {"sta": "00", "message": null, "data": [{"bindingId": "TEmzCRaR", "areaCode": "090000", "custNumber": "NWO0000023224071", "eleCustNumber": "***7700", "userName": "\u9648\u5229\u6765", "eleAddress": "\u6df1\u5733\u5e02\u5149\u660e\u65b0\u533a\u5149\u660e\u8857\u9053\u6e05\u6021\u82b1\u56ed8\u680b702", "bindingType": "1", "eleType": "500", "supplyUnit": "094803", "voltageGrade": "02", "customerManager": null, "totalOwnedFee": "0.00", "isAuth": "0", "authCode": null, "isBind": null, "meaMethodOfMeaPoint": "3", "status": "1", "authMobile": null, "userCategory": "20", "industryCategory": "IY0100", "unAuthTime": null, "groupId": "jm", "businessId": null, "workNo": null, "businessType": null, "type": null, "userType": null}, {"bindingId": "slxrqOil", "areaCode": "090000", "custNumber": "NWO0000023224071", "eleCustNumber": "***0178", "userName": "\u6df1\u5733\u5e02\u5149\u660e\u673a\u68b0\u5de5\u7a0b\u6709\u9650\u516c\u53f8", "eleAddress": "\u6df1\u5733\u5e02\u5149\u660e\u65b0\u533a\u5149\u660e\u8857\u9053\u5927\u9053\u5904", "bindingType": "1", "eleType": "100", "supplyUnit": "094803", "voltageGrade": "08", "customerManager": null, "totalOwnedFee": "0.00", "isAuth": "0", "authCode": null, "isBind": null, "meaMethodOfMeaPoint": "2", "status": "1", "authMobile": null, "userCategory": "10", "industryCategory": "IC3300", "unAuthTime": null, "groupId": "gyyq", "businessId": null, "workNo": null, "businessType": null, "type": null, "userType": null}, {"bindingId": "3hddnHaS", "areaCode": "090000", "custNumber": "NWO0000023224071", "eleCustNumber": "***2815", "userName": "\u9648\u5229\u6765", "eleAddress": "\u6df1\u5733\u5e02\u5149\u660e\u65b0\u533a\u5149\u660e\u8857\u9053\u6b63\u8c6a\u82d1B\u5ea7102", "bindingType": "1", "eleType": "500", "supplyUnit": "094803", "voltageGrade": "02", "customerManager": null, "totalOwnedFee": "0.00", "isAuth": "0", "authCode": null, "isBind": null, "meaMethodOfMeaPoint": "3", "status": "1", "authMobile": null, "userCategory": "20", "industryCategory": "IY0100", "unAuthTime": null, "groupId": "jm", "businessId": null, "workNo": null, "businessType": null, "type": null, "userType": null}]}
2024-03-28 11:24:10.160 DEBUG (SyncWorker_19) [custom_components.china_southern_power_grid_stat.csg_client] Total 3 users under this account
2024-03-28 11:24:10.160 DEBUG (SyncWorker_19) [custom_components.china_southern_power_grid_stat.csg_client] _make_request: charge/queryMeteringPoint, {'areaCode': '090000', 'eleCustNumberList': [{'eleCustId': 'TEmzCRaR', 'areaCode': '090000'}]}, True, POST
2024-03-28 11:24:10.604 DEBUG (SyncWorker_19) [custom_components.china_southern_power_grid_stat.csg_client] _make_request: response: {"sta": "00", "message": "success", "data": [{"eleCustId": "TEmzCRaR", "eleCustNumber": "0948000097027700", "meteringPointId": "41628f686c88946ec89c51893c4bedec", "meteringPointNumber": "300172439911691680", "areaCode": "090000", "eleCustName": "\u9648\u5229\u6765", "eleType": "500", "settleAcctId": "9001eed0969c882f50641c08dca65407", "settleAcctNumber": "9000000002581419", "settleAcctName": "\u738b\u4fdd\u534e"}]}
2024-03-28 11:24:10.604 DEBUG (SyncWorker_19) [custom_components.china_southern_power_grid_stat.csg_client] _make_request: charge/queryMeteringPoint, {'areaCode': '090000', 'eleCustNumberList': [{'eleCustId': 'slxrqOil', 'areaCode': '090000'}]}, True, POST
2024-03-28 11:24:10.905 DEBUG (SyncWorker_19) [custom_components.china_southern_power_grid_stat.csg_client] _make_request: response: {"sta": "00060005", "message": "\u6ca1\u6709\u67e5\u8be2\u5230\u8ba1\u91cf\u70b9\u4fe1\u606f", "data": null}
2024-03-28 11:24:10.905 DEBUG (SyncWorker_19) [custom_components.china_southern_power_grid_stat.csg_client] Account customer number: NWO0000023224071, unsuccessful response while calling charge/queryMeteringPoint: {'sta': '00060005', 'message': '没有查询到计量点信息', 'data': None}
2024-03-28 11:24:10.908 ERROR (MainThread) [aiohttp.server] Error handling request
版本信息:

  • HA版本:2024.2.5
  • 插件版本:1.1.2
  • Python版本:不清楚

其他信息
如有其他信息,请说明。

@chen1070109514 chen1070109514 changed the title [BUG]账号后无法查询和添加已绑定的缴费号 [BUG]账号可登录但无法查询和添加已绑定的缴费号 Mar 29, 2024
@sanxi33
Copy link

sanxi33 commented Nov 4, 2024

我这里也是,有一个居民一个工业号就没法用
IMG_2593

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants