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] SAI #8

Open
felisida opened this issue Jun 24, 2020 · 31 comments
Open

[FEATURE] SAI #8

felisida opened this issue Jun 24, 2020 · 31 comments
Assignees
Labels
enhancement New feature or request

Comments

@felisida
Copy link

felisida commented Jun 24, 2020

Schermata 2020-06-24 alle 15 15 25

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 felisida added the help wanted Extra attention is needed label Jun 24, 2020
@h4de5
Copy link
Owner

h4de5 commented Jun 24, 2020

@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.

@h4de5 h4de5 added enhancement New feature or request and removed help wanted Extra attention is needed labels Jun 24, 2020
@felisida
Copy link
Author

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
Response payload length: 319
DPCM-0000
319
Response: DBMG-000 NextRows: 4 Row000001: 'ID','TIMESTAMP','EVENT_TYPE','ITEM_ID','ITEM_NUMBER','ITEM_NAME','LEVEL' Row000002: '12517','1593024959','3','10971','1','Corridoio Giorno','0' Row000003: '12516','1593024839','112','11174','1','Codice 01','0' Row000004: '12515','1593004439','112','11174','1','Codice 01','0'
</ns:service-databasesocketoperationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<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
Response payload length: 846
DPCM-0000
846
Response: DBMG-000 NextRows: 2 Row000001: 'ID','NAME','DESCRIPTION','TYPE','MIN_VALUE','MAX_VALUE','CURRENT_VALUE','VALUES_TYPE','STATUS_ID','RENDERING_ID','IMAGE_PATH','IS_READABLE','IS_WRITABLE','IS_VISIBLE','IS_STOPPABLE','MSP','OPTIONALP','PHPCLASS','COMMUNICATIONSECTION_ID','IS_BOOLEAN','WITH_PERMISSION','TRACK_FLAG','IS_REMOTABLE','REMOTABLE_FILTER','OWNED_BY','HAS_GRANT','GRANT_HASHCODE','AUTOMATIC_REFRESH_FLAG','ENABLE_FLAG','TRACK_FLAG_ONREAD','IS_DISCOVERABLE' Row000002: '273','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14','_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14','TRIGGER_OBJECT','1','','0','','-1','232','','0','1','1','0','','jScript_updateValue_action=themeManager.sai2_centralwarning_refresh(newValue)','dpadTriggerObject','','0','0','0','0','*','LOCAL','0','','0','1','0','0'
</ns:service-databasesocketoperationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<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
Response payload length: 17996
DPCM-0000
17996
Response: DBMG-000 NextRows: 112 Row000001: 'ID','PARENTOBJ_ID','CHILDOBJ_ID','RELATION_CONDITION','ACTION','ACTION_VALUE','ORDER_NUM','ACCESS_MODE','CATEGORY_ID','OPTIONAL','STOP_FLAG','ENABLE_FLAG','RELATION_WEB_TIPOLOGY','OWNED_BY' Row000002: '32354','10958','10959','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=disarmed','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000003: '32366','10961','10971','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=zone1','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000004: '32367','10966','10971','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=zone1','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000005: '32368','10969','10971','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=zone1','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000006: '32387','10960','10985','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=zone3','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000007: '32388','10965','10985','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=zone3','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000008: '32389','10968','10985','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=zone3','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000009: '32402','10962','10992','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=zone4','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000010: '32403','10967','10992','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=zone4','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000011: '32404','10970','10992','NO-CONDITION','NO-ACTION','NO-VALUE','1','','','tag_complex_element=zone4','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000012: '32355','10958','10960','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=int_armed','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000013: '32375','10961','10978','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=zone2','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000014: '32376','10966','10978','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=zone2','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000015: '32377','10969','10978','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=zone2','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000016: '32399','10960','10992','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=zone4','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000017: '32400','10965','10992','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=zone4','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000018: '32401','10968','10992','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=zone4','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000019: '32537','10962','11069','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=zone15','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000020: '32538','10967','11069','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=zone15','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000021: '32539','10970','11069','NO-CONDITION','NO-ACTION','NO-VALUE','2','','','tag_complex_element=zone15','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000022: '32356','10958','10961','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=on_armed','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000023: '32384','10961','10985','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=zone3','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000024: '32385','10966','10985','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=zone3','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000025: '32386','10969','10985','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=zone3','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000026: '32414','10960','10999','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=zone5','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000027: '32415','10965','10999','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=zone5','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000028: '32416','10968','10999','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=zone5','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000029: '32552','10962','11076','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=zone16','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000030: '32553','10967','11076','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=zone16','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000031: '32554','10970','11076','NO-CONDITION','NO-ACTION','NO-VALUE','3','','','tag_complex_element=zone16','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000032: '32357','10958','10962','NO-CONDITION','NO-ACTION','NO-VALUE','4','','','tag_complex_element=par_armed','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000033: '32396','10961','10992','NO-CONDITION','NO-ACTION','NO-VALUE','4','','','tag_complex_element=zone4','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000034: '32397','10966','10992','NO-CONDITION','NO-ACTION','NO-VALUE','4','','','tag_complex_element=zone4','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000035: '32398','10969','10992','NO-CONDITION','NO-ACTION','NO-VALUE','4','','','tag_complex_element=zone4','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000036: '32426','10960','11006','NO-CONDITION','NO-ACTION','NO-VALUE','4','','','tag_complex_element=zone6','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000037: '32427','10965','11006','NO-CONDITION','NO-ACTION','NO-VALUE','4','','','tag_complex_element=zone6','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000038: '32428','10968','11006','NO-CONDITION','NO-ACTION','NO-VALUE','4','','','tag_complex_element=zone6','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000039: '32358','10958','10963','NO-CONDITION','NO-ACTION','NO-VALUE','5','','','tag_complex_element=memory','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000040: '32411','10961','10999','NO-CONDITION','NO-ACTION','NO-VALUE','5','','','tag_complex_element=zone5','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000041: '32412','10966','10999','NO-CONDITION','NO-ACTION','NO-VALUE','5','','','tag_complex_element=zone5','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000042: '32413','10969','10999','NO-CONDITION','NO-ACTION','NO-VALUE','5','','','tag_complex_element=zone5','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000043: '32438','10960','11013','NO-CONDITION','NO-ACTION','NO-VALUE','5','','','tag_complex_element=zone7','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000044: '32439','10965','11013','NO-CONDITION','NO-ACTION','NO-VALUE','5','','','tag_complex_element=zone7','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000045: '32440','10968','11013','NO-CONDITION','NO-ACTION','NO-VALUE','5','','','tag_complex_element=zone7','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000046: '32359','10958','10964','NO-CONDITION','NO-ACTION','NO-VALUE','6','','','tag_complex_element=alarm','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000047: '32423','10961','11006','NO-CONDITION','NO-ACTION','NO-VALUE','6','','','tag_complex_element=zone6','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000048: '32424','10966','11006','NO-CONDITION','NO-ACTION','NO-VALUE','6','','','tag_complex_element=zone6','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000049: '32425','10969','11006','NO-CONDITION','NO-ACTION','NO-VALUE','6','','','tag_complex_element=zone6','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000050: '32450','10960','11020','NO-CONDITION','NO-ACTION','NO-VALUE','6','','','tag_complex_element=zone8','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000051: '32451','10965','11020','NO-CONDITION','NO-ACTION','NO-VALUE','6','','','tag_complex_element=zone8','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000052: '32452','10968','11020','NO-CONDITION','NO-ACTION','NO-VALUE','6','','','tag_complex_element=zone8','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000053: '32360','10958','10965','NO-CONDITION','NO-ACTION','NO-VALUE','7','','','tag_complex_element=int_zones_excluded','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000054: '32435','10961','11013','NO-CONDITION','NO-ACTION','NO-VALUE','7','','','tag_complex_element=zone7','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000055: '32436','10966','11013','NO-CONDITION','NO-ACTION','NO-VALUE','7','','','tag_complex_element=zone7','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000056: '32437','10969','11013','NO-CONDITION','NO-ACTION','NO-VALUE','7','','','tag_complex_element=zone7','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000057: '32462','10960','11027','NO-CONDITION','NO-ACTION','NO-VALUE','7','','','tag_complex_element=zone9','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000058: '32463','10965','11027','NO-CONDITION','NO-ACTION','NO-VALUE','7','','','tag_complex_element=zone9','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000059: '32464','10968','11027','NO-CONDITION','NO-ACTION','NO-VALUE','7','','','tag_complex_element=zone9','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000060: '32361','10958','10966','NO-CONDITION','NO-ACTION','NO-VALUE','8','','','tag_complex_element=on_zones_excluded','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000061: '32447','10961','11020','NO-CONDITION','NO-ACTION','NO-VALUE','8','','','tag_complex_element=zone8','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000062: '32448','10966','11020','NO-CONDITION','NO-ACTION','NO-VALUE','8','','','tag_complex_element=zone8','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000063: '32449','10969','11020','NO-CONDITION','NO-ACTION','NO-VALUE','8','','','tag_complex_element=zone8','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000064: '32474','10960','11034','NO-CONDITION','NO-ACTION','NO-VALUE','8','','','tag_complex_element=zone10','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000065: '32475','10965','11034','NO-CONDITION','NO-ACTION','NO-VALUE','8','','','tag_complex_element=zone10','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000066: '32476','10968','11034','NO-CONDITION','NO-ACTION','NO-VALUE','8','','','tag_complex_element=zone10','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000067: '32362','10958','10967','NO-CONDITION','NO-ACTION','NO-VALUE','9','','','tag_complex_element=par_zones_excluded','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000068: '32459','10961','11027','NO-CONDITION','NO-ACTION','NO-VALUE','9','','','tag_complex_element=zone9','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000069: '32460','10966','11027','NO-CONDITION','NO-ACTION','NO-VALUE','9','','','tag_complex_element=zone9','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000070: '32461','10969','11027','NO-CONDITION','NO-ACTION','NO-VALUE','9','','','tag_complex_element=zone9','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000071: '32486','10960','11041','NO-CONDITION','NO-ACTION','NO-VALUE','9','','','tag_complex_element=zone11','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000072: '32487','10965','11041','NO-CONDITION','NO-ACTION','NO-VALUE','9','','','tag_complex_element=zone11','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000073: '32488','10968','11041','NO-CONDITION','NO-ACTION','NO-VALUE','9','','','tag_complex_element=zone11','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000074: '32363','10958','10968','NO-CONDITION','NO-ACTION','NO-VALUE','10','','','tag_complex_element=int_zones_opened','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000075: '32471','10961','11034','NO-CONDITION','NO-ACTION','NO-VALUE','10','','','tag_complex_element=zone10','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000076: '32472','10966','11034','NO-CONDITION','NO-ACTION','NO-VALUE','10','','','tag_complex_element=zone10','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000077: '32473','10969','11034','NO-CONDITION','NO-ACTION','NO-VALUE','10','','','tag_complex_element=zone10','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000078: '32498','10960','11048','NO-CONDITION','NO-ACTION','NO-VALUE','10','','','tag_complex_element=zone12','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000079: '32499','10965','11048','NO-CONDITION','NO-ACTION','NO-VALUE','10','','','tag_complex_element=zone12','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000080: '32500','10968','11048','NO-CONDITION','NO-ACTION','NO-VALUE','10','','','tag_complex_element=zone12','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000081: '32364','10958','10969','NO-CONDITION','NO-ACTION','NO-VALUE','11','','','tag_complex_element=on_zones_opened','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000082: '32483','10961','11041','NO-CONDITION','NO-ACTION','NO-VALUE','11','','','tag_complex_element=zone11','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000083: '32484','10966','11041','NO-CONDITION','NO-ACTION','NO-VALUE','11','','','tag_complex_element=zone11','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000084: '32485','10969','11041','NO-CONDITION','NO-ACTION','NO-VALUE','11','','','tag_complex_element=zone11','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000085: '32510','10960','11055','NO-CONDITION','NO-ACTION','NO-VALUE','11','','','tag_complex_element=zone13','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000086: '32511','10965','11055','NO-CONDITION','NO-ACTION','NO-VALUE','11','','','tag_complex_element=zone13','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000087: '32512','10968','11055','NO-CONDITION','NO-ACTION','NO-VALUE','11','','','tag_complex_element=zone13','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000088: '32365','10958','10970','NO-CONDITION','NO-ACTION','NO-VALUE','12','','','tag_complex_element=par_zones_opened','','1','SAI2_GROUP_CHILD_RELATION','LOCAL' Row000089: '32495','10961','11048','NO-CONDITION','NO-ACTION','NO-VALUE','12','','','tag_complex_element=zone12','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000090: '32496','10966','11048','NO-CONDITION','NO-ACTION','NO-VALUE','12','','','tag_complex_element=zone12','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000091: '32497','10969','11048','NO-CONDITION','NO-ACTION','NO-VALUE','12','','','tag_complex_element=zone12','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000092: '32522','10960','11062','NO-CONDITION','NO-ACTION','NO-VALUE','12','','','tag_complex_element=zone14','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000093: '32523','10965','11062','NO-CONDITION','NO-ACTION','NO-VALUE','12','','','tag_complex_element=zone14','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000094: '32524','10968','11062','NO-CONDITION','NO-ACTION','NO-VALUE','12','','','tag_complex_element=zone14','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000095: '32507','10961','11055','NO-CONDITION','NO-ACTION','NO-VALUE','13','','','tag_complex_element=zone13','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000096: '32508','10966','11055','NO-CONDITION','NO-ACTION','NO-VALUE','13','','','tag_complex_element=zone13','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000097: '32509','10969','11055','NO-CONDITION','NO-ACTION','NO-VALUE','13','','','tag_complex_element=zone13','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000098: '32534','10960','11069','NO-CONDITION','NO-ACTION','NO-VALUE','13','','','tag_complex_element=zone15','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000099: '32535','10965','11069','NO-CONDITION','NO-ACTION','NO-VALUE','13','','','tag_complex_element=zone15','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000100: '32536','10968','11069','NO-CONDITION','NO-ACTION','NO-VALUE','13','','','tag_complex_element=zone15','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000101: '32519','10961','11062','NO-CONDITION','NO-ACTION','NO-VALUE','14','','','tag_complex_element=zone14','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000102: '32520','10966','11062','NO-CONDITION','NO-ACTION','NO-VALUE','14','','','tag_complex_element=zone14','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000103: '32521','10969','11062','NO-CONDITION','NO-ACTION','NO-VALUE','14','','','tag_complex_element=zone14','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000104: '32549','10960','11076','NO-CONDITION','NO-ACTION','NO-VALUE','14','','','tag_complex_element=zone16','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000105: '32550','10965','11076','NO-CONDITION','NO-ACTION','NO-VALUE','14','','','tag_complex_element=zone16','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000106: '32551','10968','11076','NO-CONDITION','NO-ACTION','NO-VALUE','14','','','tag_complex_element=zone16','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000107: '32531','10961','11069','NO-CONDITION','NO-ACTION','NO-VALUE','15','','','tag_complex_element=zone15','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000108: '32532','10966','11069','NO-CONDITION','NO-ACTION','NO-VALUE','15','','','tag_complex_element=zone15','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000109: '32533','10969','11069','NO-CONDITION','NO-ACTION','NO-VALUE','15','','','tag_complex_element=zone15','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000110: '32546','10961','11076','NO-CONDITION','NO-ACTION','NO-VALUE','16','','','tag_complex_element=zone16','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000111: '32547','10966','11076','NO-CONDITION','NO-ACTION','NO-VALUE','16','','','tag_complex_element=zone16','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL' Row000112: '32548','10969','11076','NO-CONDITION','NO-ACTION','NO-VALUE','16','','','tag_complex_element=zone16','','1','SAI2_GROUP_CHILD_ZONE_RELATION','LOCAL'
</ns:service-databasesocketoperationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

I too download from safari the whole inspector web
192.168.86.110.webarchive.zip

@h4de5
Copy link
Owner

h4de5 commented Jun 25, 2020

unfortunately that is again, the response from the webserver.

the request for any status change can be found in the headers or request tab:

image

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:

image

those are the regular status updates (can be identified because they have <type>SELECT</type> in it. also they can be ignored for now.

@felisida
Copy link
Author

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef4af65c7f255DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (229,265,269,270,273,8548,10958,10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10978,10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076);270</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef4af65c7f255DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (229,265,269,270,273,8548,10958,10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10978,10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076);270</soapenv:Body></soapenv:Envelope>

@felisida
Copy link
Author

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
soapenv:Body

NO-PAYLOAD
NO-HASCHODE
NO-OPTIONAL
WEB-DOMUSPAD_SOAP
5ef4af65c7f25
5
DML-SQL
SELECT
SELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (229,265,270,1352,1368,1376,1377,1398,1414,1422,1423,1428,1444,1452,1453,1458,1474,1482,1483,1488,1504,1512,1513,2505,2522,2530,2531,2536,2553,2561,2562,2567,2583,2591,2592,8548);
248

</soapenv:Body>
</soapenv:Envelope>

@h4de5
Copy link
Owner

h4de5 commented Jun 26, 2020

@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).

2020-06-19_222915_x_xUSh

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 👏

@felisida
Copy link
Author

before enter the code
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (269,270,273,8548);88</soapenv:Body></soapenv:Envelope>
and
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435161815</soapenv:Body></soapenv:Envelope>

after the code
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (269,270,273,8548);88</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID FROM DPADD_OBJECT WHERE TYPE='SAI2_USER' AND MSP = '1';65</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT WHERE ID IN (11174) ORDER BY ID ;60</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT_RELATION WHERE PARENTOBJ_ID IN (11174) OR CHILDOBJ_ID IN (11174) ORDER BY ORDER_NUM,ID ;115</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT WHERE NAME='_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14';106</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT D_O.*,D_WP.IS_EVENT AS IS_EVENT,D_WP.IS_EXECUTABLE AS IS_EXECUTABLE FROM DPADD_OBJECT AS D_O LEFT JOIN (SELECT CLASSNAME,IS_EVENT,IS_EXECUTABLE FROM DPAD_WEB_PHPCLASS) AS D_WP ON (D_O.PHPCLASS=D_WP.CLASSNAME) WHERE D_O.TYPE = 'SAI2_GROUP' ORDER BY ID ASC;262</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT D_O.*,D_WP.IS_EVENT AS IS_EVENT,D_WP.IS_EXECUTABLE AS IS_EXECUTABLE FROM DPADD_OBJECT AS D_O LEFT JOIN (SELECT CLASSNAME,IS_EVENT,IS_EXECUTABLE FROM DPAD_WEB_PHPCLASS) AS D_WP ON (D_O.PHPCLASS=D_WP.CLASSNAME) WHERE D_O.NAME='_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_INFO' OR D_O.NAME='_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_LOG_ALARM' ORDER BY ID ASC;376</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID, TIMESTAMP, EVENT_TYPE, ITEM_ID, ITEM_NUMBER, ITEM_NAME, LEVEL FROM DPADD_SAI2_LOG ORDER BY TIMESTAMP DESC, ID DESC LIMIT 3;134</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (269,270,8548);84</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT_RELATION WHERE PARENTOBJ_ID IN (10958) OR CHILDOBJ_ID IN (10958) ORDER BY ORDER_NUM,ID ;115</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT_RELATION WHERE PARENTOBJ_ID IN (269,270) OR CHILDOBJ_ID IN (269,270) ORDER BY ORDER_NUM,ID ;119</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT_RELATION WHERE PARENTOBJ_ID IN (10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970) OR CHILDOBJ_ID IN (10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970) ORDER BY ORDER_NUM,ID ;247</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT DISTINCT DP.* FROM DPADD_RENDERING_PROTOTYPE AS DP INNER JOIN DPADD_RENDERING_VIEW_PROTOTYPE AS DWP ON (DP.ID=DWP.PROTOTYPE_ID) WHERE ((DWP.RENDERING_ID IN (622)) AND DP.THEME='vimar') ORDER BY DP.ID ;208</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (269,270,8548,10958,10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10978,10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076);258</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (269,270,273,8548,10958,10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10978,10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076);262</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (269,270,273,8548,10958,10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10978,10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076);262</soapenv:Body></soapenv:Envelope>

