howanghk / homebridge-ewelink

Homebridge plugin to control Sonoff relays with OEM firmware
MIT License
81 stars 46 forks source link

Sonoff SC #9

Open CPTSkywalker opened 5 years ago

CPTSkywalker commented 5 years ago

Firstly, thanks for the great work on Ewelink-max. My Sonoff Touch and Sonoff Basic switches are working perfectly in Homekit.

I have a Sonoff SC https://www.itead.cc/sonoff-sc.html and would love for it to be integrated into Homekit as well. At the moment it is showing up as a switch that is not responding. If you ever look at updating Ewelink-max, please consider adding support for this device as well.

howanghk commented 5 years ago

Hi @CPTSkywalker, I don't personally own such device. Would you please provide your homebridge logs?

CPTSkywalker commented 5 years ago

Here are the log files as requested. Hope this helps and thank you for looking into this!

https://share.icloud.com/photos/05__d58QIvddquw41Npd6tJ2g

On Jan 19, 2019 at 21:26, <Wong Ho Wang (mailto:notifications@github.com)> wrote:

Hi @CPTSkywalker (https://github.com/CPTSkywalker), I don't personally own such device. Would you please provide your homebridge logs?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/howanghk/homebridge-ewelink/issues/9#issuecomment-455808159), or mute the thread (https://github.com/notifications/unsubscribe-auth/Asp79vhrpdutmxOovI0J2vybRFE74BSgks5vE3FzgaJpZM4aIYvB).

CPTSkywalker commented 5 years ago

Good day,

Thanks for coming back to me and looking into this. Below are the recent logs and some error logs below that:

[2019-1-21 07:09:07] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":48,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 07:09:04] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 07:09:00] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"1000590031","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-70},"from":"device"}

[2019-1-21 07:08:37] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 07:08:32] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":5,"dusty":2},"from":"device"}

[2019-1-21 07:08:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100059c8b1","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-55},"from":"device"}

[2019-1-21 07:08:11] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"1000589629","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-57},"from":"device"}

[2019-1-21 07:07:11] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"1000589629","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-60},"from":"device"}

[2019-1-21 07:05:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100059c8b1","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-52},"from":"device"}

[2019-1-21 07:03:40] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 07:03:27] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 07:02:09] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 07:02:04] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:58:05] [eWeLink] WebSocket messge received: {"error":0,"deviceid":"100059c8b1","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","sequence":"1548046684435"}

[2019-1-21 06:58:04] [eWeLink] Setting power state to [off] for device [Fan]

[2019-1-21 06:58:01] [eWeLink] WebSocket messge received: {"error":0,"deviceid":"100059c8b1","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","sequence":"1548046681280"}

[2019-1-21 06:58:01] [eWeLink] Setting power state to [on] for device [Fan]

[2019-1-21 06:57:58] [eWeLink] API reported that [Light Switch ] CH 1 is Off

[2019-1-21 06:57:58] [eWeLink] API reported that [Bed Lamp] is Off

[2019-1-21 06:57:58] [eWeLink] API reported that [Fan] is Off

[2019-1-21 06:57:58] [eWeLink] API reported that [Light Switch ] CH 3 is Off

[2019-1-21 06:57:58] [eWeLink] API reported that [Heater] is Off

[2019-1-21 06:57:58] [eWeLink] API reported that [Art Deco Lamp] is Off

[2019-1-21 06:57:58] [eWeLink] API reported that [Desk Lamp] is Off

[2019-1-21 06:57:58] [eWeLink] API reported that [Light Switch ] CH 2 is Off

[2019-1-21 06:57:58] [eWeLink] API reported an unknown status for device [Sensor Hub]

[2019-1-21 06:57:57] [eWeLink] Requesting power state for [Light Switch CH 3]

[2019-1-21 06:57:57] [eWeLink] Requesting power state for [Light Switch CH 1]

[2019-1-21 06:57:57] [eWeLink] Requesting power state for [Desk Lamp]

[2019-1-21 06:57:57] [eWeLink] Requesting power state for [Bed Lamp]

