Besoin d'exemple pour le setup : RFLink + mySensors Project avec NRF24L01

Forum dédié au Rflink : installation, paramétrage, utilisation, interfaces ...
knop
Messages : 3
Inscription : 06 oct. 2017, 17:13

Besoin d'exemple pour le setup : RFLink + mySensors Project avec NRF24L01

Message par knop »

Hello RFLink community,

J'ai un RFLink (R47) connecté a un RaspberryPi3 et domoticz, j'ai acheté plusieurs capteur de temperature en 433Mhz et ca fonctionne tres bien

Desormais je voudrais fabriquer mon propre capteur, un capteur d'ouverture/fermeture de porte (Reed contact) à base d'Arduino Pro Mini+NRF24L01 et en utilisant la librairie MySensors

J'ai essayé plein de manipulation mais domoticz ne voit/detecte rien. J'ai essayé de branché le RFLink directement sur un PC et tester avec RFLinkLoader.exe, je vois qu'il y a un peu de vie mais je ne sais pas a quoi correspond ces trames :
(My RFLink setup is Firmware R47 and setRF433=ON;setNodoNRF=OFF;setMilight=OFF;setLivingColors=OFF;setAnsluta=OFF;setGPIO=OFF;setBLE=OFF;setMysensors=ON;)
Packets looks like :
20;09;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1cffffff020307ff;
20;0A;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1dffffff020307ff;
20;0B;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1effffff020307ff;
20;0C;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1fffffff020307ff;

Je suis debutant sur MySensors donc j'ai surement oublié quelquechose !
Si quelqu'un parmis vous utilise MySensor avec Arduino Pro Mini ou Uno + NRF24L01 avec RFLink ca serait vraiment sympa de partager votre sketch ;-)

Merci d'avance pour votre aide.

Chris.
digdogger
Messages : 213
Inscription : 16 juil. 2017, 09:21

Re: Besoin d'exemple pour le setup : RFLink + mySensors Project avec NRF24L01

Message par digdogger »

Salut,
quand tu as quelques sondes de température tu peux te contenter d'utiliser MySensor sans Gateway. Par contre, si tu veux ajouter d'autres capteurs et actionneurs, il est conseillé d'avoir un gateway MySensor. Ce qui est vite fait avec un arduino nano et un Nrf24l01+pa+lna et antenne SMA.
Voir le tuto ici

voir FAQ RFLInk:
RFlink with MySensors devices
Q: Can I use RFLink with MySensors devices?
A: Yes, RFlink can receive the signals coming from MySensors devices.

Q: Will RFLink replace a MySensors gateway?
A: Yes and no.
RFLink will receive signals from individual MySensors devices, even if these devices failed to see a valid gateway.
This means you can use MySensors devices, like for example a temperature or humidity sensor without ever installing a gateway.
Of course, if you have a MySensors gateway, then signals can also be received.
RFLink will however NOT identify itself to the MySensors network. It will also not transmit anything to the MySensors network.

If you just want to use a few MySensors devices then you can use RFlink to capture the signals and you do not need a gateway. If you have any sensor that you want to control (send commands to like turn on/off) then you will need a MySensors gateway because RFLink is not part of the MySensors network and will NOT send any data to devices.

Q: Why cant you make RFLink a MySensors gateway?
A: While this would be possible, you are probably better suited by using a real gateway. following their updates etc.
We believe that the current implementation contributes to giving you a wide choice of devices that can be used in your home automation solution.
Raspberry Pi 3 + Raspbian Jessie Lite + Domoticz V4.9700 - RFlink USB V48 433.42MHz - Volets Somfy RTS - MySensors USB V2.1.1 - IDE Arduino 1.8.8
knop
Messages : 3
Inscription : 06 oct. 2017, 17:13

Re: Besoin d'exemple pour le setup : RFLink + mySensors Project avec NRF24L01

Message par knop »

Merci digdogger.

Est-ce que du coup un simple capteur de contact reed fait avec mysensors (qui envoie une information quand porte ouverte et porte fermé) peut etre receptionné par RFLink ou bien je dois faire une serial GW mysensors ?

Encore merci pour l'aide.

Chris
Répondre