Arduino NANO 3.0 not working as "Switchmote" [solved]

Started by dokanovic, January 20, 2018, 09:10:01 AM

dokanovic

Hey there,

I have Arduino Nano 3.0 (clone) configured as RFM69 Gateway with few nodes (PIR, Hall, DHT11) and all are working fine, however, I have problem with "Switchmote" sketch. I can't get this to work.

When use "switchmote" the sketch doesn't have hardcoded values but they are stored in EEPROM, which is fine with me and all seems to be OK but my gateway simply is not communicating with it, not multiple ones configured as switchmote not communicating with each other.
I can't seem to figure out what is wrong. All settings are configured using Serial (Putty) saved, rebooted etc. Nothing wrong but doesn't talk to anyone. I do know that everything is connected OK and configured correctly, I tested All Arduinos with RFM69 (before I loaded switcmote sketch) with simple random naumebr generator sketch.

The only diffrence between Switchmote sketch and other sketches is that the other sketches have hardcoded values for NodeID, NetworID,Gateway,Frequiency etc.

What could be wrong here, any ideas?
The other question is is there any sketch for AC relay and possiblity to rutn on/of Via RFM69 with hardcoded values for NodeID, Gateway, NetworkID etc?

dokanovic

|-----------------------------------------------------------
|  SwitchMote RFM69 configuration menu
|  Use Putty or a similar client to setup params
|  ArduinoIDE serial monitor doesn't work well
|  Don't forget to save 's' and reboot 'r' to apply changes
|-----------------------------------------------------------
| f - set frequency band    (set to: 433mhz)
| i - set node ID           (set to: 11)
| n - set network ID        (set to: 100)
| w - set RFM69 type        (set to: HW/HCW)
| e - set encryption key    (set to: 'sampleEncryptKey')
| d - set description       (set to: '')
| s - save CONFIG to EEPROM
| E - erase whole EEPROM - [0..1023]
| S - erase SYNC data [64..93]:[0,0,0,0,0,0,0,0,0,0]
| r - reboot
| ESC - re-display config menu
|-----------------------------------------------------------
|  Usage ex.: press 'f' to change frequency
|-----------------------------------------------------------

dokanovic

I can't seem to find sketches with hardcoded Values for Wireless Relay - Arduino + RFM69 + Relay

I was looking all over for 1, 2, 4 Relays sketches - every single post is pointing, in one way or another, to "sketchmote" for Wireless relay controlling.

Anyone have sketch for Aruidno + RFM69 + Relay control with hardcoded values? I am going nuts with this, I can't seem to figure out as to why it is not communicating.

dokanovic

It actually works! The only problem was that Sketch was pointing to D7, I tried desperately other Digital pins - and it worked!!!!
You can close this topic