Open felisida opened 4 years ago
@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 <?xml version="1.0" encoding="UTF-8"?>
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
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.
=( the same issue when I try to change the source returns itself (after 2/3 sec) at the real source active in the vimar component
2020-08-05 10:16:03 DEBUG (MainThread) [custom_components.vimar_platform] Updating coordinator..
2020-08-05 10:16:03 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] get_remote_devices started - from 0 to 300
2020-08-05 10:16:03 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Bagno Camera
2020-08-05 10:16:03 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': '77', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '2562', 'status_value': '4', 'status_range': ''}}
2020-08-05 10:16:03 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Bagno ospiti
2020-08-05 10:16:03 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-05 10:16:03 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Camera matrimoniale
2020-08-05 10:16:03 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-05 10:16:03 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Camera ospiti
2020-08-05 10:16:03 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-05 10:16:03 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Cameretta
2020-08-05 10:16:03 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-05 10:16:03 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Cucina
2020-08-05 10:16:03 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-05 10:16:03 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Soggiorno
2020-08-05 10:16:03 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-05 10:16:03 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Studio
2020-08-05 10:16:03 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': '71', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '2592', 'status_value': '4', 'status_range': ''}}
this is strange - I added a media player entity (without actually having the radio). there should be a info/debug message everytime you change something within HA:
2020-08-05 12:45:42 DEBUG (MainThread) [custom_components.vimar_platform.media_player] Vimar media player setting source: 7
2020-08-05 12:45:48 DEBUG (MainThread) [custom_components.vimar_platform] Updating coordinator..
2020-08-05 12:45:48 DEBUG (MainThread) [custom_components.vimar_platform] Finished fetching vimar data in 0.375 seconds
2020-08-05 12:45:53 DEBUG (MainThread) [custom_components.vimar_platform.media_player] Vimar media player setting next channel: 1
when I open or close the radio, into debag I receive the message, but when I try to change source in the debug don't appear any kind of message, I'm attaching the debug between on and off I tried to change source but there isn't trace
2020-08-05 19:44:15 INFO (MainThread) [custom_components.vimar_platform.media_player] Vimar media player setting on 2020-08-05 19:44:16 DEBUG (MainThread) [custom_components.vimar_platform] Updating coordinator.. 2020-08-05 19:44:16 DEBUG (MainThread) [custom_components.vimar_platform] Finished fetching vimar data in 0.353 seconds 2020-08-05 19:44:24 DEBUG (MainThread) [custom_components.vimar_platform] Updating coordinator.. 2020-08-05 19:44:24 DEBUG (MainThread) [custom_components.vimar_platform] Finished fetching vimar data in 0.344 seconds 2020-08-05 19:44:32 DEBUG (MainThread) [custom_components.vimar_platform] Updating coordinator.. 2020-08-05 19:44:32 DEBUG (MainThread) [custom_components.vimar_platform] Finished fetching vimar data in 0.371 seconds 2020-08-05 19:44:35 INFO (MainThread) [custom_components.vimar_platform.media_player] Vimar media player setting off 2020-08-05 19:44:40 DEBUG (MainThread) [custom_components.vimar_platform] Updating coordinator.. 2020-08-05 19:44:40 DEBUG (MainThread) [custom_components.vimar_platform] Finished fetching vimar data in 0.774 seconds
maybe a stupid question - but are you sure you are on the latest version?
(if you deployed it via git clone
you just need to git pull
within that directory)
i tried other time, I deleted old folder and pilled in the new version, but I'm not deleted all entities do you think , I have to try?
you mean deleting the entities in HA? no that should not be necessary.
ok, ence the issue persist
hi again - today I got a link to a description of the vimar logic unit: https://download.vimar.com/irj/go/km/docs/z_catalogo/DOCUMENT/ZIS_EditorEN_MI.88474.pdf
it "somehow" describes the audio component a little more. still I am not sure why it does not work at the moment. my guess is, that it somehow messes up with channels and sources.
in most of your previous posts, that value of "source" is 4. is radio ment to be 4 or 5? or does this depend on the radio somehow? channel was set either to 0 or 4 - as far as I can see - so you mostly listening to those two channels? can you try to switch to different channels and sources on each of your radios on the webserver and describe it, so we can see the outcome in the list?
also switching to a different channel (as seen in https://github.com/h4de5/home-assistant-vimar/issues/7#issuecomment-650063368) should be easy for me, but the involved idobjects
(2583, 1548 and 1572) have never been described before - so I can't see what attributes those ids stand for. It should have been one of those channel
Ids (like in Row000017: '1458','channel','-1','4'
)
hi anni sorry for the delay, but in this day's I haven't any possibility to make other test I will try during the WE. sorry
PS: this firmware manages all the Vimar components except the alarm, but manages the audio in all its parts, I don't know if it is possible to extrapolate the correct commands from this firmware, however I'm posting the link http: // www .ilevia.com / downloads /
@felisida that is an interesting project. But as far as I can see, they are building up on top of a KNX gateway, so they can send commands directly to the bus - without using the webserver. In that case unfortunately I cannot extract those commands.
hi Handi, since I decided to use HA continuously after the first tests in which I ran it on my mac., I installed proxmox on a pc and there I installed hassio yesterday or followed the procedure to install the components, but unexpectedly I see everything except the audio this is the log
2020-09-22 17:06:50 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly 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-09-22 17:06:50 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-09-22 17:06:50 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-09-22 17:06:50 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-09-22 17:06:50 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-09-22 17:06:51 INFO (MainThread) [custom_components.vimar_platform.vimarlink] Vimar link initialized
2020-09-22 17:06:51 INFO (MainThread) [custom_components.vimar_platform] Vimar CA Certificate is already in place: rootCA.VIMAR.crt
2020-09-22 17:06:51 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Luce garage for shelly
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 228, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/shelly/__init__.py", line 81, in async_setup_entry
conf = CONFIG_SCHEMA_ROOT(data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['host']
2020-09-22 17:06:51 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Luce bagno taverna for shelly
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 228, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/shelly/__init__.py", line 81, in async_setup_entry
conf = CONFIG_SCHEMA_ROOT(data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['host']
2020-09-22 17:06:54 INFO (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Vimar login ok
2020-09-22 17:06:54 DEBUG (SyncWorker_2) [custom_components.vimar_platform.vimarlink] Got a new Vimar Session id: 5f6a130dede40
2020-09-22 17:06:54 DEBUG (MainThread) [custom_components.vimar_platform] calling refresh..
2020-09-22 17:06:54 DEBUG (MainThread) [custom_components.vimar_platform] Updating coordinator..
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] get_remote_devices started - from 0 to 300
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Bagno Camera
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [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-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Bagno ospiti
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [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': '80', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '2531', 'status_value': '4', 'status_range': ''}}
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Camera matrimoniale
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '1428', 'status_value': '0', 'status_range': ''}, 'on/off': {'status_id': '1444', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '1452', 'status_value': '82', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1453', 'status_value': '4', 'status_range': ''}}
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Camera ospiti
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '1458', 'status_value': '4', 'status_range': ''}, 'on/off': {'status_id': '1474', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '1482', 'status_value': '0', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1483', 'status_value': '4', 'status_range': ''}}
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Cameretta
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [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': '6', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1513', 'status_value': '4', 'status_range': ''}}
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Cucina
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '1352', 'status_value': '4', 'status_range': ''}, 'on/off': {'status_id': '1368', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '1376', 'status_value': '67', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1377', 'status_value': '4', 'status_range': ''}}
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Soggiorno
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [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': '0', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '1423', 'status_value': '4', 'status_range': ''}}
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object returned from web server: CH_Audio / Diffusione Studio
2020-09-22 17:06:54 DEBUG (SyncWorker_3) [custom_components.vimar_platform.vimarlink] Audio object has states: {'channel': {'status_id': '2567', 'status_value': '4', 'status_range': ''}, 'on/off': {'status_id': '2583', 'status_value': '0', 'status_range': 'min=0|max=1'}, 'volume': {'status_id': '2591', 'status_value': '56', 'status_range': 'min=0|max=100'}, 'source': {'status_id': '2592', 'status_value': '4', 'status_range': ''}}
2020-09-22 17:06:54 DEBUG (MainThread) [custom_components.vimar_platform] Finished fetching vimar data in 0.247 seconds
You may have an erroneous config entry for shelly - but I don't see a reason why the audio devices, which where found according to the logs, should not show up in hass.
regarding shelly I know, I already removed integration and I will use Mqtt. see this log Logger: homeassistant.components.media_player Source: custom_components/vimar_platform/media_player.py:132 Integration: Lettore multimediale (documentation, issues) First occurred: 12:29:48 (1 occurrences) Last logged: 12:29:48
Error while setting up vimar_platform platform for media_player Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 201, in _async_setup_platform await asyncio.gather(pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 310, in async_add_entities await asyncio.gather(tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 409, in _async_add_entity capabilities=entity.capability_attributes, File "/usr/src/homeassistant/homeassistant/components/media_player/init.py", line 782, in capability_attributes supported_features = self.supported_features or 0 File "/config/custom_components/vimar_platform/media_player.py", line 132, in supported_features flags |= SUPPORT_VOLUME_SET | SUPPORT_VOLUME_MUTE | SUPPORT_VOLUME_STEP NameError: name 'SUPPORT_VOLUME_STEP' is not defined
ah i see - should be fixed with 19e55b8
ok, it's work! I confirm the radio in my case is the source N° 5 and the AUX is the 1. if I change from APP I see the changing of source in HA, but if I try to change source from HA they don't send the command to CH Audio. if i chang number of station memorized the source remain still the n. 5
tell' mi if you want to take another code from webserver
@felisida this really bugs me 😞 would you agree to let me have a access to your webserver so I can have a look at the requests? I have no other ideas anymore.
If so - let me know - I'll find we can exchange emails in private.
ok tell me what I can do
@felisida I invited you to a new github repository.
/edit : reformatting list