Page 1 of 1

Mysensors without radio

Posted: Monday 30 October 2017 18:13
by febalci
Hi all,

I am in the process of making a wired alarm in my house. I collected all wired PIR's and magnetic reed switches to an Arduino Mega. All connections are made to GPIO ports on Arduino. I am trying to connect this to Domoticz which is installed on a raspberry. I have some beginner questions since i am not very familiar with mysensors. Any help appreciated:

1. Can i use the very same Arduino (which most of the GPIOs are connected to sensors with wires) for mysensors serial or ethernet gateway?
2. I have no intention of using the radio, so i will not install any radio component to gateway. Is it OK if i just build the serial or ethernet gateway just by removing the gateway references to radio components as comments?
3. I believe if 1 and 2 are Yes, so that means the very same arduino will be also used as sensor node. Is there any sample sketch for this type of installation?
4. Or do you say "Don't need to use mysensors, go on with domoticz json api calls in your sketch"?

Thanks...

Re: Mysensors without radio

Posted: Tuesday 31 October 2017 16:54
by Jan Jansen

Re: Mysensors without radio

Posted: Tuesday 31 October 2017 17:11
by tlpeter
You can use the gateway with sensors although i used it only as gateway in the past.

Re: Mysensors without radio

Posted: Thursday 02 November 2017 14:50
by gohan
Sure you can use the gateway without radio, just load the default gateway sketch and comment out the defines about the radios, then add the sensors in the code as it was normal node.