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

API version 8 changes. #11

Open
tinodo opened this issue Feb 28, 2024 · 2 comments
Open

API version 8 changes. #11

tinodo opened this issue Feb 28, 2024 · 2 comments

Comments

@tinodo
Copy link
Contributor

tinodo commented Feb 28, 2024

In Version 8 of the Touch Portal API, there are a few small changes.

For example, the broadcast event now as the properties previousPageName, deviceIp and deviceName.
There are a few other small changes.

Just wanted to make you aware of this. Perhaps, when you have time, you can add this!

Thanks for creating this!

@oddbear
Copy link
Owner

oddbear commented Mar 3, 2024

Thank you for telling. Seems like I need to implement version 7 and 8 of the API.

Edit:
I have started testing, and it seems to be a couple of new features.
Some of them seems broken though.
As mentioned, broadcast is updated.
Settings have added tooltip.
Actions has more and less (deprecated) options in the entry.tp file (the documentation is wrong in several places here).
There is a stateListUpdate and a triggerEvent, but I have not been able to get those working yet.
Create state has a Force update... Not sure how I am going to test this.

I also see that there is just the Python SDK has been updated for API 7, and that's not in the main branch. I have reached out to that project to see if there is a reason for that.

@tinodo
Copy link
Contributor Author

tinodo commented Mar 4, 2024

Thanks! Love the direct response!

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