@nagelc
just btw, could it also be a current issue. that the nano isn't able to provide enough current to the RFM69.
Thank you!
@nagelc
just btw, could it also be a current issue. that the nano isn't able to provide enough current to the RFM69.
Thank you!
Hi,
I am using an RFM69 radio 915Mhz. I have two devices set up. 1 Arduino Uno R3 and 1 Arduino nano. When I set it up for mysensors, it doesn’t work. I have the NRF24L01 on both devices and then it does works, but when I connect the devices to the RFM69 radio, it doesn’t work. I connected the RFM69 radio to the 3.3 v port of the Nano and Uno devices. When I saw that with mysensors I get the tsm failed error message, I used the basic script of the RFM69 radio to connect 2 radios. There I saw that it transmits only single letters/messages, without problem, and it only does it for a little, it stops after a couple of characters sent. Code is at: https://learn.sparkfun.com/tutorials/rfm69hcw-hookup-guide#hardware-connections. I used a capacitor between vcc and ground on the radios. I connect the radio direct to the board, without using resistors… just like: https://www.mysensors.org/build/connect_radio .
My thought is that the issue is a power issue. How would I be able to take care of this issue, being that I am using a capacitor and feeding it from the 3.3 v output of the nano/uno.
Is it possible that the issue is something else? What are your thoughts? What should be done?
P.S.: I am using a 915Mhz antenna, so the antenna is not an issue, as I even do get response when it does work.
Thank you very much!!
@kimot
going to check it out, it looks very good.
thanks a lot
The temperature sensor is connected to a different node in a different place in the center of the house. I want the relay-node to act by instructions from the thermostat(temperature)-node. (I would hook the whole system up to Domoticz).
Thanks
thank you, regarding the wiring, I don't have any issues. It is the programming that I am concerned about. Where do I find an example for the thermostat-node, which will be sending info to the relay-node?
Thank you.
I am looking to use a “node” that will report as a thermostat to domoticz. This thermostat node will have a relay connected to it which turns on/off the hvac system. How can I make this happen?
Thanks
when it says in the gateway code:
// The MAC address can be anything you want but should be unique on your network.
// Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
// Note that most of the Ardunio examples use "DEAD BEEF FEED" for the MAC address.
//#define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
which mac address is this referring to? the gateway? the controller?
And what happens if it doesn't match?
thanks
Dear Anticimex,
Thank you so much for helping out.
This is what I had to do to solve this:
I used the development edition of mysensors, I had to disable debugging, because indeed I use cheap boards. Then I also had to use the personalizer from the development and not change anything in the config file.
I just have 1 more question for now. Everything is secured for now, the only thing which isn’t, according to my understanding, is that any controller could communicate with my Ethernet gateway. Of course I could specify the ip address of the controller I want to use in the Ethernet gateway ino file configurations, but an ip address could easily be “doubled” either by causing an ip-conflict, or just plugging out or somehow disabling my controller.
So, the question is; how can a code or something be specified, besides the ipaddress, in the gateway. And with that security code only, the gateway will be able to be controlled by a controller device like eg Domoticz.
.Thank you.
This is my node code regarding signing:
#define MY_NODE_ID 5
#define MY_DEBUG //!< Enable debug prints to serial monitor
#define MY_DEBUG_VERBOSE_SIGNING //!< Enable signing related debug prints to serial monitor
#define MY_NODE_LOCK_FEATURE //!< Enable lockdown of node if suspicious activity is detected
// Enable and select radio type attached
#define MY_RADIO_NRF24 //!< NRF24L01 radio driver
//#define MY_RADIO_RFM69 //!< RFM69 radio driver
// Select soft/hardware signing method
#define MY_SIGNING_SOFT //!< Software signing
//#define MY_SIGNING_ATSHA204 //!< Hardware signing using ATSHA204A
// Enable node whitelisting
//#define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}}
// Enable this if you want destination node to sign all messages sent to this node.
//#define MY_SIGNING_REQUEST_SIGNATURES
// SETTINGS FOR MY_SIGNING_SOFT
#define MY_SIGNING_SOFT_RANDOMSEED_PIN A5 //!< Unconnected analog pin for random seed
// SETTINGS FOR MY_SIGNING_ATSHA204
#define MY_SIGNING_ATSHA204_PIN 17 //!< A3 - pin where ATSHA204 is attached