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

Update and discussion regarding next version of the plugin (6.0) #696

Open
tavicu opened this issue Sep 23, 2024 · 8 comments
Open

Update and discussion regarding next version of the plugin (6.0) #696

tavicu opened this issue Sep 23, 2024 · 8 comments
Milestone

Comments

@tavicu
Copy link
Owner

tavicu commented Sep 23, 2024

Hello,

Those who follow the plugin probably already know that I am working on a new version where all the code is rewritten from scratch.

Because we have never discussed this matter and always vaguely specify in the comments about this migration, I decided to make a new post.

Why this migration?

In recent years, many packages used by the plugin have switched to a new structure (ESM), which no longer allowed those who used the old structure to update. Thus, the plugin ended up having old packages where both security and performance problems can appear.

At the same time, the plugin started from something trivial (power on/off) and ended up having so many features that were implemented how it was possible at the time. Now having a defined list of features, things can be cleaned and structured much better.

I also discovered improvements that can be done but that cannot be implemented with the current logic.

What's new in this version?

I won't go into detail about everything that will change, but only what is most important. There will be a much more detailed list when the first beta tag is released.

In short, there will be massive improvements in performance and reliability. This will lead to a better synchronization between TV and what's in Home app and also the main accessory and the inputs/custom switches.

The most important thing is that I discovered a new method to check the state of the TV. A method that brings the update as soon as the state of the TV changes and that works perfectly, without any false results when the TV is in a standby state.

I also discovered a way to control the volume of the TV. Something that allows us to take the volume level and also set an exact volume (all local, without the need for smartthings). In addition to the current functionality, I will also add the possibility of having a brightness slider that will control the volume of the TV.

I also plan to improve the configuration interface of a TV from the administration interface.

Other things:

In the future, the main focus will be for the plugin to work 100% locally and without the need for external APIs for the basic functionalities.

Because the focus is to have a version as soon as possible, more than likely in the first version I will not be able to integrate the functionality with Frame TVs. So in the first phase, a version without support for Frames will be released, and from that point I will buy Frame TV and implement the api.

Further:

I have been working on this version for some time, but unfortunately my time was very limited and morale was also quite low.

Initially, I had proposed that at the end of September to have a beta version, but for personal reasons I will miss this deadline. I hope not by much, but I can't make any promises, this period being very busy for me at work.

This week I will modify the current plugin to be compatible with Homebridge 2.

If you have any questions, please write and I will try to answer them all :)

Thank you for your attention and understanding, I wish you an easy week.

@tavicu tavicu added this to the ESM Version 6 milestone Sep 23, 2024
@tavicu tavicu pinned this issue Sep 23, 2024
@MarkBarbieri
Copy link

Thanks for keeping this going. Happy to help with testing!

@Cristov9000
Copy link

Thanks for the update! Very excited for the new version, we use this plug-in every night and it's been great! I have a new and old version of the Frame TV and happy to help with testing.

@raphtabe
Copy link

raphtabe commented Oct 7, 2024

Thanks for the update !
Your work is very appreciated !

@jonnyborbs
Copy link

Excited to hear this! Look forward to what’s next - just came to see if there were plans to certify for Homebridge 2.0 but this is even better (still might need to certify the existing plugin in the meantime though)

@Mayo99
Copy link

Mayo99 commented Nov 1, 2024

Love your plugin... Been using it previously with Homebridge running on Apple Mini, recently migrated to HOOBS running on Orange PI. I now have 4 Samsung Tizen TV's that I use with Apple HomeKit, a few with scenes, Other, than a few hiccups once in a while, it works better for me on HOOBS, than native on Homebridge. Besides I now have a few more Plug-In that actually work under HOOBS. I can't wait for v6, I'm tired of having to open Samsung Smarthings at least once a month, to ensure stuff works. Maybe I'll join the Beta team, but I've done my share of Beta over the years and have a lot less hair because of it :-).

@jamesbull
Copy link

Keep up the great work @tavicu! Let us know how we can help you.

@tavicu
Copy link
Owner Author

tavicu commented Nov 6, 2024

Keep up the great work @tavicu! Let us know how we can help you.

Hi James.

I did not test the frame API since I don't own a frame TV.

Right now I am very busy at the work with black friday period but after this things should clear up and I plan to buy one to finish the development.

The first release of v6 will not have art mode support for sure. The priority is to have the base plugin tested and working without problems. Then focus on art mode.

Unfortunately everything is going slow because my free time is very limited. The only time I have available is after work and I do prefer to stay with my family (probably others that have small childrens will understand). Also it doesn't help that 2 of my 3 samsung tvs just broke down. Now the remaining one is on another floor than my office so developing and testing is very hard in this situation ...

@JasonGoldenDDT
Copy link

Thank you for your work on this plugin. I appreciate the drain on resources development can be. Happy to help with testing!

Just a heads up, in the event you haven't seen this. Our 2023 QN90C TV is prompting for a significant OS update we can't roll back. Version 6500 from the update screen.

IDK if this is within your scope at this stage, I've delayed updating as I don't know how it could break my current automation with this plugin.

https://www.tomsguide.com/tvs/samsung-rolls-out-oneui-to-millions-of-tvs-heres-everything-new-on-your-samsung-tv

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

8 participants