Page 47 of 184
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:05
by robgeerts
repoman wrote:robgeerts wrote:repoman wrote:
While I'm at it. My smoke detector also says "smoke detected" while the status is normal.
Whats the output of your smoke device?
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Normal",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 1,
"HardwareName" : "RepoRFXCom",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : false,
"HaveGroupCmd" : false,
"HaveTimeout" : false,
"ID" : "15E400",
"LastUpdate" : "2016-12-25 10:09:12",
"MaxDimLevel" : 0,
"Name" : "smoke detector",
"Notifications" : "true",
"PlanID" : "6",
"PlanIDs" : [ 6 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"Status" : "Normal",
"StrParam1" : "aHR0cDovLzE5Mi4xNjguOTAuMTAvdHJpZ2dlci5waHA/dHJpZ2dlcj1zbW9rZV9hbGFybV9vbg==",
"StrParam2" : "aHR0cDovLzE5Mi4xNjguOTAuMTAvdHJpZ2dlci5waHA/dHJpZ2dlcj1zbW9rZV9hbGFybV9vZmY=",
"SubType" : "KD101 smoke detector",
"SwitchType" : "Smoke Detector",
"SwitchTypeVal" : 5,
"Timers" : "false",
"Type" : "Security",
"TypeImg" : "smoke",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "18"
Please test latest version
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:08
by Dropshot
Just a few minor things I noticed and can possibly be updated in a future release:
1. Is it possible to remove the time and date of the traffic announcement?
2. When I press on the buienradar block, I get to the weather forecast (weer.nl) of some random cities in NL (e.g. 'Son' or 'Banne Buiksloot'
), instead of the rain forecast (buienradar.nl) of my city.
3. maybe it is more logical to link the weather forecast (weer.nl) to the weather blocks?
4. The newsfeed scrolls trough the news items (which I really like!), but for me this scroll speed is just a bit too fast, I cant read everything before it scrolls again. Maybe it can scroll a bit less often?
For me these changes have no priority whatsoever, I really love what you're doing, that's why I'm noticing all these things.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:15
by gjaa
Wauw Rob,
This is amazing, what a lot of work in an week (I was here a week ago)
Even a wiki page
I will buy you a beer
I did a clean install via github, a lot easier then upload
I can see al my favourites
Thumbs up
Gerard
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:22
by repoman
robgeerts wrote:repoman wrote:robgeerts wrote:
Whats the output of your smoke device?
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Normal",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 1,
"HardwareName" : "RepoRFXCom",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : false,
"HaveGroupCmd" : false,
"HaveTimeout" : false,
"ID" : "15E400",
"LastUpdate" : "2016-12-25 10:09:12",
"MaxDimLevel" : 0,
"Name" : "smoke detector",
"Notifications" : "true",
"PlanID" : "6",
"PlanIDs" : [ 6 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"Status" : "Normal",
"StrParam1" : "aHR0cDovLzE5Mi4xNjguOTAuMTAvdHJpZ2dlci5waHA/dHJpZ2dlcj1zbW9rZV9hbGFybV9vbg==",
"StrParam2" : "aHR0cDovLzE5Mi4xNjguOTAuMTAvdHJpZ2dlci5waHA/dHJpZ2dlcj1zbW9rZV9hbGFybV9vZmY=",
"SubType" : "KD101 smoke detector",
"SwitchType" : "Smoke Detector",
"SwitchTypeVal" : 5,
"Timers" : "false",
"Type" : "Security",
"TypeImg" : "smoke",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "18"
Please test latest version
Ok, downloaded latest, placed it in new folder dasboard4, copied my earlier posted settings.js again and now it's working...
The smoke detector isn't red anymore and doesn't say "rook gedetecteerd" It just says "AAN" while status is normal.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:31
by gjaa
I find a typo
- Schermafbeelding 2017-04-15 om 16.28.10.png (55.67 KiB) Viewed 1706 times
"Energie vandaag" is on the place of the kWh
Gerard
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:34
by Blueone
Blueone wrote:robgeerts wrote:Thanks Blueone!
But, did it work for your raspberry pi??
Yes, my screen does go to a lower brightness know when it enters stand-by! and also comes up again. Btw, I also changed the stand-by time to seconds instead of minutes
.
I only notice that it hangs sometimes so probably I did something wrong in de main.js, I have to check that.
Stand-by to do:
Create a css which is only showing the time big, termperature big and the weather so I can see those things from a distance when is is in stand-by. Going on a holiday but after that I'm going to create something like this.
And I have to optimze the css further for the raspberry touchscreen.
A bit like this in stand-by and the full experience in active mode:
toonstandby.jpg
Attached a short video
https://vimeo.com/213339928
Oke I changed the stand-by part a little bit again, this seems to be better, it resets the standby timer by mouse momevent zo it doesn't try to enter the stand-by modus when it is active.
Code: Select all
//STANDBY FUNCTION
if(parseFloat(_STANDBY_AFTER_MINUTES)>0){
setInterval(function(){
standbyTime+=1000;
},1000);
setInterval(function(){
if(standbyActive!=true){
// if(standbyTime>=((_STANDBY_AFTER_MINUTES*1000)*60)){
if(standbyTime>=(_STANDBY_AFTER_MINUTES*1000)){
$('body').addClass('standby');
if(typeof(_STANDBY_CALL_URL)!=='undefined' && _STANDBY_CALL_URL!==''){
$.get(_STANDBY_CALL_URL);
standbyActive=true;
}
}
}
},5000);
$('body').bind('mousemove', function(e){
standbyTime=0;
disableStandby();
});
$('body').bind('click', function(e){
standbyTime=0;
disableStandby();
});
function disableStandby(){
if(standbyActive==true){
standbyTime=0;
$('body').removeClass('standby');
if(typeof(_END_STANDBY_CALL_URL)!=='undefined' && _END_STANDBY_CALL_URL!==''){
$.get(_END_STANDBY_CALL_URL);
}
standbyActive=false;
}
}
}
//END OF STANDBY FUNCTION
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:38
by Ierlandfan
Can I place the content of some local txtfile into a block?
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:42
by bimse
How do I integrate Security Panel, so it appears with the keyboard.
It appears only with On / Off function, but it does not work.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:44
by Clemen
bimse wrote:How do I integrate Security Panel, so it appears with the keyboard.
It appears only with On / Off function, but it does not work.
Just make a link block to sec panel
buttons.alarm = {image: 'img/radio_on.png', title: 'Alarm', url: '
http://192.168.1.4:8080/secpanel/index.html'}
And put it in a block:
columns[1]['blocks'] = [buttons.alarm]
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:47
by DvD
Really great work !!
Quick questions:
1. Is it possible to change the icon of a Scene ? Like with Blocks
2. Is it possible to leave a space between 2 switches ? example: switch1 - empty - switch 2
thnx!
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 16:53
by bimse
thanks for your quick response Clemen,it works.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 17:03
by repoman
repoman wrote:robgeerts wrote:repoman wrote:
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Normal",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 1,
"HardwareName" : "RepoRFXCom",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : false,
"HaveGroupCmd" : false,
"HaveTimeout" : false,
"ID" : "15E400",
"LastUpdate" : "2016-12-25 10:09:12",
"MaxDimLevel" : 0,
"Name" : "smoke detector",
"Notifications" : "true",
"PlanID" : "6",
"PlanIDs" : [ 6 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"Status" : "Normal",
"StrParam1" : "aHR0cDovLzE5Mi4xNjguOTAuMTAvdHJpZ2dlci5waHA/dHJpZ2dlcj1zbW9rZV9hbGFybV9vbg==",
"StrParam2" : "aHR0cDovLzE5Mi4xNjguOTAuMTAvdHJpZ2dlci5waHA/dHJpZ2dlcj1zbW9rZV9hbGFybV9vZmY=",
"SubType" : "KD101 smoke detector",
"SwitchType" : "Smoke Detector",
"SwitchTypeVal" : 5,
"Timers" : "false",
"Type" : "Security",
"TypeImg" : "smoke",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "18"
Please test latest version
Ok, downloaded latest, placed it in new folder dasboard4, copied my earlier posted settings.js again and now it's working...
The smoke detector isn't red anymore and doesn't say "rook gedetecteerd" It just says "AAN" while status is normal.
Uhm, sorry to bother you again but I noticed something else changed in the last few days (off course a lot has changed
A few days ago the MD cam1 enz switches (see earlier screenshot) had the same icon.
Now some of them are light bulbs and others are switches. They are all "SwitchType" : "On/Off"
What setting in domoticz do I have to change so those switches use the same icon?
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 17:22
by robgeerts
Dropshot wrote:
1. Is it possible to remove the time and date of the traffic announcement?
Fixed in latest version
Dropshot wrote:
2. When I press on the buienradar block, I get to the weather forecast (weer.nl) of some random cities in NL (e.g. 'Son' or 'Banne Buiksloot'
), instead of the rain forecast (buienradar.nl) of my city.
You can change this link in config.js
gjaa wrote:
I will buy you a beer
Thanks!
repoman wrote:
The smoke detector isn't red anymore and doesn't say "rook gedetecteerd" It just says "AAN" while status is normal.
Fixed in latest version!
gjaa wrote:I find a typo
Schermafbeelding 2017-04-15 om 16.28.10.png
"Energie vandaag" is on the place of the kWh
Fixed in latest version!
Blueone wrote:
Oke I changed the stand-by part a little bit again, this seems to be better, it resets the standby timer by mouse momevent zo it doesn't try to enter the stand-by modus when it is active.
Added to latest version!
DvD wrote:
1. Is it possible to change the icon of a Scene ? Like with Blocks
Use:
Code: Select all
blocks['s3'] = {}
blocks['s3']['icon'] = 'fa-fire';
DvD wrote:
2. Is it possible to leave a space between 2 switches ? example: switch1 - empty - switch 2
Sorry, no
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 18:11
by robgeerts
Blueone wrote:standby
For some reason, it didn't go back to normal with me, in latest version it does.
Although, I reverted back to minutes... because the name of the variable says 'minutes'.
If you want half a minute, use 0.5
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 18:24
by EdwinK
Can you do something with this?
Code: Select all
{
"ActTime" : 1492273407,
"ServerTime" : "2017-04-15 18:23:27",
"Sunrise" : "06:46",
"Sunset" : "20:38",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Off",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 20,
"HardwareName" : "Hue Scenes",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "000140AB",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-15 09:53:48",
"Level" : 0,
"LevelActions" : "http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D86%26switchcmd%3DOff|http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D71%26switchcmd%3DOn|http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D72%26switchcmd%3DOn|http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D74%26switchcmd%3DOn|http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D88%26switchcmd%3DOn",
"LevelInt" : 0,
"LevelNames" : "Off|Concentreren|Gedimd|Lezen|Film",
"LevelOffHidden" : false,
"MaxDimLevel" : 100,
"Name" : "Hue Scenes",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"SelectorStyle" : 0,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Selector Switch",
"SwitchType" : "Selector",
"SwitchTypeVal" : 18,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "Light",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "91"
}
],
"status" : "OK",
"title" : "Devices"
}
No need to rush, enjoy your Easter-weekend.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 18:55
by Blueone
robgeerts wrote:Blueone wrote:standby
For some reason, it didn't go back to normal with me, in latest version it does.
Although, I reverted back to minutes... because the name of the variable says 'minutes'.
If you want half a minute, use 0.5
, didn't thought about that. Maybe a small error in de code which I forget to edit in my post. Glad is has being fixed. Btw, are you also using the touchscreen?
I thought there were some other issues because my dashboard hung. But I also added 2 graphs on a second pages and those caused the dashboard to stall. I think because I have setup domoticz it updates graphs every minute instead of 5 minutes which is to much to handle for the dashboard.
I also want to create an other stand-by few with a big clock etc, I can image that this is more a personal choice so I wan't to add it in the custom css. I'm a bit of newby is css en js world. Can I do something like this in the css to overide something when the standby class is available? Can someone help me in the right directon for so I can create it? Thanks!
Code: Select all
.standby .mh {
display: none !important;
}
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 19:28
by gjaa
My doorcontact's state never change, it's always open
- Schermafbeelding 2017-04-15 om 19.19.26.png (19.11 KiB) Viewed 1657 times
Here is the setting
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Closed",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "RFXCOM -RFXtrx433e Tranceiver",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "123E106",
"Image" : "Light",
"InternalState" : "Closed",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-15 19:15:02",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 15,
"Name" : "State - Contact Achterdeur",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 6,
"Status" : "Closed",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "AC",
"SwitchType" : "Door Lock",
"SwitchTypeVal" : 11,
"Timers" : "false",
"Type" : "Lighting 2",
"TypeImg" : "door",
"Unit" : 10,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "531",
"YOffset" : "498",
"idx" : "193"
},
Thanks
Gerard
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 20:09
by EdwinK
Thanks Rob, for your quick service
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 20:24
by robgeerts
gjaa wrote:My doorcontact's state never change, it's always open
Fixed in latest version!
Blueone wrote:
I also want to create an other stand-by few with a big clock etc, I can image that this is more a personal choice so I wan't to add it in the custom css. I'm a bit of newby is css en js world. Can I do something like this in the css to overide something when the standby class is available? s
What about defining different columns/blocks for standby-mode?
Something like:
If people are interested in this, let me know, I will look into this!
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 20:32
by Clemen
robgeerts wrote:gjaa wrote:My doorcontact's state never change, it's always open
Fixed in latest version!
Blueone wrote:
I also want to create an other stand-by few with a big clock etc, I can image that this is more a personal choice so I wan't to add it in the custom css. I'm a bit of newby is css en js world. Can I do something like this in the css to overide something when the standby class is available? s
What about defining different columns/blocks for standby-mode?
Something like:
If people are interested in this, let me know, I will look into this!
would be perfect!