Post by raspipeter on Apr 24, 2014 12:37:14 GMT -8
I apologize for the delay in responding. Factually I faced the same problem as you did. The "toggle function" did not work. I found out that the cause of this problem is that you need to use only lower case text in the code. Factually you used "LED on" and "LED off" and that does not work. If you are using "led on" and "led off" than it works fine. Please try it out and let me know if that resolves the issue.
Peter, Absolutely no apology needed. I haven't visited RasPiConnect for a while.
You are absolutely correct in what you say; lower case text for the objectname/lowername causes the FB button to work correctly - YaY! I don't recall seeing that documented anywhere, but I may have missed it.