Search found 1 match

by JamesUsrey
Wednesday 02 August 2017 8:45
Forum: Other questions and discussions
Topic: Get broadlink rm2 pro Temperature
Replies: 2
Views: 1989

Re: Get broadlink rm2 pro Temperature

# record send_f.py

import time

sys

def sendtahex( hx_data ):

#print hex_data

#count zero cushioning

pad_len = 32 - (len(hex_data) - 24) % 32

hex_data = hex_data + "".ljust(pad_len, '0')

#print hex_data

myrm2.send_data(hex_data.decode('hex'))

#print "Achievement"

time.sleep(0.5 ...