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

Home Assistant #4

Open
DjMayone opened this issue Mar 2, 2024 · 6 comments
Open

Home Assistant #4

DjMayone opened this issue Mar 2, 2024 · 6 comments

Comments

@DjMayone
Copy link

DjMayone commented Mar 2, 2024

I Have a T9 Pro with HomeAssistant OS. Do you tihink it's possible to make an integration?

@thekief
Copy link
Owner

thekief commented Mar 2, 2024

I can definitiely look into that. What do you expect the scope of the plugin to be? I would just expose the flags as options in HA.

Before I can start I want to point out that I am currently blocked by serialport/serialport-rs#156. As soon as it is resolved I will look into it.

@DjMayone
Copy link
Author

DjMayone commented Mar 2, 2024

Thank you! I think will be used by a lot of people using T9 Plus as HA host! My request is so simple: make an on/off button for LEDs inside HA but in the future could be used maybe as notification (different colours triggered to different notification).
I've seen that in Acemagic forum lot of people are looking for LEDs control in Linux, maybe could interest you...

@DjMayone
Copy link
Author

I have a news: a user compiled a script to control RGBs onboard. Could you take a look? https://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/t9plus_mini_pc_rgb_led_control
Thank you!

@thekief
Copy link
Owner

thekief commented May 12, 2024

Your code looks good :)

I am also quite sorry for my late reply. I looked into creating a Home Assistant extension. I created a custom light entity that accesses the serial device and write the new values to them. It is a bit hacky, as I think I am misusing certain attributes. I couldn't finish it though yet, as I was quite busy with life

@DjMayone
Copy link
Author

DjMayone commented Aug 7, 2024

Hello,
anyone that could help about this iussue?
Thank you!

@thekief
Copy link
Owner

thekief commented Aug 8, 2024

I'm really sorry for my late reply, I somehow overlooked the issue.

I looked into it a few months ago but couldn't finish it, due to other things going on. Creating an add-on for HomeAssistant is quite doable. I had some code that extends HA's LightEntity. I'll check if I find it, and maybe get it even properly running.

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