RFLink with FW that receive from RFLink with out FW

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
denisj
Normal user
Posts: 10
Joined: 07 Jan 2017, 11:26

RFLink with FW that receive from RFLink with out FW

#1 Post by denisj » 07 Jan 2017, 11:32

Hi there all,
I just receive 2 kits of the RFLink + Arduino Mega.

To one of this I charge the firmware and I linked it to my domoticz raspberry and it's work great :-)

The other RFLink hardware (arduino + RFLink),
I want to use it in a garden project and I want to make my custom schetch on it,
so I don't want to upload all firmware on it.

So how can I use the hardware of the second RFLink to just send
via 433Mhs a "Hello world" to the first RFLink (domoticz) please ?

Is there a lib to upload on arduino mega (not firmware) that can just to communicate with the RFLink on my Domoticz ?

Thanks all
Denis

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RFLink with FW that receive from RFLink with out FW

#2 Post by data » 12 Jan 2017, 22:33

Check out the rc-switch library: https://github.com/sui77/rc-switch

denisj
Normal user
Posts: 10
Joined: 07 Jan 2017, 11:26

Re: RFLink with FW that receive from RFLink with out FW

#3 Post by denisj » 13 Jan 2017, 06:22

Thanks for the link
But what I need is a lib that work with rflink hardware. (http://www.nemcon.nl/blog2/)
If I understand the rc-switch is not for this type of aurel transceiver
Thanks again
Denis

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RFLink with FW that receive from RFLink with out FW

#4 Post by data » 13 Jan 2017, 09:12

Probably you'll just need to switch the state of the gpio where the rx/tx switch is connected to.

denisj
Normal user
Posts: 10
Joined: 07 Jan 2017, 11:26

Re: RFLink with FW that receive from RFLink with out FW

#5 Post by denisj » 20 Jan 2017, 09:08

Thanks for the answer
but I have renounce to rflink hardware for the project.
I'll use the mega+rfm69hcw in order to talk with rasp+rflink

Thanks again
Denis

denisj
Normal user
Posts: 10
Joined: 07 Jan 2017, 11:26

Re: RFLink with FW that receive from RFLink with out FW

#6 Post by denisj » 20 Jan 2017, 09:10

Thanks for the answer
but I have renounce to rflink hardware for the project.
I'll use the mega+rfm69hcw in order to talk with rasp+rflink

Thanks again
Denis

User avatar
Stuntteam
Site Beheer
Posts: 787
Joined: 27 Jan 2016, 16:46

Re: RFLink with FW that receive from RFLink with out FW

#7 Post by Stuntteam » 20 Jan 2017, 09:32

If you have 2 RFlinks running, sending a command from rflink 1 will be received by rflink 2.

Example:
On rflink1 (sender) enter:
10;NewKaku;00c142;1;ON;
On rflink2 (receiver) it will show:
20;3B;NewKaku;ID=cac142;SWITCH=1;CMD=ON;

Note that the abovde will work for any kind of switch protocol/device.
There is for now no way to send other data (meter data/temperature/humidity etc) using this method.
It would be possible to make it so that you can send other sorts of data but usually the sender device just sends one type of data and needs to be stand alone and saving battery power etc. so that it would be better to use some custom code to transmit the values. There are many samples that transmit data using for example the Oregon sensor protocol.

What kind of data do you want to transmit and how is your setup?
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

denisj
Normal user
Posts: 10
Joined: 07 Jan 2017, 11:26

Re: RFLink with FW that receive from RFLink with out FW

#8 Post by denisj » 20 Jan 2017, 09:45

Thanks a lot for the answer
but I let out one of the rflink and turn to try to send a data from a arduino mega + rfm69 (fot garden project)
to rasp+rflink
Please help me on this topic:
viewtopic.php?f=11&t=2573

Thanks a lot again
Denis

User avatar
Stuntteam
Site Beheer
Posts: 787
Joined: 27 Jan 2016, 16:46

Re: RFLink with FW that receive from RFLink with out FW

#9 Post by Stuntteam » 20 Jan 2017, 10:32

Ok, so you have a board with a rfm69 that needs to send data to rflink..
what software is on the sender side?
This software will probably use some protocol to transmit its data.
If it is using an ASK/OOK protocol RFlink will be able to receive it and even if the protocol is new/custom it should show debug data.
(Look here for receiving data in debug mode: http://www.nemcon.nl/blog2/development)
In case of a new protocol, we could add support for the protocol if scripts for sending are public / can be used by multiple people..
or you simply change the transmit protocol to match a known protocol.

On this page:
http://www.connectingstuff.net/blog/enc ... r-arduino/
you can find a piece of code that sends temperature and humidity via the oregon protocol.
RFLink will receive the signals automatically.
If you follow the comments (sorry they are in French but google translate will help) you will also find other scripts that send just about anything via the Oregon protocol including meter data.

I think you mentiond a garden system, what is in your garden? any devices that need to be controlled (turned on/off) in that case you could use a protocol like NewKAKU...
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

denisj
Normal user
Posts: 10
Joined: 07 Jan 2017, 11:26

Re: RFLink with FW that receive from RFLink with out FW

#10 Post by denisj » 20 Jan 2017, 11:27

Ok ... thanks a lot
I'll study all the info this night at home

Just to answer you I use the RFM69 lib from LowPowerLab ... I don't know if it's ASK/OOK, but I will search on this.

I don't care so much about the protocol
I just want to be able to send some data from my garden (arduino mega + rfm69hcw) ro my raspberry+ rflink
in order to receive in domoticz or jeedom data about the watrer level, pH of water, nutrinet level etc...

Thanka a lot again
Denis

denisj
Normal user
Posts: 10
Joined: 07 Jan 2017, 11:26

Re: RFLink with FW that receive from RFLink with out FW

#11 Post by denisj » 21 Jan 2017, 09:26

I forget to tell you about my garden project
It's a hydroponic system that will make grow plants

So from my raspberry(inside home) I will ask a lot of thinks from the arduino mega (outside in the garden)
thinks about level of water, PH and nutrients of water etc...
And then I must send commands to the arduino mega from raspberry+rflink

But... I want to ask you a think, why you don't make your own rflink protocol ?
A protocol that can be used just in order to send/receive messages from/to rflink hardware.
Make it less complicated than oregon protocol.
Is this possible ?

Thanks again
Denis

denisj
Normal user
Posts: 10
Joined: 07 Jan 2017, 11:26

Re: RFLink with FW that receive from RFLink with out FW

#12 Post by denisj » 25 Jan 2017, 10:36

Maybe you can give me a name of a driver that already use the FSK modulation
and I'll try to use it in order to work with RFM69 lib from LowPowerLab (this one also have a large community)

I can use the packet you sent me for testing the "OWL Intuition PV"
I'm newbe, but I'll try to learn :-)

Thanks again
Denis

jannnfe
Normal user
Posts: 16
Joined: 19 Jan 2018, 13:16

Re: RFLink with FW that receive from RFLink with out FW

#13 Post by jannnfe » 05 Nov 2018, 12:13

Hello, have you found a way by now? I would like to do the same.

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests