iMicknl / iMicknl/python-sagemcom-api

[FAST3890V2] Incompatible model using example code

Đang mở
#1 5 bình luận 0 reaction 1 người được giao Xem trên GitHub

@iMicknl đang làm issue này rồi.

Từ ngày 23/5/2020.

blocked help wanted new-device
Ngôn ngữ chính
Python
Star
141
Fork
49
Merge trung bình
7 giờ 54 phút
Pull request đã merge (30 ngày)
4

Mô tả

Hi. I got this model:

Key Value
Board ID: FAST3890_D0
Symmetric CPU Threads: 2
Build Timestamp: 20190823_1045
Linux Version: 3.14.28-Prod_6.1.2mp2
Wireless Driver Version: 7.14.164.17 (r683874)
Systime: 2020-05-21T11:04:28+01:00
Standard Specification Compliant Docsis 3.1
Hardware Version FAST3890V2 Rev:V2.0
Software Version FAST3890_TDC_50.10.22.T1
Cable Modem Serial Number DM1705907002004
CM certificate Installed

I tried your example script with my informations, but received this error:

christian@desktop:~$ python3 sagemcom.py 
Traceback (most recent call last):
  File "sagemcom.py", line 19, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.8/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "sagemcom.py", line 9, in main
    logged_in = await sagemcom.login()
  File "/home/christian/.local/lib/python3.8/site-packages/sagemcom_api/client.py", line 204, in login
    response = await self.__api_request_async([actions], True)
  File "/home/christian/.local/lib/python3.8/site-packages/sagemcom_api/client.py", line 149, in __api_request_async
    async with session.post(api_host, data="req=" + json.dumps(payload, separators=(',', ':'))) as response:
  File "/home/christian/.local/lib/python3.8/site-packages/aiohttp/client.py", line 1012, in __aenter__
    self._resp = await self._coro
  File "/home/christian/.local/lib/python3.8/site-packages/aiohttp/client.py", line 504, in _request
    await resp.start(conn)
  File "/home/christian/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 847, in start
    message, payload = await self._protocol.read()  # type: ignore  # noqa
  File "/home/christian/.local/lib/python3.8/site-packages/aiohttp/streams.py", line 591, in read
    await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: None

Using Python 3.8.2

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.