Page 1 of 1

What do echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

Posted: 19 Jun 2014 10:24
by domatech
Hello all,

My raspberry can't stay alive more than a week, after a week of good services, the daemon could not start he says : "Device not compatible... terminating".
The only way i found to resolve the problem is : echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

But to be honesty i don't know what exactly do this command, what is the risk to use it ? ( loose configuration files, destroy drivers, make explode fort knox ? )

Anyone can explain me ?

Best regards :)

Re: What do echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

Posted: 19 Jun 2014 11:09
by pz1
Which version are you using? There have been memory leaks in previous versions, which may explain your problems. This leaks have been solved in 1.7.1-rc2. Those fixes are now in the official 1.7.1 release of yesterday.
I suggest to update and watch that for an other week

Re: What do echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

Posted: 19 Jun 2014 11:15
by domatech
Great thanks, i try this right now

Re: What do echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

Posted: 19 Jun 2014 18:00
by pofs
Looks like a broken RaZberry to me.

Check the manufacture date printed on board. If it is middle of April, ask your supplier for replacement.

Re: What do echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

Posted: 20 Jun 2014 00:27
by PoltoS
This command reboots the chip on the board. But this indeed looks like a semi-dead board

Re: What do echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

Posted: 23 Jun 2014 14:04
by domatech
And what if i put echo -ne "\x01\x03\x00\x08\xf4" in a daily crontab ?

Re: What do echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

Posted: 24 Jun 2014 02:29
by PoltoS
nothing critical unless it goes in the middle of a command or between request and response from Z-Way. In that case Z-Way can freak out. But should still work

Re: What do echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

Posted: 24 Jun 2014 11:13
by domatech
I already stop / start z-way server at 4:00, so i can do the magic command at this moment so i think i can't have problems, i try like that.

Thanks for all the help :)

Re: What do echo -ne "\x01\x03\x00\x08\xf4" > /dev/ttyAMA0

Posted: 22 Jul 2014 01:23
by PoltoS
This might be helpful for others with same problem with RaZberries from April 2014: viewtopic.php?f=3422&t=20389&p=51857#p51857