Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

Sorry, that was @wizjos ;)
maluko
Posts: 105
Joined: Sunday 02 February 2014 23:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Portugal
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by maluko »

wow, i will honest, if we lost about 1 day without visit this excelent topic... must say where i start... :D :D
Ierlandfan
Posts: 89
Joined: Friday 09 October 2015 17:40
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by Ierlandfan »

Need addiction treatment!
NicoLP
Posts: 5
Joined: Wednesday 26 April 2017 22:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by NicoLP »

Hallo

wat moet ik allemaal aanmaken in Domoticz om de moon picture en percentages te krijgen
welke variabelen en welke virtual switches moet ik aanleggen ??

Mvg

Nico
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

NicoLP wrote:Hallo

wat moet ik allemaal aanmaken in Domoticz om de moon picture en percentages te krijgen
welke variabelen en welke virtual switches moet ik aanleggen ??

Mvg

Nico
It;'s all in the post from 'Wizjos', but this is a recap of it
As you can see there are some (dummy)devices that need to be created in Domoticz.
2 uservariables:
- MoonPicture
- MoonphaseCheck
Both of type string...

and 5 devices:
idx; Hardware; Name; Type; Axislabel
124; DummySwitch; Moon up; Text
125; DummySwitch; Moonpercentage; Percentage
127; DummySwitch; Moon under; Text
131; DummySwitch; Moon age; Custom Sensor; Days
132; DummySwitch; Moonphase; Text
This is an English user forum, so please use the English language
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Nexst
Posts: 2
Joined: Saturday 04 March 2017 21:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by Nexst »

very nice dashboard!! and so good describtion!

is there a way it can gather both temp and hum on some devices. i have both in some in domoticz.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

I would say, try it out :)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

In latest Beta branch on Github it is possible to add a link to a trafficmap and change the height of the map, example:

Code: Select all

maps.sonenbreugel = { height: 300, link:'http://www.ovzoeker.nl', width:12, latitude: 51.5322056, longitude: 5.4870054, zoom:10 }
Also, the Hungarian-language has been updated and the status of Blinds is now also visible.
You can either test the beta, or wait for the regular master update.
Regular updates in the master-branch are less frequent from now on. There are more and more people using this and pushing new versions to fast could cause more problems. But, again, if you still want fast updates, try the beta branch :)
Last edited by robgeerts on Wednesday 26 April 2017 23:19, edited 1 time in total.
maluko
Posts: 105
Joined: Sunday 02 February 2014 23:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Portugal
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by maluko »

i was seeing the dash of poudenes and think about this...

why we have the "open", "close", "On",etc when we can see the status on color of icon?

For the small screen would be better ;)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

Well, you can already do something like this in custom.css:

Code: Select all

.fa.fa-lightbulb-o.on.icon{
	color:#FBEB9A
}
This changes the color of the bulbs when they have the ON-status...

When you add the following code to custom.js, it hides the status:

Code: Select all

function getExtendedBlockTypes(blocktypes){
	blocktypes.Type['Lighting 2'] = { icon: 'fa fa-lightbulb-o', title: '', value: '<Name>' }
	return blocktypes;
}
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

htilburgs wrote: @Robgeerts, this is an option.
I think I've to rewrite the wiki, because Github uses an other format.
And you have to create the wiki, because it's your project ;) (I believe I cannot create a wiki if you not started one).
I just created the a new empty wiki, do you have access now?
NicoLP
Posts: 5
Joined: Wednesday 26 April 2017 22:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by NicoLP »

i get an error on the moon lua script

Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_time_moon_phase.lua: /home/pi/domoticz/scripts/lua/script_time_moon_phase.lua:122: attempt to perform arithmetic on global 'percentIlluminated' (a nil value)


{
"response": {
"version":"0.1",
"termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
"features": {
"astronomy": 1
}
}
, "moon_phase": {
"percentIlluminated":"0",
"ageOfMoon":"0",
"phaseofMoon":"New Moon",
"hemisphere":"North",
"current_time": {
"hour":"23",
"minute":"42"
},
"sunrise": {
"hour":"6",
"minute":"22"
},
"sunset": {
"hour":"20",
"minute":"58"
},
"moonrise": {
"hour":"6",
"minute":"49"
},
"moonset": {
"hour":"20",
"minute":"55"
}
},
"sun_phase": {
"sunrise": {
"hour":"6",
"minute":"22"
},
"sunset": {
"hour":"20",
"minute":"58"
}
}
}
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 v2.0, custom positioning and multiple screens

Post by htilburgs »

