Replies: 14 comments 48 replies
|
I'd be happy to take a look at Elixir PRs and help with general administration if you still need volunteers. |
|
I will generally be around. Elixir took me about five tries to spell correctly. I can review code today and add / modify for new features. But it will be buggy as hell. Regardless, will be active in discussions, issues and around. Better in Grafana / SQL. |
|
My observation is the MQTT support in Elixir is in a very sad state. Tortoise which Teslamate uses, has not received any updates in the last two years, and is stuck on MQTT 3.1 with MQTT 5 support being very experimental. There is a fork but I think it is bug fixes only. But maybe we should seriously considering switching to that that anyway. The Erlang emqtt library is better, but needs extra code to ensure the connection stays up (I have written and published such code), and has various support issues also (such as the hex.pm version is old, problems sending keep alives frequently enough not to get disconnected by the server, etc). And I have seen issues in TeslaMate where the Elixir process can die (and auto restart) because something unexpected/untested happened, e.g. the Tesla API returns an unexpected response. Which might be OK, but doesn't fill me with confidence. When the process dies, that means all data that the process was keeping track of is lost. At the risk of becoming unpopular, wondering if anybody else would be interested in participating with a complete rewrite of this project in another language. Rust is my preferred language for the task. It has strong compile time checking, which will lead to higher confidence the code is working as designed. I think this is very important for Teslamate. Ideally this would support the same database schema, same MQTT protocol, etc. There are some things really like about Elixir, e.g. live views, etco. But I think these aren't really key features for teslamate. (and I notice that @adriankumpf's tesla_auth app is written in Rust also...) I don't have a huge amount of time, but do have minimal working rust code to talk to Tesla API: https://github.com/brianmay/robotica-rust/blob/main/robotica-backend/src/services/tesla/api.rs (most important missing part is streaming support - seeing as I currently use Teslamate for that...). |
|
Hi, if you still need maintainers, I'm interested in helping you move forward, I do a lot of DevOps. I must surely be able to help with:
Indeed, maintaining the Elixir code seems to be the most complex part and I am not an expert. Finally, I can offer financial support if there is a need for licenses or others. PS: I also have access to the Fleet API etc. I am thinking about integrating Teslamate into this new ecosystem. |
|
So we have:
|
|
volunteering for Docker, CI/CD, home assistant, and general project management stuff, can try to review PRs but I know nothing about elixir as java is my expertise |
|
So there have been a lot of merging now. is the docker image from the documentation still valid? Is that to keep in my docker-compose? |
|
I'd like to test PR's in advance. How would I get an image locally, where I could make changes and run with that? |
Sounds good!
Hmmm, what needs to be done on org level? I cannot add members there, probably only the owner can. That is @adriankumpf ... |
|
All PR are labeled now, quick wins were merged. |
|
Might be opening a can of worms here, but:
This is the most activity I have seen in TeslaMate since 2019 / 2020 and am super excited. But want to make sure it is methodically done. |
|
@DrMichael I've opened this topic #3513 Let me know what you think. It's something we should consider when approving the PRs. |
|
Follow-up, two years on: the direction discussed here has been decided and is documented in #5558 — modular data sources with an explicit event contract, and the core moving to Rust. That thread covers what is decided, what is still open, and how it will be sequenced. If you're subscribed here because you care about where the core is going, that's the thread to follow now. |
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone! As we know @adriankumpf is ceasing development of this fantastic app going forward. With that said, we need to determine who if anyone can take more responsibility for this project going forward. While I myself am great on the SQL side, I know next to nothing about elixir.
I'd like to see who if anyone can step up to assist with which portions of this project. If someone wants to totally convert this over to python, I can help out more! Kidding.... I think.
Some ideas:
Dashboard/SQL - @Dulanic @DrMichael , others?
Elixir - ??
Other portions I haven't thought of: ?
If you would like to assist, please speak up here and we can start to focus on how this project will continue going forward. If anyone else would like to take this discussion over, let me know! :)
I am going on vacation in a few days and won't have a lot to say until December.
All reactions