Now, my WiFi router has changed, it has the same SSID but new password, and I need to update this info in Wink's config.
Wink hub is visible as AP with SSID "WINKHUB-NNNNNN-XXXX", and I can reach it at 192.168.0.1 - but what to do next?
I tried to execute curl "http://192.168.0.1/index.php" -d '{"ssid":"myssid","pass":"mypass"}', but this gives an error:
Code: Select all
Slim Application Error
The application could not run because of the following error:
Details
Type: ErrorException
Code: 8
Message: Trying to get property of non-object
File: /var/www/index.php
Line: 161
Trace
#0 /var/www/index.php(161): Slim\Slim::handleErrors(8, 'Trying to get p...', '/var/www/index....', 161, Array)
#1 [internal function]: {closure}()
#2 /var/www/Slim/Route.php(462): call_user_func_array(Object(Closure), Array)
#3 /var/www/Slim/Slim.php(1326): Slim\Route->dispatch()
#4 /var/www/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#5 /var/www/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#6 /var/www/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#7 /var/www/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions->call()
#8 /var/www/index.php(269): Slim\Slim->run()
#9 {main}
I will be grateful for any help