Skip to content
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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

rhpijnacker
Copy link

@rhpijnacker rhpijnacker commented Dec 25, 2022

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.

TIMER20 = 0x05
TIMER30 = 0x06
JOIN = 0x09
LEAVE = 0x0A
Copy link
Collaborator

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)

Copy link
Collaborator

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))
Copy link
Collaborator

@elupus elupus May 18, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants