ygalanter
ygalanter
Never mind, found overlap percentage takes care of this.
Maybe related - how to change the granularity of "snap to" when resizing a widget?
Can confirm too, downgrading to 0.3 I am getting the same behavior as on main GridstackJS demo page. But was getting overlapping and chaotic unpredictable movement both in 0.4 and...
Never mind, should've RTFM, data-gs-locked attribute does it.
Thanks for the prompt reply. Tried full paths to both Node and the script: [{"item":"/usr/bin/nodejs /home/ygalanter/ha-bridge/scripts/led.js 2 off"}] This is Ubuntu, am I missing something? Thanks, Yuriy. From: BWS Systems...
Unfortunately same thing is happening, I am at a loss. From: BWS Systems Sent: Friday, February 24, 2017 1:59 PM To: bwssytems/ha-bridge Cc: ygalanter ; Author Subject: Re: [bwssytems/ha-bridge] Cannot...
Am I doing this right? I created script that works from terminal if I call it: /home/ygalanter/ha-bridge/scripts/led.sh 2 on and use it in bridge command: [{"item":"/home/ygalanter/ha-bridge/scripts/led.sh 2 on"}] And still...
Yes, this is content of the led.sh (I am passing params to it): #!/bin/sh /usr/bin/nodejs /home/ygalanter/ha-bridge/scripts/led.js $1 $2 if I call it from terminal as /usr/bin/nodejs /home/ygalanter/ha-bridge/scripts/led.js 2 off it...
That didn't work, but I found if instead of JSON I enter in Target Item field raw command "nodejs /home/ygalanter/ha-bridge/scripts/led.js 2 on" - it works and command is executed successfully....
Never mind, deleted and re-added the device and it's is working now. Here's final commands: ON: nodejs /home/ygalanter/ha-bridge/scripts/led.js 2 on DIM: nodejs /home/ygalanter/ha-bridge/scripts/led.js 2 dim ${intensity.percent} OFF: nodejs /home/ygalanter/ha-bridge/scripts/led.js 2...