My intention was that I do dummy as a selector and then stop level 10, 20, 30 40 times the blind stops.
But do not get it set up in Blockly.
Could help with someone?


Moderator: leecollings
Code: Select all
#!/bin/bash
curl -s 'http://127.0.0.1:8080/json.htm?type=command¶m=switchlight&idx=99&switchcmd=On'
sleep 4
curl -s 'http://127.0.0.1:8080/json.htm?type=command¶m=switchlight&idx=99&switchcmd=Stop'
Code: Select all
chmod +x /home/pi/openblind99.shCode: Select all
scipt:///home/pi/openblind99.shUsers browsing this forum: Bing [Bot] and 1 guest