Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Lexfontes
Posts: 6
Joined: Wednesday 30 March 2016 21:35
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Forecast day parameter

Post by Lexfontes »

Hi,

I look for the variable or the parameter that allows to define the number of forecast days.

Can someone help me ?

Thanks
Justinn
Posts: 4
Joined: Saturday 04 November 2017 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Justinn »

Hello,
Is there a possibility to make dashticz only accesible with password from external so another network than home network?
And that you dont need it when you are in the network. Because when i create dashticz now you can just go to ip:port/directory/ and you will be in the dashboard withput any protection.

Best reagrds justinn
blacksn0w
Posts: 99
Joined: Friday 10 March 2017 22:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by blacksn0w »

Justinn wrote: Tuesday 07 November 2017 10:27 Hello,
Is there a possibility to make dashticz only accesible with password from external so another network than home network?
And that you dont need it when you are in the network. Because when i create dashticz now you can just go to ip:port/directory/ and you will be in the dashboard withput any protection.

Best reagrds justinn
Are you using the Domoticz Webserver or a dedicated one like nginx or Apache? You are able to protect it with an .htaccess file if you are using Apache for example.
Migration done, hello Home Assistant.
Haringstad
Posts: 13
Joined: Tuesday 22 November 2016 9:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Haringstad »

First of all: @robgeerts: Thank you very, very much for your efforts! I do love your work!

I've been evaluating Dashticz for a couple of weeks now, and I have a very extensive set build. And yes, it takes some effort to figure out stuff and get stuff working.

There are a couple of things that might be on the WiKi page:
  • Remove the /* and */ from the example CONFIG_DEFAULT.js before you start edit this file. Or mention this in BOLD on the Wiki and/or in the header of the file?
  • Please remember, that when you are on a Dualstack (IPv4 & IPv6), you might need to login to Domoticz first, and then start Dashticz, due to the fact that Domoticz does not (yet) has proper support to define IPv6 addresses as trusted addresses.
  • List the Thermostats that are not (yet) working in Dashticz. (I cannot seem to get my Honeywell Evo working, maybe my bad.....)
Justinn
Posts: 4
Joined: Saturday 04 November 2017 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Justinn »

[/quote]
Are you using the Domoticz Webserver or a dedicated one like nginx or Apache? You are able to protect it with an .htaccess file if you are using Apache for example.
[/quote]

I am using domoticz webserver but I think i will try apache than. Is it also possible in apache to let internal ips for free access without logging in and from external access with log in?
sailmich
Posts: 232
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by sailmich »

@robgeerts
Hello, my blinds percentage are shown as blinds without positioning. When I change them within Domoticz to blinds percentage inverted I will get a nice slider. But the direction is wrong. Around page 26 there was already a discussion but I couldn't find solution. I use Fibaro roller shutter 2 controler and one philio controler. According to my experience inverted is just needed when the wires connect to the controlers are crossed, so just swap the cables and no need for inverted anylonger. The stop button could be necessary and depends on settings in controler configuration toggle/momentary/single momentary.
Please could you add the slider for blinds percentage?
I like the handling in Domoticz where you just hit the icons to open or close the blinds, instead of arrows up and down. Is that possible to add this to?

Thanks for your great pice of coding

Mike

Blinds percentage.png
Blinds percentage.png (14.94 KiB) Viewed 1804 times
Blinds percentage inverted.png
Blinds percentage inverted.png (12.81 KiB) Viewed 1804 times
FrankDutch
Posts: 10
Joined: Sunday 05 November 2017 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by FrankDutch »

the system is runneing but the buttons from domoticz ara not showing up. loading is on that position.
this is the rule. What could be wrong?
config['domoticz_ip'] = 'http://test:[email protected]:8090';
Justinn
Posts: 4
Joined: Saturday 04 November 2017 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Justinn »

Hello,

I just tried installing dashticz on apache webserver like someone said before and I am able to access dashticz using the ip and directory but there is no connection with domoticz. I know for sure that I have the right ip because it was working when it was in the domoticz directory.

Hope someone knows the problem and a fix.

Best regards Justinn
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - General Discussions

Post by Trigun »

Justinn wrote:Hello,
Is there a possibility to make dashticz only accesible with password from external so another network than home network?
And that you dont need it when you are in the network. Because when i create dashticz now you can just go to ip:port/directory/ and you will be in the dashboard withput any protection.

Best reagrds justinn
I agree, I would love this to be an option within dashticz. Perhaps a feature request, @robgeerts?


Sent from my iPhone using Tapatalk
sailmich
Posts: 232
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by sailmich »

