Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post by madrian »

Manual merge request:

main.js, line 299/300
// $('#npTitle').fadeIn('slow');
// audio.pause();

Please enable audio.pause();

iOS Safari is having a bug, and because of this it won't load next station when you click on next. So you must press on pause button then again play button to play the actual station.

audio.pause(); stops current station when you click prev/next button and fixes the problem above and beside of this I think this is the correct behavior (not everybody want's to listen all station while switching).

Gratis question: is the station title changed in the last versions? It's now smaller.
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 »

mvveelen wrote:Tried to get the newsfeed from Telegraaf.nl (http://feeds.feedburner.com/telegraaf/RiEs) but if I replace the Tweakers.net URL with the Telegraaf URL, the block disappears. Something wrong with the way I tried it?

Code: Select all

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'https://crossorigin.me/http://feeds.feedburner.com/telegraaf/RiEs';
Have the same problem with this URL. When I use https://crossorigin.me/http://www.telegraaf.nl/rss/'; no problems...;)
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
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 »

Looks like a problem with crossorigin.me...
GET https://crossorigin.me/http://feeds.fee ... ers/nieuws 503 (Service Unavailable)

XMLHttpRequest cannot load https://crossorigin.me/http://feeds.fee ... ers/nieuws. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.0.100:8088' is therefore not allowed access. The response had HTTP status code 503.
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
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post by madrian »

htilburgs wrote:Looks like a problem with crossorigin.me...
GET https://crossorigin.me/http://feeds.fee ... ers/nieuws 503 (Service Unavailable)

XMLHttpRequest cannot load https://crossorigin.me/http://feeds.fee ... ers/nieuws. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.0.100:8088' is therefore not allowed access. The response had HTTP status code 503.
http://downforeveryoneorjustme.com/http ... sorigin.me

It's not just you! http://crossorigin.me looks down from here.

BTW:

PLEASE DO NOT USE THE PROXY ON A PRODUCTION SITE.
I cannot guarantee the stability of the service, and you will probably experience service interruptions.
User avatar
wizjos
Posts: 79
Joined: Monday 07 March 2016 19:35
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Post by wizjos »

EdKo66 wrote:Will I make this in the tab setup/More Option/User Variables?. If so, I get an err[rror]
Indeed, you need to do it that way. I wonder what causes the error then :shock:
uservar.PNG
uservar.PNG (55.38 KiB) Viewed 1898 times
Does this explain a bit more? BTW. The value of the variable is not really important when creating...
Same goes for MoonphaseCheck. That's a string variable as well.

Can you explain where the error occurs?

Wizjos
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 »

I think that was the problem, indeed. Didn't know what to enter, tried it with and without anything in it. I used 'integer'. Now it seems to work.

Awaiting the update to really use it
04-22 16:12:00.461 LUA: script bin_selector executed
2017-04-22 16:12:00.504 LUA: MoonPhase - Update not allowed: Difference is 73 seconds
2017-04-22 16:13:00.192 LUA: script bin_selector executed
2017-04-22 16:13:00.201 LUA: MoonPhase - Update not allowed: Difference is 133 seconds
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post by madrian »

About slides in Dashticz:
Hardware Acceleration
Superslides is compatible with the jQuery Animate Enhanced plugin. Simply include it before this plugin and it will automatically smooth out transitions using CSS instead of JavaScript.
Why not? I tried out:



With HW acceleration enabled the sliding animation is much smoother, but there is a little graphical glitch at the end (the flashing).

But this superslide project is very old and is not maintanced anymore, isn't there a better option? Like Swiper or any other project.
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,

I still have the issue with the blinds and showing the STOP button. For that I've consulted the manuals from Fibaro and Qubino. There are 3 main types, which are defined in Domoticz:
  • Blinds (normal up - down)
  • Blinds percentage (up - down & percentage up/down)
  • Venetian blinds EU (In dutch: jaloezieën - EU Variant)
Furthermore there a several derivatives from the 3 main types:
  • Blinds inverted (normal up - down -> inverted)
  • Blinds percentage inverted (up - down & percentage up/down -> inverted)
  • Venetian blinds US (In dutch: jaloezieën - US Variant)
Only the Venetian blinds have the ability for the STOP function. For the blinds and blinds percentage the STOP button is not working (correct). The only thing that happens is no STOP, but a revert action (if going Open than Close / Close than Open).

Image

I made an inventory of types, so maybe it's possible to make a correction?

Code: Select all

BLINDS 
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Open",
         "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-04-22 16:05:44",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Rolluik Woonkamer",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Open",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Blinds",
         "SwitchTypeVal" : 3,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "741",
         "YOffset" : "287",
         "idx" : "6"
      }

BLINDS PERCENTAGE
     {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage",
         "SwitchTypeVal" : 13,
      }
      
VENETIAN BLINDS EU
      {
         "SubType" : "Switch",
         "SwitchType" : "Venetian Blinds EU",
         "SwitchTypeVal" : 15,
      }

BLINDS INVERTED
      {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Inverted",
         "SwitchTypeVal" : 6,
      }

BLINDS PERCENTAGE INVERTED
     {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage Inverted",
         "SwitchTypeVal" : 16,
      }

VENETIAN BLINDS US
      {
         "SubType" : "Switch",
         "SwitchType" : "Venetian Blinds US",
         "SwitchTypeVal" : 14,
      }
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
wizjos
Posts: 79
Joined: Monday 07 March 2016 19:35
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Post by wizjos »

EdKo66 wrote:I think that was the problem, indeed. Didn't know what to enter, tried it with and without anything in it. I used 'integer'. Now it seems to work.

Awaiting the update to really use it
Cool! I expect it to be working smoothly now... Let's await @robgeerts' new update 8-)
BTW You can set the interval a bit lower for one time only. I don't think Wunderground will charge you for it :lol:

Edited my initial post with the remark about the uservars both being 'text'...

Wizjos
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,

I still have the issue with the blinds and showing the STOP button. For that I've consulted the manuals from Fibaro and Qubino. There are 3 main types, which are defined in Domoticz:
  • Blinds (normal up - down)
  • Blinds percentage (up - down & percentage up/down)
  • Venetian blinds EU (In dutch: jaloezieën - EU Variant)
Furthermore there a several derivatives from the 3 main types:
  • Blinds inverted (normal up - down -> inverted)
  • Blinds percentage inverted (up - down & percentage up/down -> inverted)
  • Venetian blinds US (In dutch: jaloezieën - US Variant)
Only the Venetian blinds have the ability for the STOP function. For the blinds and blinds percentage the STOP button is not working (correct). The only thing that happens is no STOP, but a revert action (if going Open than Close / Close than Open).

Image

I made an inventory of types, so maybe it's possible to make a correction?

Code: Select all

BLINDS 
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Open",
         "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-04-22 16:05:44",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Rolluik Woonkamer",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Open",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Blinds",
         "SwitchTypeVal" : 3,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "741",
         "YOffset" : "287",
         "idx" : "6"
      }

BLINDS PERCENTAGE
     {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage",
         "SwitchTypeVal" : 13,
      }
      
VENETIAN BLINDS EU
      {
         "SubType" : "Switch",
         "SwitchType" : "Venetian Blinds EU",
         "SwitchTypeVal" : 15,
      }

BLINDS INVERTED
      {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Inverted",
         "SwitchTypeVal" : 6,
      }

BLINDS PERCENTAGE INVERTED
     {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage Inverted",
         "SwitchTypeVal" : 16,
      }

VENETIAN BLINDS US
      {
         "SubType" : "Switch",
         "SwitchType" : "Venetian Blinds US",
         "SwitchTypeVal" : 14,
      }

Well, I made an option to hide the stop button in latest version (coming tonight) ...
Can anyone confirm that ONLY venetian blinds have a stop button? I thought someone posted he needed the stop button with regular blinds...
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 »

madrian wrote:About slides in Dashticz:
Hardware Acceleration
Superslides is compatible with the jQuery Animate Enhanced plugin. Simply include it before this plugin and it will automatically smooth out transitions using CSS instead of JavaScript.
Why not? I tried out:



With HW acceleration enabled the sliding animation is much smoother, but there is a little graphical glitch at the end (the flashing).

But this superslide project is very old and is not maintanced anymore, isn't there a better option? Like Swiper or any other project.
Thanks, will look into this!
User avatar
rbisschops
Posts: 63
Joined: Monday 12 May 2014 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2563
Location: Schiedam, Netherlands
Contact:

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

Post by rbisschops »

madrian wrote:Rob, do you know what causes this? Can we except a bugfix?

+I think whole bug reporting would be easier to follow if you migrate the project to GitHub and we can use GitHub's Issues page.
I agree with @madrian GitHub would be so much easier (also for forking this great project ;))

Also it is maybe good to start a stable (master) and and a beta (development) branche when moving to GitHub anyway. That way you can keep a lower pace on the stable releases based on wider tested beta's. Saving you a lot of bug reports I guess :).

Another suggestion I would like to make is to have all the customised code (so custom.css, custom.js and config.js and potentially more in the future) in a separate directory that remains untouched in case of an update. It is now so easy to overwrite the custom files with an update :oops: .

Thx

Ralph
RPi 3B (master): RFXtrx433, Harmony Hub, Z-Wave devices, CoCo units, Hue, Xiaomi Aquara
RPi 2B (slave): P1 connection, MySensors with custom built watermeter sensors on Aquadis+
RPi’s with: Mosquitto MQTT, Home Bridge, Home Assistant (for evaluation only)
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 »

rbisschops wrote:
madrian wrote:Rob, do you know what causes this? Can we except a bugfix?

+I think whole bug reporting would be easier to follow if you migrate the project to GitHub and we can use GitHub's Issues page.
I agree with @madrian GitHub would be so much easier (also for forking this great project ;))

Also it is maybe good to start a stable (master) and and a beta (development) branche when moving to GitHub anyway. That way you can keep a lower pace on the stable releases based on wider tested beta's. Saving you a lot of bug reports I guess :).

Another suggestion I would like to make is to have all the customised code (so custom.css, custom.js and config.js and potentially more in the future) in a separate directory that remains untouched in case of an update. It is now so easy to overwrite the custom files with an update :oops: .

Thx

Ralph
Thanks for the suggestions, added to my todolist at: https://trello.com/b/qsNqHtie/dashboard
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

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

Post by SwordFish »

robgeerts wrote:
htilburgs wrote:@Robgeerts,

I still have the issue with the blinds and showing the STOP button. For that I've consulted the manuals from Fibaro and Qubino. There are 3 main types, which are defined in Domoticz:
  • Blinds (normal up - down)
  • Blinds percentage (up - down & percentage up/down)
  • Venetian blinds EU (In dutch: jaloezieën - EU Variant)
Furthermore there a several derivatives from the 3 main types:
  • Blinds inverted (normal up - down -> inverted)
  • Blinds percentage inverted (up - down & percentage up/down -> inverted)
  • Venetian blinds US (In dutch: jaloezieën - US Variant)
Only the Venetian blinds have the ability for the STOP function. For the blinds and blinds percentage the STOP button is not working (correct). The only thing that happens is no STOP, but a revert action (if going Open than Close / Close than Open).

Image

I made an inventory of types, so maybe it's possible to make a correction?

Code: Select all

BLINDS 
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Open",
         "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-04-22 16:05:44",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Rolluik Woonkamer",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Open",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Blinds",
         "SwitchTypeVal" : 3,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "741",
         "YOffset" : "287",
         "idx" : "6"
      }

BLINDS PERCENTAGE
     {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage",
         "SwitchTypeVal" : 13,
      }
      
VENETIAN BLINDS EU
      {
         "SubType" : "Switch",
         "SwitchType" : "Venetian Blinds EU",
         "SwitchTypeVal" : 15,
      }

BLINDS INVERTED
      {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Inverted",
         "SwitchTypeVal" : 6,
      }

BLINDS PERCENTAGE INVERTED
     {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage Inverted",
         "SwitchTypeVal" : 16,
      }

VENETIAN BLINDS US
      {
         "SubType" : "Switch",
         "SwitchType" : "Venetian Blinds US",
         "SwitchTypeVal" : 14,
      }

Well, I made an option to hide the stop button in latest version (coming tonight) ...
Can anyone confirm that ONLY venetian blinds have a stop button? I thought someone posted he needed the stop button with regular blinds...
I have blinds as type and the stop button is working.
Last edited by SwordFish on Saturday 22 April 2017 17:39, edited 1 time in total.
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 »

wizjos wrote:
EdKo66 wrote:I think that was the problem, indeed. Didn't know what to enter, tried it with and without anything in it. I used 'integer'. Now it seems to work.

Awaiting the update to really use it
Cool! I expect it to be working smoothly now... Let's await @robgeerts' new update 8-)

Code: Select all

2017-04-22 17:26:00.433 Error: EventSystem: in Moon: [string "-- Variables to customize..."]:59: attempt to concatenate global 'moonriseMinute' (a nil value)
Not quite
BTW You can set the interval a bit lower for one time only. I don't think Wunderground will charge you for it :lol:
Will forward it if they do ;)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

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

Post by SwordFish »

SwordFish wrote:
robgeerts wrote:
htilburgs wrote:@Robgeerts,

I still have the issue with the blinds and showing the STOP button. For that I've consulted the manuals from Fibaro and Qubino. There are 3 main types, which are defined in Domoticz:
  • Blinds (normal up - down)
  • Blinds percentage (up - down & percentage up/down)
  • Venetian blinds EU (In dutch: jaloezieën - EU Variant)
Furthermore there a several derivatives from the 3 main types:
  • Blinds inverted (normal up - down -> inverted)
  • Blinds percentage inverted (up - down & percentage up/down -> inverted)
  • Venetian blinds US (In dutch: jaloezieën - US Variant)
Only the Venetian blinds have the ability for the STOP function. For the blinds and blinds percentage the STOP button is not working (correct). The only thing that happens is no STOP, but a revert action (if going Open than Close / Close than Open).

Image

I made an inventory of types, so maybe it's possible to make a correction?

Code: Select all

BLINDS 
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Open",
         "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-04-22 16:05:44",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Rolluik Woonkamer",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Open",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Blinds",
         "SwitchTypeVal" : 3,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "741",
         "YOffset" : "287",
         "idx" : "6"
      }

BLINDS PERCENTAGE
     {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage",
         "SwitchTypeVal" : 13,
      }
      
VENETIAN BLINDS EU
      {
         "SubType" : "Switch",
         "SwitchType" : "Venetian Blinds EU",
         "SwitchTypeVal" : 15,
      }

BLINDS INVERTED
      {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Inverted",
         "SwitchTypeVal" : 6,
      }

BLINDS PERCENTAGE INVERTED
     {
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage Inverted",
         "SwitchTypeVal" : 16,
      }

VENETIAN BLINDS US
      {
         "SubType" : "Switch",
         "SwitchType" : "Venetian Blinds US",
         "SwitchTypeVal" : 14,
      }

Well, I made an option to hide the stop button in latest version (coming tonight) ...
Can anyone confirm that ONLY venetian blinds have a stop button? I thought someone posted he needed the stop button with regular blinds...
I have blinds as type and the stop button is working.
Attachments
Bestand 22-04-17 17 40 51.jpeg
Bestand 22-04-17 17 40 51.jpeg (45.85 KiB) Viewed 1852 times
User avatar
rbisschops
Posts: 63
Joined: Monday 12 May 2014 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2563
Location: Schiedam, Netherlands
Contact:

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

Post by rbisschops »

SwordFish wrote:
SwordFish wrote:
robgeerts wrote:

Well, I made an option to hide the stop button in latest version (coming tonight) ...
Can anyone confirm that ONLY venetian blinds have a stop button? I thought someone posted he needed the stop button with regular blinds...
I have blinds as type and the stop button is working.
I have tried with KAKU, stop is not working for this type.
RPi 3B (master): RFXtrx433, Harmony Hub, Z-Wave devices, CoCo units, Hue, Xiaomi Aquara
RPi 2B (slave): P1 connection, MySensors with custom built watermeter sensors on Aquadis+
RPi’s with: Mosquitto MQTT, Home Bridge, Home Assistant (for evaluation only)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post by robgeerts »

EdKo66 wrote:
wizjos wrote:
EdKo66 wrote:I think that was the problem, indeed. Didn't know what to enter, tried it with and without anything in it. I used 'integer'. Now it seems to work.

Awaiting the update to really use it
Cool! I expect it to be working smoothly now... Let's await @robgeerts' new update 8-)

Code: Select all

2017-04-22 17:26:00.433 Error: EventSystem: in Moon: [string "-- Variables to customize..."]:59: attempt to concatenate global 'moonriseMinute' (a nil value)
Not quite
BTW You can set the interval a bit lower for one time only. I don't think Wunderground will charge you for it Image
Will forward it if they do ;)
Is your tempfile writable?
I had the same problem..
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 »

I think it is. chmod 777, not sure though how to make sure. It could be that the path isn't correct.

This is my path to the tmp file: ../volume1/web/tmp/Moon.tmp
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Jonb
Posts: 16
Joined: Thursday 20 April 2017 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: NL
Contact:

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

Post by Jonb »

robgeerts wrote:
madrian wrote:About slides in Dashticz:
Hardware Acceleration
Superslides is compatible with the jQuery Animate Enhanced plugin. Simply include it before this plugin and it will automatically smooth out transitions using CSS instead of JavaScript.
Why not? I tried out:



With HW acceleration enabled the sliding animation is much smoother, but there is a little graphical glitch at the end (the flashing).

But this superslide project is very old and is not maintanced anymore, isn't there a better option? Like Swiper or any other project.
Thanks, will look into this!
You can change it to Fade instead of Slide function. I did it myself and it has a superb result! 100% smoothly and looks better too!
1. edit your jquery.superslides.js
2. find animation:"slide"
3. change to animation:"fade"
4. done (I'm sure you will like it)

You also can change the speed if you want, for me the standard speed value is great.
Locked

Who is online

Users browsing this forum: No registered users and 1 guest