-
Notifications
You must be signed in to change notification settings - Fork 703
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
BRAVO! Working on my Synology NAS in minutes! #78
Comments
I'm also a fan. Architecture is really nice. Postgress is stable. Standard grafana instead of homegrown UI is also a great choice! |
Sounds cool. I'd like to get this running on my Synology NAS, but I'm a complete Newb at this - did you have to install/config grafana, PostgreSQL, etc first, or do the commands above do it all? Thanks! |
@AmpManNC it’s as easy as the steps I mentioned. Google for how to install Docker and if you don’t have SSH enabled on your Synology. I created the docker-compose.yml file on my PC first then copied it to my Synology. Then I used SSH to move it to the folder I mentioned. Then just follow the rest! I was up and running in 10 minutes |
Thanks! Will give it a go... |
I got a bash shell on my grafana docker and see the time is UTC. I'm wondering if it didn't take my TZ=America\Los Angeles (I do have a space in the .yml file, too). How do I go about changing the TZ now that things are up and running? |
I think you'll need a |
You can do that or you can restart it from the shell. |
By shell, I mean from ssh, not from the UI.
|
Gotcha! A one-hitter-quitter restart of all images... makes sense... grafana@f9afbdd81bb8:/usr/share/grafana$ date doesn't seem to re-read the docker-compose.yml file with any TZ changes... |
@natrlhy Awesome, thanks!
Yes, upgrading should be as easy as running At some point, a version 2.0 will be released which will include some breaking changes e.g. removal / introduction of environment variables. But that won't happen until it's really necessary.
I think changes to the environment require |
Good to know @adriankumpf . I was under the impression that a simple restart would do it, but I guess not! |
Now that I've thought about it, you don't necessarily need to set the timezone for the grafana container. The web interface will show you the date based on your current browser settings. |
docker-compose down && docker-compose up -d didn't change the TZ either as the container still sees UTC. Good to know! Thanks! |
@natrlhy - Thanks for your help on this. I got it working on my DS218plus, and it's pretty slick. Have you managed to get the Tasker/"PUT" solution working, to handle the situation where you resume driving the car while TeslaMate is in its 21 minute allow-the-car-to-fall-asleep mode? I've looked through various Synology help pages regarding allowing app access from the internet for needs such as this, but am a bit befuddled about how to go about it... |
Sorry for the dumb question - but to get this going, I don't need to clone the repo or install the DB, etc separately - just have the docker yaml file and then kick it off? |
You’ll need docker and docker-compose : https://docs.docker.com/compose/gettingstarted/
Nirmal Mehta
… On Aug 12, 2019, at 7:08 PM, Amit Bahree ***@***.***> wrote:
Sorry for the dumb question - but to get this going, I don't need to clone the repo or install the DB, etc separately - just have the docker yaml file and then kick it off?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Oh yes of course - sorry, I should have outlined that. |
Then the answer to your question is yes :)
Nirmal Mehta
… On Aug 12, 2019, at 9:40 PM, Amit Bahree ***@***.***> wrote:
Oh yes of course - sorry, I should have outlined that.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Technically the answer is - no, you don't need to clone the repo or install the DBs, etc. you just need to run the docker.yml having edited it for your environment ;-) |
Correct, modify the docker-compose.yml file to your liking and run |
@natrlhy - I think I'm missing something obvious. I copied your steps but feel like I'm not doing one thing to make this work. This is on a Synology DS918+ by the way This is by far no issue at all. I just wanted to say THANK YOU for an awesome project! I, too have a Synology NAS server. I followed these steps to get it working QUICKLY:
I did this with TextEdit on a Mac which added a rtf to the end (I removed the extra extension when I moved the file to the Synology folder) |
Before asking for help, I'll try to help :) {noformat} I believe it should be : {noformat} / not \ |
On my Synology, from the simple docker-compose file, I left it as-is. When teslamate comes up I get messages saying role 'teslamate' doesn't exist, etc. I am unclear how to fix this, I thought teslamate at boot would be able to access the db and create roles/schema. I tried the advanced one and same thing. Any help is welcome. Thank you for documenting this. |
This is by far no issue at all. I just wanted to say THANK YOU for an awesome project! I, too have a Synology NAS server. I followed these steps to get it working QUICKLY:
I modified the VIRTUAL_HOST= to point to the IP of my NAS and TZ=America\Los Angeles
Set the password for the DATABASE_PASS parameter
Within minutes, I went to http://mynasip:4000 and entered my mytesla credentials. Then went to http://mynasip:3000 and boom! Grafana was up and running, too!
I really appreciate how slick this is and how easy it was to setup!
Is upgrading as easy as:
docker-compose pull and restart with docker-compose up -d again? Or do I have to shutdown the instances first then run a docker-compose pull command?
Looking forward to more features if more come along! Maybe this can rival teslafi.com ;) Seems like it has most everything already
The text was updated successfully, but these errors were encountered: