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

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
domatech
Posts: 12
Joined: 09 Dec 2013 12:41

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

Post 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 :)
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

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

Post 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
Since 29-12-2016 I am no longer a moderator for this forum
domatech
Posts: 12
Joined: 09 Dec 2013 12:41

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

Post by domatech »

Great thanks, i try this right now
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

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

Post 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.
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

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

Post by PoltoS »

This command reboots the chip on the board. But this indeed looks like a semi-dead board
domatech
Posts: 12
Joined: 09 Dec 2013 12:41

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

Post by domatech »

And what if i put echo -ne "\x01\x03\x00\x08\xf4" in a daily crontab ?
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

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

Post 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
domatech
Posts: 12
Joined: 09 Dec 2013 12:41

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

Post 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 :)
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

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

Post 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
Post Reply