Teckin SP22 - nothing happens
See original GitHub issueNothing happens…
I connect my phone to the newly created vtrust-flash AP, I set the plug to start flashing, I press Enter… and all I get are dots. Below arte the log files. NOTE, all logs start with a ^C --> I am NOT touching the keyboard, so I’m not sure this is coming from.
This is a freshly installed Raspberry Pi 3B.
Anybody any ideas where I might be going wrong?
root@raspberrypi:/home/pi/tuya-convert# python -V
Python 2.7.13
root@raspberrypi:/home/pi/tuya-convert# python3 -V
Python 3.5.3
smarthack-mqtt.log
root@raspberrypi:/home/pi/tuya-convert/scripts# cat smarthack-mqtt.log
^C1553327860: mosquitto version 1.4.10 terminating
1553327865: mosquitto version 1.4.10 (build date Wed, 13 Feb 2019 00:45:38 +0000) starting
1553327865: Using default config.
1553327865: Opening ipv4 listen socket on port 1883.
1553327865: Opening ipv6 listen socket on port 1883.
smarthack-smartconfig.log
module.js:549
throw err;
^
Error: Cannot find module 'debug'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/pi/tuya-convert/scripts/smartconfig/smartconfig.js:16:15)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
smarthack-web.log
root@raspberrypi:/home/pi/tuya-convert/scripts# cat smarthack-web.log
^CTraceback (most recent call last):
File "./fake-registration-server.py", line 132, in <module>
main()
File "./fake-registration-server.py", line 128, in main
tornado.ioloop.IOLoop.current().start()
File "/usr/local/lib/python3.5/dist-packages/tornado/platform/asyncio.py", line 148, in start
self.asyncio_loop.run_forever()
File "/usr/lib/python3.5/asyncio/base_events.py", line 421, in run_forever
self._run_once()
File "/usr/lib/python3.5/asyncio/base_events.py", line 1388, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.5/selectors.py", line 445, in select
fd_event_list = self._epoll.poll(timeout, max_ev)
KeyboardInterrupt
Listening on port 80
[I 190323 07:57:55 web:2246]☼ 200 GET / (10.42.42.36) 7.76ms
smarthack-wifi.log
wlan0: STA 6c:c7:ec:XX:XX:XX IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED 6c:c7:ec:XX:XX:XX
^Cwlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
RTNETLINK answers: File exists
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
Failed to create interface mon.wlan0: -95 (Operation not supported)
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr b8:27:eb:26:1e:fa and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
wlan0: STA 6c:c7:ec:XX:XX:XX IEEE 802.11: associated
wlan0: AP-STA-CONNECTED 6c:c7:ec:XX:XX:XX
wlan0: STA 6c:c7:ec:XX:XX:XX RADIUS: starting accounting session 881F7A79914AF2D6
wlan0: STA 6c:c7:ec:XX:XX:XX WPA: pairwise key handshake completed (RSN)
Issue Analytics
- State:
- Created 4 years ago
- Comments:14
Top Results From Across the Web
9 Ways To Fix Teckin Smart Plug Not Working
Teckin Smart Plug Not Working: The very first thing that you can try here is to power cycle your smart plugs.
Read more >Teckin Smart Plug Not Connecting? (Solved!)
If you're trying to connect this device to the Teckin app, you may have lots of problems as the app literally does nothing....
Read more >Teckin SP22 Automation work the first time, but that's it... - Reddit
Hi, So i got a teckin SP22 smart plug, wifi, powerdraw... When i try to set up an automation, it works the first...
Read more >I bought last week a Teckin SP22 which is a Tuya OEM smart ...
Been running dwb for a hot minute. No idea what you're talking about. Never had a wyze camera reboot for anything. What cameras...
Read more >Teckin Smart Plugs [The Comprehensive Guide]
Nothing happened. I tried it repeatedly and still nothing. Should I delete the smart life app and reinstall it? I had one of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is already in the README
That’s what
stop_flash.sh
is forMy bad, I forgot to update the README. I’ll update this soon. Try http://10.42.42.42/flash3?url=http://10.42.42.1/files/temp_flash.bin instead.