AliExpress Sinilink WIFI USB Controller

Sinilink

Today’s project for the day is the ESP8285-based “Sinilink WIFI-USB Mobile Phone Remote Controller” (or Sonoff for USB” as others have called it) – which handles up to 5 amps and can use a USB connection of from 3.5 to 20v (I’ve only tested 5v).

Later I will describe how awful the APP for this device is… until you install Tasmota on it – but first..

At this point I’ll send you off to the AliExpress site in case you want to investigate their claims for the free APP. Just plug the unit in, fire up the APP and you are good to go? – RUBBISH – the APP can be set to English but at least one of the dialogs comes up in Chinese – which I for one cannot understand AT ALL. Not only that but I followed the instructions perfectly – only to find that the unit would not connect. No matter what I did, it would not work – I understand “The Guy with the Swiss Accent” felt the same way.

Indeed I’m getting increasingly impatient with partially translated documents and APPs that let you down half way through setup. I LOVE Chinese products – but guys – if you are selling into an English-speaking market – get someone who understands your product and speaks English to help with the documentation BEFORE you ruin your reputation by bringing out half-baked products.

After trying both the version of the APP on the Android Playstore and their APK (both of which are utterly useless), I send off a nastygram to the seller on AliExpress and was about to give up and throw the lot in the bin when Antonio (Mr Shark) reminded me that I ordered this unit to use with Tasmota.

The image above is from the website (I have NOT tested 20v at 5A (I hope soon to have both a tester and supply powerfdul enough to push ddevices like this to their limits and will let you know the results). I just thought you’d like a nice headline. Here is the Tasmota template setup directly from the Blakadder templates site – you really need a note of this if you are interested in this gadget.

Sinilink

At this point you might be thinking just as I did – “but how do I use an FTDI (serial adaptor) to program Tasmota into such a tiny unit?” – Maureen’s sewing box to the rescue. I must admit this is the first time I’ve thought about using PINS to make such tiny connections – and using pins with platic heads for spacing was a real eye opener.

Before I connected USB2 on my PC (and the TASMOTIZER program) to the little Sinilink, I connected the FTDI to pins by simple wrapping the (thin) wire around them and then pushing (tight fit) the pins into the Sinilink. I then connected the USB to the FTDI and fired up TASMOTIZER with the DEVELOPMENT option which automatically picks the right version of Tasmota. At the time of this update, Tasmota sits at version 8.2 “Elliot” which has some well worthwhile improvements.

Note: connections are RX to TX, TX to RX, ground, 3v3 and GPIO0 (for programming),. honestly even though the holes on the Sinilink are so close as to make them almost impossible to focus on if you have less than excellent eyesight, the pins made this really easy. I’ll use this trick in future. See the top image for details of hole layout. NO connection to reset is needed it you don’t power up the USB until you are all wired up (a good idea anyway)

So here’s a thing – I had this all set up and working perfectly with Tasmota on my WiFi – then plugged the unit (USB male end) into a USB3 connector – and it immediately lost the lot – well, the settings, not Tasmota – I had to go back to using my mobile phone as an access point and re-enter the info. That’s annoying but the reset after USB3 plugin might be related to somehow triggering the “normal” Tasmota device recovery, which indeed does a “factory reset”.

So what I did next after advice from subscriber “sfromis”, was to use “SetOption65 1” in the Tasmota console (which is a non-volatile setting) and I’ve had no trouble since – on the same USB3 hub.

I need to buy another Sinilink or two so I still have one if I blow it up. I must have more, after all this has to be the cheapest (boxed) way to remote control up to 5A of low-voltage? I’ve gone full swing from HATING the Sinilink and wanting revenge on AliExpress – to needing more of the units – NOW! I just need to understand why it doesn’t like USB3. No doubt someone will enlighten me.

At the end of the day, when the Sinilink powers up, expect a blue light. When you turn on the output, whether by a short press on the button or by remote access, you will see a red light come on – and power will be available on the output connector. By default, Tasmota remembers the output state on power cycle – you can always change that in the Tasmota config. That applies to all devices controlled by Tasmota, not just this one.

Similink

I must say I am itching to trying this out – higher voltages and higher current than my PC USB connector can manage. This image is taken from the AleExpress site – to test the Sinilink they are using a BEICH CH9720B/9720C Programmabile DC Electronic Load. I do have several power supplies which do not have WIFI output (USB female) control so if the ratings claimed are realistic (20v, 5A) I can see a bright future for the Sinilink. I’m hoping they are not trying to control such current with the very thin wires in the photo above – or maybe the seller thinks we are all a bit dim and won’t notice.

Meanwhile I’ve made a short video to accompany this blog – my first attempt, instead of using a fully-blown PC package, to do the whole lot on my mobile phone. Here’s the video on my YouTube channel. If you want more information, just comment or ask in comments in the YouTube channel. Are you aware of this unit being sold elsewhere? Under a different name? Cheaper? Did you notice that the AliExpress price for postage went from free to £2+ – Mr Shark suggests it may be as the units are temporarily being supplied from somewhere other than China).

