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

Added some devices #38

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

Added some devices #38

wants to merge 2 commits into from

Conversation

lqb
Copy link

@lqb lqb commented Oct 3, 2022

Added devices:

  • HmIP-BDT
  • HmIP-DBB
  • HMIP-eTRV
  • HmIP-eTRV-B1
  • HmIP-SRH
  • HMIP-WRC2
  • HmIP-WRC6
  • HMIP-WTH

Added docker-compose file with an .env.example
Improved debug messages

My ccu3 has the following unsopported things

# docker-compose logs homematic-exporter | grep "unsupported" | cut -d" " -f7- | sort | uniq
DEBUG - Ignoring unsupported paramType ACTION, desc: {'MIN': False, 'OPERATIONS': 4, 'MAX': True, 'FLAGS': 1, 'ID': 'PRESS_LONG', 'TYPE': 'ACTION', 'DEFAULT': False, 'CONTROL': 'BUTTON_NO_FUNCTION.LONG'}, key: None
DEBUG - Ignoring unsupported paramType ACTION, desc: {'MIN': False, 'OPERATIONS': 4, 'MAX': True, 'FLAGS': 1, 'ID': 'PRESS_SHORT', 'TYPE': 'ACTION', 'DEFAULT': False, 'CONTROL': 'BUTTON_NO_FUNCTION.SHORT'}, key: None
DEBUG - Ignoring unsupported paramType STRING, desc: {'MIN': '2000_01_01 00:00', 'OPERATIONS': 7, 'MAX': '2255_12_31 23:55', 'FLAGS': 1, 'ID': 'PARTY_TIME_END', 'TYPE': 'STRING', 'DEFAULT': '2000_01_01 00:00', 'CONTROL': 'HEATING_CONTROL_HMIP.PARTY_TIME_END'}, key: None
DEBUG - Ignoring unsupported paramType STRING, desc: {'MIN': '2000_01_01 00:00', 'OPERATIONS': 7, 'MAX': '2255_12_31 23:55', 'FLAGS': 1, 'ID': 'PARTY_TIME_START', 'TYPE': 'STRING', 'DEFAULT': '2000_01_01 00:00', 'CONTROL': 'HEATING_CONTROL_HMIP.PARTY_TIME_START'}, key: None
DEBUG - Ignoring unsupported paramType STRING, desc: {'MIN': '', 'OPERATIONS': 2, 'MAX': '', 'FLAGS': 1, 'ID': 'COMBINED_PARAMETER', 'TYPE': 'STRING', 'DEFAULT': ''}, key: None
INFO - Found unsupported top-level device XXXXXXXXXXXXXX of type HmIP-RCV-50

lqb and others added 2 commits October 3, 2022 21:47
self.process_single_value(devAddress, devType, devParentAddress, devParentType, paramType, key, paramset.get(key))
elif paramType == 'ENUM':
logging.debug("Found {}: desc: {} key: {}".format(paramType, paramDesc, paramset.get(key)))
self.process_enum(devAddress, devType, devParentAddress, devParentType,
paramType, key, paramset.get(key), paramDesc.get('VALUE_LIST'))
elif paramType in ['ACTION', 'STRING']:
logging.debug("Ignoring unsupported paramType {}, desc: {}, key: {}".format(paramType, paramDesc, paramset.get(key)))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you explicitly want to log these paramTypes when they'd be logged in else anyway?

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