theneweinstein / somneo

Home Assistant custom component for Philips Someo
32 stars 18 forks source link

Error during setup #46

Closed kangguru closed 10 months ago

kangguru commented 10 months ago
  File "/usr/local/lib/python3.11/site-packages/api/soma_api.py", line 9, in __init__
    self.list_devices()
  File "/usr/local/lib/python3.11/site-packages/api/soma_api.py", line 13, in list_devices
    self.soma_connect_version = ret["version"]
                                ~~~^^^^^^^^^^^
KeyError: 'version'

I can see this in the log when using port 80, when using 443 it this says 'Failed to connect', no other ports are open on the device.

Connection to SOMA Connect failed with RequestException

Any idea why its not working? This is the upnp/description.xml:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
  <specVersion>
    <major>2</major>
    <minor>1</minor>
  </specVersion>
  <device>
    <deviceType>urn:philips-com:device:DiProduct:1</deviceType>
    <friendlyName>wakeup</friendlyName>
    <manufacturer>Royal Philips Electronics</manufacturer>
    <modelName>ESP32</modelName>
    <modelNumber>HF367x</modelNumber>
    <UDN>uuid:XXX</UDN>
    <cppId>xxx</cppId>
  </device>
</root>

Thank you for any guidance!

theneweinstein commented 10 months ago

I think you are at the wrong repository, you seem to be talking about https://github.com/ratsept/pysoma.

kangguru commented 10 months ago

haha 😂 omg, yea .... i'm really sorry, I just tried die wrong integration the whole time. Indeed i wanted to install somneo but ended up trying soma all the time. what a desaster 🙈

have a nice weekend