Smart Home Automation Forum
Adding wifi setup button with Homespan - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: Home automation training courses (https://www.kincony.com/forum/forumdisplay.php?fid=18)
+--- Thread: Adding wifi setup button with Homespan (/showthread.php?tid=2464)



Adding wifi setup button with Homespan - leotordo - 12-20-2022

Hello everybody.
I'm new on Homekit/homespan
Is it possible to add a button for launch HomeSpan’s temporary WiFi network and the related procedure with only one single press and release action?
Thanks
Stefano


RE: Adding wifi setup button with Homespan - admin - 12-20-2022

sure, homespan is open source arduino project, you can change anything.
homespan already support define LED and button by esp32 gpio for show state and wifi-reset function.


RE: Adding wifi setup button with Homespan - ARSHAD - 01-26-2024

Hi, getting an error for the DHT22 sensor

Below is the code
sensor:
  - platform: dht
    pin: 3
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    update_interval: 60s

Error Message :-
[18:07:56][D][api:102]: Accepted 192.168.1.13
[18:07:56][W][api.connection:083]: 192.168.1.13: Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11
[18:07:58][D][api:102]: Accepted 192.168.1.13
[18:07:58][W][api.connection:083]: 192.168.1.13: Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11
[18:08:01][D][api:102]: Accepted 192.168.1.13
[18:08:01][W][api.connection:083]: 192.168.1.13: Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11
[18:08:07][D][api:102]: Accepted 192.168.1.13
[18:08:07][W][api.connection:083]: 192.168.1.13: Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11

Connection details


RE: Adding wifi setup button with Homespan - admin - 01-26-2024

you can see here , similar problem: https://community.home-assistant.io/t/error-adding-esp8266-in-home-assistant-socket-operation-failed-connection-closed-errno-11/480113/28?page=2