[2019-1-21 06:57:57] [eWeLink] Requesting power state for [Heater]

[2019-1-21 06:57:57] [eWeLink] Requesting power state for [Light Switch CH 2]

[2019-1-21 06:57:57] [eWeLink] Requesting power state for [Art Deco Lamp]

[2019-1-21 06:57:57] [eWeLink] Requesting power state for [Fan]

[2019-1-21 06:57:57] [eWeLink] Requesting power state for [Sensor Hub]

[2019-1-21 06:57:56] [eWeLink] API reported an unknown status for device [Sensor Hub]

[2019-1-21 06:57:55] [eWeLink] Requesting power state for [Sensor Hub]

[2019-1-21 06:57:55] [eWeLink] API reported an unknown status for device [Sensor Hub]

[2019-1-21 06:57:54] [eWeLink] Requesting power state for [Sensor Hub]

[2019-1-21 06:57:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10005896ae","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-64},"from":"device"}

[2019-1-21 06:55:24] [eWeLink] API reported an unknown status for device [Sensor Hub]

[2019-1-21 06:55:24] [eWeLink] Requesting power state for [Sensor Hub]

[2019-1-21 06:55:21] [eWeLink] API reported an unknown status for device [Sensor Hub]

[2019-1-21 06:55:21] [eWeLink] Requesting power state for [Sensor Hub]

[2019-1-21 06:55:20] [eWeLink] API reported an unknown status for device [Sensor Hub]

[2019-1-21 06:55:19] [eWeLink] Requesting power state for [Sensor Hub]

[2019-1-21 06:55:18] [eWeLink] API reported an unknown status for device [Sensor Hub]

[2019-1-21 06:55:17] [eWeLink] Requesting power state for [Sensor Hub]

[2019-1-21 06:55:15] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:55:13] [eWeLink] API reported an unknown status for device [Sensor Hub]

[2019-1-21 06:55:13] [eWeLink] Requesting power state for [Sensor Hub]

[2019-1-21 06:55:12] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":5,"dusty":2},"from":"device"}

[2019-1-21 06:55:09] [eWeLink] API reported that [Fan] is Off

[2019-1-21 06:55:09] [eWeLink] API reported that [Art Deco Lamp] is Off

[2019-1-21 06:55:09] [eWeLink] API reported that [Light Switch ] CH 2 is Off

[2019-1-21 06:55:09] [eWeLink] API reported that [Heater] is Off

[2019-1-21 06:55:09] [eWeLink] API reported that [Bed Lamp] is Off

[2019-1-21 06:55:09] [eWeLink] API reported that [Light Switch ] CH 3 is Off

[2019-1-21 06:55:09] [eWeLink] API reported that [Light Switch ] CH 1 is Off

[2019-1-21 06:55:09] [eWeLink] API reported that [Desk Lamp] is Off

[2019-1-21 06:55:06] [eWeLink] API reported an unknown status for device [Sensor Hub]

[2019-1-21 06:55:05] [eWeLink] Requesting power state for [Light Switch CH 3]

[2019-1-21 06:55:05] [eWeLink] Requesting power state for [Light Switch CH 1]

[2019-1-21 06:55:05] [eWeLink] Requesting power state for [Desk Lamp]

[2019-1-21 06:55:05] [eWeLink] Requesting power state for [Bed Lamp]

[2019-1-21 06:55:05] [eWeLink] Requesting power state for [Heater]

[2019-1-21 06:55:05] [eWeLink] Requesting power state for [Light Switch CH 2]

[2019-1-21 06:55:05] [eWeLink] Requesting power state for [Art Deco Lamp]

[2019-1-21 06:55:05] [eWeLink] Requesting power state for [Fan]

[2019-1-21 06:55:05] [eWeLink] Requesting power state for [Sensor Hub]

[2019-1-21 06:54:19] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:54:16] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:53:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10005896ae","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-67},"from":"device"}

[2019-1-21 06:51:21] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:51:18] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:50:40] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:50:37] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:48:55] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:48:49] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:47:51] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:47:45] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:45:28] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:45:22] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":48,"temperature":26,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:42:52] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:42:49] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":48,"temperature":26,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:42:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100059c8b1","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-55},"from":"device"}

[2019-1-21 06:41:06] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:41:02] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:40:59] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:40:43] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:40:38] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:39:34] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":8,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:39:24] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:39:18] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:38:59] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:38:55] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:38:28] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:38:23] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:38:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100059c8b1","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-52},"from":"device"}

[2019-1-21 06:38:04] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:38:00] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":5,"dusty":2},"from":"device"}

[2019-1-21 06:37:55] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:37:52] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":5,"dusty":2},"from":"device"}

[2019-1-21 06:36:02] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:35:58] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":5,"dusty":2},"from":"device"}

[2019-1-21 06:35:26] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:35:23] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:34:22] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:34:17] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":5,"dusty":2},"from":"device"}

[2019-1-21 06:33:11] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"1000589629","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-57},"from":"device"}

[2019-1-21 06:32:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10005896ae","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-63},"from":"device"}

[2019-1-21 06:32:12] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:32:05] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":5,"dusty":2},"from":"device"}

[2019-1-21 06:29:16] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:29:12] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:28:37] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:28:32] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:27:37] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:27:33] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:26:57] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:26:54] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:26:28] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100056ae02","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-74},"from":"device"}

[2019-1-21 06:24:11] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"1000589629","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-60},"from":"device"}

[2019-1-21 06:23:39] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:23:36] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:23:02] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:22:59] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":48,"temperature":26,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:22:11] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"1000589629","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-56},"from":"device"}

[2019-1-21 06:21:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10005896ae","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-66},"from":"device"}

[2019-1-21 06:20:11] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"1000589629","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-59},"from":"device"}

[2019-1-21 06:18:57] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:18:53] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":5,"dusty":2},"from":"device"}

[2019-1-21 06:17:28] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100056ae02","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-77},"from":"device"}

[2019-1-21 06:17:11] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"1000589629","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-56},"from":"device"}

[2019-1-21 06:16:17] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:16:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":9,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:15:50] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:15:46] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":26,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:15:26] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":9,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:14:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100059c8b1","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-55},"from":"device"}

[2019-1-21 06:14:07] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":10,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:14:02] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":10,"noise":5,"dusty":2},"from":"device"}

[2019-1-21 06:13:46] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":26,"light":10,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:13:34] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":47,"temperature":25,"light":10,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:13:30] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":10,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:12:49] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":10,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:12:45] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":10,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:10:49] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":10,"noise":4,"dusty":2},"from":"device"}

[2019-1-21 06:10:45] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":10,"noise":3,"dusty":2},"from":"device"}

[2019-1-21 06:10:13] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100059c8b1","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"rssi":-52},"from":"device"}

[2019-1-21 06:08:02] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10003b7061","apikey":"037b14e2-424f-4bec-9461-64e622153f8f","userAgent":"device","ts":0,"params":{"humidity":46,"temperature":25,"light":10,"noise":4,"dusty":2},"from":"device"}

Error logs:

Mon, 21 Jan 2019 05:01:27 GMT EventedHTTPServer [::ffff:192.168.1.108] HTTP Response is finished

Mon, 21 Jan 2019 05:01:27 GMT HAPServer [CD:22:3D:E3:CE:15] HAP Request: GET /accessories

Mon, 21 Jan 2019 05:01:27 GMT EventedHTTPServer [::ffff:192.168.1.108] HTTP request: /accessories

Mon, 21 Jan 2019 05:01:27 GMT EventedHTTPServer [::ffff:192.168.1.108] HTTP Response is finished

Mon, 21 Jan 2019 05:01:27 GMT HAPServer [CD:22:3D:E3:CE:15] Client F2ABBE83-F8A6-4076-81D2-87BD49F0EB0E verification complete

Mon, 21 Jan 2019 05:01:27 GMT HAPServer [CD:22:3D:E3:CE:15] Pair verify step 2/2

