I found a post that explained how to make a http request to activate a virtual switch from inside the LAN. I want to do this remotely. I would prefer to use the safety and security of cp.mios.com, but have no idea how to use my login to accomplish this. Is this the best approach and if so, how do I do it?
Thanks,
Tim
This is a sample of the request that should work within the LAN
After digging through the forum I have come up with the following http request to try and flip a virtual switch. I am not getting a invalid user/ pass error, but the device status doesn’t change. Any ideas?
[quote=“timholmesjr, post:3, topic:173915”]After digging through the forum I have come up with the following http request to try and flip a virtual switch. I am not getting a invalid user/ pass error, but the device status doesn’t change. Any ideas?
Is there a variable within the Vera which contains on which fwd-server the vera is?
I wanted to use php and use the http://sta1.mios.com/locator.php?username= URL but my hosting is blocking fopen() so i cant use that one.
If there is no variable available then i guess im stuck with luup.inet.wget and send the result to my php file for processing
Then i would be easier for me to use the inet.wget and parse the fwd address out of it.
Im notice also that im running against the limits of a vera2 and (lots of automation scripts running on interval) and that im thinking of upgrading to a vera3 of a veralight as the cpu is a good upgrade and the nand is also dubbled the only difference between the 2 is the RAM (i dont use the other features that the vera3 offers)
Best Home Automation shopping experience. Shop at Ezlo!