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

[FEATURE] KNG Group #13

Open
andreanilorenzo opened this issue Jul 17, 2020 · 4 comments
Open

[FEATURE] KNG Group #13

andreanilorenzo opened this issue Jul 17, 2020 · 4 comments

Comments

@andreanilorenzo
Copy link

andreanilorenzo commented Jul 17, 2020

Is it possible to add KNX groups too? I have some

Unknown object returned from web server: CH_KNX_GENERIC_ONOFF / Avvio Irrigazione 1

knx

@h4de5
Copy link
Owner

h4de5 commented Jul 17, 2020

Can you have a look at: https://github.com/h4de5/home-assistant-vimar/blob/master/CONTRIBUTING.md

If i know how to search for those elements i can try to add them.

@andreanilorenzo
Copy link
Author

Nothing, i can't find it,

only dozens of messages like this:

`
<SOAP-ENV:Envelope

xmlns:SOAP-ENV
="
http://schemas.xmlsoap.org/soap/envelope/
"

xmlns:SOAP-ENC
="
http://schemas.xmlsoap.org/soap/encoding/
"

xmlns:xsi
="
http://www.w3.org/2001/XMLSchema-instance
"

xmlns:xsd
="
http://www.w3.org/2001/XMLSchema
"

xmlns:ns
="
urn:xmethods-dpadws
"

<SOAP-ENV:Body

SOAP-ENV:encodingStyle
="
http://schemas.xmlsoap.org/soap/encoding/
"

<ns:service-databasesocketoperationResponse

<result-len

Response payload length: 9368
</result-len

<result

DPCM-0000
</result

<payload-len

9368
</payload-len

<payload

Response: DBMG-000
NextRows: 234
Row000001: 'ID','NAME','STATUS_ID','CURRENT_VALUE'
Row000002: '229','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_VIDEOMESSAGE_UNHANDLED','-1','6'
Row000003: '265','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SENSORS_HUMIDITY_ALARM','-1','0'
Row000004: '270','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_ALARM','-1','0'
Row000005: '19582','control_dimming','-1','0'
Row000006: '19584','direction_dimming','-1','0'
Row000007: '19586','on/off','-1','0'
Row000008: '19588','red','-1','0'
Row000009: '19589','green','-1','0'
Row000010: '19590','blue','-1','0'
Row000011: '19594','on/off fadingshow','-1','0'
Row000012: '19601','control_dimming','-1','0'
Row000013: '19603','direction_dimming','-1','0'
Row000014: '19605','on/off','-1','0'
Row000015: '19607','red','-1','0'
Row000016: '19608','green','-1','0'
Row000017: '19609','blue','-1','0'
Row000018: '19613','on/off fadingshow','-1','0'
Row000019: '19621','control_dimming','-1','0'
Row000020: '19623','direction_dimming','-1','0'
Row000021: '19628','green','-1','0'
Row000022: '19629','blue','-1','255'
Row000023: '19633','on/off fadingshow','-1','0'
Row000024: '19640','control_dimming','-1','0'
Row000025: '19642','direction_dimming','-1','0'
Row000026: '19644','on/off','-1','0'
Row000027: '19647','green','-1','0'
Row000028: '19648','blue','-1','0'
Row000029: '19652','on/off fadingshow','-1','0'
Row000030: '19673','control_dimming','-1','0'
Row000031: '19675','direction_dimming','-1','0'
Row000032: '19677','on/off','-1','0'
Row000033: '19679','red','-1','0'
Row000034: '19680','green','-1','0'
Row000035: '19681','blue','-1','0'
Row000036: '19685','on/off fadingshow','-1','0'
Row000037: '19738','control_dimming','-1','0'
Row000038: '19740','direction_dimming','-1','0'
Row000039: '19742','on/off','-1','0'
Row000040: '19744','red','-1','0'
Row000041: '19745','green','-1','0'
Row000042: '19746','blue','-1','0'
Row000043: '19750','on/off fadingshow','-1','0'
Row000044: '19762','control_dimming','-1','0'
Row000045: '19764','direction_dimming','-1','0'
Row000046: '19766','on/off','-1','0'
Row000047: '19768','red','-1','255'
Row000048: '19769','green','-1','0'
Row000049: '19770','blue','-1','90'
Row000050: '19774','on/off fadingshow','-1','1'
Row000051: '20002','on/off','-1','0'
Row000052: '20006','on/off','-1','0'
Row000053: '20011','on/off','-1','1'
Row000054: '20099','on/off','-1','0'
Row000055: '20124','control_dimming','-1','0'
Row000056: '20126','direction_dimming','-1','0'
Row000057: '20128','on/off','-1','0'
Row000058: '20130','red','-1','0'
Row000059: '20131','green','-1','0'
Row000060: '20132','blue','-1','0'
Row000061: '20136','on/off fadingshow','-1','0'
Row000062: '20425','on/off','-1','1'
Row000063: '20429','on/off','-1','1'
Row000064: '21491','red_1','-1','0'
Row000065: '21492','green_1','-1','0'
Row000066: '21493','blue_1','-1','0'
Row000067: '21494','red_2','-1','0'
Row000068: '21495','green_2','-1','0'
Row000069: '21496','blue_2','-1','0'
Row000070: '21497','red_3','-1','0'
Row000071: '21498','green_3','-1','0'
Row000072: '21499','blue_3','-1','0'
Row000073: '21501','red_4','-1','0'
Row000074: '21502','green_4','-1','0'
Row000075: '21503','blue_4','-1','0'
Row000076: '21504','red_5','-1','0'
Row000077: '21505','green_5','-1','0'
Row000078: '21506','blue_5','-1','0'
Row000079: '21507','red_6','-1','0'
Row000080: '21508','green_6','-1','0'
Row000081: '21509','blue_6','-1','0'
Row000082: '21511','time_transition','-1','0'
Row000083: '21513','time_persistence','-1','0'
Row000084: '21527','red_1','-1','255'
Row000085: '21528','green_1','-1','0'
Row000086: '21529','blue_1','-1','163'
Row000087: '21530','red_2','-1','255'
Row000088: '21531','green_2','-1','165'
Row000089: '21532','blue_2','-1','0'
Row000090: '21533','red_3','-1','255'
Row000091: '21534','green_3','-1','0'
Row000092: '21535','blue_3','-1','233'
Row000093: '21537','red_4','-1','0'
Row000094: '21538','green_4','-1','255'
Row000095: '21539','blue_4','-1','0'
Row000096: '21540','red_5','-1','255'
Row000097: '21541','green_5','-1','0'
Row000098: '21542','blue_5','-1','242'
Row000099: '21543','red_6','-1','224'
Row000100: '21544','green_6','-1','0'
Row000101: '21545','blue_6','-1','255'
Row000102: '21547','time_transition','-1','20'
Row000103: '21549','time_persistence','-1','20'
Row000104: '21564','red_1','-1','0'
Row000105: '21565','green_1','-1','0'
Row000106: '21566','blue_1','-1','0'
Row000107: '21567','red_2','-1','0'
Row000108: '21568','green_2','-1','0'
Row000109: '21569','blue_2','-1','0'
Row000110: '21570','red_3','-1','0'
Row000111: '21571','green_3','-1','0'
Row000112: '21572','blue_3','-1','0'
Row000113: '21574','red_4','-1','0'
Row000114: '21575','green_4','-1','0'
Row000115: '21576','blue_4','-1','0'
Row000116: '21577','red_5','-1','0'
Row000117: '21578','green_5','-1','0'
Row000118: '21579','blue_5','-1','0'
Row000119: '21580','red_6','-1','0'
Row000120: '21581','green_6','-1','0'
Row000121: '21582','blue_6','-1','0'
Row000122: '21584','time_transition','-1','0'
Row000123: '21586','time_persistence','-1','0'
Row000124: '21600','red_1','-1','255'
Row000125: '21601','green_1','-1','0'
Row000126: '21602','blue_1','-1','0'
Row000127: '21603','red_2','-1','255'
Row000128: '21604','green_2','-1','165'
Row000129: '21605','blue_2','-1','0'
Row000130: '21606','red_3','-1','255'
Row000131: '21607','green_3','-1','255'
Row000132: '21608','blue_3','-1','0'
Row000133: '21610','red_4','-1','0'
Row000134: '21611','green_4','-1','255'
Row000135: '21612','blue_4','-1','0'
Row000136: '21613','red_5','-1','0'
Row000137: '21614','green_5','-1','0'
Row000138: '21615','blue_5','-1','255'
Row000139: '21616','red_6','-1','224'
Row000140: '21617','green_6','-1','0'
Row000141: '21618','blue_6','-1','255'
Row000142: '21620','time_transition','-1','20'
Row000143: '21622','time_persistence','-1','20'
Row000144: '21656','red_1','-1','255'
Row000145: '21657','green_1','-1','0'
Row000146: '21658','blue_1','-1','0'
Row000147: '21659','red_2','-1','255'
Row000148: '21660','green_2','-1','165'
Row000149: '21661','blue_2','-1','0'
Row000150: '21662','red_3','-1','255'
Row000151: '21663','green_3','-1','255'
Row000152: '21664','blue_3','-1','0'
Row000153: '21666','red_4','-1','0'
Row000154: '21667','green_4','-1','255'
Row000155: '21668','blue_4','-1','0'
Row000156: '21669','red_5','-1','0'
Row000157: '21670','green_5','-1','0'
Row000158: '21671','blue_5','-1','255'
Row000159: '21672','red_6','-1','224'
Row000160: '21673','green_6','-1','0'
Row000161: '21674','blue_6','-1','255'
Row000162: '21676','time_transition','-1','20'
Row000163: '21678','time_persistence','-1','20'
Row000164: '21765','red_1','-1','255'
Row000165: '21766','green_1','-1','0'
Row000166: '21767','blue_1','-1','0'
Row000167: '21768','red_2','-1','255'
Row000168: '21769','green_2','-1','165'
Row000169: '21770','blue_2','-1','0'
Row000170: '21771','red_3','-1','255'
Row000171: '21772','green_3','-1','255'
Row000172: '21773','blue_3','-1','0'
Row000173: '21775','red_4','-1','0'
Row000174: '21776','green_4','-1','255'
Row000175: '21777','blue_4','-1','0'
Row000176: '21778','red_5','-1','5'
Row000177: '21779','green_5','-1','0'
Row000178: '21780','blue_5','-1','255'
Row000179: '21781','red_6','-1','224'
Row000180: '21782','green_6','-1','0'
Row000181: '21783','blue_6','-1','255'
Row000182: '21785','time_transition','-1','70'
Row000183: '21787','time_persistence','-1','40'
Row000184: '21805','red_1','-1','0'
Row000185: '21806','green_1','-1','0'
Row000186: '21807','blue_1','-1','0'
Row000187: '21808','red_2','-1','0'
Row000188: '21809','green_2','-1','0'
Row000189: '21810','blue_2','-1','0'
Row000190: '21811','red_3','-1','0'
Row000191: '21812','green_3','-1','0'
Row000192: '21813','blue_3','-1','0'
Row000193: '21815','red_4','-1','0'
Row000194: '21816','green_4','-1','0'
Row000195: '21817','blue_4','-1','0'
Row000196: '21818','red_5','-1','0'
Row000197: '21819','green_5','-1','0'
Row000198: '21820','blue_5','-1','0'
Row000199: '21821','red_6','-1','0'
Row000200: '21822','green_6','-1','0'
Row000201: '21823','blue_6','-1','0'
Row000202: '21825','time_transition','-1','0'
Row000203: '21827','time_persistence','-1','0'
Row000204: '22451','red_1','-1','255'
Row000205: '22452','green_1','-1','0'
Row000206: '22453','blue_1','-1','0'
Row000207: '22454','red_2','-1','255'
Row000208: '22455','green_2','-1','165'
Row000209: '22456','blue_2','-1','0'
Row000210: '22457','red_3','-1','255'
Row000211: '22458','green_3','-1','255'
Row000212: '22459','blue_3','-1','0'
Row000213: '22461','red_4','-1','0'
Row000214: '22462','green_4','-1','255'
Row000215: '22463','blue_4','-1','0'
Row000216: '22464','red_5','-1','0'
Row000217: '22465','green_5','-1','0'
Row000218: '22466','blue_5','-1','255'
Row000219: '22467','red_6','-1','224'
Row000220: '22468','green_6','-1','0'
Row000221: '22469','blue_6','-1','255'
Row000222: '22471','time_transition','-1','0'
Row000223: '22473','time_persistence','-1','10'
Row000224: '40220','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0'
Row000225: '41910','on/off','-1','1'
Row000226: '41914','on/off','-1','0'
Row000227: '41918','on/off','-1','0'
Row000228: '41922','on/off','-1','0'
Row000229: '41926','on/off','-1','0'
Row000230: '41930','on/off','-1','0'
Row000231: '45269','on/off','-1','0'
Row000232: '45273','on/off','-1','0'
Row000233: '45298','on/off','-1','0'
Row000234: '91894','on/off','-1','0'
</payload

</ns:service-databasesocketoperationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
`

h4de5 added a commit that referenced this issue Jul 18, 2020
Switch to update coordinator. Pack all state updates into a single request. part of #12
Remove hardcoded scan intervals.
Get rid of room-id request, retrieve entities only through remote status.
Add paged sql list request for large installations. Solves #11
Add KNX generics as switches. part of #13
Split up energy guards into individual sensors. part of #6
Add new sensor, climate and switch channel names.
Add custom API Exception class and centralize setup_platform method.
Harmonizing different climate device states.
Add lots of lint sugar and cleanup comments.
@h4de5
Copy link
Owner

h4de5 commented Jul 28, 2020

I added some more debug info for entities that are not yet supported.

Let me know if this is working now.

you can add debug logging for this component only by adding this to your configuration.yaml:

logger:
  default: warning
  logs:
    custom_components.vimar_platform: debug

@h4de5
Copy link
Owner

h4de5 commented Sep 3, 2020

@andreanilorenzo did you have any chance to look at the debug options or are those groups working already in hass?

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

No branches or pull requests

2 participants