GithubHelp home page GithubHelp logo

dashticz / dashticz Goto Github PK

View Code? Open in Web Editor NEW
67.0 67.0 35.0 72.43 MB

Alternative dashboard for Domoticz

Dockerfile 0.09% CSS 18.77% JavaScript 68.16% HTML 1.96% PHP 0.54% Makefile 0.90% Shell 1.04% Smarty 8.34% SCSS 0.20%

dashticz's Introduction

Dashticz

Alternative dashboard for Domoticz.

The Dashboard of Domoticz is quite powerful. The disadvantage is that it's only possible to show information known in Domoticz. There is where Dashticz steps in. Dashticz is able to show (almost) all Domoticz information. In addition to that it's possible to show information from all kind of other sources.

Screenshots

alt tag

Installation instructions

See https://dashticz.readthedocs.io/en/master/gettingstarted/

Documentation and support

Documentation can be found on: https://dashticz.readthedocs.io

For additional information and support please visit the Dashticz forum: https://www.domoticz.com/forum/viewforum.php?f=67

Additional info

This currently is the active Dashticz repository. Previous repositories (dashticz/dashticz_v2 and dashticzv3/dashticz_v3) will not be updated anymore.

dashticz's People

Contributors

aalwash avatar adrianmihalko avatar aiolos avatar arjandevries avatar blueone0 avatar clinkadink avatar czacha338 avatar dewgew avatar dt27 avatar ectholian avatar eddy805 avatar frans-beech-it avatar gamuama avatar geertvercamer avatar hansienl avatar htilburgs avatar lokalise-bot avatar lokonli avatar mapledxf avatar michal-adamek avatar mse-5-14 avatar nahall avatar paalkr avatar pietjepuck-132 avatar robvanuden avatar rxmedia avatar stevenboelhouwer avatar ultrara1n avatar wimmme avatar xbeaudouin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dashticz's Issues

Autosetup on RPI: Sub-process /usr/bin/dpkg returned an error

From dashticz_v3 created by Marmachine: dashticzv3/dashticz_v3#21

Finding a free port for Dashticz
Port 8082 is NOT in use

Setting up Dashticz on port 8082

Let's install docker first
wget -qO- https://get.docker.com/ | sh

Executing docker install script, commit: 6bf300318ebaab958c4adc341a8c7bb9f3a54 a1a

  • sudo -E sh -c apt-get update -qq >/dev/null
  • sudo -E sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
  • sudo -E sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | ap t-key add -qq - >/dev/null
    Warning: apt-key output should not be parsed (stdout is not a terminal)
  • sudo -E sh -c echo "deb [arch=armhf] https://download.docker.com/linux/raspbia n stretch stable" > /etc/apt/sources.list.d/docker.list
  • sudo -E sh -c apt-get update -qq >/dev/null
  • [ -n ]
  • sudo -E sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/n ull
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Makefile:19: recipe for target 'testdocker' failed
    make: *** [testdocker] Error 100

Trying Domoticz IP...OK!
All done

Dashticz doesn't load blocks without internet

Heyo,

Could you possibly make Dashticz load when internet is down or unavailable? Currently, without internet, it just loads to a black/blank screen after it says "Dashticz v3 is loading." I've tested on multiple browsers and devices. I assume things like icons require could require internet for fontawesome or some such, but it would be great if the blocks would load anyway and still function with a lan connection to Domoticz.

Thanks for looking into it!
v3.1.0

RSS reader scrolling stops after comming back from standby mode

From dashticz_v3 created by Pandabeer40: dashticzv3/dashticz_v3#24

Hi there,

I want to help to test new functionality of Dashticz V3 - first 'problem' I found

I have 2 RSS blocks (nu.nl & verkeerplaza.nl) on the main screen - after 1 minute I change to standby screen (also with these RSS blocks - want to be kept informed about the traffic and news ;)) when exiting the standby mode to normal mode by changing mouse/key - main screen is visible but all RSS items are placed under eachother and there is no scrolling animation anymore

Protected-attribute on blocks not working as expected

The protected-attribute does not work.
If I set ['protected']=true; for one block, it will either have no effect on that block or it will affect all of my blocks.

Using the below blocks-config:

blocks[12] = {
	width: 3,
	protected: true
};

blocks[26] = {
	width: 3,
	protected: false
};

After clearing browser cache and reloading Dashticz I am able to switch either all blocks (including block[12]) or I am unable to to switch any block (including block[26]).