Hello,
is it possible to add Blinds Percentage to supported devices. As I'm not a coder im not sure but I found in main.js just support sliders for Inverted blinds.
I tried some changes in main.js without succes. So any help is needed.
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Closed",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "Z-Stick",
"HardwareType" : "OpenZWave USB",
"HardwareTypeVal" : 21,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00002101",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2017-11-08 17:01:24",
"Level" : 100,
"LevelInt" : 100,
"MaxDimLevel" : 100,
"Name" : "Badezimmer",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Closed",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Switch",
"SwitchType" : "Blinds Percentage",
"SwitchTypeVal" : 13,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "blinds",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "194"

Code: Select all

else if(device['SwitchType']=='Blinds Percentage Inverted'){
									html+='<div class="col-xs-2 col-icon">';
									   if(device['Status']=='Closed') html+='<img src="img/blinds_closed.png" class="off icon" />';
Thanks in advance
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

@sailmich, please try latest version!
@ALL, sorry, I'm a little busy lately, its hard for me to keep up all requests.
Its better to add them to the github so I can manage them better: https://github.com/robgeerts/dashticz_v2
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

MikeF wrote: Thursday 26 October 2017 16:36
MikeF wrote: Wednesday 25 October 2017 11:11In my dashboard I've got a LightwaveRF dimmer (Lighting 5), which uses 32 steps rather than the usual 16. This is handled OK by Domoticz, and the value set in Domoticz is shown correctly in Dashticz (max value shown is 96%).

Image
However, if I try to reduce the slider setting by 1 step (in Domoticz, this would take it down to 93%), in Dashticz it snaps down to 40% (and similarly for other settings).

Image

I suspect this is due to it having 32 steps rather than 16.
OK, I've managed to solve this: in main.js, after the 'if' statement in function getDevices starting with this line:

Code: Select all

	if(parseFloat(device['MaxDimLevel'])==100){
there needs to be a similar block of code which checks for MaxDimLevel = 32 for these devices, i.e.,

Code: Select all

	else  if(parseFloat(device['MaxDimLevel'])==32){
			$( ".slider"+device['idx'] ).slider({
				value:Math.ceil((device['Level']/100)*32),
				step: 1,
				min:2,
				max:32,
				slide: function( event, ui ) {
					sliding = true;
					slideDevice($(this).data('light'),ui.value);
				},
				change:function( event, ui ) {
					sliding = true;
					slideDevice($(this).data('light'),ui.value);
				},
				stop: function( event, ui ) {
					sliding = false;
				}
			});
I've amended my version of main.js, but it would be great if @robgeerts can incorporate this - beer tokens would be forthcoming! :D
Added to latest beta!
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Forecast day parameter

Post by robgeerts »

There's no variable for the number of days unfortunately..
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Where to get google maps api key ?

Post by robgeerts »

The vars are still needed to show the maps..
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Full screen on IPAD when using spotify

Post by robgeerts »

On the ipad, you can pin a webpage to the homescreen.... (im not using ipad so dont know how to do this exactly, but google it and you will find)
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by htilburgs »

Rob, maybe I overlooked it, but is there a way to show the % for the blinds?
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
sailmich
Posts: 232
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by sailmich »

@robgeerts
I tried to update via git pull and got.

Code: Select all

error: Your local changes to the following files would be overwritten by merge:
	js/main.js
Please, commit your changes or stash them before you can merge.]
I just took main.js but then I got Domoticz offline message. I put my old main.js back and Domoticz was online. Compare your new main.js with old one. Old 74,6 kB new 68,8 kB? I assume when something added the file must be bigger, so maybe something went wrong.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

@htilburgs, do you have json-output of a blinds-device for me?
@sailmich, I removed some code for debugging purposes, so thats why it is smaller...

Test latest BETA by pulling it in a new folder.
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by htilburgs »

@robgeerts:

Code: Select all

 {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Set Level: 40 %",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 2,
         "HardwareName" : "Aeon Labs Z-Stick GEN5",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000201",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-11-09 07:53:41",
         "Level" : 40,
         "LevelInt" : 40,
         "MaxDimLevel" : 100,
         "Name" : "Rolluik Woonkamer",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Set Level: 40 %",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage",
         "SwitchTypeVal" : 13,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "741",
         "YOffset" : "287",
         "idx" : "6"
      }
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
sailmich
Posts: 232
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by sailmich »

@robgeerts
No changes still no slider for Blinds percentage.
Locked

Who is online

Users browsing this forum: No registered users and 1 guest