Search found 2 matches
- Friday 12 June 2020 21:28
- Forum: PHP and all others
- Topic: turn on switch from perl script
- Replies: 2
- Views: 2245
Re: turn on switch from perl script
Hello freijn, Thank you for getting back to me. Unfortunately I am not all that familiar with coding so I could not pick out of your code what was necessary to accomplish what I was after. However, looking again at the sample code given in the wiki under perl, I found the problem. The line "$url ...
- Friday 12 June 2020 16:37
- Forum: PHP and all others
- Topic: turn on switch from perl script
- Replies: 2
- Views: 2245
turn on switch from perl script
Is it possible to turn on a switch in Domoyicz from a perl script? If so could you give me an example script? Thanks, bob I have tried the sample script listed in the perl wiki but no errors are returned and the light does not turn on. #!/usr/bin/perl no warnings 'uninitialized'; use LWP::UserAgent ...