Browser console reports 401 Not Authorized on all attempts to toggle switch when it's not working:

plugins.js:28 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
(anonymous) @ plugins.js:28
(anonymous) @ plugins.js:49
jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.min.js:4
ajax @ jquery.min.js:4
loadFiles @ main.js?v=1570310424524:45
(anonymous) @ (index):73
f @ head.js:6
(anonymous) @ head.js:6
(anonymous) @ head.js:6
o @ head.js:6
load (async)
rt @ head.js:6
b @ head.js:6
(anonymous) @ head.js:6
u @ head.js:6
lt @ head.js:6
(anonymous) @ (index):65
jquery.min.js:4 GET http://192.168.1.11:8080/json.htm?username=[removed]&password=[removed]&type=command&param=switchlight&idx=26&switchcmd=Set%20Level&level=32&jsoncallback=jQuery22408475636819673551_1570310424581&_=1570310424585 net::ERR_ABORTED 401 (Unauthorized)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
sliderSetValue @ VM2854:176
slideDeviceExt @ VM2854:203
start @ main.js?v=1570310424524:2293
_trigger @ jquery.min.js:11
_start @ jquery.min.js:17
(anonymous) @ jquery.min.js:11
_mouseCapture @ jquery.min.js:17
(anonymous) @ jquery.min.js:11
_mouseDown @ jquery.min.js:14
(anonymous) @ jquery.min.js:11
(anonymous) @ jquery.min.js:14
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
jquery.min.js:4 GET http://192.168.1.11:8080/json.htm?username=[removed]&password=[removed]&type=command&param=switchlight&idx=26&switchcmd=Set%20Level&level=18&jsoncallback=jQuery22408475636819673551_1570310424581&_=1570310424586 net::ERR_ABORTED 401 (Unauthorized)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
sliderSetValue @ VM2854:176
slideDeviceExt @ VM2854:208
change @ main.js?v=1570310424524:2299
_trigger @ jquery.min.js:11
_change @ jquery.min.js:17
(anonymous) @ jquery.min.js:11
_mouseStop @ jquery.min.js:17
(anonymous) @ jquery.min.js:11
_mouseUp @ jquery.min.js:14
(anonymous) @ jquery.min.js:11
n._mouseCapture._mouseDistanceMet._mouseDelayMet._mouseUpDelegate @ jquery.min.js:14
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3

Use websockets

Howdee folks,

Have you considered using the websocket channel for device updates instead of polling for changes. This greatly reduces network traffic and updates are instant.

Cheers,

Danny.

Use value of some other IDX in custom.js (Feature)

How to get the variables of different idx:

Why:
Example: I want my CV Block (IDX1) image changed based on the IDX value of IDX2.
After that the ideas are endless. There must be a smart way.

How I now use it is like this but it scews up the probed block:
[code]
var deviceState='';

function getBlock_2(device, idx){
$('.block_'+idx);
if (device['Level']= 0) deviceState='Off';
else if (device['Level']= 10) deviceState='CV';
else if (device['Level']= 20) deviceState='WW';
else window.deviceState='Error';
console.log("DeviceState inside function", deviceState); //It works
return deviceState;
}

function getBlock_1(device, idx){
console.log("DeviceState value IDX2 inside another function", deviceState); //It works
}
[/code]

I will make it a feature request

[enh] Password protected block

Protect a button with password โ€“ after putting in the right password able to set / turn on / turn off (some buttons should be excluded for my kids ๐Ÿ˜‰)

Public transport tvguide and garbage not loading after crash

I have Dashticz working ok, but after a crash of the Pi everything is working ok, only the previous configured public transport, tv guide and garbage shows only Loading...
To test I added traffic information, which is working fine.

Is there a temp file that I need to delete, or does anyone have any idea for this problem?

Thanks for a nice dashboard for Domoticz!

RSS feeds maxitems

Hi, fantastic dashboard, many thanks.

Just wondering, might it be possible to have a maxitems (like for the calendars) for RSS news feeds? Some of my feeds that I've added have only a couple of new stories every few days and my feed is now showing stories going back 2 weeks. It would be good to be able to rotate some feeds after a couple of items and other feeds after a much greater number.

Apologies if this is already possible and I've missed something.

Thanks for

Add bar graph options

From dashticz_v3 created by lokonli: dashticzv3/dashticz_v3#10

See:
https://www.domoticz.com/forum/viewtopic.php?f=67&t=17242&p=218319#p218319

