Jump to content
🌟 NOTIFICATION/Benachrichtigung: Welcome to our New Store! - shelly.com 🌟 ×

Skript für Shelly RC button 4


amphi

Recommended Posts

  • Shelly

es sind 2 Scripte notwendig:

BLE-Handler Script:

shelly-blu-handler1.txt

und das eigentliche für die Verarbeitung der URLs (MAC-Adresse von deinem RC Button 4 muss umgeschrieben und die jeweiligen URLs noch eingetragen werden):

shelly-blu-RC4.txt

probiere es bitte aus, sollte funktionieren

 

Mit einem Pro-Gerät oder einem Gerät der 3. Generation ist aber ein Script hinfällig, da die Tastendrücke über die BTHome-Komponenten

mit der neuesten Firmware direkt definiert und verarbeitet werden können.

Link to comment
Share on other sites

Hello, your scripts work.

Can i call two or more action with a single press?

fox example i want that with a single press of button 1 turn on two different relays

"http://192.168.1.6/relay/0?turn=on"

"http://192.168.1.8/relay/0?turn=on"

how can i do?

Link to comment
Share on other sites

I edit CONFIG  with more calls so i can use array for calls more urls.

if it doesn't find the url it stops, so i create a script that run all script every 5 seconds.

it work with shelly uni plus.

thanks for your script.

shelly-blu-handler1.txt shelly-blu-RC4-più-comandi.txt shelly-run-script.txt

Edited by Davide
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Erstelle neue...