Page 1 of 1

How to tell my Nodo Small is working with rflink and Domoticz

Posted: Saturday 06 February 2016 19:03
by marcojpolet
Hi all,

I have an Rflink on my synology working fine. I built a Nodo Small and firmware is loaded, I can see this in the Arduino serial debug monitor. How can I tell if the Rflink sees the nodo small ? The small is built with config15 and a dallas temp sensor and 433 MHz rf tranmitter.

Regards,
Marco


Verstuurd vanaf mijn LG-D802 met Tapatalk

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Monday 08 February 2016 3:28
by Boots33
provided you have domoticz set to "accept new hardware devices" in settings then if the rflink sees and can understand the the nodo small it should then just show up in the device list. Do any other 433mhz devices show up via the rflink?

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Monday 08 February 2016 9:31
by Stuntteam
It will only understand Nodo slave devices when the Nodo slave nmber and variable numbers match (see below).
Of course this also means that a Nodo slave must be setup to spit out the values and send them to the 'master' via a variable number.

-----------------------
Nodo Slave Sensors:
Various Nodo sensor types are supported.
Make sure you use Nodo Slave ID 1,2, 4 till 9 to make the sensor a separate sensor.
If you want to have combined sensors (eg temperature + humidity in one device) make sure
you use Nodo Slave ID 10 till 16

The following variable / sensor types are currently supported

Variable 1,2,3,4,5 : Temperature
Variable 6 : Humidity
Variable 7 : Rain
Variable 8 : Wind speed
Variable 9 : Wind direction
Variable 10 : Wind gust
Variable 11, 12 en 13 : Temperature
Variable 14 : Humidity
Variable 15 : UV
Variable 16 : Barometric pressure


Electricity/Water/Gas pulse meters are supported when using the following Nodo variable numbers:
Make sure the slave devices are using Nodo Slave ID 3 !!!

Variable 1 : Pulse value 1
Variable 2 : Pulse value 2
Variable 3 : Pulse value 3
Including variable 4,5,6,7,8,9,10,11,12,13,14,15
Variable 16: Pulse value 16

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Monday 08 February 2016 20:06
by marcojpolet
Hi all,
Seems my answer got lost in the cloud haha.

First my rflink is working great, i connected it with my elro doorbell and Action kaku clone.

I think I know what is wrong, Voyager pointed me also in the right direction. I need to upload events to the Nodo Small, but I dont know how, I dont have the WebApp and the NodoTool is not available anymore ? Anyone have a link or alternative ?

Regards,
Marco

Verstuurd vanaf mijn LG-D802 met Tapatalk

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Tuesday 09 February 2016 0:01
by Stuntteam

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Tuesday 09 February 2016 20:41
by marcojpolet
Thanks Stuntteam ! The NodoTool is working !
Just another question. When I issue a TempRead 1, 1 command, will it automatically send the result via RF to the RFLink or is there a command to do that ?
Regards,
Marco

Verstuurd vanaf mijn LG-D802 met Tapatalk

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Wednesday 10 February 2016 8:15
by marcojpolet
Hi guys, I found the Nodo temperature battery powered example, hopefully tonight Ill give this a try, it sends the temp via RF.

Regards,
Marco

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Thursday 11 February 2016 20:44
by marcojpolet
Ok, step by step Im gettint there, I hope. I can now send the commands to use RF to send the temp to the Rflink. Is there any way to see if something reaches the rflink ? I dont see anything showing up in the Domoticz log, I enabled the 5 minute accepting of new devices. Do I need to enable RF on the Nodo Small ?

Regards,
Marco

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Saturday 13 February 2016 8:39
by marcojpolet
Hmm I think I am on to something. Athough I see the welcome message when I (manually) reset the Small, further on the small does not react on any serial commands I send via the NodoTool or Serial monitor. Do I need to change something in the Nodo software to allow serial commands to and from the small?

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Saturday 13 February 2016 9:56
by Stuntteam
Perhaps you should post your question on the Nodo support forum.. http://www.nodo-domotica.nl/forum/
They for sure have a solution..

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Saturday 13 February 2016 15:47
by marcojpolet
Yes I will do that, it seems the problem is indeed not related to Domoticz and the RFLink (yet). I'll be back :-)

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Tuesday 01 March 2016 19:27
by marcojpolet
Hi all!

I'm back in buseniss; after a lot of support in the nodo-domotica forum, I managed to get everything up & running, using the NodoTool to send an eventlist to my slave. Unfortunately, it doesn't show up in Domoticz yet. The good new is, I see stuff happening when getting the debug output from the RFLink Loader. This is what I get:
'Default mode':
20;02;Slave;ID=000201;DEBUG=0016;
20;03;Slave;ID=000201;DEBUG=0016;

Debug mode:
20;05;DEBUG;Pulses=194;Pulses(uSec)=2970,900,420,390,1410,390,420,390,1410,390,390,390,390,390,390,390,390,390,390,390,1410,390,390,390,390,390,390,390,1410,390,390,390,390,390,390,390,390,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,1410,390,420,390,420,390,420,390,390,390,390,390,390,390,390,390,390,390,390,390,1410,390,390,390,390,390,390,390,390,390,390,390,1410,390,390,390,390,390,390,390,390,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,420,390,390,390,420,390,1410,390,390,390,1410,390,390,390,390,390,1410,390,1410,390,390,390,1410,390,1410,390,390,390,390,390,390,390,420,390,420,390,1410,390,420,390,1410,390,1410,390,420,390,420,390,420,390,420,390,420,390,420,6990;
20;06;Slave;ID=000201;DEBUG=0016;

I can't quite understand what this means :-) But someone overhere can perhaps? From above, I know the unit should be for example '2'. which I did with the SetUnit command. The variable I send through RF is 1, and contains the temperature.

This is the debug output from my Nodo Small:
8:09:37 !******************************************************************************!

8:09:37 Nodo Domotica controller (c) Copyright 2014 P.K.Tonkes.

8:09:37 Licensed under GNU General Public License.

8:09:37 Nodo-Small V3.7, Product=SWACNC-SMALL-R744, ThisUnit=2

8:09:37 !******************************************************************************!

8:09:37 Direction=Output, Source=All, Unit=2, Event=Boot 2
8:09:37 Direction=Input, Source=System, Unit=2, Event=Boot 2
8:09:37 Direction=Input, Source=EventList, Unit=2, Event=TimerSet 1,60
8:10:37 Direction=Input, Source=Clock, Unit=2, Event=Timer 1
8:10:37 Direction=Input, Source=EventList, Unit=2, Event=TimerSet 1,60
8:10:37 Direction=Input, Source=EventList, Unit=2, Event=WiredOut 2,On
8:10:37 Direction=Input, Source=EventList, Unit=2, Event=TempRead 1,1
8:10:38 Direction=Input, Source=Plugin, Unit=2, Event=VariableSet 1,22.06
8:10:38 Direction=Input, Source=System, Unit=2, Event=Variable 1,22.06
8:10:38 Direction=Input, Source=EventList, Unit=2, Event=VariableSend 1,RF
8:10:38 Direction=Output, Source=RF, Unit=2, Event=Variable 1,22.06
8:10:38 Direction=Input, Source=EventList, Unit=2, Event=WiredOut 2,Off
8:10:38 Direction=Input, Source=EventList, Unit=2, Event=Sleep 0,0

Help :-) What is wrong?

Regards,
Marco

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Tuesday 01 March 2016 20:20
by marcojpolet
Wooow I figured it out :-)
The above statement about variable usage (Variable 1,2,3,4,5 : Temperature) seems not to be correct. If I use variable 11, it gets sent to the RFLink, it recognizes it as 'TEMP' and, indeed, I get it as a device in Domoticz! Huray, I can sleep again haha

Regards,
Marco

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Wednesday 02 March 2016 0:20
by Stuntteam
Yes, the statement is still correct.. see variable 1 to 5, and 11 to 13 in the list..
Variable 1,2,3,4,5 : Temperature
Variable 6 : Humidity
Variable 7 : Rain
Variable 8 : Wind speed
Variable 9 : Wind direction
Variable 10 : Wind gust
Variable 11, 12 en 13 : Temperature
Variable 14 : Humidity
Variable 15 : UV
Variable 16 : Barometric pressure

Re: How to tell my Nodo Small is working with rflink and Domoticz

Posted: Sunday 06 March 2016 20:18
by marcojpolet
Hi Stuntteam,

(sorry typed my message in Dutch at first :-))

You're right, in the 'manual' it says so, but with variable 1 it doesn't werk. It's fine by me, but it's good to know for others. If I look at the code in Plugin_090.c it also shows that <5 the variables have no meaning and are ignored:

Code: Select all

            if ((DataBlock.Par1 < 5)  || (DataBlock.Par1 > 16)) {  // Unsupported (for now) variable, just show the contents
               int varvalue = ul2float(DataBlock.Par2);         // convert
               sprintf(pbuffer, "DEBUG=%04x;", varvalue);       // value
            } else 
            if (DataBlock.Par1 == 5){                           // Variable 5 : temperature
               int temperature = 10 * ul2float(DataBlock.Par2); // convert
               if (temperature <= 0) temperature=-temperature | 0x8000; // set high bit for negative temperatures
               sprintf(pbuffer, "TEMP=%04x;", temperature);     // value
            } else 
I do have another question: what should the eventlist look like to use plugin 28? I have it working but the values in Domoticz are reaallllyyy high. I use now this:

Code: Select all

eventlistwrite 1; boot 3; timerset 1,60;
eventlistwrite 2; boot 3; WiredThreshold 1,0
!****kwh
eventlistwrite 6; timer 1; pulse 1,1;
eventlistwrite 7; timer 1; variablesend 1,rf;
eventlistwrite 8; timer 1; variablesend 2,rf;
eventlistwrite 15; timer 1; sleep;
Regards,
Marco