when I press on the gear button
Schermata 2020-06-26 alle 10 33 53

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT WHERE NAME='_DPAD_DBCONSTANT_VIMAR_BYME_TRIGGEROBJECT_SAI2_CENTRAL_WARNING_14';106</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT D_O.*,D_WP.IS_EVENT AS IS_EVENT,D_WP.IS_EXECUTABLE AS IS_EXECUTABLE FROM DPADD_OBJECT AS D_O LEFT JOIN (SELECT CLASSNAME,IS_EVENT,IS_EXECUTABLE FROM DPAD_WEB_PHPCLASS) AS D_WP ON (D_O.PHPCLASS=D_WP.CLASSNAME) WHERE D_O.TYPE = 'SAI2_GROUP' ORDER BY ID ASC;262</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT_RELATION WHERE PARENTOBJ_ID IN (273) OR CHILDOBJ_ID IN (273) ORDER BY ORDER_NUM,ID ;111</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT_RELATION WHERE PARENTOBJ_ID IN (10958) OR CHILDOBJ_ID IN (10958) ORDER BY ORDER_NUM,ID ;115</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT DISTINCT DP.* FROM DPADD_RENDERING_PROTOTYPE AS DP INNER JOIN DPADD_RENDERING_VIEW_PROTOTYPE AS DWP ON (DP.ID=DWP.PROTOTYPE_ID) WHERE ((DWP.RENDERING_ID IN (622)) AND DP.THEME='vimar') ORDER BY DP.ID ;208</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT_RELATION WHERE PARENTOBJ_ID IN (10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970) OR CHILDOBJ_ID IN (10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970) ORDER BY ORDER_NUM,ID ;247</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT_RELATION WHERE PARENTOBJ_ID IN (10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076,10971,10978) OR CHILDOBJ_ID IN (10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076,10971,10978) ORDER BY ORDER_NUM,ID ;295</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT * FROM DPADD_OBJECT WHERE ID IN (10972,10973,10974,10975,10976,10977,10979,10980,10981,10982,10983,10984,10986,10987,10988,10989,10990,10991,10993,10994,10995,10996,10997,10998,11000,11001,11002,11003,11004,11005,11007,11008,11009,11010,11011,11012,11014,11015,11016,11017,11018,11019,11021,11022,11023,11024,11025,11026,11028,11029,11030,11031,11032,11033,11035,11036,11037,11038,11039,11040,11042,11043,11044,11045,11046,11047,11049,11050,11051,11052,11053,11054,11056,11057,11058,11059,11060,11061,11063,11064,11065,11066,11067,11068,11070,11071,11072,11073,11074,11075,11077,11078,11079,11080,11081,11082) ORDER BY ID ;630</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID, NAME, CURRENT_VALUE, MSP FROM DPADD_OBJECT WHERE TYPE='SAI2_ZONE' AND ID IN (10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076,10971,10978) ORDER BY CAST(MSP AS INTEGER);215</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (269,270,273,8548,10958,10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10978,10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076);262</soapenv:Body></soapenv:Envelope>

