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

HomematicIP-Rest-Api v2 - Test and Feedback #526

Open
hahn-th opened this issue May 2, 2024 · 1 comment
Open

HomematicIP-Rest-Api v2 - Test and Feedback #526

hahn-th opened this issue May 2, 2024 · 1 comment

Comments

@hahn-th
Copy link
Owner

hahn-th commented May 2, 2024

Hello,
I am currently in the process of developing the complete library from scratch which can be accessed via Branch v2. But beware: everything is still very alpha-status :)

I want to know, how you use the library? What are your requirements? Are you interpret results from cli? Do you use the cli at all??? What are your needs?

Example Cli:

  • Which values need to be output via the CLI?
  • Everyone could use a json file to decide for themselves what they want to output for each type.
  • Does anyone use the Cli at all?

Information about status changes:
Many people keep running into the throttle problem when retrieving the status via the Cli. The reason for this is that the Cli is restarted again and again. This leads to the complete configuration being downloaded each time. The problem does not occur if the changes are pushed via websockets.
I now had the following ideas:

  • "Listen" mode that writes the received events to a file
  • "Plugin" system with pluggy??? But i guess this would be a little too much 😆
  • Connection to EventManager, which is already there

A few things will definitely change:

  • No more dedicated classes for each Device, Channel, Group, etc. There is a base class for Device, Home, Group, FunctionalChannel and so on, but no more class for AccessControlChannel, for example.
  • The actions are "loose" and are linked to channels, etc. via Decorator. If an action is executed, the decorator is testing, if the action is applicable for the device.
  • There is no "home" class anymore. Home is now just a stupid poco. There is the runner, which contains the model.
  • The Cli is now accessible via hmip.
  • The auth script does not exist anymore. Use hmip auth instead
  • Just explore the Cli via hmip --help
  • All new devices are there without the need of any code changes. But just "read-only" mode. If any rest requests should be made for the device, this must be implemented.

Any input is appreciated.

@hahn-th
Copy link
Owner Author

hahn-th commented May 3, 2024

And here is the pypi package:
pip install homematicip==1.1.0.post1.dev15

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

No branches or pull requests

1 participant