-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Itho HRU400 heat recovery unit (868MHz) #145
base: master
Are you sure you want to change the base?
Add support for Itho HRU400 heat recovery unit (868MHz) #145
Conversation
TIMER20 = 0x05 | ||
TIMER30 = 0x06 | ||
JOIN = 0x09 | ||
LEAVE = 0x0A |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not add enums here. If we want them, they should be added to all types.
|
||
modes_list = sys.argv[2].split() if len(sys.argv) > 2 else None | ||
print ("modes: ", modes_list) | ||
core = RFXtrx.Core(rfxcom_device, print_callback, modes=modes_list) | ||
core = RFXtrx.Connect(rfxcom_device, print_callback, transport_protocol=RFXtrx.PyNetworkTransport, modes=modes_list) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't really have both serial and network in same example.
transport = PySerialTransport('/dev/cu.usbserial-05VN8GHS') | ||
transport = PyNetworkTransport(('192.168.2.247', 10001)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove these extra stuff. Pretty much all changes in this file.
The Itho HRU400 is a heat recovery devices that communicates on the 868MHz band using Itho RFT remotes.
Last week RFXCOM added support in the latest firmware for the RFX868 devices.
The remote sends commands with packet type 0x17 (used by more types of Itho devices) and the HRU400 uses subtype 0x0D.
The commands supported are Low (0x01), Medium (0x02), High (0x03) and three timer variations: 10 min (0x04), 20 min (0x05), 30 min (0x06). In addition there are commands to Join a new remote (0x09) and "Leave" (0x10), which I did not test.