@magnus-pernemark Hello Magnus! Sorry, I did not see your comment until just now. I did pause my project for nearly a year. But now I'm am taking it up again.
I had some PCBs manufactured and now I'm testing them. I will soon update with pictures and more info.
Currently one node is connected to the triac in a room and controlling the heating. It is actually working! The next step is to put the node in a case and make a cable with a DS18B temp sensor in one end. I will attach the node to the outside of the triac (TR/P) and place the temperature probe at a distance from the radiator.
The sketch I have now is reporting the temperature, % power, error status to the gateway. I use Domoticz as controller to present the data and to set the temperature in the room.
It would be nice to exchange ideas with you concerning replacing IQTherm.
Posts made by kontrollable
-
RE: 💬 MyQTherm - replace IQTherm heating thermostat
-
RE: NRF24L01 radio not connecting
@bgunnarb Thanks, I did update the gateway also.
-
RE: NRF24L01 radio not connecting
@gohan said in NRF24L01 radio not connecting:
Always stay up-to-date as many bugs get corrected
Oh my god! Updated the sensor (not the gateway yet) and now it seems to work! Am I surprised? Yes!
Thanks so much! -
RE: NRF24L01 radio not connecting
@gohan said in NRF24L01 radio not connecting:
Is there a reason why are you still using version 2.1.1?
The only reason is that I have not bothered to update. But do you really think that updating would help? Could it really be a software problem?
-
RE: NRF24L01 radio not connecting
I used a multimeter to measure 3.3 V on the output from my voltage regulator. 3.3 V on the radio chip and capacitor. So it seems to power the radio alright.
-
RE: NRF24L01 radio not connecting
OK, so enabled MY_DEBUG on my serial gateway. MY_DEBUG was already enabled in my sensor node.
I found that the gateway did not receive any signals from the node at all.
The node reports that it does not find any parent.
So my conclusion is that the radio on the node sends a weak signal.Here is the log from the gateway:
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
0;255;3;0;14;Gateway startup complete.
0;255;0;0;18;2.1.1
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1Here is the log from the node:
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
3 MCO:BGN:BFR
19 TSM:INIT
20 TSF:WUR:MS=0
27 TSM:INIT:TSP OK
28 TSF:SID:OK,ID=6
30 TSM:FPAR
50 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2057 !TSM:FPAR:NO REPLY
2059 TSM:FPAR
2077 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
4085 !TSM:FPAR:NO REPLY
4087 TSM:FPAR
4106 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
6114 !TSM:FPAR:NO REPLY
6116 TSM:FPAR
6134 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
8142 !TSM:FPAR:FAIL
8143 TSM:FAIL:CNT=1
8145 TSM:FAIL:PDT
18148 TSM:FAIL:RE-INIT
18150 TSM:INIT
18157 TSM:INIT:TSP OK
18159 TSF:SID:OK,ID=6
18161 TSM:FPAR
18181 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
20188 !TSM:FPAR:NO REPLY
20190 TSM:FPAR
20209 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
22216 !TSM:FPAR:NO REPLY
22218 TSM:FPAR
22238 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
24245 !TSM:FPAR:NO REPLY
24247 TSM:FPAR
24266 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
26273 !TSM:FPAR:FAIL
26274 TSM:FAIL:CNT=2
26276 TSM:FAIL:PDT -
RE: NRF24L01 radio not connecting
@mfalkvidd Awesome! I will check the debug logs from my node and gateway this evening.
-
RE: NRF24L01 radio not connecting
Thanks!
The NFR chip is oriented in such a way that the antenna is way outside the PCB. So I'm not sure that this is he problem. -
NRF24L01 radio not connecting
Hello, please help me since I'm stuck!
My sensor node has problem with the radio communication. I am using an NRF24L01.
Actually I do not think that the radio, nor the Arduino is faulty. I have tested both on an Easy/Newbie PCB and they are working good.
I have designed my own PCB (https://www.openhardware.io/view/374/MyQTherm-replace-IQTherm-heating-thermostat). The radio does not communicate with my gateway when I use this PCB.
The strange thing is that if I touch the radio chip with a finger the signals get through! Or even if I let the chip lie on a plastic surface it works. I also tested to fix a short cable with tape onto the chip and it works. When I remove my finger, cable or move the chip from a surface, the communication is interupted.
As I said above, I have tested the radio chip and the Arduino (Pro Mini 5V clone) in another setup so I know they are good.
In my investigations I tried with a fresh PCB (MyQTherm) an soldered just the NRF24L01, Arduino, LE33 voltage regulator and 4.7 uF capacitor for the radio. Leaving out all other stuff. Then I connected the Arduino to a serial chip connected to USB. So the node was then powered from USB. In this test the radio was also behaving faulty as described above.
I have tested 3 of my own designed PCBs with the same result.
Any ideas? -
RE: My Sensorized Weighing scale - Need help in code modification
Instead of time triggering (using sleep) you might consider putting a switch in the door of the fridge. Waking up when the door is opened/closed.
-
RE: Can a Node Send json?
The maximum payload size is 25 bytes!
So there are some limitations. -
RE: 💬 jModule2
Wow, impressive work! Really nice instructions. I think I will try this.
-
RE: Sending sleeping time to nodes
If you would like to try something simple and you happen to use a serial gateway. You can just write to the USB port of the GW.
For example like this:
$ echo -n "1;1;1;0;24;SP=20.0\n" > /dev/ttyUSB0
See https://www.mysensors.org/download/serial_api_20 for API
node-id;child-sensor-id;command;ack;type;payload\n
The sketch for the receiving node need to "receive" V_VAR1 in this case.