I see you used a bar graph with some additional settings:
[code]
gridTextColor: '#c3f6fe',
lineWidth: 1,
stacked: true,
lineColors: settings['lineColors'],
barColors: settings['lineColors'],
pointFillColors: ['none'],
pointSize: 1,
[/code]

The most recent Dashticz version (3.0.0) already contains the option to choose for a line graph or bar graph.
I will add these additional parameters in a future beta. (and probably make these default)

blinds open/close error

Dashticz V3.1.2, suing automated installation.

I have blind type switch in domoticz
the slider works well,
however the Open/Close buttons - produces errors:

Uncaught TypeError: Cannot read property 'replace' of undefined

at switchBlinds (eval at globalEval (jquery.min.js:2), <anonymous>:92:57)
at HTMLAnchorElement.onclick ((index):1)
switchBlinds @ VM450:92
onclick @ (index):1

Barometer device no popup graph

Hi
My barometer device doesn't display a pop-up graph when I click on it.
screenshots:
bild

Comparing the barometer block(333) with a temperature block(10) in chrome's developer tool gives following:
<div data-id="333" class="mh transbg block_333 col-xs-4">

<div data-id="10" class="mh transbg block_10 col-xs-4 hover" onclick="showPopupGraph('10','10');">

In blocks.js we are missing to check for device['SubType'] == 'Barometer' and probably in other places too. I don't have the needed skills to dig further and fix it without risking to break something with combined device types.

Cheers Tobias

Support for arming/disarming Domoticz security

Howdee folks,

Maybe I missed it but it would be nice to have support for arming/disarming Domoticz security panel. So if the system is armed then Dasthicz only shows a code-entry interface to disarm. Thing is, when the panel is in the living room and security is armed, possible intruders should not have access to all devices and switches.

Cheers,

Danny

Black screen in Firefox - dashticz won't load all scripts

Hello,

Dashticz (latest, stable from git) won't load in Firefox (tested with 68.2.0esr/64bit).
I found out, that after retrieving from server js/switches.js script dies.

I'm Firefox user ๐Ÿ˜ (I had to install chrome just to test if dashticz works at all), and also I'm bringing this up, because Firefox started recently tests for kiosk-mode, so chrome won't stay for long as only-one-kiosk-mode-browser ๐Ÿ˜‰

Empty black page after Dashticz login

Hello,

I have made a fresh install of Dashticz and followed documentation (https://dashticz.readthedocs.io/en/master/gettingstarted/manualinstall.html) but when I try to access to dashticz, it shows loading but it ends in a empty black page, looking at http://domoticz/dashticz/index.html (I am using a local DNS for where domoticz is hosted)

In configuration I have used default one, but pointed for the current IP with my domoticz custom port, 8080, and set a language:

var config = {}
config['language'] = 'pt_PT';
config['domoticz_ip'] = 'http://127.0.0.1:8080';
config['app_title'] = 'Dashticz V3';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

I tried with and without language being set.

Do you know what can be?

If you need more info, let me know.

not all blocks shown

Hi,
can you tell me why not all defined blocks are shown, some temperature does show, but for instance my toon devices when created to blocks will no show, any hints ? Tried it in V2 and V3, same behaviour

Questions regarding buttons parameter "refresh"

Hi there,

very nice project, I invested days in making my dashboard as perfect as possible and I love it!
Just the documentation is not the very best if you want to realize something like a slideshow frame or if you are looking for some specific details.

In this case here at https://dashticz.readthedocs.io/en/master/blocks/buttons.html#parameters you can read there's only a "refreshiframe" parameter, but at the examples below (and I found it also in other examples) there's the parameter "refresh".
It would make sense to me that there is a parameter like "refresh", but what's the default for this?
Why is there a limit of 99999ms for "refreshiframe" and is this also valid for "refresh"??? (could it be increased???)
I have some webcams included that I only want to update once per hour, seems that's not possible with the 99999ms restriction, is it?

Buienradar blocks iframes now

Buienradar.nl added a X-Frame-Options: Deny, causing the iframe to be blocked

Refused to display 'https://www.buienradar.nl/weer/den_haag/nl/2747373' in a frame because it set 'X-Frame-Options' to 'deny'.

Proposed solution:
Open Buienradar.nl URL in a new tab

What do you guys think?
Could be annoying on a tablet, but there isnt' much of a solution
Of course you can proxy the content, but that's a lot of hassle for just opening a buienradar page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.