home-assistant-vimar
home-assistant-vimar copied to clipboard
[FEATURE] CH Audio
Response: DBMG-000
NextRows: 37
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','1'
Row000005: '1352','channel','-1','4'
Row000006: '1368','on/off','-1','0'
Row000007: '1376','volume','-1','0'
Row000008: '1377','source','-1','4'
Row000009: '1398','channel','-1','4'
Row000010: '1414','on/off','-1','0'
Row000011: '1422','volume','-1','0'
Row000012: '1423','source','-1','4'
Row000013: '1428','channel','-1','4'
Row000014: '1444','on/off','-1','0'
Row000015: '1452','volume','-1','0'
Row000016: '1453','source','-1','4'
Row000017: '1458','channel','-1','4'
Row000018: '1474','on/off','-1','0'
Row000019: '1482','volume','-1','0'
Row000020: '1483','source','-1','4'
Row000021: '1488','channel','-1','4'
Row000022: '1504','on/off','-1','0'
Row000023: '1512','volume','-1','0'
Row000024: '1513','source','-1','4'
Row000025: '2505','channel','-1','4'
Row000026: '2522','on/off','-1','0'
Row000027: '2530','volume','-1','0'
Row000028: '2531','source','-1','4'
Row000029: '2536','channel','-1','0'
Row000030: '2553','on/off','-1','0'
Row000031: '2561','volume','-1','59'
Row000032: '2562','source','-1','4'
Row000033: '2567','channel','-1','4'
Row000034: '2583','on/off','-1','0'
Row000035: '2591','volume','-1','0'
Row000036: '2592','source','-1','4'
Row000037: '8548','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0'
/edit : reformatting list
@felisida I assume the range for volume is 1-100. what is source? or channel? do you have a list to select from? or how does the interface let you choose what to play?
Hi, i have a plug to play an external source, and a radio component with 8 channel memorized and obviously search button, I found this code too
<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
and with above screenshoot this code
<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-getelementstatusarrayResponse
another screenshoot
i made a mistake
@felisida : oh. its a radio component. I always thought this was somehow a network music player, or something.
I think those are still responses from the webserver. Instead - if you change something, I require the parts that are sent to the server.
I also just noticed that I had to clearify some sentences in https://github.com/h4de5/home-assistant-vimar/blob/master/CONTRIBUTING.md#set-attributes - I hope it is easier to understand now.
ok I hope this help you radio off
<?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-databasesocketoperationResponse><result-len>Response payload length: 780</result-len><result>DPCM-0000</result><payload-len>780</payload-len><payload>Response: DBMG-000
NextRows: 14
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: '505','control_dimming','-1','0'
Row000006: '507','direction_dimming','-1','0'
Row000007: '509','on/off','-1','0'
Row000008: '754','stop up/stop down','-1','0'
Row000009: '756','up/down','-1','0'
Row000010: '2536','channel','-1','0'
Row000011: '2553','on/off','-1','0'
Row000012: '2561','volume','-1','25'
Row000013: '2562','source','-1','4'
Row000014: '8548','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0'
</payload></ns:service-databasesocketoperationResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
memory 1
<?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-getelementstatusarrayResponse><result>DPCM-0000</result><currentstate>State: 1533=-1|1536=-1|1555=-1|1557=-1|1559=-1|1561=-1|1563=-1|1565=-1|1567=-1|1569=-1|1578=-1|1579=-1|1580=-1|1581=-1|1582=-1|1583=-1|1584=-1|1585=-1|1586=-1|1587=-1|1588=-1|1589=-1|1590=-1|1591=-1|1592=-1|1593=-1</currentstate><currentvalues>Values: 1533=91.24|1536=67|1555=32|1557=32|1559=32|1561=32|1563=32|1565=32|1567=32|1569=32|1578=0|1579=0|1580=0|1581=0|1582=0|1583=0|1584=0|1585=0|1586=1|1587=0|1588=0|1589=0|1590=0|1591=0|1592=0|1593=0</currentvalues></ns:service-getelementstatusarrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
memory 2
<?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-getelementstatusarrayResponse><result>DPCM-0000</result><currentstate>State: 1533=-1|1536=-1|1555=-1|1557=-1|1559=-1|1561=-1|1563=-1|1565=-1|1567=-1|1569=-1|1578=-1|1579=-1|1580=-1|1581=-1|1582=-1|1583=-1|1584=-1|1585=-1|1586=-1|1587=-1|1588=-1|1589=-1|1590=-1|1591=-1|1592=-1|1593=-1</currentstate><currentvalues>Values: 1533=103.80|1536=76|1555=32|1557=32|1559=32|1561=32|1563=32|1565=32|1567=32|1569=32|1578=0|1579=0|1580=0|1581=0|1582=0|1583=0|1584=0|1585=0|1586=0|1587=1|1588=0|1589=0|1590=0|1591=0|1592=0|1593=0</currentvalues></ns:service-getelementstatusarrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
search forward
<?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-getelementstatusarrayResponse><result>DPCM-0000</result><currentstate>State: 1533=-1|1536=-1|1555=-1|1557=-1|1559=-1|1561=-1|1563=-1|1565=-1|1567=-1|1569=-1|1578=-1|1579=-1|1580=-1|1581=-1|1582=-1|1583=-1|1584=-1|1585=-1|1586=-1|1587=-1|1588=-1|1589=-1|1590=-1|1591=-1|1592=-1|1593=-1</currentstate><currentvalues>Values: 1533=104.70|1536=78|1555=32|1557=32|1559=32|1561=32|1563=32|1565=32|1567=32|1569=32|1578=0|1579=0|1580=0|1581=0|1582=0|1583=0|1584=0|1585=0|1586=0|1587=0|1588=0|1589=1|1590=0|1591=0|1592=0|1593=0</currentvalues></ns:service-getelementstatusarrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
search back
<?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-getelementstatusarrayResponse><result>DPCM-0000</result><currentstate>State: 1533=-1|1536=-1|1555=-1|1557=-1|1559=-1|1561=-1|1563=-1|1565=-1|1567=-1|1569=-1|1578=-1|1579=-1|1580=-1|1581=-1|1582=-1|1583=-1|1584=-1|1585=-1|1586=-1|1587=-1|1588=-1|1589=-1|1590=-1|1591=-1|1592=-1|1593=-1</currentstate><currentvalues>Values: 1533=105.00|1536=50|1555=32|1557=32|1559=32|1561=32|1563=32|1565=32|1567=32|1569=32|1578=0|1579=0|1580=0|1581=0|1582=0|1583=0|1584=0|1585=0|1586=0|1587=0|1588=0|1589=0|1590=0|1591=0|1592=0|1593=0</currentvalues></ns:service-getelementstatusarrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
volumen 57%
<?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-databasesocketoperationResponse><result-len>Response payload length: 1589</result-len><result>DPCM-0000</result><payload-len>1589</payload-len><payload>Response: DBMG-000
NextRows: 37
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: '1352','channel','-1','4'
Row000006: '1368','on/off','-1','0'
Row000007: '1376','volume','-1','0'
Row000008: '1377','source','-1','4'
Row000009: '1398','channel','-1','4'
Row000010: '1414','on/off','-1','0'
Row000011: '1422','volume','-1','0'
Row000012: '1423','source','-1','4'
Row000013: '1428','channel','-1','4'
Row000014: '1444','on/off','-1','0'
Row000015: '1452','volume','-1','0'
Row000016: '1453','source','-1','4'
Row000017: '1458','channel','-1','4'
Row000018: '1474','on/off','-1','0'
Row000019: '1482','volume','-1','0'
Row000020: '1483','source','-1','4'
Row000021: '1488','channel','-1','4'
Row000022: '1504','on/off','-1','0'
Row000023: '1512','volume','-1','0'
Row000024: '1513','source','-1','4'
Row000025: '2505','channel','-1','4'
Row000026: '2522','on/off','-1','0'
Row000027: '2530','volume','-1','0'
Row000028: '2531','source','-1','4'
Row000029: '2536','channel','-1','0'
Row000030: '2553','on/off','-1','0'
Row000031: '2561','volume','-1','25'
Row000032: '2562','source','-1','4'
Row000033: '2567','channel','-1','0'
Row000034: '2583','on/off','-1','1'
Row000035: '2591','volume','-1','57'
Row000036: '2592','source','-1','5'
Row000037: '8548','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0'
</payload></ns:service-databasesocketoperationResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Radio studio off
<?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-databasesocketoperationResponse><result-len>Response payload length: 1589</result-len><result>DPCM-0000</result><payload-len>1589</payload-len><payload>Response: DBMG-000
NextRows: 37
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: '1352','channel','-1','4'
Row000006: '1368','on/off','-1','0'
Row000007: '1376','volume','-1','0'
Row000008: '1377','source','-1','4'
Row000009: '1398','channel','-1','4'
Row000010: '1414','on/off','-1','0'
Row000011: '1422','volume','-1','0'
Row000012: '1423','source','-1','4'
Row000013: '1428','channel','-1','4'
Row000014: '1444','on/off','-1','0'
Row000015: '1452','volume','-1','0'
Row000016: '1453','source','-1','4'
Row000017: '1458','channel','-1','4'
Row000018: '1474','on/off','-1','0'
Row000019: '1482','volume','-1','0'
Row000020: '1483','source','-1','4'
Row000021: '1488','channel','-1','4'
Row000022: '1504','on/off','-1','0'
Row000023: '1512','volume','-1','0'
Row000024: '1513','source','-1','4'
Row000025: '2505','channel','-1','4'
Row000026: '2522','on/off','-1','0'
Row000027: '2530','volume','-1','0'
Row000028: '2531','source','-1','4'
Row000029: '2536','channel','-1','0'
Row000030: '2553','on/off','-1','0'
Row000031: '2561','volume','-1','25'
Row000032: '2562','source','-1','4'
Row000033: '2567','channel','-1','0'
Row000034: '2583','on/off','-1','0'
Row000035: '2591','volume','-1','57'
Row000036: '2592','source','-1','4'
Row000037: '8548','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0'
</payload></ns:service-databasesocketoperationResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Radio cucina on
<?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-databasesocketoperationResponse><result-len>Response payload length: 1590</result-len><result>DPCM-0000</result><payload-len>1590</payload-len><payload>Response: DBMG-000
NextRows: 37
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: '1352','channel','-1','0'
Row000006: '1368','on/off','-1','1'
Row000007: '1376','volume','-1','44'
Row000008: '1377','source','-1','5'
Row000009: '1398','channel','-1','4'
Row000010: '1414','on/off','-1','0'
Row000011: '1422','volume','-1','0'
Row000012: '1423','source','-1','4'
Row000013: '1428','channel','-1','4'
Row000014: '1444','on/off','-1','0'
Row000015: '1452','volume','-1','0'
Row000016: '1453','source','-1','4'
Row000017: '1458','channel','-1','4'
Row000018: '1474','on/off','-1','0'
Row000019: '1482','volume','-1','0'
Row000020: '1483','source','-1','4'
Row000021: '1488','channel','-1','4'
Row000022: '1504','on/off','-1','0'
Row000023: '1512','volume','-1','0'
Row000024: '1513','source','-1','4'
Row000025: '2505','channel','-1','4'
Row000026: '2522','on/off','-1','0'
Row000027: '2530','volume','-1','0'
Row000028: '2531','source','-1','4'
Row000029: '2536','channel','-1','0'
Row000030: '2553','on/off','-1','0'
Row000031: '2561','volume','-1','25'
Row000032: '2562','source','-1','4'
Row000033: '2567','channel','-1','0'
Row000034: '2583','on/off','-1','0'
Row000035: '2591','volume','-1','57'
Row000036: '2592','source','-1','4'
Row000037: '8548','_DPAD_PRODUCT_VIMARBYME_CERTIFICATE_TRIGGER','-1','0'
</payload></ns:service-databasesocketoperationResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
maybe I found the right code..I hope <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,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>
change memorized station <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:BodyNO-PAYLOADNO-HASCHODENO-OPTIONALWEB-DOMUSPAD_SOAP5ef4af65c7f2551536,1533,1555,1578,1586,1557,1579,1587,1559,1580,1588,1561,1581,1589,1563,1582,1590,1565,1583,1591,1567,1584,1592,1569,1585,1593</soapenv:Body></soapenv:Envelope>
see: https://github.com/h4de5/home-assistant-vimar/issues/8#issuecomment-650038153
when I put on the radio
<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>5ef5aa2239643</sessionid><waittime>5</waittime>
<function>DML-SQL</function><type>SELECT</type><statement>SELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (265,269,270,273,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);</statement><statement-len>252</statement-len></service-databasesocketoperation></soapenv:Body></soapenv:Envelope>
<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>5ef5aa2239643</sessionid><waittime>10</waittime>
<idobject>2583</idobject><operation>SETVALUE</operation></service-runonelement></soapenv:Body></soapenv:Envelope>
<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>5ef5aa2239643</sessionid><waittime>5</waittime>
<function>DML-SQL</function><type>SELECT</type><statement>SELECT ID,NAME,STATUS_ID,CURRENT_VALUE FROM DPADD_OBJECT WHERE ID IN (265,269,270,273,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,2591,2592,8548);</statement>
<statement-len>247</statement-len></service-databasesocketoperation></soapenv:Body></soapenv:Envelope>
when change the station memorized (#3)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><service-runonelement xmlns="urn:xmethods-dpadws">
<payload>0</payload><hashcode>NO-HASHCODE</hashcode>
<optionals>NO-OPTIONALS</optionals><callsource>WEB-DOMUSPAD_SOAP</callsource>
<sessionid>5ef5aa2239643</sessionid><waittime>10</waittime><idobject>1548</idobject><operation>SETVALUE</operation>
</service-runonelement></soapenv:Body></soapenv:Envelope>
when search station
<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>5ef5aa2239643</sessionid><waittime>10</waittime><idobject>1572</idobject>
<operation>SETVALUE</operation>
</service-runonelement></soapenv:Body></soapenv:Envelope>
this looks good :)
@felisida : and something more to test for you.
I am not yet sure how this will work as I cannot test it. it should give you 4 options to select from for the sources (I am just guessing that 4 is for radio) and it should give you 8 channels which you can switch through via next and previous buttons.
hi Andy thank a lot, from the entities I don't see this new components, have i to make something?
@felisida does it say something about media players in the logs?
with this update, you you took a step forward now I see the entities, but no the control it's possible to need a specific panel?
[custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_2532 - Bagno Camera Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_2532 - Bagno Camera Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_2501 - Bagno Ospiti Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_2501 - Bagno Ospiti Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1424 - Camera Matrimoniale Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1424 - Camera Matrimoniale Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1454 - Camera Ospiti Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1454 - Camera Ospiti Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1484 - Cameretta Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1484 - Cameretta Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1348 - Cucina Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1348 - Cucina Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1394 - Soggiorno Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_1394 - Soggiorno Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_2563 - Studio Diffusione
2020-08-01 08:50:09 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Unique Id: vimar_platform_media_player_2563 - Studio Diffusione
The on button seems to be hidden when you open the details (3 buttons on tge top right of the entity
I can turn off, but not off; moreover I can contro the volume, but I can't choose the Source(Fonte) radio or Aux, and there aren't the station memorized
you are almost there!!
@felisida Please try again - I got a good feeling on that release ;)
Btw: If it's working I would be happy if you could make a screenshot that I can use for the documentation. (Both details of sensors and audio)
hi, there are some example if you need moreover let me know
About Audio, now I can open and close the vimar component from HA;
I view 4 source, but the action from HA don't affect the componente and moreover I can't see the stations memorized are 8.
there is a button look like "stop" but don't make effect
in the on mode when use the radio the card show plying from source 5 but doesn't exist in the source list
if you need the information let me know. thanks a lot
Can you give me a list of possible sources? And what each number mean? I limited it to 4 at the moment. The channels should be switchable through next/previous button but only when on source 4 (which i thought was radio) The stop button cannot believe removed i think. At least there is no option to say that the radio does not support a stop button.
Thanks for the fast feedback!
i have only 2 source aux and radio, but it depends by configuration, because I know it possible to install a docker or a Bluetooth source and more the one radio
@felisida I added now up to 8 sources and changed the status query a little bit. If you update and restart we should see some more debug information about the media player. maybe we can find out which sources are available.
nothing, if I try to change the source in HA after 2/3 second return to source 5 and not affect the vimar component, in my case 1 is AUX an 5 is radio. the changes are unilateral, if I made change from web server the HA see the changes, but not if I made changes from HA, only the power work properly in both direction. if you want I can share the pc to try if there is other code that I didn't discovered
@felisida is there anything in the debug log of HA?
2020-08-04 14:51:55 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-08-04 14:51:55 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hpprinter which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-08-04 14:51:55 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-08-04 14:51:55 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-08-04 14:51:55 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for vimar_platform which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-08-04 14:51:56 INFO (MainThread) [custom_components.vimar_platform.vimarlink] Vimar link initialized 2020-08-04 14:51:56 INFO (MainThread) [custom_components.vimar_platform] Vimar CA Certificate is already in place: rootCA.VIMAR.crt 2020-08-04 14:52:00 INFO (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Vimar login ok 2020-08-04 14:52:00 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Got a new Vimar Session id: 5f2959ef5adbc 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] calling refresh.. 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] Updating coordinator.. 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] get_remote_devices started - from 0 to 300 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Bagno Camera 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '2536', 'status_value': '0', 'status_range': ''}, 'on/off': {'status_id': '2553', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '2561', 'status_value': '100', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '2562', 'status_value': '4', 'status_range': ''}} 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Bagno ospiti 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '2505', 'status_value': '4', 'status_range': ''}, 'on/off': {'status_id': '2522', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '2530', 'status_value': '0', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '2531', 'status_value': '4', 'status_range': ''}} 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Camera matrimoniale 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '1428', 'status_value': '4', 'status_range': ''}, 'on/off': {'status_id': '1444', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '1452', 'status_value': '68', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1453', 'status_value': '4', 'status_range': ''}} 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Camera ospiti 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '1458', 'status_value': '0', 'status_range': ''}, 'on/off': {'status_id': '1474', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '1482', 'status_value': '67', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1483', 'status_value': '4', 'status_range': ''}} 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Cameretta 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '1488', 'status_value': '4', 'status_range': ''}, 'on/off': {'status_id': '1504', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '1512', 'status_value': '0', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1513', 'status_value': '4', 'status_range': ''}} 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Cucina 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '1352', 'status_value': '0', 'status_range': ''}, 'on/off': {'status_id': '1368', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '1376', 'status_value': '65', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1377', 'status_value': '4', 'status_range': ''}} 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Soggiorno 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '1398', 'status_value': '4', 'status_range': ''}, 'on/off': {'status_id': '1414', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '1422', 'status_value': '84', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1423', 'status_value': '4', 'status_range': ''}} 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Studio 2020-08-04 14:52:00 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '2567', 'status_value': '0', 'status_range': ''}, 'on/off': {'status_id': '2583', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '2591', 'status_value': '54', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '2592', 'status_value': '4', 'status_range': ''}} 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] Finished fetching vimar data in 0.317 seconds 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] done refresh 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] load platform light with 24 lights 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] load platform cover with 12 covers 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] load platform switch with 10 switches 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] load platform climate with 6 climates 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] load platform media_player with 8 media_players 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform] load platform sensor with 10 sensors 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar lights started! 2020-08-04 14:52:00 INFO (MainThread) [custom_components.vimar_platform.vimar_entity] Adding 24 lights 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar lights complete! 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar switches started! 2020-08-04 14:52:00 INFO (MainThread) [custom_components.vimar_platform.vimar_entity] Adding 10 switches 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar switches complete! 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar media_players started! 2020-08-04 14:52:00 INFO (MainThread) [custom_components.vimar_platform.vimar_entity] Adding 8 media_players 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar media_players complete! 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar sensors started! 2020-08-04 14:52:00 INFO (MainThread) [custom_components.vimar_platform.vimar_entity] Adding 50 sensors 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar sensors complete! 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar covers started! 2020-08-04 14:52:00 INFO (MainThread) [custom_components.vimar_platform.vimar_entity] Adding 12 covers 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar covers complete! 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar climates started! 2020-08-04 14:52:00 INFO (MainThread) [custom_components.vimar_platform.vimar_entity] Adding 6 climates 2020-08-04 14:52:00 DEBUG (MainThread) [custom_components.vimar_platform.vimar_entity] Vimar climates complete! 2020-08-04 14:52:07 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up upnp platform for sensor Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 179, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py", line 483, in wait_for return fut.result() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/homeassistant/components/upnp/sensor.py", line 89, in async_setup_entry device: Device = hass.data[DOMAIN]["devices"][udn] KeyError: 'uuid:307f4e67-1071-4c28-a53a-1e471d2f597c' 2020-08-04 14:52:08 DEBUG (MainThread) [custom_components.vimar_platform] Updating coordinator.. 2020-08-04 14:52:08 DEBUG (MainThread) [custom_components.vimar_platform] Finished fetching vimar data in 0.268 seconds 2
@felisida thank you.
'channel': {'status_id': '2536', 'status_value': '0', 'status_range': ''}, 'source': {'status_id': '2562', 'status_value': '4', 'status_range': ''}}
too bad. I hoped the webserver would give me a hint on the allowed values.
If you switch the source - does it give you a warning or something?
no, as you told when I try to change the source returns itself (after 2/3 sec) at the real source active in the vimar component
ah ok :\
@felisida source selection hopefully fixed now. does channel switching work? there is no option in hass to search for a frequency - so only pre-selected channels can be selected.