Colin Kuebler
3b1c5ed771
Offer to flash another device, restarting the procedure automatically
...
Timeout waiting for the upgraded device after ~30s
Supress pushd/popd output
2019-08-07 13:14:47 -04:00
Colin Kuebler
84ad9723ed
User only needs to agree to the EULA once
2019-08-07 13:10:08 -04:00
Colin Kuebler
22bdbb5629
Exit server cleanly on SIGINT (^C) to reduce error message noise
2019-07-04 19:54:12 -04:00
Colin Kuebler
d754802f35
Added auto-retry to smartconfig, make 10 attempts before exiting
2019-07-04 19:26:25 -04:00
Colin Kuebler
da1966ac42
Bugfixes; file_md5 was type bytes vs str, reply() needed argument default, use get_argument() instead of request.arguments[], json to str lambda to ease schema encoding, true => True in python
2019-07-03 14:02:33 -04:00
Colin Kuebler
54af5ebba8
Check for wpa_supplicant #19 #84 #172 #208 and many more
2019-07-02 15:31:37 -04:00
Colin Kuebler
39954071bd
Added API response for s.gw.upgrade.updatestatus
2019-07-02 15:23:23 -04:00
Colin Kuebler
39b9bcd768
Added API methods: .device.upgrade .timer and .config
...
tuya.device.upgrade.get and tuya.device.upgrade.silent.get should allow upgrades on devices where s.gw.upgrade is not called
2019-07-02 14:48:36 -04:00
Colin Kuebler
beab732cfe
Implemented JSONHandler.reply to reduce code repetition
...
Adds timestamp, serializes response, and applies appropriate headers
Fetch gwId and a from query parameters instead of manual uri parsing
Represent API responses as dict objects for clarity and flexibility
Compute upgrade.bin md5 and file size only once when the server is started
2019-07-02 14:43:24 -04:00
Colin Kuebler
d11f94f45d
Backup hostapd config #61
...
Do not overwrite config backups #61
2019-07-02 14:30:09 -04:00
Colin Kuebler
9c8db5752c
Added a check to ensure that the configured network interface exists
2019-07-02 14:22:25 -04:00
Colin Kuebler
48bdc072ed
Added config for mosquitto so it only binds to 10.42.42.1
...
Now that there is no conflict for ports, we do not have to stop apache or mosquitto before starting our own
2019-07-02 14:18:03 -04:00
Colin Kuebler
0e7c1f080c
Modify dnsmasq config to only bind to 10.42.42.1 as suggested in #187
2019-07-02 14:13:04 -04:00
Colin Kuebler
fcbb35019b
Added option for specifying the server bind addr, defaulting to 10.42.42.1
...
Catch bind error and produce a helpful message if port is unavailable
This should make it possible to run the server without interfering with 0.0.0.0:80
2019-07-02 14:00:18 -04:00
Colin Kuebler
9b0e36d3f5
Merge pull request #198 from probonopd/patch-1
...
Warn about manufacturer firmware updates
2019-05-25 01:30:13 -04:00
Colin Kuebler
a351f25f4c
Modified update warning language
...
Added citation to the press release
Removed suggestion to disconnect your internet
Added emphasis on what should be done to avoid unwanted updates
2019-05-23 19:55:34 -04:00
probonopd
61cefc025d
Update README.md
2019-05-17 19:36:55 +02:00
probonopd
adf74ca9c2
Warn about manufacturer firmware updates
2019-05-17 19:34:54 +02:00
Peter Lawler
c77299795a
Fix for #138
...
Python3 from 3.7 on manages pip installs a little differently. This change should handle this change.
*NOTE: I can't recall where I saw that this is the preferred 3.7 method. I can't cite. However things work better now for me. See #138 as well.
2019-05-15 19:51:21 +10:00
Colin Kuebler
7ef1a78087
Merge pull request #193 from DoktorHeisenberg/master
...
net-tools (ifconfig) missing on newer systems
2019-05-14 17:09:03 -04:00
DoktorHeisenberg
d50d08a785
Update install_prereq.sh
2019-05-10 18:58:37 +02:00
Colin Kuebler
e16327ac85
Merge pull request #168 from rdelcorro/updateReadme
...
Tested on Raspbian Stretch in Raspberry 3B+
2019-04-23 18:01:46 -04:00
Ramiro del Corro
1e24fa4728
Tested on Raspbian Stretch in Raspberry 3B+
2019-04-08 23:59:20 -07:00
Colin Kuebler
4a924908d0
Merge pull request #161 from kueblc/documentation
...
Small documentation update
2019-03-31 15:48:24 -04:00
Colin Kuebler
5c75dfe4ae
Added related works section to README, #1
2019-03-31 15:41:23 -04:00
Colin Kuebler
b287281ed5
Updated instruction in flashing script to match README
2019-03-31 15:40:29 -04:00
Colin Kuebler
99a317efd7
Merge pull request #153 from kueblc/master
...
Documentation improvements to reduce issue clutter
2019-03-23 20:06:39 -04:00
Colin Kuebler
24bdcba999
Added an issue template to help reduce repetitive issue clutter
2019-03-23 20:01:05 -04:00
Colin Kuebler
dff64e8ced
Updated instruction for flashing a custom URL
...
Updated list of dependencies
Reiterated that we do not provide support for post installation issues
2019-03-23 19:53:41 -04:00
Colin Kuebler
b2211befac
Merge pull request #23 from kueblc/smart-link-py
...
SmartConfig in Python
2019-03-23 11:38:08 -04:00
Colin Kuebler
2309e03e74
Merge branch 'master' into smart-link-py
2019-03-23 11:37:37 -04:00
Colin Kuebler
42cce77522
Merge pull request #147 from kueblc/new-intermediate-fw
...
Upgrade intermediate firmware to 1.1
2019-03-23 11:28:25 -04:00
Colin Kuebler
780e62d99f
Updated references to upgrade.bin
...
Simplify schema to lowest common denominator
2019-03-22 17:32:08 -04:00
Colin Kuebler
6329cb4840
Merge branch 'master' into smart-link-py
2019-03-22 17:18:21 -04:00
Colin Kuebler
25f65b5b69
Merge branch 'master' into new-intermediate-fw
2019-03-22 17:13:40 -04:00
Colin Kuebler
ce49a76f24
Removed old backup script and replaced with curl from new intermediate firmware backup endpoint
2019-03-22 17:09:26 -04:00
Colin Kuebler
a6e0f1dbf6
Upgraded intermediate firmware to 1.1
...
Tweak filenames and links to reduce clutter and confusion
2019-03-22 17:01:50 -04:00
Colin Kuebler
40c0c026a7
Default bind address to our fake AP
2019-03-22 16:54:01 -04:00
Colin Kuebler
8c336be801
Merge pull request #146 from bdr99/tasmota-update
...
Upgrade Sonoff-Tasmota to v6.5.0
2019-03-22 16:15:32 -04:00
Brandon Rothweiler
f58a735d62
Update documentation and script to mention new Tasmota version
2019-03-20 19:37:03 -04:00
Brandon Rothweiler
1e1ea5a906
Upgrade Sonoff-Tasmota to v6.5.0
2019-03-20 18:23:20 -04:00
Merlin Schumacher
6ed49a90e1
Merge pull request #120 from frankstolle/master
...
better installation check
2019-03-08 18:56:13 +01:00
Frank Stolle
0cd84e13ff
better installation check
2019-03-03 12:11:24 +01:00
Colin Kuebler
ee58635e36
Merge branch 'master' into smart-link-py
2019-01-29 16:19:42 -05:00
Merlin Schumacher
a1402c678a
Merge pull request #41 from kueblc/fix-40
...
Added haveged to the installed dependencies
2019-01-29 12:49:17 +01:00
Colin Kuebler
3b6c2044d1
Added haveged to the installed dependencies
2019-01-28 12:19:49 -05:00
Colin Kuebler
6f625371a8
Merge branch 'master' into smart-link-py
2019-01-28 12:04:45 -05:00
Merlin Schumacher
360ec4f0fe
Update start_flash.sh
2019-01-28 14:11:55 +01:00
Merlin Schumacher
e335bf3d85
Merge pull request #29 from behrisch/screen_log
...
fix screen command logging option
2019-01-28 13:48:33 +01:00
Merlin Schumacher
39aac0cf34
Merge pull request #30 from behrisch/optional_network_manager
...
make network manager optional
2019-01-28 13:46:25 +01:00