FlatZ Frontpage

Moderator: leecollings

Post Reply
Ierlandfan
Posts: 89
Joined: Friday 09 October 2015 17:40
Target OS: Linux
Domoticz version:
Contact:

Re: FlatZ Frontpage

Post 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!
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: FlatZ Frontpage

Post 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?
mikeoo
Posts: 110
Joined: Sunday 22 March 2015 7:35
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

Re: FlatZ Frontpage

Post 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.
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: FlatZ Frontpage

Post 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)
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
SweetPants

Re: FlatZ Frontpage

Post 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
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: FlatZ Frontpage

Post 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
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: FlatZ Frontpage

Post by galadril »

I've changed some thing for:
- better mobile view / navigation
- Push On buttons for the Switch panel
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: FlatZ Frontpage

Post by pvm »

Nice development, is it possible to create a gui to configure this dashboard and integrate it into a standard Domoticz delivery?
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: FlatZ Frontpage

Post 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
bluepi

Re: FlatZ Frontpage

Post 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
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: FlatZ Frontpage

Post 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 ?
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: FlatZ Frontpage

Post by SwordFish »

And maybe put in scenes :)
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: FlatZ Frontpage

Post 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
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: FlatZ Frontpage

Post 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...
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: FlatZ Frontpage

Post 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
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: FlatZ Frontpage

Post 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:
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: FlatZ Frontpage

Post 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
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: FlatZ Frontpage

Post 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.
woods
Posts: 8
Joined: Friday 30 October 2015 17:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: FlatZ Frontpage

Post 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!
markiemajax
Posts: 17
Joined: Monday 18 May 2015 15:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Contact:

Re: FlatZ Frontpage

Post 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.
Attachments
FlatZ-Frontpage-master.zip
(6.33 KiB) Downloaded 111 times
Last edited by markiemajax on Monday 16 November 2015 23:47, edited 2 times in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest