saltyorg / Sandbox

Saltbox Sandbox
GNU General Public License v3.0
73 stars 101 forks source link

App Request: Teslamate #361

Closed jcrmit closed 1 month ago

jcrmit commented 6 months ago

Teslamate

What does it do? Why? Please describe.

A powerful, self-hosted data logger for your Tesla.

Links to further information

(https://github.com/teslamate-org/teslamate) (https://docs.teslamate.org/docs/installation/docker) (https://docs.teslamate.org/docs/guides/traefik)

What are you willing to do to help?

Anything else you would like to add.

I am hoping there are other Telsa owners in the group 🤞

saltydk commented 6 months ago

Please fix the urls so they are clickable :p

jcrmit commented 6 months ago

Thanks @saltydk - updated

maindust commented 1 month ago

I picked this up today and have a working version of it but I need testers if anyone is available. https://github.com/maindust/saltySandbox

jcrmit commented 1 month ago

@maindust - I would be happy to help test a new app, but have not do so before and might need some assistance on how to help. If you could let me know how - noting your fork above. How can I install the Teslamate app to test and can I do in parralel alongside live server?

maindust commented 1 month ago

Not sure if this is the way salty wants it done but it's how I transferred it over to my main instance for final testing.

git clone https://github.com/maindust/saltySandbox.git
sudo cp -r saltySandbox/roles/teslamate /opt/sandbox/roles
sudo cp saltySandbox/sandbox.yml /opt/sandbox/
sb install sandbox-teslamate
maximuskowalski commented 1 month ago

Ideally you'd have forked the sandbox repo and then made a branch with your new feature. To test you would switch your local sandbox repoorigin to the fork and then switch branches, for example:

cd /opt/sandbox/ && git remote set-url origin https://github.com/maximuskowalski/Sandbox.git && git fetch && git pull'

This would set it to my fork of the repo, but still on the main branch. You would then want to switch to the feature branch.

git checkout teslaStuff I think you can now "switch-branch" as well but not sure on exact syntax.

Then you can run the role that is being developed in that fork and branch.

maindust commented 1 month ago

That makes sense. What’s in my main branch is the final product that just needs testing before the MR to salty/Sandbox

maindust commented 1 month ago

https://github.com/saltyorg/Sandbox/pull/393 https://github.com/saltyorg/docs/pull/314

owine commented 1 month ago

393

https://github.com/saltyorg/Sandbox/commit/635edb44932a24ad9b5730f730e67ca21b7eddeb