How to use WiZ lights with Domoticz

WiZ Connected is a series of lights and other Wifi connected IoT. The units are cheap and works well. The WiZ app is actually good and easy to use. But, if you have a Domoticz system you would of course like to integrate the WiZ units. Below are two solutions:

1. Use the Domoticz plugin

Install this plugin:
If you are lucky everything goes OK and you can control your WiZ units.

2. Use UDP commands

I will describe my solution for a Windows system. If you are running Linux I guess it is almost the same.

  1. In your router, add a static IP to your WiZ lights.
  2. Add a virtual (dummy) light in Domoticz.
  3. Download Swiss File Knife and copy just the exe file sfk.exe to a folder, that you will use in step 5 below
  4. In the virtual light you created, have a level for every action you would like, for exemple ”Off” and ”On”.
  5. Connect the level to a script action, see the screenshot below
  6. Now you can control your WiZ lights!

The UDP command lines

I got the idea from this site:

I noticed for sending from a Windows cmd you need to escape the ” sign. As an exemple the command for a light is like this (replace the IP address xx.xx.xx.xx with your fixed IP-address of your light):

Turn ON

sfk udpsend xx.xx.xx.xx:38899 -listen {\"id\":1,\"method\":\"setState\",\"params\":{\"state\":true}}

Turn Off

sfk udpsend xx.xx.xx.xx:38899 -listen {\"id\":1,\"method\":\"setState\",\"params\":{\"state\":false}}

Good luck with your WiZ lights and units!

Amateur Radio

WSPR with Sdrplay RSP1a

Testing RX of WSPR on 20 meter (14 MHz) with Sdrplay RSP1a, SDR Console v3 and WSJT-X.

Amateur Radio

Change broken relay Rot2Prog

The Rot2Prog rotor controller from AlfaSpid has four simple relays that several users has reported to be broken. This has also happened to me – I have a relay that has not function very well for several years. So I decided to try to replaced it.

These releay are very cheap and I found replacement at TME:

l:12VDC;16A/250VAC;16A/24VDC ROHS
Przekaźnik:elektromagnetyczny;SPDT;Ucewki :12VDC;16A/250VAC
Mfr: RELPOL Original part number:



Unmount the board

First remove the top cover by removing the four screws at the side of the chassi. Then remove the two screws holding the board, see image below:

The board is built nice, with ferrite on the input and output cable to prevent RF-noice. If needed to change the board, this can be easy done.

Remove relay

Then desolder the faulty relay. For me, it was one of the azimut direction relay, the one to the left:

It was a pain in the *** to desolder and remove this relay! I was close to give up and nearly destroyed the board. But finally, after two hours, I did managed to remove it. I can not understand why AlfaSpid did not mount a relay socket for easy change…

Solder the new relay

This was an easy task, just solder the 8 legs:

Function test

Now connect all the cables and try it. Hopefully it will now work again!

Good luck!

Amateur Radio

LNA and antenna switch with ESP8266

This is my first ESP8266 project, for control of my LNAs and antenna relays via a web interface. More info and code at my Github:

Amateur Radio

Simple full duplex relay switch

My setup for amateur radio satellites is SDR for receiving (RX) and Icom IC-705 for transmitting (TX). To my antennas I have two separate coax feedlines. Before, when switching band between RX and TX I was forced to manually change the coax feedlines connectors between SDR and IC-705.

I started to plan a simple relay switch to be able to switch fast and easy between TX/RX and UHF/VHF antenna – I call this a ”Simple full duplex relay switch”. The plan was this:

  • When no power to the relays the SDR is connected to the UHF antennas and IC-705 connected to the VHF antennas.
  • When 12V power to the relays the SDR is connected to the VHF antennas and IC-705 connected to the UHF antennas.

The relay used was this mini SMA relay by OK1CDJ. It can handle 10 watts (up to 20 watts according to hamshop.cz). The short coax between the relays are RG-405.
I have done SWR and loss measurements and it is very low. The original design and measurements can be found here:

This is the result, it works very good. Todo: put the relays in a nice box.

Amateur Radio

IC-705 WLAN doppler with OmniRig PstRotator

I got the PstRotator to work with OmniRig and IC-705 over WLAN. I’m using ”Icom Remote Utility” on Windows to set up the virtual COM-port. And I’m setting up OmniRig like this:

I had several problem getting the OmniRig to communicate with IC-705 via WLAN, but after re-installing to the OmniRig supplied with PstRotator (v1.18) I got it working OK. It is also working from SDR-Console V3.

So now it is possible to do doppler control of the IC-705 without any cables for true portable operations! See short video below:

Amateur Radio

FT8 20 meter 2021-03-28

My signal heard on almost all continents. 8 watt with IC-705, antenna EFHW. Band: 20 meter, 2021-03-28 daytime UTC. IC-705 connected to PC/WSJT-X via Wifi.