rstrouse / ESPSomfy-RTS

A controller for Somfy RTS shades and blinds
The Unlicense
428 stars 32 forks source link

Unable to connect to the interface #379

Closed lamen closed 1 month ago

lamen commented 1 month ago

Hardware

ESP32

Firmware version

v2.4.3

Application version

?

What happened? What did you expect to happen?

For around 10 days I have no longer been able to access espsomfy, when I try to connect to the address I have infinite loading. I tried on 3 different esp32s (Aliexpress wroom32, Azdelivery wroom32), with version 2.4.3 and 2.4.2 espSomfy

How to reproduce it (step by step)

1. Go to...
2. Click on...
...

Logs

No response

rstrouse commented 1 month ago

Clear your browser cache. Since you are using Chrome, hold down the ctrl key and press F5.

lamen commented 1 month ago

Thanks for your response, i have already tried Ctrl+F5 and Ctrl+R, same result espSomfy-3

lamen commented 1 month ago

I have tried in a different place (other wifi network), it's works well. At home it seems that the get networksettings return null

any idea ?

On the other wifi network : { "get": "/networksettings", "obj": { "ssdpBroadcast": true, "hostname": "ESPSomfyRTS", "connType": 1, "chipModel": "", "checkForUpdate": true, "fwVersion": "v2.4.3", "ethernet": { "boardType": 0, "phyAddress": 0, "CLKMode": 0, "phyType": 0, "PWRPin": -1, "MDCPin": 23, "MDIOPin": 18 }, "wifi": { "ssid": "Livebox-2A90", "passphrase": "XXXX", "roaming": true }, "ip": { "dhcp": true, "ip": "192.168.1.16", "gateway": "192.168.1.1", "subnet": "255.255.255.0", "dns1": "192.168.1.1", "dns2": "0.0.0.0" } } }

At home : {"get": "/networksettings","obj": null }

rstrouse commented 1 month ago

Out of curiosity are you using a hidden SSID?

Open up a browser and type http://<ip address>/networksettings and lets see if if returns something other than json.

lamen commented 1 month ago

ok i got it, i've a " on my wifi password : 2024-05-21 19_57_19-Window

rstrouse commented 1 month ago

I am going to close this one out. I will look at some ways to scrub the json but escaping all of the json output is probably too expensive in terms of memory since the buffer will need to forward look through all the strings. For now don't include quotes in your passphrase.