bwssytems / ha-bridge

Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp interface. This is a compact impl to run on small format computers. This is impl started from this project https://github.com/armzilla/amazon-echo-ha-bridge.
Apache License 2.0
1.45k stars 199 forks source link

Somfy RTS Connexoon Bridge/API Support? #1232

Open SchmuFoo opened 4 years ago

SchmuFoo commented 4 years ago

Just got the Somfy Connexoon RTS Bridge..

https://shop.somfy.de/connexoon-rts.html

.. but it seems that HA-Bridge only supports the Tahoma Platform, is this correct?

https://developer.somfy.com/products/rolling-shutters?s=09

Thanks

bwssytems commented 4 years ago

Would need to see if there is an API for the RTS that the ha-bridge could call.

SchmuFoo commented 4 years ago

Would need to see if there is an API for the RTS that the ha-bridge could call.

Anything I could do ("more") than that?

root@loxberry:/opt/loxberry# curl -insecure -vvv https://192.168.178.42/
* Expire in 0 ms for 6 (transfer 0x51f880)
* Couldn't find host 192.168.178.42 in the .netrc file; using defaults
*   Trying 192.168.178.42...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x51f880)
* Connected to 192.168.178.42 (192.168.178.42) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Request CERT (13):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
root@loxberry:/opt/loxberry# curl -insecure -k -vvv https://192.168.178.42/
* Expire in 0 ms for 6 (transfer 0x9fb880)
* Couldn't find host 192.168.178.42 in the .netrc file; using defaults
*   Trying 192.168.178.42...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x9fb880)
* Connected to 192.168.178.42 (192.168.178.42) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Request CERT (13):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: O=Overkiz; OU=Overkiz Device Server; CN=0407-2815-9478.local
*  start date: Dec 31 10:07:44 2019 GMT
*  expire date: Dec 28 10:07:44 2029 GMT
*  issuer: C=FR; O=Overkiz; OU=Overkiz Device Server CA; CN=Overkiz Device Server CA
*  SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
> GET / HTTP/1.1
> Host: 192.168.178.42
> User-Agent: curl/7.64.0
> Accept: */*
> Referer: cure
>
* TLSv1.3 (IN), TLS alert, unknown (628):
* OpenSSL SSL_read: error:1409445C:SSL routines:ssl3_read_bytes:tlsv13 alert certificate required, errno 0
* Closing connection 0