mdopp / simple-sonoff-server

Emulates the original sonoff-cloud-servers within your local network.
BSD 2-Clause "Simplified" License
144 stars 47 forks source link

Sonoff Constatly disconnects #30

Open pabloalcantara opened 6 years ago

pabloalcantara commented 6 years ago

I Have two sonoff T1 on the server. The problem is that they disconnect from the server constatly. This happens more when I presses the button 2,3 times consecutivly.

RES | WS | DEV | {"error":0,"deviceid":"10002b00d4","apikey":"111111111-1111-1111-1111-111111111111","date":"2018-05-03T23:34:57.567Z"} Device 10002b00d4-0 disconnected Device 10002b00d4-1 disconnected Device 10002b00d4-2 disconnected Device 10002b00d4-3 disconnected WS | Server is up 192.168.25.221:1608 to ::ffff:192.168.25.180:14812 REQ | WS | DEV | {"userAgent":"device","apikey":"88bc4bb7-9712-44dd-ac24-cd71202e69e6","deviceid":"10002b00d4","action":"register","version":2,"romVersion":"2.0.1","model":"PSF-B04-GL","ts":446} INFO | WS | Device 10002b00d4-0 registered INFO | WS | Device 10002b00d4-1 registered INFO | WS | Device 10002b00d4-2 registered INFO | WS | Device 10002b00d4-3 registered RES | WS | DEV | {"error":0,"deviceid":"10002b00d4","apikey":"111111111-1111-1111-1111-111111111111"} REQ | WS | DEV | {"userAgent":"device","apikey":"111111111-1111-1111-1111-11111111111","deviceid":"10002b00d4","action":"date"} RES | WS | DEV | {"error":0,"deviceid":"10002b00d4","apikey":"111111111-1111-1111-1111-111111111111","date":"2018-05-03T23:59:04.825Z"}