Mon, 21 Jan 2019 05:01:27 GMT HAPServer [CD:22:3D:E3:CE:15] HAP Request: POST /pair-verify

Mon, 21 Jan 2019 05:01:27 GMT EventedHTTPServer [::ffff:192.168.1.108] HTTP request: /pair-verify

Mon, 21 Jan 2019 05:01:27 GMT EventedHTTPServer [::ffff:192.168.1.108] HTTP Response is finished

Mon, 21 Jan 2019 05:01:26 GMT HAPServer [CD:22:3D:E3:CE:15] Pair verify step 1/2

Mon, 21 Jan 2019 05:01:26 GMT HAPServer [CD:22:3D:E3:CE:15] HAP Request: POST /pair-verify

Mon, 21 Jan 2019 05:01:26 GMT EventedHTTPServer [::ffff:192.168.1.108] HTTP request: /pair-verify

Mon, 21 Jan 2019 05:01:26 GMT EventedHTTPServer [::ffff:192.168.1.108] HTTP server listening on port 42747

Mon, 21 Jan 2019 05:01:26 GMT EventedHTTPServer [::ffff:192.168.1.108] New connection from client

Mon, 21 Jan 2019 05:01:26 GMT EventedHTTPServer [::ffff:192.168.1.108] HTTP server was closed

Mon, 21 Jan 2019 05:01:26 GMT EventedHTTPServer [::ffff:192.168.1.108] HTTP connection was closed

Regards

Bertus

On Jan 19, 2019 at 21:26, <Wong Ho Wang (mailto:notifications@github.com)> wrote:

Hi @CPTSkywalker (https://github.com/CPTSkywalker), I don't personally own such device. Would you please provide your homebridge logs?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/howanghk/homebridge-ewelink/issues/9#issuecomment-455808159), or mute the thread (https://github.com/notifications/unsubscribe-auth/Asp79vhrpdutmxOovI0J2vybRFE74BSgks5vE3FzgaJpZM4aIYvB).

howanghk commented 5 years ago

Thanks for the information. I can try to implement that when I have free time.

CPTSkywalker commented 5 years ago

Much appreciated. Sonoff products are amazing and thanks to you we can use it with Homekit. If there is any way I can contribute/donate please let me know.

Looking forward to hearing from you.

On Mon, Jan 21, 2019 at 9:29 AM Wong Ho Wang notifications@github.com wrote:

Thanks for the information. I can try to implement that when I have free time.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/howanghk/homebridge-ewelink/issues/9#issuecomment-455973302, or mute the thread https://github.com/notifications/unsubscribe-auth/Asp79s6WZK0Y7Oui9BqvkFsHzddCICIuks5vFWxrgaJpZM4aIYvB .

howanghk commented 5 years ago

Hi @CPTSkywalker, the best way to contribute is contributing code. This project is open source and have a relaxed license that you are free to modify the code and share your work. You can look into the source code, it's written in Javascript which is fairly easy to understand and write. It would be great if you can add support for the Sonoff SC and send me a pull request.

CPTSkywalker commented 5 years ago

Thanks Wong, but I'm afraid I know nothing about coding. Maybe it's something I could look into in the future, but it will be a steep learning curve for me.

On Mon, Jan 21, 2019 at 2:49 PM Wong Ho Wang notifications@github.com wrote:

Hi @CPTSkywalker https://github.com/CPTSkywalker, the best way to contribute is contributing code. This project is open source and have a relaxed license that you are free to modify the code and share your work. You can look into the source code, it's written in Javascript which is fairly easy to understand and write. It would be great if you can add support for the Sonoff SC and send me a pull request.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/howanghk/homebridge-ewelink/issues/9#issuecomment-456062968, or mute the thread https://github.com/notifications/unsubscribe-auth/Asp79mZbKY95xja0MPNU--cGU7rn7XdAks5vFbc_gaJpZM4aIYvB .

dudikm commented 5 years ago

if it help i can share my sonoff sc with in your ewelink account.