Read the statement by Michael Teeuw here.
Graph module
-
@feedparakeet Thanks for sharing. I have really tried to remove the Grafana header but it wont work. Were able to replace the grey with black. Would it be possible for you to share your css files. Tried every setting in Grafana but it does not seem to be any good way to remove the header. Is the css files you have modified only for the snaphots and shared graphs?
-
@planet4 , what I did is:
cd /usr/share/grafana/public/css find . -type f -exec sed -i.bak "s/141414/000000/g" {} \;
This command creates a .bak files with the original content of each modified file in case you would like to turn everything back.
Then, I enabled General-Dimentions-Transparent for each graph. And enabled General-Toggles-Hide controls for a dashboard.
My grafana’s header automatically goes away in few minutes if I don’t touch anything or move mouse. But even if I don’t see grafana’s grey header line, I can still see grafana’s orange-colored label.
Does your grafana’s grey header goes away if you don’t touch anything for 5 minutes? If not, then you should update to a new version. This feature is quite new. -
I wrote a little blog post, to describe how to use Influxdb and Grafana to build a weather chart. It’s available here.
-
@SvenSommer Very nice! I will try this as soon as I have reinstalled my old RPI. I have used the database to get info from home assistant so I can display graphs from my z wave sensor. However I am just wondering how it can display the graph as Grafana have a login page with password. Do I have to do something special in order to make this work.
-
@planet4 The tutorial explaines how to enable authentication via http to access influxdb without login.
[…]
You’re changing parts of the configuration file/etc/influxdb/influxdb.conf
[http] enabled = true bind-address = ":8086" # change to a specific interface if needed auth-enabled = true # will enforce authentication ...
To access your Grafana graphs remotely, you can use the share option to get a public accessible link. The same url uses MMM-GrafanaChart to show the graph on the mirror.
Let me know if you ran in any problems…
-
@planet4 if you want to see Grafana’s charts without login\password, you should turn on anonymous access.
Edit /etc/grafana/grafana.ini
[auth.anonymous] enabled = true org_name = FeedParakeet org_role = Viewer
Then you should go to Grafana’s GUI - Profile settings and set the “Name” field equal to the “org_name” value.
Your graphs will be visible to anyone. But it wil be impossible to change anything without loging in.
-
@feedparakeet
I think there is even a better way. You can share each panel individually.
http://docs.grafana.org/reference/sharing/ -
@SvenSommer wow, it works even easier, thanks
-
Ok, Almost there. The gauge shows perfect on my mirror. Influx and Grafana is setup. I get the data from this sensor. http://aeotec.com/z-wave-sensor.
However I still get the grey/brown background on the mirror. Tried to set it to transperant and also modified the css files as described in a post before here. It is just not black. Any smart ideas?
-
@planet4 I’m glad to hear, everything worked out as expected.
-
If you want to do me a favor. Please let others know in the module teaser thread, you were able to use the module. So maybe other lose their fear. ;)
-
I had a look at changing the background color by inverting the colors of the “white” theme. Didn’t worked out, cause it’s no real white neither.
-