home-assistant-vimar
home-assistant-vimar copied to clipboard
[FEATURE] SAI
Response: DBMG-000
NextRows: 36
Row000001: 'ID','NAME','STATUS_ID','CURRENT_VALUE'
Row000002: '229','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_VIDEOMESSAGE_UNHANDLED','-1','0'
Row000003: '265','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SENSORS_HUMIDITY_ALARM','-1','0'
Row000004: '269','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_INFO','-1','1'
Row000005: '270','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_ALARM','-1','1'
Row000006: '273','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14','-1','0'
Row000007: '8548','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0'
Row000008: '10958','Villa','-1','00000000'
Row000009: '10959','Villa (Disinserito)','-1','0'
Row000010: '10960','Villa (Inserito INT)','-1','0'
Row000011: '10961','Villa (Inserito ON)','-1','0'
Row000012: '10962','Villa (Inserito PAR)','-1','0'
Row000013: '10963','Villa (Memoria)','-1','0'
Row000014: '10964','Villa (Allarme)','-1','0'
Row000015: '10965','Villa (Zone escluse INT)','-1','0'
Row000016: '10966','Villa (Zone escluse ON)','-1','0'
Row000017: '10967','Villa (Zone escluse PAR)','-1','0'
Row000018: '10968','Villa (Zone aperte INT)','-1','0'
Row000019: '10969','Villa (Zone aperte ON)','-1','0'
Row000020: '10970','Villa (Zone aperte PAR)','-1','0'
Row000021: '10971','Corridoio Giorno','-1','00000000'
Row000022: '10978','Corridoio Notte','-1','00000000'
Row000023: '10985','Blindata','-1','00000000'
Row000024: '10992','Taverna','-1','00000000'
Row000025: '10999','Soggiorno','-1','00000000'
Row000026: '11006','Cucina','-1','00000000'
Row000027: '11013','Studio','-1','00000001'
Row000028: '11020','Scala','-1','00000000'
Row000029: '11027','Cam Ospiti','-1','00000000'
Row000030: '11034','Bagno Matrimon','-1','00000000'
Row000031: '11041','Bagno','-1','00000000'
Row000032: '11048','Cam Matrimoniale','-1','00000001'
Row000033: '11055','Cameretta','-1','00000000'
Row000034: '11062','Sensore Ingresso','-1','00000000'
Row000035: '11069','Botola Soffitta','-1','0'
Row000036: '11076','Velux','-1','0'
/edit: reformat list
@felisida : What is the difference between the attributes that are set to 0
and those set to 00000000
(or 1
and 00000001
)?
I am not sure if I will be able to "arm" or "disarm" the alarm system. You may need to capture the request when you change the state on the webserver. (see second part of CONTRIBUTING.md)
I can add read only sensors to home-assistant to monitor those attributes - but please be aware, that, depending on the amount of actors in the installation, there can be a delay of like 2 minutes or more until the system realizes any update. I am not sure if this is suitable for alarm installations.
I know, however it could be useful to read the sensors on the windows and volumetric to use them in other scenarios or to know if there are open windows, even if you cannot arm or disarm the alarm. I tried to reproduce the second parto fo contribute, and the is the result
<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
<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
<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
I too download from safari the whole inspector web 192.168.86.110.webarchive.zip
unfortunately that is again, the response from the webserver.
the request for any status change can be found in the headers or request tab:
the payload should look like this (it has a <operation>SETVALUE</operation>
in it):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body><service-runonelement xmlns="urn:xmethods-dpadws">
<payload>1</payload>
<hashcode>NO-HASHCODE</hashcode>
<optionals>NO-OPTIONALS</optionals>
<callsource>WEB-DOMUSPAD_SOAP</callsource>
<sessionid>xxxxxxx</sessionid>
<waittime>10</waittime>
<idobject>710</idobject>
<operation>SETVALUE</operation>
</service-runonelement>
</soapenv:Body></soapenv:Envelope>
there are many, many other requests going on when you have the webserver oben:
those are the regular status updates (can be identified because they have <type>SELECT</type>
in it. also they can be ignored for now.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
soapenv:Body
@felisida you are in the right tab now - those requests are sent, like every second to update the status of the gui.
If you change something - e.g. switch a light on - there should be an extra request sent, that is a little bit different than the others. Instead of having a "SELECT", the payload should include a <operation>SETVALUE</operation>
(or something similiar).
I am very well aware that all of you already take efforts that go beyond a regular bug report 😄 - and I want to thank you again for sticking to this and bearing with all those teething troubles 👏
before enter the code
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
after the code
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
when I press on the gear button
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
when I exclude a zone
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Body
Yes this is also useful for me. If you need information for the test I am available
<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: 8057 </result-len
<result
DPCM-0000 </result
<payload-len
8057 </payload-len
<payload
Response: DBMG-000 NextRows: 143 Row000001: 'ID','NAME','STATUS_ID','CURRENT_VALUE' Row000002: '229','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_VIDEOMESSAGE_UNHANDLED','-1','9' Row000003: '265','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SENSORS_HUMIDITY_ALARM','-1','0' Row000004: '270','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_ALARM','-1','1' Row000005: '273','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14','-1','0' Row000006: '40220','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0' Row000007: '82719','ESCO DI CASA','-1','00000011' Row000008: '82720','ESCO DI CASA (Disinserito)','-1','0' Row000009: '82721','ESCO DI CASA (Inserito INT)','-1','0' Row000010: '82722','ESCO DI CASA (Inserito ON)','-1','0' Row000011: '82723','ESCO DI CASA (Inserito PAR)','-1','0' Row000012: '82724','ESCO DI CASA (Memoria)','-1','0' Row000013: '82725','ESCO DI CASA (Allarme)','-1','0' Row000014: '82726','ESCO DI CASA (Zone escluse INT)','-1','0' Row000015: '82727','ESCO DI CASA (Zone escluse ON)','-1','0' Row000016: '82728','ESCO DI CASA (Zone escluse PAR)','-1','0' Row000017: '82729','ESCO DI CASA (Zone aperte INT)','-1','0' Row000018: '82730','ESCO DI CASA (Zone aperte ON)','-1','0' Row000019: '82731','ESCO DI CASA (Zone aperte PAR)','-1','0' Row000020: '82732','SONO IN CASA','-1','00000000' Row000021: '82733','SONO IN CASA (Disinserito)','-1','0' Row000022: '82734','SONO IN CASA (Inserito INT)','-1','0' Row000023: '82735','SONO IN CASA (Inserito ON)','-1','0' Row000024: '82736','SONO IN CASA (Inserito PAR)','-1','0' Row000025: '82737','SONO IN CASA (Memoria)','-1','0' Row000026: '82738','SONO IN CASA (Allarme)','-1','0' Row000027: '82739','SONO IN CASA (Zone escluse INT)','-1','0' Row000028: '82740','SONO IN CASA (Zone escluse ON)','-1','0' Row000029: '82741','SONO IN CASA (Zone escluse PAR)','-1','0' Row000030: '82742','SONO IN CASA (Zone aperte INT)','-1','0' Row000031: '82743','SONO IN CASA (Zone aperte ON)','-1','0' Row000032: '82744','SONO IN CASA (Zone aperte PAR)','-1','0' Row000033: '82745','GIARDINO PERIMET','-1','00000011' Row000034: '82746','GIARDINO PERIMET (Disinserito)','-1','0' Row000035: '82747','GIARDINO PERIMET (Inserito INT)','-1','0' Row000036: '82748','GIARDINO PERIMET (Inserito ON)','-1','0' Row000037: '82749','GIARDINO PERIMET (Inserito PAR)','-1','0' Row000038: '82750','GIARDINO PERIMET (Memoria)','-1','0' Row000039: '82751','GIARDINO PERIMET (Allarme)','-1','0' Row000040: '82752','GIARDINO PERIMET (Zone escluse INT)','-1','0' Row000041: '82753','GIARDINO PERIMET (Zone escluse ON)','-1','0' Row000042: '82754','GIARDINO PERIMET (Zone escluse PAR)','-1','0' Row000043: '82755','GIARDINO PERIMET (Zone aperte INT)','-1','0' Row000044: '82756','GIARDINO PERIMET (Zone aperte ON)','-1','0' Row000045: '82757','GIARDINO PERIMET (Zone aperte PAR)','-1','0' Row000046: '82758','GIARDINO VOLUM','-1','00000011' Row000047: '82759','GIARDINO VOLUM (Disinserito)','-1','0' Row000048: '82760','GIARDINO VOLUM (Inserito INT)','-1','0' Row000049: '82761','GIARDINO VOLUM (Inserito ON)','-1','0' Row000050: '82762','GIARDINO VOLUM (Inserito PAR)','-1','0' Row000051: '82763','GIARDINO VOLUM (Memoria)','-1','0' Row000052: '82764','GIARDINO VOLUM (Allarme)','-1','0' Row000053: '82765','GIARDINO VOLUM (Zone escluse INT)','-1','0' Row000054: '82766','GIARDINO VOLUM (Zone escluse ON)','-1','0' Row000055: '82767','GIARDINO VOLUM (Zone escluse PAR)','-1','0' Row000056: '82768','GIARDINO VOLUM (Zone aperte INT)','-1','0' Row000057: '82769','GIARDINO VOLUM (Zone aperte ON)','-1','0' Row000058: '82770','GIARDINO VOLUM (Zone aperte PAR)','-1','0' Row000059: '82771','EXT P1 Viareggio','-1','00000000' Row000060: '82778','EXT P2 Mare','-1','00000000' Row000061: '82785','EXT P1 Monti','-1','00000000' Row000062: '82792','EXT P2 Viareggio','-1','00000000' Row000063: '82799','EXT P3 Massa','-1','00000000' Row000064: '82806','EXT P3 Mare','-1','00000000' Row000065: '82813','EXT P4 Massa','-1','00000000' Row000066: '82820','EXT P4 Monti','-1','00000000' Row000067: '82827','INTERNO','-1','00000011' Row000068: '82828','INTERNO (Disinserito)','-1','0' Row000069: '82829','INTERNO (Inserito INT)','-1','0' Row000070: '82830','INTERNO (Inserito ON)','-1','0' Row000071: '82831','INTERNO (Inserito PAR)','-1','0' Row000072: '82832','INTERNO (Memoria)','-1','0' Row000073: '82833','INTERNO (Allarme)','-1','0' Row000074: '82834','INTERNO (Zone escluse INT)','-1','0' Row000075: '82835','INTERNO (Zone escluse ON)','-1','0' Row000076: '82836','INTERNO (Zone escluse PAR)','-1','0' Row000077: '82837','INTERNO (Zone aperte INT)','-1','0' Row000078: '82838','INTERNO (Zone aperte ON)','-1','0' Row000079: '82839','INTERNO (Zone aperte PAR)','-1','0' Row000080: '82840','P1Scala Terrazza','-1','00000000' Row000081: '82847','IR P1 Corridoio','-1','00000000' Row000082: '82854','IR INT Ingresso','-1','00000000' Row000083: '82861','IR PT e INT','-1','00000000' Row000084: '82868','FINESTRE PT','-1','00000011' Row000085: '82869','FINESTRE PT (Disinserito)','-1','0' Row000086: '82870','FINESTRE PT (Inserito INT)','-1','0' Row000087: '82871','FINESTRE PT (Inserito ON)','-1','0' Row000088: '82872','FINESTRE PT (Inserito PAR)','-1','0' Row000089: '82873','FINESTRE PT (Memoria)','-1','0' Row000090: '82874','FINESTRE PT (Allarme)','-1','0' Row000091: '82875','FINESTRE PT (Zone escluse INT)','-1','0' Row000092: '82876','FINESTRE PT (Zone escluse ON)','-1','0' Row000093: '82877','FINESTRE PT (Zone escluse PAR)','-1','0' Row000094: '82878','FINESTRE PT (Zone aperte INT)','-1','0' Row000095: '82879','FINESTRE PT (Zone aperte ON)','-1','0' Row000096: '82880','FINESTRE PT (Zone aperte PAR)','-1','0' Row000097: '82881','RPT Porta Ingres','-1','00000000' Row000098: '82888','RPT Locale Tecni','-1','0' Row000099: '82895','RPT Cucina','-1','00000000' Row000100: '82902','RPT Mare Viaregg','-1','00000000' Row000101: '82909','RPT Mare Massa','-1','00000000' Row000102: '82916','RINT Portellone','-1','00000000' Row000103: '82930','EXT Quadro Elett','-1','00000000' Row000104: '82937','FINESTRE P1','-1','00000011' Row000105: '82938','FINESTRE P1 (Disinserito)','-1','0' Row000106: '82939','FINESTRE P1 (Inserito INT)','-1','0' Row000107: '82940','FINESTRE P1 (Inserito ON)','-1','0' Row000108: '82941','FINESTRE P1 (Inserito PAR)','-1','0' Row000109: '82942','FINESTRE P1 (Memoria)','-1','0' Row000110: '82943','FINESTRE P1 (Allarme)','-1','0' Row000111: '82944','FINESTRE P1 (Zone escluse INT)','-1','0' Row000112: '82945','FINESTRE P1 (Zone escluse ON)','-1','0' Row000113: '82946','FINESTRE P1 (Zone escluse PAR)','-1','0' Row000114: '82947','FINESTRE P1 (Zone aperte INT)','-1','0' Row000115: '82948','FINESTRE P1 (Zone aperte ON)','-1','0' Row000116: '82949','FINESTRE P1 (Zone aperte PAR)','-1','0' Row000117: '82950','RP1 Bagno Mo.Ma','-1','0' Row000118: '82957','RP1 Corridoio','-1','00000000' Row000119: '82964','RP1 Camera Ma.Ma','-1','0' Row000120: '82971','RP1 Cam Bag Fin','-1','00000000' Row000121: '82978','RP1 Camera Ma.Vi','-1','00000000' Row000122: '82985','RP1 Camera Mo.Vi','-1','0' Row000123: '82992','RP1 Bagno Mo.Vi','-1','0' Row000124: '82999','TETTO','-1','00000000' Row000125: '83000','TETTO (Disinserito)','-1','0' Row000126: '83001','TETTO (Inserito INT)','-1','0' Row000127: '83002','TETTO (Inserito ON)','-1','0' Row000128: '83003','TETTO (Inserito PAR)','-1','0' Row000129: '83004','TETTO (Memoria)','-1','0' Row000130: '83005','TETTO (Allarme)','-1','0' Row000131: '83006','TETTO (Zone escluse INT)','-1','0' Row000132: '83007','TETTO (Zone escluse ON)','-1','0' Row000133: '83008','TETTO (Zone escluse PAR)','-1','0' Row000134: '83009','TETTO (Zone aperte INT)','-1','0' Row000135: '83010','TETTO (Zone aperte ON)','-1','0' Row000136: '83011','TETTO (Zone aperte PAR)','-1','0' Row000137: '83012','RP1 Botola Tetto','-1','00000000' Row000138: '91894','on/off','-1','0' Row000139: '91897','on/off','-1','0' Row000140: '91900','on/off','-1','0' Row000141: '91903','on/off','-1','0' Row000142: '91906','on/off','-1','0' Row000143: '91999','EXT IR Lato Mare','-1','00000000' </payload
</ns:service-databasesocketoperationResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
no updates for this? I can help?
@tempod hi ! You could set the logging mode to debug and post if the integration actually finds any SAI devices.
it should say something like "Unsupported object returned from web server .." or "Unknown object returned from web server:" followed by the available states.
I don't have the SAI but the By-Alarm I made a little video on how it works.
FIRST SCREEN CODE
Response: DBMG-000 NextRows: 44 Row000001: 'ID','NAME','STATUS_ID','CURRENT_VALUE' Row000002: '229','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_VIDEOMESSAGE_UNHANDLED','-1','0' 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: '273','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14','-1','0' Row000006: '1128','indice','-1','1' Row000007: '1129','comando','-1','0' Row000008: '1132','indice','-1','2' Row000009: '1133','comando','-1','0' Row000010: '2234','Casa','-1','00000000' Row000011: '2235','Casa (Disinserito)','-1','0' Row000012: '2236','Casa (Inserito INT)','-1','0' Row000013: '2237','Casa (Inserito ON)','-1','0' Row000014: '2238','Casa (Inserito PAR)','-1','0' Row000015: '2239','Casa (Memoria)','-1','0' Row000016: '2240','Casa (Allarme)','-1','0' Row000017: '2241','Casa (Zone escluse INT)','-1','0' Row000018: '2242','Casa (Zone escluse ON)','-1','0' Row000019: '2243','Casa (Zone escluse PAR)','-1','0' Row000020: '2244','Casa (Zone aperte INT)','-1','0' Row000021: '2245','Casa (Zone aperte ON)','-1','0' Row000022: '2246','Casa (Zone aperte PAR)','-1','0' Row000023: '2247','Camera','-1','00000000' Row000024: '2254','FinCucina','-1','00000000' Row000025: '2261','FinSxBagno','-1','00000000' Row000026: '2268','FinDxBagno','-1','00000000' Row000027: '2275','Cucina','-1','00000000' Row000028: '2282','Studio','-1','00000000' Row000029: '2289','Cameretta','-1','00000000' Row000030: '2296','FinSalotto','-1','00000000' Row000031: '2303','SSalotto','-1','00000000' Row000032: '2310','SCorridoio','-1','00000000' Row000033: '2317','Salotto','-1','00000000' Row000034: '2324','Portone','-1','00000000' Row000035: '2338','STerrazza','-1','00000000' Row000036: '6844','Vasistas5','-1','00000000' Row000037: '6851','Vasistas3','-1','00000000' Row000038: '6858','Vasistas4','-1','00000000' Row000039: '6865','Vasistas1','-1','00000000' Row000040: '6872','Vasistas2','-1','00000000' Row000041: '6879','Basculante','-1','00000000' Row000042: '31561','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0' Row000043: '44664','Acqua Lavatrice','-1','00000000' Row000044: '80159','on/off','-1','0'
SECOND SCREEN CODE (after secure code)
Response: DBMG-000 NextRows: 44 Row000001: 'ID','NAME','STATUS_ID','CURRENT_VALUE' Row000002: '229','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_VIDEOMESSAGE_UNHANDLED','-1','0' Row000003: '269','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_INFO','-1','1' Row000004: '270','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_ALARM','-1','0' Row000005: '273','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14','-1','0' Row000006: '1128','indice','-1','1' Row000007: '1129','comando','-1','0' Row000008: '1132','indice','-1','2' Row000009: '1133','comando','-1','0' Row000010: '2234','Casa','-1','00000000' Row000011: '2235','Casa (Disinserito)','-1','0' Row000012: '2236','Casa (Inserito INT)','-1','0' Row000013: '2237','Casa (Inserito ON)','-1','0' Row000014: '2238','Casa (Inserito PAR)','-1','0' Row000015: '2239','Casa (Memoria)','-1','0' Row000016: '2240','Casa (Allarme)','-1','0' Row000017: '2241','Casa (Zone escluse INT)','-1','0' Row000018: '2242','Casa (Zone escluse ON)','-1','0' Row000019: '2243','Casa (Zone escluse PAR)','-1','0' Row000020: '2244','Casa (Zone aperte INT)','-1','0' Row000021: '2245','Casa (Zone aperte ON)','-1','0' Row000022: '2246','Casa (Zone aperte PAR)','-1','0' Row000023: '2247','Camera','-1','00000000' Row000024: '2254','FinCucina','-1','00000000' Row000025: '2261','FinSxBagno','-1','00000000' Row000026: '2268','FinDxBagno','-1','00000000' Row000027: '2275','Cucina','-1','00000000' Row000028: '2282','Studio','-1','00000000' Row000029: '2289','Cameretta','-1','00000000' Row000030: '2296','FinSalotto','-1','00000000' Row000031: '2303','SSalotto','-1','00000000' Row000032: '2310','SCorridoio','-1','00000000' Row000033: '2317','Salotto','-1','00000000' Row000034: '2324','Portone','-1','00000000' Row000035: '2338','STerrazza','-1','00000000' Row000036: '6844','Vasistas5','-1','00000000' Row000037: '6851','Vasistas3','-1','00000000' Row000038: '6858','Vasistas4','-1','00000000' Row000039: '6865','Vasistas1','-1','00000000' Row000040: '6872','Vasistas2','-1','00000000' Row000041: '6879','Basculante','-1','00000000' Row000042: '31561','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0' Row000043: '44664','Acqua Lavatrice','-1','00000000' Row000044: '80159','on/off','-1','0'
THIRD SCREEN CODE (before exclude "camera")
Response: DBMG-000 NextRows: 44 Row000001: 'ID','NAME','STATUS_ID','CURRENT_VALUE' Row000002: '229','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_VIDEOMESSAGE_UNHANDLED','-1','0' Row000003: '269','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_INFO','-1','1' Row000004: '270','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_ALARM','-1','0' Row000005: '273','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14','-1','0' Row000006: '1128','indice','-1','1' Row000007: '1129','comando','-1','0' Row000008: '1132','indice','-1','2' Row000009: '1133','comando','-1','0' Row000010: '2234','Casa','-1','00000101' Row000011: '2235','Casa (Disinserito)','-1','0' Row000012: '2236','Casa (Inserito INT)','-1','0' Row000013: '2237','Casa (Inserito ON)','-1','0' Row000014: '2238','Casa (Inserito PAR)','-1','0' Row000015: '2239','Casa (Memoria)','-1','0' Row000016: '2240','Casa (Allarme)','-1','0' Row000017: '2241','Casa (Zone escluse INT)','-1','0' Row000018: '2242','Casa (Zone escluse ON)','-1','0' Row000019: '2243','Casa (Zone escluse PAR)','-1','0' Row000020: '2244','Casa (Zone aperte INT)','-1','0' Row000021: '2245','Casa (Zone aperte ON)','-1','0' Row000022: '2246','Casa (Zone aperte PAR)','-1','0' Row000023: '2247','Camera','-1','00000000' Row000024: '2254','FinCucina','-1','00000000' Row000025: '2261','FinSxBagno','-1','00000000' Row000026: '2268','FinDxBagno','-1','00000000' Row000027: '2275','Cucina','-1','00000000' Row000028: '2282','Studio','-1','00000000' Row000029: '2289','Cameretta','-1','00000000' Row000030: '2296','FinSalotto','-1','00000000' Row000031: '2303','SSalotto','-1','00000100' Row000032: '2310','SCorridoio','-1','00000100' Row000033: '2317','Salotto','-1','00000000' Row000034: '2324','Portone','-1','00000000' Row000035: '2338','STerrazza','-1','00000100' Row000036: '6844','Vasistas5','-1','00000000' Row000037: '6851','Vasistas3','-1','00000000' Row000038: '6858','Vasistas4','-1','00000000' Row000039: '6865','Vasistas1','-1','00000000' Row000040: '6872','Vasistas2','-1','00000000' Row000041: '6879','Basculante','-1','00000000' Row000042: '31561','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0' Row000043: '44664','Acqua Lavatrice','-1','00000000' Row000044: '80159','on/off','-1','1'
FOURTH SCREEN CODE (after exclude "camera")
Response: DBMG-000 NextRows: 44 Row000001: 'ID','NAME','STATUS_ID','CURRENT_VALUE' Row000002: '229','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_VIDEOMESSAGE_UNHANDLED','-1','0' Row000003: '269','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_INFO','-1','1' Row000004: '270','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_ALARM','-1','0' Row000005: '273','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14','-1','0' Row000006: '1128','indice','-1','1' Row000007: '1129','comando','-1','0' Row000008: '1132','indice','-1','2' Row000009: '1133','comando','-1','0' Row000010: '2234','Casa','-1','00000101' Row000011: '2235','Casa (Disinserito)','-1','0' Row000012: '2236','Casa (Inserito INT)','-1','0' Row000013: '2237','Casa (Inserito ON)','-1','0' Row000014: '2238','Casa (Inserito PAR)','-1','0' Row000015: '2239','Casa (Memoria)','-1','0' Row000016: '2240','Casa (Allarme)','-1','0' Row000017: '2241','Casa (Zone escluse INT)','-1','0' Row000018: '2242','Casa (Zone escluse ON)','-1','0' Row000019: '2243','Casa (Zone escluse PAR)','-1','0' Row000020: '2244','Casa (Zone aperte INT)','-1','0' Row000021: '2245','Casa (Zone aperte ON)','-1','0' Row000022: '2246','Casa (Zone aperte PAR)','-1','0' Row000023: '2247','Camera','-1','00000100' Row000024: '2254','FinCucina','-1','00000000' Row000025: '2261','FinSxBagno','-1','00000000' Row000026: '2268','FinDxBagno','-1','00000000' Row000027: '2275','Cucina','-1','00000000' Row000028: '2282','Studio','-1','00000000' Row000029: '2289','Cameretta','-1','00000000' Row000030: '2296','FinSalotto','-1','00000000' Row000031: '2303','SSalotto','-1','00000100' Row000032: '2310','SCorridoio','-1','00000100' Row000033: '2317','Salotto','-1','00000000' Row000034: '2324','Portone','-1','00000000' Row000035: '2338','STerrazza','-1','00000100' Row000036: '6844','Vasistas5','-1','00000000' Row000037: '6851','Vasistas3','-1','00000000' Row000038: '6858','Vasistas4','-1','00000000' Row000039: '6865','Vasistas1','-1','00000000' Row000040: '6872','Vasistas2','-1','00000000' Row000041: '6879','Basculante','-1','00000000' Row000042: '31561','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0' Row000043: '44664','Acqua Lavatrice','-1','00000000' Row000044: '80159','on/off','-1','1'
debug mode does not show any components
I see - but I meant debug mode in home-assistant - right? it should show other entities as well in home-assistant.log - see: https://github.com/h4de5/home-assistant-vimar#troubleshooting
Yes, is in debug mode:
logger:
default: warning
logs:
custom_components.vimar_platform: debug
but no show components for allarm. I attach the log file. home-assistant.log
I see - as I expected I do not even get the SAI devices listed from the web server :\ Even if I did - as far as I have noticed with the other reports, those alarm components are somehow used differently. So even if we got those devices into home-assistant - you may not get notified for alarms, due to the polling setup of the integration. e.g. if an alarm is trigged - it would need to stay "on" for at least 6 seconds to ensure home-assistant can detect it. what I see is, that it will only be triggered for a very short time, catched by the alarm handler, added to a log and then get reset. I don't see a way to support this in home-assistant yet. sorry
Hi h4de5, It's sad, but the vimar APP doesn't give any notification about "triggered" alarm, so we must use the notification sytem by mail. So the functionality if we can manage to integrate it to HA remains the same. But with the scripting we can openup to new automation ideas! If the problem is the "autodiscovery" would be possible to add a "alarm: true/false" in the config file? I0've noticed that when I login to the alarm the pin code isn't obfucated, so maybe the integration can be done.
If you want some doc or trials count on me.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><service-vimarsai2authenticate xmlns="urn:xmethods-dpadws"><payload>NO-PAYLOAD</payload><hashcode>NO-HASCHODE</hashcode><optionals>NO-OPTIONAL</optionals><callsource>WEB-DOMUSPAD_SOAP</callsource><sessionid>617db4f6beee0</sessionid><waittime>5</waittime><pin>^___^</pin></service-vimarsai2authenticate></soapenv:Body></soapenv:Envelope>
the "autodiscovery" is responsible to get access to the devices configured within vimar. without this, I cannot add them to HA. even if we add a flag indicating that there is a SAI system in place, I would still have no way to query for any of the sensors.
you may find a way to get the right query from your own installation using the method described here: https://github.com/h4de5/home-assistant-vimar/blob/master/CONTRIBUTING.md
but be warned, that this may take quite a while to figure out the right calls and I still may not be able to add them the way it would make sense for a SAI system.
Maybe the first milestone can be the "Zone" or "Area" handling. The single sensor handling can be added later, if neded. I would be more active and contribute to the code but the coplexity of this code is beyond my knowledge.
For now the Login:
This is the result of pressing the OK button on the virtual keypad showed by "Antiintrusione" tab.
-
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><service-vimarsai2authenticate xmlns="urn:xmethods-dpadws"><payload>NO-PAYLOAD</payload><hashcode>NO-HASCHODE</hashcode><optionals>NO-OPTIONAL</optionals><callsource>WEB-DOMUSPAD_SOAP</callsource><sessionid>617db4f6beee0</sessionid><waittime>5</waittime><pin>^___^</pin></service-vimarsai2authenticate></soapenv:Body></soapenv:Envelope>
-
Response:
<?xml version="1.0" encoding="UTF-8"?> <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-vimarsai2authenticateResponse><result>DPCM-0000</result><usercode>1</usercode></ns:service-vimarsai2authenticateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Can I emulate the calls via SoapUI? Maybe in this way can give you more infos
Well... with SoapUI the Login is working without any problems on first try... i'll followup with more infos.
So.....here we are... I hope that this is enough data to kickstart the coding process ^__^', let me know if you need someting else.
Login:
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<service-vimarsai2authenticate xmlns="urn:xmethods-dpadws">
<payload>NO-PAYLOAD</payload>
<hashcode>NO-HASCHODE</hashcode>
<optionals>NO-OPTIONAL</optionals>
<callsource>WEB-DOMUSPAD_SOAP</callsource>
<sessionid>617db4f6beee0</sessionid>
<waittime>5</waittime>
<pin>{PIN}</pin>
</service-vimarsai2authenticate>
</soapenv:Body>
</soapenv:Envelope>
Response:
<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-vimarsai2authenticateResponse>
<result>DPCM-0000</result>
<usercode>1</usercode>
</ns:service-vimarsai2authenticateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- useful only to get the <usercode> -->
List&Status the Zones (Groups)
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<service-databasesocketoperation xmlns="urn:xmethods-dpadws">
<payload>NO-PAYLOAD</payload>
<hashcode>NO-HASCHODE</hashcode>
<optionals>NO-OPTIONAL</optionals>
<callsource>WEB-DOMUSPAD_SOAP</callsource>
<sessionid>6165fa528978a</sessionid>
<waittime>5</waittime>
<function>DML-SQL</function>
<type>SELECT</type>
<statement>SELECT "_rowid_",* FROM "main"."DPAD_SAI2GATEWAY_SAI2GROUPS" LIMIT 0, 49999;</statement>
<statement-len>76</statement-len>
</service-databasesocketoperation>
</soapenv:Body>
</soapenv:Envelope>
Response:
<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: 485</result-len>
<result>DPCM-0000</result>
<payload-len>485</payload-len>
<payload>Response: DBMG-000
NextRows: 9
Row000001: '"_rowid_"','ID','NAME','GROUP_INDEX','COMMUNICATIONSECTION_ID','STATE_VALUE'
Row000002: '','7560','Reparto Giorno','1','10','00000000'
Row000003: '','7615','Reparto Notte','2','10','00000000'
Row000004: '','7663','Esterno/Garage','3','10','00000000'
Row000005: '','7690','','4','10','0'
Row000006: '','7703','','5','10','0'
Row000007: '','7716','','6','10','0'
Row000008: '','7729','','7','10','0'
Row000009: '','7742','','8','10','0'</payload>
</ns:service-databasesocketoperationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!--The state value can be:
00000011 means ON
00000101 means INT
00001001 means PAR
00000000 means OFF-->
List&Status Children Group:
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<service-databasesocketoperation xmlns="urn:xmethods-dpadws">
<payload>NO-PAYLOAD</payload>
<hashcode>NO-HASCHODE</hashcode>
<optionals>NO-OPTIONAL</optionals>
<callsource>WEB-DOMUSPAD_SOAP</callsource>
<sessionid>6165fa528978a</sessionid>
<waittime>5</waittime>
<function>DML-SQL</function>
<type>SELECT</type>
<statement>SELECT "_rowid_",* FROM "main"."DPAD_SAI2GATEWAY_SAI2GROUPCHILDREN" LIMIT 0, 49999;</statement>
<statement-len>83</statement-len>
</service-databasesocketoperation>
</soapenv:Body>
</soapenv:Envelope>
Response:
<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: 13718</result-len>
<result>DPCM-0000</result>
<payload-len>13718</payload-len>
<payload>Response: DBMG-000
NextRows: 97
Row000001: '"_rowid_"','GID','CID','GNAME','GTYPE','GCOMMUNICATIONSECTION_ID','CNAME','CTYPE','CURRENT_VALUE','CCOMMUNICATIONSECTION_ID','COMPLEXELEMENT_TAG'
Row000002: '','7560','7561','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Disinserito)','SAI2_GROUP_CHILD','0','10','tag_complex_element=disarmed'
Row000003: '','7560','7562','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Inserito INT)','SAI2_GROUP_CHILD','0','10','tag_complex_element=int_armed'
Row000004: '','7560','7563','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Inserito ON)','SAI2_GROUP_CHILD','0','10','tag_complex_element=on_armed'
Row000005: '','7560','7564','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Inserito PAR)','SAI2_GROUP_CHILD','0','10','tag_complex_element=par_armed'
Row000006: '','7560','7565','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Memoria)','SAI2_GROUP_CHILD','0','10','tag_complex_element=memory'
Row000007: '','7560','7566','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Allarme)','SAI2_GROUP_CHILD','0','10','tag_complex_element=alarm'
Row000008: '','7560','7567','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Zone escluse INT)','SAI2_GROUP_CHILD','0','10','tag_complex_element=int_zones_excluded'
Row000009: '','7560','7568','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Zone escluse ON)','SAI2_GROUP_CHILD','0','10','tag_complex_element=on_zones_excluded'
Row000010: '','7560','7569','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Zone escluse PAR)','SAI2_GROUP_CHILD','0','10','tag_complex_element=par_zones_excluded'
Row000011: '','7560','7570','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Zone aperte INT)','SAI2_GROUP_CHILD','0','10','tag_complex_element=int_zones_opened'
Row000012: '','7560','7571','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Zone aperte ON)','SAI2_GROUP_CHILD','0','10','tag_complex_element=on_zones_opened'
Row000013: '','7560','7572','Reparto Giorno','SAI2_GROUP','10','Reparto Giorno (Zone aperte PAR)','SAI2_GROUP_CHILD','0','10','tag_complex_element=par_zones_opened'
Row000014: '','7615','7616','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Disinserito)','SAI2_GROUP_CHILD','0','10','tag_complex_element=disarmed'
Row000015: '','7615','7617','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Inserito INT)','SAI2_GROUP_CHILD','0','10','tag_complex_element=int_armed'
Row000016: '','7615','7618','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Inserito ON)','SAI2_GROUP_CHILD','0','10','tag_complex_element=on_armed'
Row000017: '','7615','7619','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Inserito PAR)','SAI2_GROUP_CHILD','0','10','tag_complex_element=par_armed'
Row000018: '','7615','7620','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Memoria)','SAI2_GROUP_CHILD','0','10','tag_complex_element=memory'
Row000019: '','7615','7621','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Allarme)','SAI2_GROUP_CHILD','0','10','tag_complex_element=alarm'
Row000020: '','7615','7622','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Zone escluse INT)','SAI2_GROUP_CHILD','0','10','tag_complex_element=int_zones_excluded'
Row000021: '','7615','7623','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Zone escluse ON)','SAI2_GROUP_CHILD','0','10','tag_complex_element=on_zones_excluded'
Row000022: '','7615','7624','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Zone escluse PAR)','SAI2_GROUP_CHILD','0','10','tag_complex_element=par_zones_excluded'
Row000023: '','7615','7625','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Zone aperte INT)','SAI2_GROUP_CHILD','0','10','tag_complex_element=int_zones_opened'
Row000024: '','7615','7626','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Zone aperte ON)','SAI2_GROUP_CHILD','0','10','tag_complex_element=on_zones_opened'
Row000025: '','7615','7627','Reparto Notte','SAI2_GROUP','10','Reparto Notte (Zone aperte PAR)','SAI2_GROUP_CHILD','0','10','tag_complex_element=par_zones_opened'
/************************************
Many more ....
/************************************
Row000097: '','7742','7754','','SAI2_GROUP','10',' (Zone aperte PAR)','SAI2_GROUP_CHILD','0','10','tag_complex_element=par_zones_opened'</payload>
</ns:service-databasesocketoperationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Manage Area(Single Group):
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<service-runonelement xmlns="urn:xmethods-dpadws">
<payload>{usercode}</payload>
<hashcode>{PIN}</hashcode>
<optionals>NO-OPTIONALS</optionals>
<callsource>WEB-DOMUSPAD_SOAP</callsource>
<sessionid>6165fa528978a</sessionid>
<waittime>10</waittime>
<idobject>7563</idobject>
<!-- As you can see sor any GID
GID + 1 = disarmed
GID + 2 = int_armed
GID + 3 = on_armed
GID + 4 = par_armed
-->
<operation>SETVALUE</operation>
</service-runonelement>
</soapenv:Body>
</soapenv:Envelope>
Response:
<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-runonelementResponse>
<result>DPCM-0000</result>
</ns:service-runonelementResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Get Info About SAI_USER:
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<service-databasesocketoperation xmlns="urn:xmethods-dpadws">
<payload>NO-PAYLOAD</payload>
<hashcode>NO-HASCHODE</hashcode>
<optionals>NO-OPTIONAL</optionals>
<callsource>WEB-DOMUSPAD_SOAP</callsource>
<sessionid>6165fa528978a</sessionid>
<waittime>5</waittime>
<function>DML-SQL</function>
<type>SELECT</type>
<statement>SELECT ID,NAME,MSP,OPTIONALP FROM DPADD_OBJECT WHERE TYPE="SAI2_USER";</statement>
<statement-len>70</statement-len>
</service-databasesocketoperation>
</soapenv:Body>
</soapenv:Envelope>
Response:
<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: 337</result-len>
<result>DPCM-0000</result>
<payload-len>337</payload-len>
<payload>Response: DBMG-000
NextRows: 3
Row000001: 'ID','NAME','MSP','OPTIONALP'
Row000002: '7755','xxxx','1','g1=1|g2=1|g3=1|g4=0|g5=0|g6=0|g7=0|g8=0|on=1|int=1|par=1|off=1|pwd=1|pwd2=1|numtel=1|bypass=1|log=1'
Row000003: '7756','yyyyyy','2','g1=1|g2=1|g3=1|g4=0|g5=0|g6=0|g7=0|g8=0|on=1|int=1|par=1|off=1|pwd=1|pwd2=1|numtel=1|bypass=1|log=1'</payload>
</ns:service-databasesocketoperationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- This is useful to calculate the <groups> tag for <service-vimarsai2allgroupsset> like the Vimar code we must parse the OPTIONALP
and rise a positional 1 for every "g%=1", so g1=1|g2=1|g3=1|g4=0|g5=0|g6=0|g7=0|g8=0 means <groups>00000111</groups> -->
Manage all areas:
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<service-vimarsai2allgroupsset xmlns="urn:xmethods-dpadws">
<payload>NO-PAYLOAD</payload>
<hashcode>NO-HASCHODE</hashcode>
<optionals>NO-OPTIONAL</optionals>
<callsource>WEB-DOMUSPAD_SOAP</callsource>
<sessionid>6165fa528978a</sessionid>
<waittime>5</waittime>
<command>1</command>
<!--case 'disarmed': _iCommand = 0;
case 'on_armed': _iCommand = 1;
case 'int_armed': _iCommand = 2;
case 'par_armed': _iCommand = 3; -->
<groups>00000111</groups> <!--Group to manage-->
<pin>{PIN}</pin>
</service-vimarsai2allgroupsset>
</soapenv:Body>
</soapenv:Envelope>
Response:
<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-runonelementResponse>
<result>DPCM-0000</result>
</ns:service-runonelementResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Hi,
can I help further? The project is alive?
Hi - yes it is. I just need to work on other things currently: see https://github.com/h4de5/home-assistant-vimar/issues/19#issuecomment-982068002
I've understood. Take your time then, you had to be paid by Vimar for your efforts... Have you ever considered donations by paypal?
Hi,
any news?
I'm actively using the integration and I must say that is great.
Hi, bump !
Hi, is this feature in development? Or it's dead?
open for PRs.
Any updates on implementing the alarm part from the webserver into HA? Our alarm bus is separated from the normal vimar bus. But it would be nice to have access to thoose parts as well. For example, the window sensors for automation. Besides, controling Vimar over HA is much easier and faster the over the self-censored virmar webserver or the never right working Vimar phone app.
Any updates on implementing the alarm part from the webserver into HA? Our alarm bus is separated from the normal vimar bus. But it would be nice to have access to thoose parts as well. For example, the window sensors for automation. Besides, controling Vimar over HA is much easier and faster the over the self-censored virmar webserver or the never right working Vimar phone app.
Exist a workaround for this if you have a programmer interface.
With EasyTool Professional you can create a KNX relay that can be controlled by the alarm sensors via the webserv:
Any updates on implementing the alarm part from the webserver into HA? Our alarm bus is separated from the normal vimar bus. But it would be nice to have access to thoose parts as well. For example, the window sensors for automation. Besides, controling Vimar over HA is much easier and faster the over the self-censored virmar webserver or the never right working Vimar phone app.
Exist a workaround for this if you have a programmer interface. With EasyTool Professional you can create a KNX relay that can be controlled by the alarm sensors via the webserv:
Can you add more information about this solution? What do I need to do?