WHILE WE ARE HERE – there are also non-boxed variations of these controllers on AliExpress using either a MOSFET output or a RELAY – the important thing of course being the maximum in/out voltage of up to 36v. This opens up options for controlling all manner of low voltage devices. See these links for Tasmotaa template, wiring info and something about boxes… https://templates.blakadder.com/sinilink_XY-WFMS.html and https://www.thingiverse.com/thing:4146127

In case you were wondering, this ESP8285-based WiFi controller has a tiny internal ceramic antenna which seems to work well.

Facebooktwitterpinterestlinkedin

65 thoughts on “AliExpress Sinilink WIFI USB Controller

    1. The pins idea came out of the blue. Maureen has a sewing case full of pins and these have nice plastic heads – hence making it easy to put connections temporarily onto boards without fear of adjascent leads shorting – how has it taken me over half a century to figure that one out? After that she kindly donated a container of pins to me.

  1. The reset after USB3 plugin might be related to somehow triggering the “normal” Tasmota device recovery, which indeed does a “factory reset”. One thing to try could be “SetOption65 1”.

  2. This is you ? 🙂 😉

    P***l
    UK
    Logistics: China Post Ordinary Small Packet Plus

    The product does not work, the APP store version of the APP keeps showing Chinese dialogs, I doenlaoded the A{K, regardless, the unit will not work.I need a refund as I’ve spent too much time on this already. 24 Feb 2020 11:42

    1. It is me – and I was about to push for a refund until I got Tasmota working on the board and realised it could be very useful. However I just tried to buy another and the post has gone from free to £2.xx – I’ll wait until they fix that. Even then, considering the Itead “equivalent” won’t run Tasmota and only handles 5v, it still seems worth having one or two floating about. Maybe to watchdog a router that has a 12v supply?

      1. Right – I’ve done my best to get rthe supplier to drop the postal; charge – let’s see what happens. I’ve been unable to ind these devices elsewhere than AliExpress so I’m guessing the company who makes them is very small. The guy did write back to see if I’d enabled all pemissions on the phone – but I’m guessing I’m the same as others in here, not really interested in cloud use, as long as it works reliably with Tasmota I’m happy. I’ll drop another note in if he ditches the shipping charge.

    1. Hi Bob – when I bought mine a matter of weeks ago, it WAS free post. I only just now realised, on going to buy another one that they have changed the post from free to £2.xx – – someone needs to pull them up about that but as you will see in the next reply, I’ve already given them a hard time about the APP (Thank heavens for Tasmota). Why not drop them a line and see if you can get that changed – we’ll all benefit.. on the other hand, Mr Shark might be right about the Coronavirus – in which case, worth checking again later.

  3. This thing seems clever, but i do dislike the use of USB as a generic power connection, except where USB connectors are already in the mix, like chargers. Is there a version with screw terminals in and out?

    1. Looks like there is a version with screw terminals. Please enter “sinilink” into the search box on aliexpress and they will show the USB version that Pete ist reviewing here as well as a version with screw terminals.
      These devices are listed on ebay (DE) as well, but with higher prices.
      I don’t own any of these – net research only.

        1. I see the advantage of the Sinilink device in using the switched power as own power source as well. This eliminates an additional power (5 V) supply for the logic. The device can be just wired inline between the existing power supply (wide range) and the device which shall be controlled (switched).
          It depends for sure on the use case.

      1. With tasmota’s”dual SSID”, 2 Sinilink’s and a spare Pi Zerocould could give real belt and braces to a NodeRed set up with not a lot of overhead for “critical installs” such as cameras and thermostats some distance away.

        1. Tasmota’s dual SSID, like ESP-GO’s dual SSID, is imho essential – I move devices around and without that I’d spend more time figuring out SSIDs than getting useful work done. Similinks – as soon as they ditch the postage again, I’m having more. I just wish the MQTT setups were better (not that MQTT has ever failed on me). I have to use an IP address for the broker locally which I’d rather not. Some distance away? Yup, some of my cameras are thousands of miles away and unattended – that can be painful 🙂

          1. Not criticising your choice but why different SSID’s in different non-interfering locations. The use of the spare SSID and a 2nd router and pi zero on a Sinilink or even a sonoff basic would make your remote systems “bullet-proof”. The running cost would only be a Sonoff basic and with an old router and Pi Zero being turned on only to reboot the main set-up, the cost could be less than a tenner.

            1. I use a Sonoff to reboot the router on power glitch already sa I don’t trust the router 100%. I’ve never teally trusted that ESPs will pick up on the strongest signal if I used identical SSIDs on my access points – and there is usually some overlap. Always happy to receive advice however. Thanks for that.

          2. disable dhcp server on your main router and let it do to a mango router or what else… this way you can set up associations of ip/names, and use a dns name instead of ip for mqtt… you can always setup you computers to have the mango/other as main dns server, and the router as secondary, so even if mango goes down, your pc can surf… and restrict the dhcp range, for example from .10 to .199, so you can use the ip from .200 going up for fixed devices, like the pc itself, your routers, your access points, etc

            1. I’ve never seen the Mangos before, they’re handy. I was thinking of an old ISP router that can supply USB to a Pi Zero and only run when turned on by a sonoff running a watchdog. I don’t know how broadband is affected by 2 routers connected but only 1 turned on at a time just in case its the router that’s given up.

            2. Mango router – I have no idea what’s wrong with my Mango GL-INET 300M, the LAN/WAN section work a treat but as soon as I try to change the SSID it breaks and I have to factory reset. Annoying as it could be a useful tool.

              1. That’s a shame Peter but it could still have a life doing this. It would almost never be on and so the strange SSID won’t be too offensive. Did you see my question as to why you have different SSID’s in different locations? I could only think you didn’t want to expose all the passwords but they will still be on you controllers.

                1. Solved, Alan, with the help of Mr Shark and the latest firmware update, the Mango router is happily running it’d own wired and wireless network and my special SSID. I’ve even learned enough sbout OpenWrt to ensure all parts are up to date – and can SSH into it just fine. Lovely. Essentially there was a driver issue and downloading the latest fimware .BIN file sorted that out.

                  1. Thanks Peter/Mr Shark. Contactor arrived today so on that till it arrives, longer delivery times means I’ve had to start building stuff, can’t get away with just unboxing and pretending to video it, the wife twigged the fake Swiss accent.

                    1. Hah, best laugh of the day, Alan… “fake swiss accent” – Hello Youtubers!!!! I love it. More I think, than Teckin will love my blog update on their smart plugs….

  4. As an alternative for people who don’t have access to sewing pins I found that I could push through standard dupont pins alternating them so that 1,3,5 are on one side of the board and the rest on the other with the GPIO 0 pin run to the GND connector on the FTDI board – programs fine, the fit is tight but given its a one off and doesn’t seem to cause any damage.

    1. That’s good, Steve – another spot of lateral thinking. I’ve ordered another AND one of the PCB versions, both of which are going to Spain so I can do some more tinkering late April – and no doubt update the blog accordingly. I think these devices have a future.

      1. Successfully Tasmotized a couple yesterday using the Maureen Method and it worked a treat thanks to your guide. The hardest part was removing a replacing the plastic cases. Mine were as tight-fitting as advertised.

      1. I think he’s referring to maureen’s idea of using pins with plastic heads to program the things. Good point though – RX and TX are currently wasted once the gadget is working. Could fit.. maybe a light sensor in there – probably NOT a temperature sensor as they will get warm in operation. Still, a thought, if not driving anything significant… more expensive than a Wemos D1 but it’s all there in a nice case ready to plug into a USB wall outlet…

    1. oh, understood, right
      only drawback is that device will become bigger and less nice to see 🙂
      maybe a custom pcb, with similar functionalities… mmm…
      or just using one of those power monitoring sockets Pete reviewed… bigger, not just usb…

    2. btw, i was thinking to tasker or the likes because so you can monitor battery level and halt charging before reaching 100%, which is what most seem to indicate as best for longer battery life… with the ina219, you’re practically stopping charging only when you see that current draw has fallen pretty much to 0 i think, which is the way shelly devices work to turn off relays when something reaches endstops in curtain/blinds mode, for example 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.