Closed skeljp closed 8 months ago
Hi @skeljp ,
The plugin was initially written for usage in the EU region. I'll try to add support for different regions in the following days.
@skeljp Would it be possible for you to download the "Proxyman" app from AppStore, setup the logging, open the Electrolux app and send me the logs from Proxyman? It's hard for me to guess what is the region code for Japan which is used in Electrolux app. Thanks!
Wow, Thanks for your quick response. I've left the proxymanlog in the link below, password is my Github ID. If it doesn't work, please let me know. Kind regards, https://Mashineru.quickconnect.to/d/s/uLQPjOJyKzNzuYaio6XM0KQvvUn1Rqya/2dmDpz0KVIWU9CYHFYDvaP-g-IdnVaaB-PbHAA_nZlQo
@skeljp Thank you! It seems Electrolux uses the EU region for devices based in Japan. You can remove this file right now as it may contain some sensitive data. The last thing I'm missing are requests made to gigya.com. Could you please send me the logs for the "accounts.xxx.gigya.com"? I need just the URL to get to know what Gigya endpoint you are using right now to log in.
Hi, Thanks for check it, I've removed the link. I have searched "gigya" in the ploxyman, however, there seems no entries. If my behavior is wrong, please let me know. Thanks.
Hi, Thanks for check it, I've removed the link. I have searched "gigya" in the ploxyman, however, there seems no entries. If my behavior is wrong, please let me know. Thanks.
Could you clear the logs, open the Electrolux app and send me the screen of the URLs list?
I've tried it. Does it work? https://i.imgur.com/hTleInv.png
I've tried it. Does it work? https://i.imgur.com/hTleInv.png
My bad, could you please log out from the app, go to Proxyman, clear the logs, and then open the Electrolux app and log in there? You should see the "gigya" URLs in the Proxyman logs.
Thanks for step by step supporting. I've done it and found "gigya.com" in the log. the endpoint ID is "au1" https://i.imgur.com/2ixUqUt.png please check it.
Thanks for step by step supporting. I've done it and found "gigya.com" in the log. the endpoint ID is "au1" https://i.imgur.com/2ixUqUt.png please check it.
Thanks! I'll implement the support for regions today, and I'll send you what you need to do in order to log in.
@skeljp Please download the 0.0.4-beta.1
version and in the config below the pollingInterval
please add the following line: "region": "au",
.
Please let me know if that worked for you, thanks!
Thanks for quick job! I've installed it however the issue comes again... Logs
[15/07/2023, 11:25:04] [homebridge-electrolux-devices] Child bridge process ended
[15/07/2023, 11:25:04] [homebridge-electrolux-devices] Process Ended. Code: 1, Signal: null
[15/07/2023, 11:25:11] [homebridge-electrolux-devices] Restarting Process...
[15/07/2023, 11:25:14] [homebridge-electrolux-devices] Launched child bridge with PID 1690
[15/07/2023, 11:25:14] Registering platform 'homebridge-electrolux-devices.HomebridgeElectroluxDevices'
[15/07/2023, 11:25:15] [homebridge-electrolux-devices] Loaded homebridge-electrolux-devices v0.0.4-beta.1 child bridge successfully
[15/07/2023, 11:25:15] [homebridge-electrolux-devices] Signing in to Electrolux...
[15/07/2023, 11:25:15] Homebridge v1.6.1 (HAP v0.11.1) (homebridge-electrolux-devices) is running on port 32113.
[15/07/2023, 11:25:16] [homebridge-electrolux-devices] Couldn't not sign in to Electrolux!
[15/07/2023, 11:25:16] [homebridge-electrolux-devices] Discovering devices...
/var/lib/homebridge/node_modules/homebridge-electrolux-devices/node_modules/axios/lib/core/settle.js:19
reject(new AxiosError(
^
AxiosError: Request failed with status code 500
at settle (/var/lib/homebridge/node_modules/homebridge-electrolux-devices/node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (/var/lib/homebridge/node_modules/homebridge-electrolux-devices/node_modules/axios/lib/adapters/http.js:570:11)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
Confings
{
"email": "XXXXXXXXXX@gmail.com",
"password": "XXXXXXXXXXX",
"region": "au",
"pollingInterval": 30,
"carbonDioxideSensorAlarmValue": 1000,
"_bridge": {
"username": "XX:XX:XX:XX:XX:XX",
"port": 32113
},
"platform": "HomebridgeElectroluxDevices"
}
When I re-created Electrolux account in the EU country, e.g. Germany, for testing purposes, the plugin worked flawlessly. Hence, the plugin's core functionality goes fine in my environment.
BTW, I'd like to let you know that encountered another issue; Despite setting the fan speed on the Homekit to its maximum level, the fan speed on Pure A9 only reaches a maximum of 5. The correct maximum value is 9. pls see the link as below: https://i.imgur.com/fgzsXNS.jpg
Thanks for quick job! I've installed it however the issue comes again... Logs
[15/07/2023, 11:25:04] [homebridge-electrolux-devices] Child bridge process ended [15/07/2023, 11:25:04] [homebridge-electrolux-devices] Process Ended. Code: 1, Signal: null [15/07/2023, 11:25:11] [homebridge-electrolux-devices] Restarting Process... [15/07/2023, 11:25:14] [homebridge-electrolux-devices] Launched child bridge with PID 1690 [15/07/2023, 11:25:14] Registering platform 'homebridge-electrolux-devices.HomebridgeElectroluxDevices' [15/07/2023, 11:25:15] [homebridge-electrolux-devices] Loaded homebridge-electrolux-devices v0.0.4-beta.1 child bridge successfully [15/07/2023, 11:25:15] [homebridge-electrolux-devices] Signing in to Electrolux... [15/07/2023, 11:25:15] Homebridge v1.6.1 (HAP v0.11.1) (homebridge-electrolux-devices) is running on port 32113. [15/07/2023, 11:25:16] [homebridge-electrolux-devices] Couldn't not sign in to Electrolux! [15/07/2023, 11:25:16] [homebridge-electrolux-devices] Discovering devices... /var/lib/homebridge/node_modules/homebridge-electrolux-devices/node_modules/axios/lib/core/settle.js:19 reject(new AxiosError( ^ AxiosError: Request failed with status code 500 at settle (/var/lib/homebridge/node_modules/homebridge-electrolux-devices/node_modules/axios/lib/core/settle.js:19:12) at IncomingMessage.handleStreamEnd (/var/lib/homebridge/node_modules/homebridge-electrolux-devices/node_modules/axios/lib/adapters/http.js:570:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)
Confings
{ "email": "XXXXXXXXXX@gmail.com", "password": "XXXXXXXXXXX", "region": "au", "pollingInterval": 30, "carbonDioxideSensorAlarmValue": 1000, "_bridge": { "username": "XX:XX:XX:XX:XX:XX", "port": 32113 }, "platform": "HomebridgeElectroluxDevices" }
When I re-created Electrolux account in the EU country, e.g. Germany, for testing purposes, the plugin worked flawlessly. Hence, the plugin's core functionality goes fine in my environment.
BTW, I'd like to let you know that encountered another issue; Despite setting the fan speed on the Homekit to its maximum level, the fan speed on Pure A9 only reaches a maximum of 5. The correct maximum value is 9. pls see the link as below: https://i.imgur.com/fgzsXNS.jpg
Thank you for your investigation. I'll create a Japanese account and I'll try to debug it by myself.
When it comes to the maximum fan speed, I'll open the separate issue for that.
Hi, I have the same problem: "Couldn't not sign in to Electrolux!". Since today...may be electrolux has changed something... My region is EU...Poland
@rafalkarolczyk Your issue is probably related to old certificate found in gigya library. Please try to use the new 0.0.5 version to log in.
Hi, I've installed your plugin with Great Thanks, however, the plugin causes a reboot loop. I've checked the ID/pass several times, and re-make the Electrolux account, but it doesn't solve it. I have left the logs as below and please give me advice to solve the issue if you found. The Electrolux device is Pure A9.