💬 MySensor Dioder (Ikea)
-
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. -
Hello,
Very nice project!
Is it possible to use in DOMOTICZ?Ton
-
Hi,
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? -
Hi,
yes it happens sometimes. Try to import the library by Arduino IDE (Sketch -> Include Library -> MySensors). You'll have in the sketch two new lines:#include <MyConfig.h> #include <MySensors.h>and you can delete the same lines already included in the code.
Remember that the sketch is based on mysensor library 1.5.4 it is not converted to 2.0 yet.
Hope it helps.
-
Thank you,
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?
-
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.
Still got the following error:
MySensorDioder_133.ino:38:30: fatal error: MyTransportNRF24.h: No such file or directory
compilation terminated.How to continue?
-
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.How can I test step by step what is happening during startup?
-
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.How can I test step by step what is happening during startup?
-
OK, I added the line and now I get:
Starting sensor (RNNNA-, 2.0.0)
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
!TSM:RADIO:FAIL
!TSM:FAILURE
TSM:PDTSo I have to check my radio-module or replace it with new one. I will continue ...