Page 150 of 184

Re: connection problem

Posted: Tuesday 14 November 2017 20:02
by robgeerts
What type of login did you enter in Domoticz (Settings), shoudl be Basic Authentication...

Re: Dashticz - General Discussions

Posted: Tuesday 14 November 2017 20:42
by aiolos
evandenboom wrote: Tuesday 14 November 2017 16:21 Thanks for the quick response. But unfortunately still no icon.
Use

Code: Select all

blocks['64_2']['icon'] = 'fa fa-sun-o';
(Note the extra fa)

Looks like there is a small bug in this. I might look into it later, right now I have quite some changes in the whole graphs stuff. I noted some missing units (so displaying '?') and some more small issues.

Re: connection problem

Posted: Tuesday 14 November 2017 22:03
by FrankDutch
then i get the popup on the tablet but there is no connection with Domoticz. No buttons

Re: connection problem

Posted: Tuesday 14 November 2017 22:15
by robgeerts
Maybe I can assist you tomorrow via Teamviewer?

Re: connection problem

Posted: Tuesday 14 November 2017 22:21
by FrankDutch
that is alright
we kan talk Dutch then lol
tommorow evening i have to work tomorrow

Re: Dashticz - General Discussions

Posted: Tuesday 14 November 2017 22:50
by evandenboom
@aiolos Thank you. That was the tip I needed. Seems to work fine.

Re: Dashticz on tablet in fullscreen

Posted: Wednesday 15 November 2017 14:06
by EdwinK
Screen Shot 2017-11-15 at 14.05.33.png
Screen Shot 2017-11-15 at 14.05.33.png (10.61 KiB) Viewed 1592 times
Isn't this button not doing the same?

Re: Dashticz - General Discussions

Posted: Wednesday 15 November 2017 14:13
by EdwinK
I just have 'fa-sun-o' without the need of an extra 'fa' tag.

Re: Dashticz on tablet in fullscreen

Posted: Wednesday 15 November 2017 15:57
by aiolos
Exactly, I just implemented that a few days ago :)

It indeed needs user interaction, luckily I would say, since otherwise websites could just go fullscreen by themselves.

Re: Dashticz - General Discussions

Posted: Wednesday 15 November 2017 15:59
by aiolos
EdwinK wrote: Wednesday 15 November 2017 14:13 I just have 'fa-sun-o' without the need of an extra 'fa' tag.
Is that in a block without an underscore?

Re: Dashticz - General Discussions

Posted: Wednesday 15 November 2017 17:02
by EdwinK
It is indeed in one without an underscore.

Re: Dashticz - General Discussions

Posted: Wednesday 15 November 2017 18:58
by aiolos
EdwinK wrote: Wednesday 15 November 2017 17:02 It is indeed in one without an underscore.
A fix for this is available in the pull request I just made.

Re: Dashticz - General Discussions

Posted: Wednesday 15 November 2017 19:02
by EdwinK
I'll wait till Rob has included it in his beta

Re: Dashticz - General Discussions

Posted: Wednesday 15 November 2017 20:47
by robgeerts
Check latest beta :)

Re: Dashticz - General Discussions

Posted: Wednesday 15 November 2017 20:57
by woody4165
Thanks @robgeerts
Now the graph work and shows temp and hum.
But not for all sensors... :? :roll:

I have these two sensors, first is an ESP8266 with ESPEasy with a DHT11

Code: Select all

  "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "12.0 C, 25 %",
         "Description" : "",
         "DewPoint" : "-7.45",
         "Favorite" : 1,
         "HardwareID" : 14,
         "HardwareName" : "various",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : false,
         "Humidity" : 25,
         "HumidityStatus" : "Normal",
         "ID" : "140CD",
         "LastUpdate" : "2017-11-15 20:51:11",
         "Name" : "TempPatio",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "THGN122/123, THGN132, THGR122/228/238/268",
         "Temp" : 12.0,
         "Timers" : "false",
         "Type" : "Temp + Humidity",
         "TypeImg" : "temperature",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "xxx"