robgeerts wrote:
htilburgs wrote: @Robgeerts, this is an option.
I think I've to rewrite the wiki, because Github uses an other format.
And you have to create the wiki, because it's your project ;) (I believe I cannot create a wiki if you not started one).
I just created the a new empty wiki, do you have access now?
Yip... So my days are filled again.... :D :lol:
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
TapNL
Posts: 30
Joined: Monday 24 April 2017 21:52
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by TapNL »

HansieNL wrote:
TapNL wrote:Just updated to the new version. Works brilliant. Happy with the different maps possible.
Everything is set to get a tablet on the wall or to get a touchscreen monitor with a pi connected.
I favour the last option.

@rob: thanks again.
MagicMirror² The open source modular smart mirror platform.
https://magicmirror.builders/
That is my next project. But for this one I only need a touch screen.
Ik zat aan zoiets te denken: http://bit.ly/2oKC5EZ

Maar dat is een discussie voor een ander forum
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by HansieNL »

I did install via CLI:
cd ~/domoticz/www
git clone https://github.com/robgeerts/dashticz_v2.git

I checked to update via CLI:
cd ~/domoticz/www/dashticz_v2
git pull

WARNING:
The name of the installation map of Dashticz is changed from dashboard to dashticz_v2. So update your links to the dashbord.
Blah blah blah
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by Nautilus »

HansieNL wrote:I did install via CLI:
cd ~/domoticz/www
git clone https://github.com/robgeerts/dashticz_v2.git

I checked to update via CLI:
cd ~/domoticz/www/dashticz_v2
git pull

WARNING:
The name of the installation map of Dashticz is changed from dashboard to dashticz_v2. So update your links to the dashbord.
Thanks, haven't been using git too much, how would one specify to pull from the beta branch?

I think the moon rise and moonset is a nice addition, but it would be great if they could be fitted to the same block as sun rise and sunset, or what do you think? I haven't figured out any other logical place to show them :) Of course, if there is no nice way to fit this info there, then best to leave it as it is.

Thanks for the awesome dashboard! :)

edit: about the moon-related stuff, has anyone observed whether there is some info that is changing e.g. hourly or more often? Looking at the info available (rising, setting, age) I'd think it updates only once a day. Or is e.g. the "percent illuminated" something that changes over the course of night? If not, then I'd keep it updating only once or twice a day as my WU api key is used in other calls as well.
Last edited by Nautilus on Thursday 27 April 2017 8:58, edited 1 time in total.
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by pkrabben »

robgeerts wrote:Well, you can already do something like this in custom.css:

Code: Select all

.fa.fa-lightbulb-o.on.icon{
	color:#FBEB9A
}
This changes the color of the bulbs when they have the ON-status...

When you add the following code to custom.js, it hides the status:

Code: Select all

function getExtendedBlockTypes(blocktypes){
	blocktypes.Type['Lighting 2'] = { icon: 'fa fa-lightbulb-o', title: '', value: '<Name>' }
	return blocktypes;
}
If I use the second code it's hiding the status but also it's not a clickable box any more
so the box is only displaying information and can not be used as a switch.

Is there an option only to hide the status bt still keep the box as a switch
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 v2.0, custom positioning and multiple screens

Post by htilburgs »

HansieNL wrote:I did install via CLI:
cd ~/domoticz/www
git clone https://github.com/robgeerts/dashticz_v2.git

I checked to update via CLI:
cd ~/domoticz/www/dashticz_v2
git pull

WARNING:
The name of the installation map of Dashticz is changed from dashboard to dashticz_v2. So update your links to the dashbord.
When u use the following command, you can still install in the map 'dashboard' if you like:

Code: Select all

git clone https://github.com/robgeerts/dashticz_v2.git dashboard
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
User avatar
mAiden88
Posts: 56
Joined: Friday 14 October 2016 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7286
Location: Almelo
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by mAiden88 »

htilburgs wrote:
HansieNL wrote:I did install via CLI:
cd ~/domoticz/www
git clone https://github.com/robgeerts/dashticz_v2.git

I checked to update via CLI:
cd ~/domoticz/www/dashticz_v2
git pull

WARNING:
The name of the installation map of Dashticz is changed from dashboard to dashticz_v2. So update your links to the dashbord.
When u use the following command, you can still install in the map 'dashboard' if you like:

Code: Select all

git clone https://github.com/robgeerts/dashticz_v2.git dashboard
I have this in a bash script. A cronjob will run this 1 a day on 4am. When update is succes, pi will put my config in the map.
Anyone can build a fast processor. The trick is to build a fast system.
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 v2.0, custom positioning and multiple screens

Post by htilburgs »

Like to share?
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
Locked

Who is online

Users browsing this forum: No registered users and 1 guest