I know how to make it higher but that will then just cut off the top of your logo. As you can see I did try and make some minor changes, I made it s bit smaller and higher to stop the overlap and added a slight slant by mistake but you’ll probably have to figure out the black magic behind how svg work. I’m pretty sure other people has a similar problem/weird problems in relation to svg, have a search.
I want to implement a “Direct Link Rendered Image” into my Habpanel.
Problem is, that the background is black from the dark theme or white from the light theme.
The solution to implement the css file into the inde.html does not work.
I do not know why.
I saw that there are some other guys with the same problem.
Did someone solved this problem and can share a more detailed instruction?
Just got Grafana and Influx running on my openHAB setup. After fighting with figuring out how to get graphs to show, I learned an frame can also be used to display graphs. I had to set the height to 200, as opposed to 100 which is what pmpkk’s original code has or else the graph is too “squished”. Left graph is using the original code style, the center is using an iframe. You can also hover over the graph and get pop up info just like when viewing in Grafana. It doesn’t match perfectly the Matrix Theme style, but this is just a starting point…
Code:
Nice. I have it set up so it just displays an image, but then if you mouseover it switches to an iframe. Then some other code to revert if you click outside the graph.
Stick the following somewhere in the containing section and group.
ng-init="livingroomImage=true"
ng-click="livingroomImage=!livingroomImage"
Then most of it works here.
<div class="graph" ng-mouseover="livingroomImage=false">
<a href="http://debra:3000/d/g6HYQROmk/flat-temperatures?orgId=1&from=now-36h&to=now&panelId=7&fullscreen" target="_blank">
<img ng-if="livingroomImage" width="480" height="240" src="http://ip:3000/render/d-solo/ncr_U6viz/temp?orgId=1&from=now-36h&to=now&var-HueKitchenTemp=0&panelId=6&width=480&height=240&tz=Europe%2FLondon"></img>
<iframe ng-if="!livingroomImage" style="background-image: url('http://ip3000/render/d-solo/ncr_U6viz/temp?orgId=1&from=now-36h&to=now&var-HueKitchenTemp=0&panelId=6&width=480&height=240&tz=Europe%2FLondon');" width="480" height="240" frameborder="0" ng-src="http://ip:3000/d/sdasdasak/flat-temperatures?orgId=1&from=456456&to=5466456&panelId=7&fullscreen" ></iframe>
</a>
<div class="legend">Last 24 hours</div>
</div>
I have the problem, that I cannot see the 3 rows on my ipad in one column.
I can only see the first two rows and the third below both.
I tried to to change the css, but without success.
You have probably answered a simular question, or got it somewhere in your dokumentation, i hsve overread it, but on your first picture you have got charts, in widgets with other information, atleast that what it look like. My question is how did you get the charts and icons in one widget?
I added a little update. Technology? Very simple, a window contact in the mailbox. If this is triggered, I get in my header an information that has become something in the mailbox.
The problem: You can’t quit it in the header. So I adjusted the icon on every dashboard. So every icon changes as soon as the mailbox has been opened. By clicking on the icon, the information can be confirmed and the icon will again be the normal for the corresponding dashboard.
rule "Briefkasten - Briefe sind da"
when
Item flur_bkasten_state changed to OPEN
then
postUpdate(flur_bkasten_countdatetime, new DateTimeType())
var Number counter
counter = flur_bkasten_count.state as DecimalType
counter = counter + 1
postUpdate(flur_bkasten_count,counter)
sendCommand(flur_bkasten, ON)
sendPushoverMessage(pushoverBuilder("[openHAB - Info] Der Postbote war da! Er war um " + flur_bkasten_countdatetime.state + " da."))
end