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

v2 - beta feedback #41

Closed
petrleocompel opened this issue May 15, 2023 · 12 comments
Closed

v2 - beta feedback #41

petrleocompel opened this issue May 15, 2023 · 12 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@petrleocompel
Copy link
Owner

It seems v2.0.0-beta8 is stable enough. If no feedback with errors will be provided this week i will release it on Friday 19th May.

Please post feedback in this post. If currently any problems are present.

@petrleocompel petrleocompel added the help wanted Extra attention is needed label May 15, 2023
@petrleocompel petrleocompel self-assigned this May 15, 2023
@petrleocompel petrleocompel pinned this issue May 15, 2023
@youmax01
Copy link

work perfect with beta8 in AXhub, no errors

@nautilus7
Copy link

Apart from the warnings mentioned in #36 (comment) I don't see anything else wrong in my logs.

Some observations/questions...

  1. Are these devices supposed to display their manufacturer and model? Regarding battery, you already told me that is not implemented yet, so ok.
    image

  2. The screen below is from a magnetic contact device (for doors or windows). As you can see on the right (logbook) each time the door is opened (magnet presence turned off), the status is changed to "breakdown". When the door is closed, the status is turned to normal "online" status. This happens to all my magnetic contact devices. Is this normal?

image

@petrleocompel
Copy link
Owner Author

@wifi75 - saw your comment. Host is unreachable is connection problem. Cannot help with that.

@petrleocompel
Copy link
Owner Author

@nautilus7

  1. I will have to investigate a little bit. Might not get that info from AXHub
  2. The break down - means there is fault. I guess this is something from AXHub. Not sure if AXPro has it same. I dont think it is really a problem.

@youmax01
Copy link

@nautilus7

  1. I will have to investigate a little bit. Might not get that info from AXHub
  2. The break down - means there is fault. I guess this is something from AXHub. Not sure if AXPro has it same. I dont think it is really a problem.

The break down apears when sensor is open, when sensor is close change to online. dont know why.
image

@leciuk81
Copy link

leciuk81 commented May 17, 2023

HI,
for me always the same errors for all Beta versions. Also now I can no longer install version 1.3.1 which worked for me.
Below is the error received.
Hope you can fix it.
Thank you

image

image

image

Logger: homeassistant.config_entries
Source: custom_components/hikvision_axpro/model.py:662
Integration: hikvision_axpro
First occurred: 11:19:59 (2 occurrences)
Last logged: 11:20:53

Error setting up entry Hikvision_axpro_192.168.10.107 for hikvision_axpro
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/hikvision_axpro/__init__.py", line 105, in async_setup_entry
    await hass.async_add_executor_job(coordinator.init_device)
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/hikvision_axpro/__init__.py", line 177, in init_device
    self.load_devices()
  File "/config/custom_components/hikvision_axpro/__init__.py", line 181, in load_devices
    devices = self._load_devices()
  File "/config/custom_components/hikvision_axpro/__init__.py", line 194, in _load_devices
    return ZonesConf.from_dict(response.json())
  File "/config/custom_components/hikvision_axpro/model.py", line 822, in from_dict
    list = from_list(ListElement.from_dict, obj.get("List"))
  File "/config/custom_components/hikvision_axpro/model.py", line 29, in from_list
    return [f(y) for y in x]
  File "/config/custom_components/hikvision_axpro/model.py", line 29, in <listcomp>
    return [f(y) for y in x]
  File "/config/custom_components/hikvision_axpro/model.py", line 806, in from_dict
    zone = ZoneConfig.from_dict(obj.get("Zone"))
  File "/config/custom_components/hikvision_axpro/model.py", line 662, in from_dict
    chime_warning_type = ChimeWarningType(obj.get("chimeWarningType"))
  File "/usr/local/lib/python3.10/enum.py", line 385, in __call__
    return cls.__new__(cls, value)
  File "/usr/local/lib/python3.10/enum.py", line 710, in __new__
    raise ve_exc
ValueError: 'continuous' is not a valid ChimeWarningType

After some time added more errors

image

Logger: custom_components.hikvision_axpro.hikax.hikax
Source: custom_components/hikvision_axpro/hikax/hikax.py:208
Integration: hikvision_axpro
First occurred: 11:28:59 (1 occurrences)
Last logged: 11:28:59

Debug data <SessionLoginCap version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema"> <sessionID>7936be44ebdaef3efcb443785042c2be917999626e4948284d66867552681190</sessionID> <challenge>e47a993acf5b7fd7b253fbb4f7ef3624</challenge> <iterations>100</iterations> <isSupportRTSPWithSession>true</isSupportRTSPWithSession> <isIrreversible>true</isIrreversible> <sessionIDVersion>2.1</sessionIDVersion> <salt>3519F0AB7181690F20D90DCCC9EC9239577C5FA5C213048AED81B2AB3BBA8C8E</salt> <salt2>894FC272840644114F489CCBCABFB7BED9F97226E2528C021ABD0321AB6D3421</salt2> </SessionLoginCap>
Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: custom_components.hikvision_axpro.hikax.hikax
Source: custom_components/hikvision_axpro/hikax/hikax.py:93
Integration: hikvision_axpro
First occurred: 11:28:53 (1 occurrences)
Last logged: 11:28:53

Debug data <SessionLoginCap version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema"> <sessionID>da1d7a578ee5aa63ddf592894a0d06469e83029fc8977bff7dcf24c8982de3b3</sessionID> <challenge>29d7dac5170e32c2888ce93de3c2dc43</challenge> <iterations>100</iterations> <isSupportRTSPWithSession>true</isSupportRTSPWithSession> <isIrreversible>true</isIrreversible> <sessionIDVersion>2.1</sessionIDVersion> <salt>3519F0AB7181690F20D90DCCC9EC9239577C5FA5C213048AED81B2AB3BBA8C8E</salt> <salt2>894FC272840644114F489CCBCABFB7BED9F97226E2528C021ABD0321AB6D3421</salt2> </SessionLoginCap>

@petrleocompel
Copy link
Owner Author

Beta9 - Released

@petrleocompel
Copy link
Owner Author

@leciuk81 Any feedback on beta9 ? changes ? works?

@leciuk81
Copy link

Hello, with Beta 9 it started working fine again.

@petrleocompel
Copy link
Owner Author

Version 2.0.0-beta16 was released.
If there will be no issues until end of this week version 2 will be released as stable.

@petrleocompel
Copy link
Owner Author

No issues found over beta 2. It is going to be released today.

@petrleocompel
Copy link
Owner Author

Version 2.0.0 released to public

@petrleocompel petrleocompel unpinned this issue Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants