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
CHeck the server log for errors when you install via the app store?
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
Server log is in the sk console
Server -> Server Logs
Try to install again
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
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 confusedMe too
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?
"Sonoff/eWeLink"

thanks.... not in my Plugin Config page........
I just did that on a fresh install
works fine
and working find on my boat....wtf
what nodejs version are you running?
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
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
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.
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
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.
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.
When you get time, enable debug for the plugin, then disable and enable it
You'll see something like this in the log:
ok..... did that and getting a error
can you open the attachment
i see the error message but have no idea what they mean