when I exclude a zone
Schermata 2020-06-26 alle 10 37 02

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID, TIMESTAMP, EVENT_TYPE, ITEM_ID, ITEM_NUMBER, ITEM_NAME, LEVEL FROM DPADD_SAI2_LOG ORDER BY TIMESTAMP DESC, ID DESC LIMIT 3;134</soapenv:Body></soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef5aa22396435DML-SQLSELECTSELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (269,270,273,8548,10958,10959,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10978,10985,10992,10999,11006,11013,11020,11027,11034,11041,11048,11055,11062,11069,11076);262</soapenv:Body></soapenv:Envelope>

@andreanilorenzo
Copy link

Yes this is also useful for me.
If you need information for the test I am available

sai

@andreanilorenzo
Copy link

<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>

@tempod
Copy link

tempod commented Oct 30, 2020

no updates for this?
I can help?

@h4de5
Copy link
Owner

h4de5 commented Oct 30, 2020

@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.

@tempod
Copy link

tempod commented Oct 30, 2020

I don't have the SAI but the By-Alarm
I made a little video on how it works.

recording

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

@h4de5
Copy link
Owner

h4de5 commented Oct 31, 2020

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

@tempod
Copy link

tempod commented Nov 2, 2020

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

@h4de5
Copy link
Owner

