Just for clarification, you posted in a comment that S3(AIN2) -> D11 but shouldn't it be D4 per schematic and source code? Also, it looks like R20 has been removed. Why was that done and is it critical to make this work? Thanks, nice work.

Hi @kevvette ,
yes, my mistake, S3 goes to D4, I'll correct the post, thank you.
Regarding the R20, it is just a jumper and first I thought I could use that point for some connection but at the end I didn't use it, so I reestablished the connection. It is not needed to remove the R20.

if you are already using a gateway in Domoticz I guess so. From the mysensor point of view is a RGB sensor (or light switch or dimmer light) the source of the command sento to the serial gateway and then to the ikea mysensorized sensor it doesn't matter.

Hello,
I was using your code from MySensorDioder_133.ino
I downloaded the library from https://github.com/mysensors/MySensors
I tried to run the code but I got a error message saying no such file located.
These were the two files that couldn't be found
MyTransportNRF24.h
MySensor.h
I was wondering if you had the same issues when you were working on the code?

I found those missing files and uses the mysensor library 1.5.4 but after I put all the files it asked for I got this odd message. I was looking for the error but had no luck. It says that "was not declared in this scope". Did you happened to run into this issue?

Hello
I got lot of errors during the compiling stage. I tried to use older MySensors 1.5.4 library and Arduino 1.5.7 IDE. My question is, how to install correct MySensors library and not use anything else?

Now I downloaded Arduino IDE 1.6.5.zip, then I extracted it into C:/tools folder. Then I deleted everything from the library folder. Then I started Arduino IDE and I added MySensors-1.5.4.zip library. IDE reported that this file does not contain valid library. I closed IDE. So I unzipped MySensors-1.5.4.zip library directly into library folder. Then I started again IDE and checked that IDE can see MySensors-1.5.4 library. I opened MySensorDioder_133.ino and tried to compile it.

I changed my Arduino IDE 1.6.11 using the MySensors development library v2.1.0-beta. Now the compiling went OK. I will continue with that. It will take few days before I have more info about how things went with actual hardware.

I tested this latest sketch in my actual hardware (Arduino Mega + Proto shield with additionla components + Ikea Dioder control board). I cannot get system working, nothing happens when I press UP, DOWN buttons. Led-lights stay ON after power up.
I also tested to compile your sketch with Arduino IDE and MySensors Library V2.0.0. Compiling went OK, no progress with actual hardware.

Wiring was OK, but 10uF elko is missing from the 3.3V supply. I have only 440nF capasitor at the moment. This seems to be too small value. I will have 10uF elko on next monday available. So project will take a break.

I can control locally the IKEA DIODER now. So the hardware is more or less working as expected, but do you have good instructions how I can get OpenHAB2 and MySensors Ethernet Gateway working together. Today I can see MySensors Ethernet Gateway ONLINE state and I can manually add Custom Sensor as a thing, but I cannot control items via Openhab.

I use the latest OH2 Snapshot ( on Pine64 with Debian Jessie) and latest MySensors GatewayW5100 (library 2.0) on the MySensors Gateway (Arduino UNO based) and I have tried to start/stop/restart OH2 after MySensors Gateway is up and running without success.

OH2 is capable to control for example Philips HUE lights without problems at the moment.

Do you have interest to try OH2 together with MySensors Ethernet Gateway to get working?

I do not have enough force to push developers to make this happen. At the moment there is some problem on this, because full control is not possible. I think that MySensors Serial Gateway is working with OH2, but I don't like to use it. I like to connect my devices into LAN not cabling via old fashioned way using serial wires.