valtzu / smart-coffee

Receive push notifications when coffee is ready. Based on polling the coffee machine energy consumption using TP-Link HS110 monitoring device.
MIT License
0 stars 1 forks source link

Store TP-Link cloud credentials on the server #24

Closed valtzu closed 6 years ago

valtzu commented 6 years ago

https://wap.tplinkcloud.com has Symantec SSL certificate which causes the login to fail as Chrome & other browsers do not trust that anymore. Move the logic into Node to fix this behavior.

This is a serious issue (see https://forum.tp-link.com/showthread.php?108666-Cannot-register-Kasa-account-on-iPhone&s=b024691e9fc9ac051af13b2239276c9a&p=243009&viewfull=1#post243009) but can't be fixed easily by TP-Link because it is embedded into the device's firmware.

valtzu commented 6 years ago

This is really urgent as wap.tplinkcloud.com now sends CORS headers preventing access even if the certificate was not an issue

valtzu commented 6 years ago

Implemented in c295a87928dd3386593e52a0c83e70f17455143e