Hey guys , I hit weird issue when I try make 2 nethome running.
My idea was pi 1 is master nethome , pi 2 is backup nethome server , which listen only commands via tellstick.
Ok all work good , pi 2 switch items on /off etc work like charm , now my bug brain script hit in which not work.
I wanna check that pi 1 status , and if that fail not answer ping , or event quee full or something , I wanna sent command pi 2 which is.
set,Tellstick,TransmittedProtocols,Nexa,NexaL,
ok I can hit them on via set command but only first parameter which this line is Nexa, is that possible sent set command which activate transmit protocols both on ,Nexa,NexaL,
and can I switch back pi 1 when that is up and running then sent command, set,Tellstick,TransmittedProtocols,NULL , so there is nothing protocol to sent.
Guys don't scare this post raspberry pi is good to keep nethome running , but my whole home work via nethome , so if I wanna update nethome server , I love feature if backup nethome continue there where first stop
there is picture where see 2 nethome keep stats item status,
Best Regards, Nasty76
Nethome goes multiserver mode , problem
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
Re: Nethome goes multiserver mode , problem
If you want to include a comma in a parameter, you have to quote it as %2C
You can see on this page: http://wiki.nethome.nu/doku.php/commandportsyntax which characters has to be quoted. In your case the command should be: set,Tellstick,TransmittedProtocols,Nexa%2CNexaL
Hope this helps!
You can see on this page: http://wiki.nethome.nu/doku.php/commandportsyntax which characters has to be quoted. In your case the command should be: set,Tellstick,TransmittedProtocols,Nexa%2CNexaL
Hope this helps!
Re: Nethome goes multiserver mode , problem
Oh wow that was fast answer , thanks.
how about that empty string then ?`:D
when I wanna stop sent commands.
Thanks for super fast answer.
Ps. that not work via action button
I wanna add manual click too if automatic go bananas
Best regards,
Nasty76
how about that empty string then ?`:D
when I wanna stop sent commands.
Thanks for super fast answer.
Ps. that not work via action button
I wanna add manual click too if automatic go bananas
Best regards,
Nasty76
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
Re: Nethome goes multiserver mode , problem
Ok, this was one step more messy than I expected. This is the same escape codes that the browser use, so the escape code gets "eaten" when you save the value. A temporary solution is to escape the % as well, so the line would be: set,Tellstick,TransmittedProtocols,Nexa%252CNexaL
The escape code is %252C, when %25 is the escape code for %. I will have to think about a better long term solution for this.
To set it empty, just set it to x, since there is no such protocol, the effect is the same.
The escape code is %252C, when %25 is the escape code for %. I will have to think about a better long term solution for this.
To set it empty, just set it to x, since there is no such protocol, the effect is the same.
Re: Nethome goes multiserver mode , problem
Thank you i need look this maybe better way or something.
Real big thanks fast answer
Real big thanks fast answer