and the second is the Netatmo Temp

Code: Select all

    "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 96,
         "CustomImage" : 0,
         "Data" : "20.4 C",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 6,
         "HardwareName" : "Netatmo",
         "HardwareType" : "Netatmo",
         "HardwareTypeVal" : 54,
         "HaveTimeout" : false,
         "ID" : "1AC7",
         "LastUpdate" : "2017-11-15 20:42:38",
         "Name" : "NetatmoTemperatura",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2, 8 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : 10,
         "SubType" : "LaCrosse TX3",
         "Temp" : 20.399999999999999,
         "Timers" : "false",
         "Type" : "Temp",
         "TypeImg" : "temperature",
         "Unit" : 199,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "xxx"
      },
    
In both case I see this kind of window:

Image

Sorry to bother you!!! :)

Re: Dashticz - General Discussions

Posted: Wednesday 15 November 2017 21:06
by aiolos
Good to hear it works, partly ;)
I also have a device with sort of that issue, that one has no data for the selected period, however, it looks like you have selected the last month, so that should have some data I can imagine.
Does one of the buttons give a result? And what does the same sensor look like in Domoticz itself? I'll investigate also my own device, see if I can find out more.

Re: Dashticz - General Discussions

Posted: Wednesday 15 November 2017 21:14
by woody4165
Ops, another thing.
I don't see anymore the OWL graph, electricity stuff.
Before last beta update was working fine.

This is the device

Code: Select all

       "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CounterToday" : "9.395 kWh",
         "CustomImage" : 0,
         "Data" : "35.410 kWh",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 15,
         "HardwareName" : "RFxxx",
         "HardwareType" : "RFLink Gateway USB",
         "HardwareTypeVal" : 46,
         "HaveTimeout" : false,
         "ID" : "00000009",
         "LastUpdate" : "2017-11-15 21:12:55",
         "Name" : "Owl",
         "Notifications" : "false",
         "Options" : "",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "kWh",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "General",
         "TypeImg" : "current",
         "Unit" : 1,
         "Usage" : "2350.0 Watt",
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "xxx"
    
Thanks

Re: Dashticz - General Discussions

Posted: Thursday 16 November 2017 0:29
by aiolos
Ok, looks like the output of domoticz is not very consistent with the various kWh subtypes :(

Can you still see the values in the blocks? Can you check the console output if you open the developer tools? (Press F12, and click the button/tab with 'console'.

Re: Dashticz - General Discussions

Posted: Thursday 16 November 2017 11:55
by aiolos
I created a new PR for Rob, this might solve some problems with graphs for various device types. I cannot reproduce the above problems with devices with the same type and subtype, so there might still be missing something.

If you experience problems, please give as much info as possible:
- The device information from domoticz (as already given most of the time)
- How do you add the device in the config, with or without the underscore to select only one block
- Is the block clickable or not?
- Which of the graphs are not showing, all, of just one or 2 of them?
- Does the console in the developer tools of your browser show any error (hit F12, or right click on the element en select 'inspect', the way this works depends a bit on the browser)
- Is there any data in the graphs in domoticz? If it's a flat line there (so only an old value or someting) no graph shows up in dashticz
- Does a previous version of dashticz show the graph in the right way (or maybe even no graph at all)? I saw some graphs that were not showing the right information, since lines were stacked. Also, for some types blocks were not clickable.

I did quite some changes in the whole graph stuff to make it work for the device types I had issue with. However, I maybe don't have all the device types other have and domoticz can give different structures back for the different device types.

Re: Dashticz - General Discussions

Posted: Thursday 16 November 2017 15:23
by Stepdes
Hi all, i gave a question about the hover effect on the buttons.
like you see on the image below, after activating the button, the hover effect maintain, just until you touch another button or empty space on the screen.
Is it possible to avoid that with some css code?
I'm running the latest Beta.
I would really appreciate any help on this.

IMG_2720.jpg
IMG_2720.jpg (323.38 KiB) Viewed 2083 times