Hi,
Looking for an API or other information for the Automate Pulse 2 hub to assist in integration of Rollease blinds (shades) into Indigo.
TIA
mclass
Sent from my iPad using Tapatalk
Looking for an API or other information for the Automate Pulse 2 hub to assist in integration of Rollease blinds (shades) into Indigo.
# Script to Send Commands to RollEase Hub
# Currently known available Pulse 2 Hub commands (there maybe others):
# Close: 'c'
# Open: 'o'
# Stop: 's'
# Move to Position: 'mPPP' - where PPP is the percentage position in three digits eg 050 -> 50%
# Query current position: 'r?'
import socket
HOST = '192..168.1.50' # hub address
PORT = 1487 # port
TARGET_ID = '123' # 3 digit ID of blind (can be found using the Pulse app)
COMMAND = 'c'. # see list of commands above
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST,PORT))
s.sendall('!' + TARGET_ID + COMMAND + ';')
data = s.recv(1024)
print('Received', data)
Users browsing this forum: No registered users and 3 guests