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

some changes to vis-2 #444

Merged
merged 5 commits into from
Jul 7, 2024
Merged

some changes to vis-2 #444

merged 5 commits into from
Jul 7, 2024

Conversation

oweitman
Copy link

  • add section Developement and Debugging to readme
  • add subscribe/unsubscribe command to the vis object, that widgets can subscribe/unsubscribe datapoint by themselve
  • add sendTo command to the conn object, that widgets can communicate with adapters

@GermanBluefox
Copy link

Do you need subscribe/unsubscribe and sendto for vis-2 widgets or for vis-1?

@GermanBluefox GermanBluefox added the question ❓ Further information is requested label Jul 7, 2024
@oweitman
Copy link
Author

oweitman commented Jul 7, 2024

To make Vis-1 Widgets in vis-2 compatible

In vis1 I have access to the socket object there I can send commands to the server. In the vis object of vis-2 there is only a limited version of the socket object.

These new commands are convenient commands for that I used in my widgets.

To subscribe object ids I used in vis 1 the updateState function. This is also an additional issue,
Please have also a look for #438

@GermanBluefox GermanBluefox merged commit 0d25d90 into ioBroker:master Jul 7, 2024
1 check passed
@oweitman
Copy link
Author

oweitman commented Jul 8, 2024

thanks (also for fixing the missing type definitions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❓ Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants