@mfalkvidd You are absolutely correct. I was using wrong frequency.
I have just upgraded my serial gateway from 1.4 to 2.3.1. All my 1.4 sensors seem to be working fine. So that gives me a good starting point to upgrade them all.
However I have two relay sensors which I can't get to work.
I believe its down to the changes in message sent from the gateway to the sensor
The 1.4 message was - 0-0-1-1 s=7,c=1,t=2,pt=0,l=1,st=ok:1
node-id(1);child-sensor-id(7);message-type(1 Set);ack(0);sub-type(2 V_LIGHT);payload(1 On)\n
The 2.3.1 message is 0-0-1-1,s=7,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:1
The following extra data "sg=0,ft=0".
I guess that the node will have to be updated for it to work, but can someone point me in the direction of the documentation on the changes of the message structure for the "sg=0,ft=0" .
I am trying to upgrade my dated mysensors system from 1.4 to 2.3.1. Starting by upgrading the working mysensors 1.4 serial gateway attached to a Openhabian Pi. The current baud rate used on the Openhab system for the serial gateway is 115200.
When I compile the new gateway using the 2.3.1. sketch the baud rate seems to default to 74880. Arduino nano.
Unfortunately 74880 baud does not seem to be accepted as a valid baud rate on the openhabian.
Is there a way of setting the baud rate in the sketch??
I have tried adding "#define MY_BAUD_RATE 115200" to the sketch, but this seems to have a strange effect. The baud rate of the serial output changes to 230400 baud.
I found that by setting "#define MY_BAUD_RATE 57600" that the baud rate was then set to 115200. So I have got the device working but I am totally confused as to why it now works.
Can anyone explain this or is there a possible bug?
I am trying to find a way of controlling the lights in my hallway. There are several light switches (double poll) so its not just a simple on/off switch. Has anyone seen any hardware for remote controlling this type of switch capable of being controlled by a MySensors node?
@tekka Have made a change to how I was powering the NRF and now straight from battery.
Looks like it was a power issue. Sufficient for transmit from the node ut not for receiving the updates.
See attached log.
Now got a different issue when I tried to reassign the FW from link to Timereporter.
I think I am moving in the right direction now.
Thanks for your help so far.
Keep up this great work.Deug.txt
@tekka Thanks for getting back to me. This is my my first go at this bootloader. Hope I am not doing something daft!
I have Arduino IDE 1.6.5, MySensors 1.5, MYSBootloader 1.1, MYSController_0_1_2_282 running on Windows 8, USBasp to urn bootloader.
Arduino Pro Mini 3.3v 8mhz board. I am using the standard settings in your write up for the boards.txt
Log file hopefully attached.
I have followed the procedure listed and that mentioned in post 77. Pro Mini 3.3v 8mhz Arduino.
I keep getting the following message in the debug window every few minutes. Have repeated the process in post 77 several times however get the same results.
[2015-09-01 18:09:17.276 Info] DEBUG Undefined firmware/type for node=2
[2015-09-01 18:09:17.323 Info] INFO BL version=257
[2015-09-01 18:09:17.354 Info] INFO Send FW info to node 2: type=A, version=1, blocks=0x0048, CRC=0xD098
[2015-09-01 18:09:17.386 Info] TX 2;0;4;0;1;0A000100480098D0
[2015-09-01 18:09:17.417 Info] RX 2;255;4;0;0;FFFFFFFFFFFFFFFF0101