rjnorris9533 - Help Please - I am trying to ins...

Help Please - I am trying to install the ewelink sonoff plugin on signal K and it is acting strange. I can do the install and it plug in will show up on the Singnal K Dashboard as signalk-sonoff-ewelink. I went to the server link listed and got my API number however when I go to the SIngnalK, server, plugin Config to set up my API number the plugin is not listed. If i go to the Signal K App Store the Ewelink app shows that it is not installed. (thought I might try deleting it then reinstalling but cant.) what is strange is that if i go back to the SignalK Dashoard and click on the signalk-sonoff-ewelink and go down to the "Source Priorities Settings" it will how the path of devices in SignalK but none of the SonOff Ewelink device (which I wasnt expecting because I ve never been able to enter the API number for the Ewelink server. Anyone have any ideas on how to resolve. The Plugin Shows to be working however in APp store I cant delete it bacuse it shows not installed. If i try to install the above cycle repeats. The Plugin is not showing up in the plug in config page so cant enter the API........ im stuck in a endless cycle.
19 Replies
Scott Bender
Scott Bender3mo ago
CHeck the server log for errors when you install via the app store?
rjnorris9533
rjnorris9533OP3mo ago
Thanks for your reply first of all let me say that this will be the first time I have looked at the server logs so excuse me if I ask a stupid question. I downloaded all the server logs to a zip file then extracted them to /tmp and I do not see any reference to ewelink or sonoff in any of the files. Looked the the "applications data" and "plugin-config data" and dont see a thing. I think i was last friday when I last attempted to install the plugin. im stuck
Scott Bender
Scott Bender3mo ago
Server log is in the sk console Server -> Server Logs Try to install again
rjnorris9533
rjnorris9533OP3mo ago
i kow where the server logs are and when I go there the data in the window you get when you open it only shows for today since i booted the raspbery pi up.
since i didnt see past data i tried downloading the logs by clicking the "get all logs in one zip file" where I could view them all and search them. I wish I could delete the PlugIn them reinstall but it is not listed on the AppStore under Installed Apps So as i mentioned in my first message I can install it again and I just did that. Here is the Server Log entries for doing that Jul 27 13:10:02 GET /@signalk/freeboard-sk/assets/icons/icon-72x72.png 304 15.984 ms - - Jul 27 13:10:02 GET /@signalk/instrumentpanel/icons/instrumentpanel-72x72.png 304 11.647 ms - - Jul 27 13:10:02 GET /@mxtommy/kip/assets/icon-72x72.png 304 7.869 ms - - Jul 27 13:10:41 [object Object] Jul 27 13:11:01 POST /skServer/appstore/install/signalk-sonoff-ewelink/2.0.1 200 1294.009 ms - 38 Jul 27 13:11:08 stdout: changed 1 package, and audited 69 packages in 7s Jul 27 13:11:08 stdout: 7 packages are looking for funding run npm fund for details Jul 27 13:11:08 stdout: found 0 vulnerabilities Jul 27 13:11:11 GET /skServer/logfiles/ 304 6.091 ms - - Jul 27 13:11:11 GET /skServer/debugKeys 304 2.049 ms - - Jul 27 13:11:41 [object Object] Now when I go to the PlugIn Config page in SignalK I to set the API number I do not see Ewelink or Sonoff plug in anywhere. Im so confused
Scott Bender
Scott Bender3mo ago
Me too
rjnorris9533
rjnorris9533OP3mo ago
do you know what the Ewelink Plugin is called on the Plugin Config Page? THere is one difference this time. The plugin is shown to be installed on the AppStore page, which has never happened prior. Now if i can just figure out how to set the API number and from what ive read that should be done on the SignalK Plugin Config page correct?
Scott Bender
Scott Bender3mo ago
"Sonoff/eWeLink"
Scott Bender
Scott Bender3mo ago
No description
rjnorris9533
rjnorris9533OP3mo ago
thanks.... not in my Plugin Config page........
Scott Bender
Scott Bender3mo ago
I just did that on a fresh install works fine and working find on my boat....wtf what nodejs version are you running?
rjnorris9533
rjnorris9533OP3mo ago
I got frustrated and did a comlete new install open plotter and did all the updates as presented to me. The node.js version is V20.5.1 so this morning I was going to just delete the eWeLink plugin and do something different however prior to doing that i just checked the plugin page and it was there........wtf? I configured it and seems to be working.
How many SonOff devices work with this plugin? I am mainly going to look for the SonOff Zigbe temp humidity sensors and a couple of the basic R2 smart WiFi switches if compatible
Scott Bender
Scott Bender3mo ago
There is no limit in the plugin I have tested with the R2 switches. temp sensors should work, if not, we’ll get them working. You do need a sonoff Zigbee bridge for those.
rjnorris9533
rjnorris9533OP3mo ago
The R2 switches are working great. I do not see my ZigBe Temp/humidity sensors and i dont the temp and humidity data coming from a TH10 temp hjumidity Sensor but I do see the switch part of that device. Question....... I guess im assuming the data from the ZigBe devices flows from my bridge to the ewlink server then back into Signal K through the API. I do have a ZigBe bridge on the WiFi network and I can see all the devices in the eWeLink app but not in Signal K
Scott Bender
Scott Bender3mo ago
Ok. I probably need to add some code to get that data. I am away from the computer right now, when I get back, I’ll give you instructions on how to collect the data I need. I think what I need will be in the debug messages at startup.
rjnorris9533
rjnorris9533OP3mo ago
i am going to be out of town for the next 3 days but will be happy to work with you to get what you need I have a Sonoff Zigbee snesor inside my refrigerator and freezer and surprised how well they have worked and how well the batteries have held up. Also have a few others scattered around the interior and mostly monitor these temps during the winter and off months.
Scott Bender
Scott Bender3mo ago
When you get time, enable debug for the plugin, then disable and enable it You'll see something like this in the log:
Jul 29 17:29:11 2025-07-29T21:29:11.778Z signalk-sonoff-ewelink things: { "status": 200, "error": 0, "msg": "", "data": { "thingList": [ { "itemType": 1, "itemData": { "name": "4CHPRO", "deviceid": "1000f45363", "apikey": "xxx", "extra": { "uiid": 4, "description": "20200807006", "brandId": "5c4c1aee3a7d24c7100be054", "apmac": "d0:27:01:e8:a4:17", "mac": "d0:27:01:e8:a4:16", "ui": "四通道插座", "modelInfo": "5e17b50d2eb4536b4365f0b5", "model": "PSF-B04-GL", "manufacturer": "深圳松诺技术有限公司", "staMac": "F4:CF:A2:31:86:DF" }, "brandName": "SONOFF", "brandLogo": "https://us-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png", "showBrand": true, "productModel": "4CHPROR3", "tags": { "m_cd1f_scot": "on", "ck_channel_name": { "0": "AIS Private", "1": "MFD", "2": "NMEA 2000", "3": "Spreader Lights" } }, "devConfig": {}, "settings": { "opsNotify": 1, "opsHistory": 1, "alarmNotify": 1, "wxAlarmNotify": 0, "wxOpsNotify": 0, "wxDoorbellNotify": 0, "appDoorbellNotify": 1, "offlineNotify": 1 }, "devGroups": [], "family": { "familyid": "6031a8540774d500083fccd2", "index": 0 }, "shareTo": [], "devicekey": "xxxx", "online": true, "params": { "version": 8, "sledOnline": "on", "fwVersion": "3.4.1", "staMac": "F4:CF:A2:31:86:DF", "rssi": -46, "init": 1, "lock": 0, "configure": [ { "startup": "stay", "outlet": 0 }, { "startup": "stay", "outlet": 1 }, { "startup": "on", "outlet": 2 }, { "startup": "off", "outlet": 3 } ], "pulses": [ { "pulse": "off", "width": 1000, "outlet": 0 }, { "pulse": "off", "width": 1000, "outlet": 1 }, { "pulse": "off", "width": 1000, "outlet": 2 }, { "pulse": "off", "width": 1000, "outlet": 3 } ], "switches": [ { "switch": "off", "outlet": 0 }, { "switch": "off", "outlet": 1 }, { "switch": "on", "outlet": 2 }, { "switch": "off", "outlet": 3 } ], "only_device": { "ota": "success" }, "ssid": "Wilhelm", "bssid": "8a:72:b6:3a:a1:10", "rstReason": 0, "exccause": 0, "epc1": 0, "epc2": 0, "epc3": 0, "excvaddr": 0, "depc": 0, "longOffline": 1, "bindInfos": { "gaction": [ "079ae78d-9fa0-4dd7-ace8-e214841ccd1f_ewelinkGoogleHome" ] } }, "isSupportGroup": true, "isSupportedOnMP": true, "isSupportChannelSplit": true, "deviceFeature": {} }, "index": 0 } ], "total": 1 } }
Jul 29 17:29:11 2025-07-29T21:29:11.778Z signalk-sonoff-ewelink things: { "status": 200, "error": 0, "msg": "", "data": { "thingList": [ { "itemType": 1, "itemData": { "name": "4CHPRO", "deviceid": "1000f45363", "apikey": "xxx", "extra": { "uiid": 4, "description": "20200807006", "brandId": "5c4c1aee3a7d24c7100be054", "apmac": "d0:27:01:e8:a4:17", "mac": "d0:27:01:e8:a4:16", "ui": "四通道插座", "modelInfo": "5e17b50d2eb4536b4365f0b5", "model": "PSF-B04-GL", "manufacturer": "深圳松诺技术有限公司", "staMac": "F4:CF:A2:31:86:DF" }, "brandName": "SONOFF", "brandLogo": "https://us-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png", "showBrand": true, "productModel": "4CHPROR3", "tags": { "m_cd1f_scot": "on", "ck_channel_name": { "0": "AIS Private", "1": "MFD", "2": "NMEA 2000", "3": "Spreader Lights" } }, "devConfig": {}, "settings": { "opsNotify": 1, "opsHistory": 1, "alarmNotify": 1, "wxAlarmNotify": 0, "wxOpsNotify": 0, "wxDoorbellNotify": 0, "appDoorbellNotify": 1, "offlineNotify": 1 }, "devGroups": [], "family": { "familyid": "6031a8540774d500083fccd2", "index": 0 }, "shareTo": [], "devicekey": "xxxx", "online": true, "params": { "version": 8, "sledOnline": "on", "fwVersion": "3.4.1", "staMac": "F4:CF:A2:31:86:DF", "rssi": -46, "init": 1, "lock": 0, "configure": [ { "startup": "stay", "outlet": 0 }, { "startup": "stay", "outlet": 1 }, { "startup": "on", "outlet": 2 }, { "startup": "off", "outlet": 3 } ], "pulses": [ { "pulse": "off", "width": 1000, "outlet": 0 }, { "pulse": "off", "width": 1000, "outlet": 1 }, { "pulse": "off", "width": 1000, "outlet": 2 }, { "pulse": "off", "width": 1000, "outlet": 3 } ], "switches": [ { "switch": "off", "outlet": 0 }, { "switch": "off", "outlet": 1 }, { "switch": "on", "outlet": 2 }, { "switch": "off", "outlet": 3 } ], "only_device": { "ota": "success" }, "ssid": "Wilhelm", "bssid": "8a:72:b6:3a:a1:10", "rstReason": 0, "exccause": 0, "epc1": 0, "epc2": 0, "epc3": 0, "excvaddr": 0, "depc": 0, "longOffline": 1, "bindInfos": { "gaction": [ "079ae78d-9fa0-4dd7-ace8-e214841ccd1f_ewelinkGoogleHome" ] } }, "isSupportGroup": true, "isSupportedOnMP": true, "isSupportChannelSplit": true, "deviceFeature": {} }, "index": 0 } ], "total": 1 } }
rjnorris9533
rjnorris9533OP3mo ago
ok..... did that and getting a error
rjnorris9533
rjnorris9533OP3mo ago
can you open the attachment
rjnorris9533
rjnorris9533OP3mo ago
i see the error message but have no idea what they mean

Did you find this page helpful?