Page 1 of 1
Send data to RFLink but not sensor
Posted: Wednesday 18 January 2017 11:05
by denisj
Hi there all,
I want to send data from a narduino mega 2560 equipped with an RFM69HCW transceiver
to the RFLink (Raspberry PI 3).
i begin to use the LowPowerLab lib for the RFM69HCW transceiver in order to send data.
So I'm not send from a official sensor, but from my garden project arduino.
What I want to ask is, if I make a packet structure in base of the
link here
what name I must give to the device (arduino) in order to be recognized by the RFLink please ?
For example if I send:
20;ID=6969;MyGarden;LABEL='id003 - missing water';
...will be received by Raspberry RFLink ?
Thanks in advance
Denis
Re: Send data to RFLink but not sensor
Posted: Wednesday 18 January 2017 11:34
by denisj
I forget to put CR/LF at the end
so:
20;ID=6969;MyGarden;LABEL='id003 - missing water';CR/LF
Will be OK ?
Thanks again
Denis
Re: Send data to RFLink but not sensor
Posted: Friday 20 January 2017 7:17
by denisj
I try node 10,11, and 20 but rflink don't show me nothing in the log.
The struct data I try is like:
Code: Select all
char Payload[] = "11;20;0B;NewKaku;ID=000005;SWITCH=2;CMD=ON;CR/LF";
char Payload[] = "11;20;0B;NewKaku;ID=000005;SWITCH=2;CMD=ON;";
char Payload[] = "11;20;0B;NewKaku;ID=000005;SWITCH=2;CMD=ON;/n";
Please help me to make a payload data in order to send it to rflink
Thanks in advance
Denis
Re: Send data to RFLink but not sensor
Posted: Friday 20 January 2017 10:35
by Stuntteam
The correct format for making rflink send a command via RF is:
10;NewKaku;00c142;1;ON;
Re: Send data to RFLink but not sensor
Posted: Monday 23 January 2017 16:11
by denisj
I think I'm little confusing ...
If I understand, RFLink use some modulation or protocol, I don't know the name
...but can be OOK, FSK etc... in order to talk with a lot of devices.
Well first think I want ask is,
can I use an arduino mega with RFM69HCW module and with the RFM69 lib (from LowPowerLab)
in order to send messages to RFLink ?
I ask cause in the RFM69 lib I must set gatewayID and nodeID in order to make it work
...but this type of settings I don't see it in the OOK protocol.
Out there is a lot of sample sources from LowPowerLab and Jeenode that simply set the nodeID and freq.
and you can talk between 2 transceiver with out all this protocol setting, modulation etc...
So my question is... can I send from RFM69 lib (arduino) to RFLink (rasp+arduino+rflink)
a message like: "Hey ... I need water

"
Thanks a lot
Denis
Re: Send data to RFLink but not sensor
Posted: Monday 23 January 2017 16:31
by Stuntteam
On 433 mhz the main operation mode for RFlink is ASK/OOK modulation.
In fact, Most of the tested RF modules only support ASK/OOK modulation.
RFlink could technically support other types of modulation and other frequencies (it does already support some others)
The RFM69HCW can handle multiple modulation types. However, LowPowerLab lib is set to use FSK modulation. So that is not going to work.
RFLink could be modified to receive LowPowerlab network traffic, but you could just as well use a decent script that sends data in a format that RFlink already receives..
Another thing is, sending a text message like "I need water" is not a very nice way to do things in a home automation system.
Anyway, this is all *off topic* as this is the Domoticz forum
Re: Send data to RFLink but not sensor
Posted: Monday 23 January 2017 17:07
by denisj
The text message "I need water" was like a joke
Normally in the domoticz I'll do something like:
Send me the water level
If is low send message to the pump in order to fill the water
If it's ok then send me the PH level ... if PH level is low ...
...if te nutrient is low... etc
I think that can be a good idea to make a driver that can understand FSK modulation, name it like RFLink driver and set some fields
that can be used with this driver like power, temp, level, text etc...
Thanks a lot again
Denis
p.s. Have you a driver name that allready support the FSK modulation please ? ...and maybe can send and receicve also