Re: FlatZ Frontpage
Posted: Sunday 11 October 2015 13:30
Yes! They were all Axis camera's so after investigation I found that adding /mjpg/1/video.mjpg tot the IP and port it works!
Yes nothing on that page. I think a better solution is the we can put other weather items on the page, a bit like the camera page.SwordFish wrote:Its seems that the weather is offline. I have nothing on the weathertab? It did work.
Are there others with the same issue?
Seems like the openweathermap now requires an apikey..SwordFish wrote:Its seems that the weather is offline. I have nothing on the weathertab? It did work.
Are there others with the same issue?
Code: Select all
api: "yahoo", //default: openweathermap (openweathermap or yahoo)
Thanks for the heads up, ill look into thisSweetPants wrote:Guys,
Is it possible to make the used icons (and maybe other items too) unique compared to domoticz? Just had a conflict that messed up the regular domoticz energy graphs when copying the frontpage to my server. see http://www.domoticz.com/forum/viewtopic.php?f=6&t=8486
Problem solvedAnother question, i can open de the domoticz dahboard on my iphone from outside the house (on 3G/4G) but when i try to open frontpage it won't load the data?
Is there something that I mis?
Great!bluepi wrote:Started updating and playing with the css forked a copy to add date (not sure if that was the right thing to do?)
Working on a couple of themes for this and some tweeks to the dimmer functions
so 'graph1' matches with the id of the div above h4 cell7 in the graph.html?lukev wrote:I'm almost there... I suppose...
I can give this http command:
which results in this output (shortened...)Code: Select all
http://192.168.1.153:8084/json.htm?type=graph&sensor=counter&method=1&idx=139&range=day
I've set up this line in settings.js:Code: Select all
{ "d" : "2015-11-03 21:05", "eu" : "11583", "r1" : "0", "r2" : "0", "v" : "1164", "v2" : "96" }, { "d" : "2015-11-03 21:10", "eu" : "11820", "r1" : "0", "r2" : "0", "v" : "2844", "v2" : "0" }, { "d" : "2015-11-03 21:15", "eu" : "12074", "r1" : "0", "r2" : "0", "v" : "3048", "v2" : "0" }, { "d" : "2015-11-03 21:20", "eu" : "12314", "r1" : "0", "r2" : "0", "v" : "2880", "v2" : "0" }, { "d" : "2015-11-03 21:25", "eu" : "12381", "r1" : "0", "r2" : "0", "v" : "804", "v2" : "0" } ], "status" : "OK", "title" : "Graph counter day" }
But there is no output whatsoever....Code: Select all
// Graph screen User settings >>> (max 3 on screen) //format: idx, value (from json), replace label, description, chart label, chart color $.GraphTemperatureArray = [ //graph screen (3 fields) ['139', 'counter&method=1', 'day', 'cell7', 'Stroomverbruik (Watt)', 'graph1', '#b2c831', 'v'],
Code: Select all
<!-- DONUT CHART -->
<div class="col-sm-3 col-lg-3 largemobilefix" >
<div class="dash-unit" style="height:190px;">
<dtitle id="desc_cell7"></dtitle>
<hr>
<div id="graph100" style="height: 13em;margin: auto;margin-top: -17px"></div>
<h4 id="cell7" style="margin-top:-35px;></h4>
<span class=" text" id="cell70" style="margin-top:-5px;float:right;padding-right:10px;font-size: 10px;color: #9E9E9E; "/>
</div>
</div>
Thanks for reminding meSwordFish wrote:And maybe put in scenes
I really want to help. But I have no codingsskillsgaladril wrote:Thanks for reminding meSwordFish wrote:And maybe put in scenes
I've put FlatZ frontpage on github, so you could help me on implementing scenes...
I've added scenes / groups.SwordFish wrote:I really want to help. But I have no codingsskills
Thanks very much. I will try this when I get homegaladril wrote:I've added scenes / groups.SwordFish wrote:I really want to help. But I have no codingsskills
https://github.com/galadril/FlatZ-Frontpage
You can add them as switch:
['1', 'Status', 'cell111', 'Group Example', 'group'],
['1', 'Status', 'cell111', 'Scene Example', 'scene'],
hope you like it