Advertisement
Guest User

Sonoff POW 2.02

a guest
Oct 21st, 2017
1,053
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.39 KB | None | 0 0
  1. [root@dole SonOTA]# ./sonota.py --legacy
  2. Select IP address of the WiFi interface:
  3. 0: 192.168.7.229
  4. 1: 192.168.122.1
  5. Select IP address [0]: 0
  6. WiFi SSID: Pjotr
  7. WiFi Password:
  8.  
  9. Using the following configuration:
  10. Server IP Address: 192.168.7.229
  11. WiFi SSID: Pjotr
  12. WiFi Password:
  13. ** Now connect via WiFi to your Sonoff device.
  14. ** Please change into the ITEAD WiFi network (ITEAD-100001XXXX). The default password is 12345678.
  15. To reset the Sonoff to defaults, press the button for 7 seconds and the light will start flashing rapidly.
  16. ** This application should be kept running and will wait until connected to the Sonoff...
  17. ......................................~~ Connection attempt
  18. >> HTTP GET /10.10.7.1/device
  19. << {
  20. "deviceid": "100012f1af",
  21. "apikey": "67c74dbd-ea50-4e15-b7da-4c39d7f5079d",
  22. "accept": "post"
  23. }
  24. >> HTTP POST /10.10.7.1/ap
  25. >> %s {
  26. "version": 4,
  27. "ssid": "Pjotr",
  28. "password": "",
  29. "serverName": "192.168.7.229",
  30. "port": 443
  31. }
  32. << {
  33. "error": 0
  34. }
  35. ~~ Provisioning completed
  36. Starting stage2...
  37. ** The IP address of <serve_host> (192.168.7.229) is not assigned to any interface on this machine.
  38. ** Please change WiFi network to Pjotr and make sure 192.168.7.229 is being assigned to your WiFi interface.
  39. ** This application should be kept running and will wait until connected to the WiFi...
  40. ..............~~ Starting web server (HTTP port: 8080, HTTPS port 443)
  41. ~~ Waiting for device to connect
  42.  
  43. *** IMPORTANT! ***
  44. ** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finish the process.
  45. ** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
  46. This server should automatically be allocated the IP address: 192.168.4.2.
  47. If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no other device has connected, and reboot your Sonoff.
  48. ..........<< HTTP POST /dispatch/device
  49. >> /dispatch/device
  50. >> {
  51. "error": 0,
  52. "reason": "ok",
  53. "IP": "192.168.7.229",
  54. "port": 443
  55. }
  56. 2017-10-21 12:17:22,192 (INFO) 200 POST /dispatch/device (192.168.7.226) 2.72ms
  57. 2017-10-21 12:17:22,200 (INFO) 101 GET /api/ws (192.168.7.226) 0.83ms
  58. 2017-10-21 12:17:22,200 (DEBUG) << WEBSOCKET OPEN
  59. 2017-10-21 12:17:22,203 (DEBUG) << WEBSOCKET INPUT
  60. 2017-10-21 12:17:22,204 (DEBUG) << {
  61. "userAgent": "device",
  62. "apikey": "67c74dbd-ea50-4e15-b7da-4c39d7f5079d",
  63. "deviceid": "100012f1af",
  64. "action": "register",
  65. "version": 2,
  66. "romVersion": "2.0.2",
  67. "model": "PSC-B01-GL",
  68. "ts": 920
  69. }
  70. ~~~ device sent action request, acknowledging / answering...
  71. 2017-10-21 12:17:22,204 (INFO) We are dealing with a PSC-B01-GL model.
  72. ~~~~ register
  73. >> {
  74. "error": 0,
  75. "deviceid": "100012f1af",
  76. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  77. "config": {
  78. "hb": 1,
  79. "hbInterval": 145
  80. }
  81. }
  82. 2017-10-21 12:17:22,209 (DEBUG) << WEBSOCKET INPUT
  83. 2017-10-21 12:17:22,210 (DEBUG) << {
  84. "userAgent": "device",
  85. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  86. "deviceid": "100012f1af",
  87. "action": "date"
  88. }
  89. ~~~ device sent action request, acknowledging / answering...
  90. ~~~~ date
  91. >> {
  92. "error": 0,
  93. "deviceid": "100012f1af",
  94. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  95. "date": "2017-10-21T12:17:22.210Z"
  96. }
  97. 2017-10-21 12:17:22,214 (DEBUG) << WEBSOCKET INPUT
  98. 2017-10-21 12:17:22,215 (DEBUG) << {
  99. "userAgent": "device",
  100. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  101. "deviceid": "100012f1af",
  102. "action": "update",
  103. "params": {
  104. "switch": "off",
  105. "power": "0",
  106. "fwVersion": "2.0.2",
  107. "rssi": -45,
  108. "staMac": "D0:27:00:25:E0:AE"
  109. }
  110. }
  111. ~~~ device sent action request, acknowledging / answering...
  112. ~~~~ update
  113. >> {
  114. "error": 0,
  115. "deviceid": "100012f1af",
  116. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881"
  117. }
  118. >> {
  119. "action": "update",
  120. "deviceid": "100012f1af",
  121. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  122. "userAgent": "app",
  123. "sequence": "1508581042215",
  124. "ts": 0,
  125. "params": {
  126. "switch": "off"
  127. },
  128. "from": "hackepeter"
  129. }
  130. >> {
  131. "action": "update",
  132. "deviceid": "100012f1af",
  133. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  134. "userAgent": "app",
  135. "sequence": "1508581042216",
  136. "ts": 0,
  137. "params": {
  138. "switch": "on"
  139. },
  140. "from": "hackepeter"
  141. }
  142. >> {
  143. "action": "update",
  144. "deviceid": "100012f1af",
  145. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  146. "userAgent": "app",
  147. "sequence": "1508581042216",
  148. "ts": 0,
  149. "params": {
  150. "switch": "off"
  151. },
  152. "from": "hackepeter"
  153. }
  154. >> {
  155. "action": "update",
  156. "deviceid": "100012f1af",
  157. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  158. "userAgent": "app",
  159. "sequence": "1508581042216",
  160. "ts": 0,
  161. "params": {
  162. "switch": "on"
  163. },
  164. "from": "hackepeter"
  165. }
  166. >> {
  167. "action": "update",
  168. "deviceid": "100012f1af",
  169. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  170. "userAgent": "app",
  171. "sequence": "1508581042216",
  172. "ts": 0,
  173. "params": {
  174. "switch": "off"
  175. },
  176. "from": "hackepeter"
  177. }
  178. >> {
  179. "action": "upgrade",
  180. "deviceid": "100012f1af",
  181. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  182. "userAgent": "app",
  183. "sequence": "1508581042221",
  184. "ts": 0,
  185. "params": {
  186. "binList": [
  187. {
  188. "downloadUrl": "http://192.168.7.229:8080/ota/image_user1-0x01000.bin",
  189. "digest": "1c467a7cb4058df22046ffbc0312272aed324a74e91b9b39e1bf2aef88eeca8a",
  190. "name": "user1.bin"
  191. },
  192. {
  193. "downloadUrl": "http://192.168.7.229:8080/ota/image_user2-0x81000.bin",
  194. "digest": "804e4f4a2316fbcc2c6b46aff53c24b9be252bf3fd8cf3ea2243e4475a052658",
  195. "name": "user2.bin"
  196. }
  197. ],
  198. "model": "PSC-B01-GL",
  199. "version": "23.42.5"
  200. }
  201. }
  202. 2017-10-21 12:17:22,222 (DEBUG) << WEBSOCKET INPUT
  203. 2017-10-21 12:17:22,222 (DEBUG) << {
  204. "userAgent": "device",
  205. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  206. "deviceid": "100012f1af",
  207. "action": "query",
  208. "params": [
  209. "timers",
  210. "timeZone"
  211. ]
  212. }
  213. ~~~ device sent action request, acknowledging / answering...
  214. ~~~~ query
  215. >> {
  216. "error": 0,
  217. "deviceid": "100012f1af",
  218. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  219. "params": 0
  220. }
  221. Sending file: /ota/image_user2-0x81000.bin
  222. 2017-10-21 12:17:22,271 (DEBUG) << WEBSOCKET INPUT
  223. 2017-10-21 12:17:22,271 (DEBUG) << {
  224. "error": 404,
  225. "userAgent": "device",
  226. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  227. "deviceid": "100012f1af",
  228. "sequence": "1508581042221"
  229. }
  230. 2017-10-21 12:17:22,271 (DEBUG) ~~~ device acknowledged our action request (seq 1508581042221) with error code 404
  231. 2017-10-21 12:17:22,272 (INFO) 200 GET /ota/image_user2-0x81000.bin?deviceid=100012f1af&ts=715669847&sign=e999b743b30e984b0a65294c553dec3b4118e658fca08ffe964af06fa2689678 (192.168.7.226) 32.77ms
  232. .2017-10-21 12:17:24,617 (DEBUG) << WEBSOCKET INPUT
  233. 2017-10-21 12:17:24,618 (DEBUG) << {
  234. "userAgent": "device",
  235. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  236. "deviceid": "100012f1af",
  237. "action": "query",
  238. "params": [
  239. "timers",
  240. "timeZone"
  241. ]
  242. }
  243. ~~~ device sent action request, acknowledging / answering...
  244. ~~~~ query
  245. >> {
  246. "error": 0,
  247. "deviceid": "100012f1af",
  248. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  249. "params": 0
  250. }
  251. ...2017-10-21 12:17:29,623 (DEBUG) << WEBSOCKET INPUT
  252. 2017-10-21 12:17:29,624 (DEBUG) << {
  253. "userAgent": "device",
  254. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  255. "deviceid": "100012f1af",
  256. "action": "query",
  257. "params": [
  258. "timers",
  259. "timeZone"
  260. ]
  261. }
  262. ~~~ device sent action request, acknowledging / answering...
  263. ~~~~ query
  264. >> {
  265. "error": 0,
  266. "deviceid": "100012f1af",
  267. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  268. "params": 0
  269. }
  270. ..2017-10-21 12:17:34,631 (DEBUG) << WEBSOCKET INPUT
  271. 2017-10-21 12:17:34,632 (DEBUG) << {
  272. "userAgent": "device",
  273. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  274. "deviceid": "100012f1af",
  275. "action": "query",
  276. "params": [
  277. "timers",
  278. "timeZone"
  279. ]
  280. }
  281. ~~~ device sent action request, acknowledging / answering...
  282. ~~~~ query
  283. >> {
  284. "error": 0,
  285. "deviceid": "100012f1af",
  286. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  287. "params": 0
  288. }
  289. ...2017-10-21 12:17:39,654 (DEBUG) << WEBSOCKET INPUT
  290. 2017-10-21 12:17:39,654 (DEBUG) << {
  291. "userAgent": "device",
  292. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  293. "deviceid": "100012f1af",
  294. "action": "query",
  295. "params": [
  296. "timers",
  297. "timeZone"
  298. ]
  299. }
  300. ~~~ device sent action request, acknowledging / answering...
  301. ~~~~ query
  302. >> {
  303. "error": 0,
  304. "deviceid": "100012f1af",
  305. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  306. "params": 0
  307. }
  308. ..2017-10-21 12:17:44,661 (DEBUG) << WEBSOCKET INPUT
  309. 2017-10-21 12:17:44,662 (DEBUG) << {
  310. "userAgent": "device",
  311. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  312. "deviceid": "100012f1af",
  313. "action": "query",
  314. "params": [
  315. "timers",
  316. "timeZone"
  317. ]
  318. }
  319. ~~~ device sent action request, acknowledging / answering...
  320. ~~~~ query
  321. >> {
  322. "error": 0,
  323. "deviceid": "100012f1af",
  324. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  325. "params": 0
  326. }
  327. ...2017-10-21 12:17:49,669 (DEBUG) << WEBSOCKET INPUT
  328. 2017-10-21 12:17:49,670 (DEBUG) << {
  329. "userAgent": "device",
  330. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  331. "deviceid": "100012f1af",
  332. "action": "query",
  333. "params": [
  334. "timers",
  335. "timeZone"
  336. ]
  337. }
  338. ~~~ device sent action request, acknowledging / answering...
  339. ~~~~ query
  340. >> {
  341. "error": 0,
  342. "deviceid": "100012f1af",
  343. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  344. "params": 0
  345. }
  346. ..2017-10-21 12:17:54,680 (DEBUG) << WEBSOCKET INPUT
  347. 2017-10-21 12:17:54,680 (DEBUG) << {
  348. "userAgent": "device",
  349. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  350. "deviceid": "100012f1af",
  351. "action": "query",
  352. "params": [
  353. "timers",
  354. "timeZone"
  355. ]
  356. }
  357. ~~~ device sent action request, acknowledging / answering...
  358. ~~~~ query
  359. >> {
  360. "error": 0,
  361. "deviceid": "100012f1af",
  362. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  363. "params": 0
  364. }
  365. ...2017-10-21 12:17:59,685 (DEBUG) << WEBSOCKET INPUT
  366. 2017-10-21 12:17:59,686 (DEBUG) << {
  367. "userAgent": "device",
  368. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  369. "deviceid": "100012f1af",
  370. "action": "query",
  371. "params": [
  372. "timers",
  373. "timeZone"
  374. ]
  375. }
  376. ~~~ device sent action request, acknowledging / answering...
  377. ~~~~ query
  378. >> {
  379. "error": 0,
  380. "deviceid": "100012f1af",
  381. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  382. "params": 0
  383. }
  384. .
  385. *** IMPORTANT! ***
  386. ** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finish the process.
  387. ** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
  388. This server should automatically be allocated the IP address: 192.168.4.2.
  389. If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no other device has connected, and reboot your Sonoff.
  390. .2017-10-21 12:18:04,694 (DEBUG) << WEBSOCKET INPUT
  391. 2017-10-21 12:18:04,694 (DEBUG) << {
  392. "userAgent": "device",
  393. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  394. "deviceid": "100012f1af",
  395. "action": "query",
  396. "params": [
  397. "timers",
  398. "timeZone"
  399. ]
  400. }
  401. ~~~ device sent action request, acknowledging / answering...
  402. ~~~~ query
  403. >> {
  404. "error": 0,
  405. "deviceid": "100012f1af",
  406. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  407. "params": 0
  408. }
  409. ...2017-10-21 12:18:09,703 (DEBUG) << WEBSOCKET INPUT
  410. 2017-10-21 12:18:09,703 (DEBUG) << {
  411. "userAgent": "device",
  412. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  413. "deviceid": "100012f1af",
  414. "action": "query",
  415. "params": [
  416. "timers",
  417. "timeZone"
  418. ]
  419. }
  420. ~~~ device sent action request, acknowledging / answering...
  421. ~~~~ query
  422. >> {
  423. "error": 0,
  424. "deviceid": "100012f1af",
  425. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  426. "params": 0
  427. }
  428. ..2017-10-21 12:18:14,714 (DEBUG) << WEBSOCKET INPUT
  429. 2017-10-21 12:18:14,714 (DEBUG) << {
  430. "userAgent": "device",
  431. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  432. "deviceid": "100012f1af",
  433. "action": "query",
  434. "params": [
  435. "timers",
  436. "timeZone"
  437. ]
  438. }
  439. ~~~ device sent action request, acknowledging / answering...
  440. ~~~~ query
  441. >> {
  442. "error": 0,
  443. "deviceid": "100012f1af",
  444. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  445. "params": 0
  446. }
  447. ...2017-10-21 12:18:19,720 (DEBUG) << WEBSOCKET INPUT
  448. 2017-10-21 12:18:19,721 (DEBUG) << {
  449. "userAgent": "device",
  450. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  451. "deviceid": "100012f1af",
  452. "action": "query",
  453. "params": [
  454. "timers",
  455. "timeZone"
  456. ]
  457. }
  458. ~~~ device sent action request, acknowledging / answering...
  459. ~~~~ query
  460. >> {
  461. "error": 0,
  462. "deviceid": "100012f1af",
  463. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  464. "params": 0
  465. }
  466. ..2017-10-21 12:18:24,728 (DEBUG) << WEBSOCKET INPUT
  467. 2017-10-21 12:18:24,729 (DEBUG) << {
  468. "userAgent": "device",
  469. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  470. "deviceid": "100012f1af",
  471. "action": "query",
  472. "params": [
  473. "timers",
  474. "timeZone"
  475. ]
  476. }
  477. ~~~ device sent action request, acknowledging / answering...
  478. ~~~~ query
  479. >> {
  480. "error": 0,
  481. "deviceid": "100012f1af",
  482. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  483. "params": 0
  484. }
  485. ..2017-10-21 12:18:26,983 (DEBUG) << WEBSOCKET INPUT
  486. 2017-10-21 12:18:26,983 (DEBUG) << {
  487. "userAgent": "device",
  488. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  489. "deviceid": "100012f1af",
  490. "action": "update",
  491. "params": {
  492. "switch": "off",
  493. "power": "0",
  494. "rssi": -51
  495. }
  496. }
  497. ~~~ device sent action request, acknowledging / answering...
  498. ~~~~ update
  499. >> {
  500. "error": 0,
  501. "deviceid": "100012f1af",
  502. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881"
  503. }
  504. .2017-10-21 12:18:29,736 (DEBUG) << WEBSOCKET INPUT
  505. 2017-10-21 12:18:29,737 (DEBUG) << {
  506. "userAgent": "device",
  507. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  508. "deviceid": "100012f1af",
  509. "action": "query",
  510. "params": [
  511. "timers",
  512. "timeZone"
  513. ]
  514. }
  515. ~~~ device sent action request, acknowledging / answering...
  516. ~~~~ query
  517. >> {
  518. "error": 0,
  519. "deviceid": "100012f1af",
  520. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  521. "params": 0
  522. }
  523. ...2017-10-21 12:18:35,133 (DEBUG) << WEBSOCKET INPUT
  524. 2017-10-21 12:18:35,133 (DEBUG) << {
  525. "userAgent": "device",
  526. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  527. "deviceid": "100012f1af",
  528. "action": "query",
  529. "params": [
  530. "timers",
  531. "timeZone"
  532. ]
  533. }
  534. ~~~ device sent action request, acknowledging / answering...
  535. ~~~~ query
  536. >> {
  537. "error": 0,
  538. "deviceid": "100012f1af",
  539. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  540. "params": 0
  541. }
  542. ..2017-10-21 12:18:40,139 (DEBUG) << WEBSOCKET INPUT
  543. 2017-10-21 12:18:40,139 (DEBUG) << {
  544. "userAgent": "device",
  545. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  546. "deviceid": "100012f1af",
  547. "action": "query",
  548. "params": [
  549. "timers",
  550. "timeZone"
  551. ]
  552. }
  553. ~~~ device sent action request, acknowledging / answering...
  554. ~~~~ query
  555. >> {
  556. "error": 0,
  557. "deviceid": "100012f1af",
  558. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  559. "params": 0
  560. }
  561. ...2017-10-21 12:18:45,147 (DEBUG) << WEBSOCKET INPUT
  562. 2017-10-21 12:18:45,148 (DEBUG) << {
  563. "userAgent": "device",
  564. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  565. "deviceid": "100012f1af",
  566. "action": "query",
  567. "params": [
  568. "timers",
  569. "timeZone"
  570. ]
  571. }
  572. ~~~ device sent action request, acknowledging / answering...
  573. ~~~~ query
  574. >> {
  575. "error": 0,
  576. "deviceid": "100012f1af",
  577. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  578. "params": 0
  579. }
  580. ..2017-10-21 12:18:50,156 (DEBUG) << WEBSOCKET INPUT
  581. 2017-10-21 12:18:50,156 (DEBUG) << {
  582. "userAgent": "device",
  583. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  584. "deviceid": "100012f1af",
  585. "action": "query",
  586. "params": [
  587. "timers",
  588. "timeZone"
  589. ]
  590. }
  591. ~~~ device sent action request, acknowledging / answering...
  592. ~~~~ query
  593. >> {
  594. "error": 0,
  595. "deviceid": "100012f1af",
  596. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  597. "params": 0
  598. }
  599. ...2017-10-21 12:18:55,327 (DEBUG) << WEBSOCKET INPUT
  600. 2017-10-21 12:18:55,327 (DEBUG) << {
  601. "userAgent": "device",
  602. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  603. "deviceid": "100012f1af",
  604. "action": "query",
  605. "params": [
  606. "timers",
  607. "timeZone"
  608. ]
  609. }
  610. ~~~ device sent action request, acknowledging / answering...
  611. ~~~~ query
  612. >> {
  613. "error": 0,
  614. "deviceid": "100012f1af",
  615. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  616. "params": 0
  617. }
  618. ..2017-10-21 12:19:00,426 (DEBUG) << WEBSOCKET INPUT
  619. 2017-10-21 12:19:00,427 (DEBUG) << {
  620. "userAgent": "device",
  621. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  622. "deviceid": "100012f1af",
  623. "action": "query",
  624. "params": [
  625. "timers",
  626. "timeZone"
  627. ]
  628. }
  629. ~~~ device sent action request, acknowledging / answering...
  630. ~~~~ query
  631. >> {
  632. "error": 0,
  633. "deviceid": "100012f1af",
  634. "apikey": "abf6d327-5ccf-4c8f-9f1f-d31dc1203881",
  635. "params": 0
  636. }
  637. .
  638. *** IMPORTANT! ***
  639. ** AFTER the first download is COMPLETE, with in a minute or so you should connect to the new SSID "FinalStage" to finish the process.
  640. ** ONLY disconnect when the new "FinalStage" SSID is visible as an available WiFi network.
  641. This server should automatically be allocated the IP address: 192.168.4.2.
  642. If you have successfully connected to "FinalStage" and this is not the IP Address you were allocated, please ensure no other device has connected, and reboot your Sonoff.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement