Page 7 of 12

Re: FlatZ Frontpage

Posted: Sunday 11 October 2015 13:30
by Ierlandfan
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!

Re: FlatZ Frontpage

Posted: Sunday 11 October 2015 15:32
by SwordFish
Its seems that the weather is offline. I have nothing on the weathertab? It did work.
Are there others with the same issue?

Re: FlatZ Frontpage

Posted: Sunday 11 October 2015 19:11
by mikeoo
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?
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.

Re: FlatZ Frontpage

Posted: Monday 12 October 2015 9:33
by galadril
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..
http://openweathermap.org/faq#error401

You could switch to the yahoo weather api by changing the next lines in the weather.html:

Code: Select all

api: "yahoo", //default: openweathermap (openweathermap or yahoo)

Re: FlatZ Frontpage

Posted: Monday 19 October 2015 19:30
by SweetPants
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

Re: FlatZ Frontpage

Posted: Wednesday 21 October 2015 9:18
by galadril
SweetPants 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
Thanks for the heads up, ill look into this

Re: FlatZ Frontpage

Posted: Wednesday 21 October 2015 9:46
by galadril
I've changed some thing for:
- better mobile view / navigation
- Push On buttons for the Switch panel

Re: FlatZ Frontpage

Posted: Wednesday 21 October 2015 13:57
by pvm
Nice development, is it possible to create a gui to configure this dashboard and integrate it into a standard Domoticz delivery?

Re: FlatZ Frontpage

Posted: Thursday 22 October 2015 16:12
by SwordFish
@galadril
Are still working on adding scenes to the frontpage? I really mis that right now.

Edit;
Another 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?
Problem solved

Re: FlatZ Frontpage

Posted: Thursday 05 November 2015 19:16
by bluepi
Love this theme.Thank you.

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

Re: FlatZ Frontpage

Posted: Friday 06 November 2015 9:11
by galadril
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
Great!
So you made a new branch ?

Re: FlatZ Frontpage

Posted: Friday 06 November 2015 9:15
by SwordFish
And maybe put in scenes :)

Re: FlatZ Frontpage

Posted: Friday 06 November 2015 9:20
by galadril
lukev wrote:I'm almost there... I suppose...

I can give this http command:

Code: Select all

http://192.168.1.153:8084/json.htm?type=graph&sensor=counter&method=1&idx=139&range=day
which results in this output (shortened...)

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"
}
I've set up this line in settings.js:

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'],
But there is no output whatsoever.... :cry:
so 'graph1' matches with the id of the div above h4 cell7 in the graph.html?


for me:

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>
with settings:
['58', 'counter&method=1', 'day', 'cell7', 'Zonnepanelen (Watt)', 'graph100', '#b2c831', 'v'],

- So the div (<div id="graph100") gets the graph
- cell7 gets the description text

Re: FlatZ Frontpage

Posted: Friday 06 November 2015 9:21
by galadril
SwordFish wrote:And maybe put in scenes :)
Thanks for reminding me ;)
I've put FlatZ frontpage on github, so you could help me on implementing scenes...

Re: FlatZ Frontpage

Posted: Friday 06 November 2015 9:23
by SwordFish
galadril wrote:
SwordFish wrote:And maybe put in scenes :)
Thanks for reminding me ;)
I've put FlatZ frontpage on github, so you could help me on implementing scenes...
I really want to help. But I have no codingsskills

Re: FlatZ Frontpage

Posted: Friday 06 November 2015 10:54
by galadril
SwordFish wrote:I really want to help. But I have no codingsskills
I've added scenes / groups.
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 :roll:

Re: FlatZ Frontpage

Posted: Friday 06 November 2015 10:57
by SwordFish
galadril wrote:
SwordFish wrote:I really want to help. But I have no codingsskills
I've added scenes / groups.
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 :roll:
Thanks very much. I will try this when I get home :D

Re: FlatZ Frontpage

Posted: Friday 06 November 2015 16:43
by SwordFish
Its works verry well. But i noticed that you had the url to the icons up and down for the ventilation changed in the methods.js.
Is it possible to give the "buttons" for the scene when they are off the same color as the button from the switch when they are off?
Now is the color the same as the on button from the switch.
And is het possible to cut cell7 in 2 so that you can have humanity and temp of the same room under each other?
But again thanks for adding scenes to the frontpage.

Re: FlatZ Frontpage

Posted: Thursday 12 November 2015 16:19
by woods
Thanks for the great work!

Is there any way I can make another page containing info? As a user of public transport, I would rather use real time status on my nearest tram/metro stop, then traffic.

The site url: http://mon.ruter.no/monitor/3010512/Sch ... imdalsgata

Thanks for any suggestions!

Re: FlatZ Frontpage

Posted: Monday 16 November 2015 23:38
by markiemajax
Hello,

I am trying to add a page for my Evohome room temperatures.
I made an extra page, witch is called "Temperature". I have 6 temperatur blocks, just like in the frontpage (donut chart).
In the frontpage it is used for "woonkamer".

But i can't get any data in the blocks.

Does anyone have an idea? I made a temperature.html and i changed the settings.js.