h4de5 commented Nov 2, 2020

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

@WhiteWolf84
Copy link
Contributor

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>

@h4de5
Copy link
Owner

h4de5 commented Oct 31, 2021

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.

@WhiteWolf84
Copy link
Contributor

WhiteWolf84 commented Oct 31, 2021

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.

immagine

  • 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

@WhiteWolf84
Copy link
Contributor

WhiteWolf84 commented Oct 31, 2021

Well... with SoapUI the Login is working without any problems on first try... i'll followup with more infos.

@WhiteWolf84
Copy link
Contributor

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>

@WhiteWolf84
Copy link
Contributor

Hi,

can I help further? The project is alive?

@h4de5
Copy link
Owner

h4de5 commented Dec 17, 2021

Hi - yes it is. I just need to work on other things currently:
see #19 (comment)

@WhiteWolf84
Copy link
Contributor

I've understood. Take your time then, you had to be paid by Vimar for your efforts... Have you ever considered donations by paypal?

@WhiteWolf84
Copy link
Contributor

Hi,

any news?

I'm actively using the integration and I must say that is great.

@WhiteWolf84
Copy link
Contributor

Hi,
bump !

@andreacocci95
Copy link

Hi, is this feature in development? Or it's dead?

@h4de5
Copy link
Owner

h4de5 commented Jan 24, 2024

open for PRs.

@FabianNiesen
Copy link

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.

@tempod
Copy link

tempod commented May 27, 2024

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:
Recording 2024-05-27 at 07 53 45

@andreacocci95
Copy link

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:
Recording 2024-05-27 at 07 53 45

Can you add more information about this solution? What do I need to do?

@tempod
Copy link

tempod commented Jun 4, 2024

you need a programmer interface an a .db file of your plant.
open "easy tool professional" and import .db file.
now you have to create a new knx relay in by-me format
1
assign unused address and R/W like this
2
now save and export .xml to webserver
3
import to web server and use ONLY update (this is very important)
4
after the update you have created a new virtual relay on the webserver that you can control via the alarm as explained in my previous post

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

No branches or pull requests

7 participants