501 Commits

Author SHA1 Message Date
Ben
1879a84e1c IP validation 2023-11-25 23:17:27 -05:00
Ben
c685383114 Merge branch 'master' of https://github.com/skot/ESP-Miner 2023-11-25 23:08:37 -05:00
Ben
185ecf497f edge case of joining two swarms 2023-11-25 23:06:51 -05:00
johnny9
f018fc395a http_server: handle missing key/values in system settings updates 2023-11-25 22:30:10 -05:00
Ben
6cd5e2c950 sync swarm 2023-11-25 20:10:15 -05:00
Ben
91a224245b fix CORS 2023-11-25 18:53:00 -05:00
Ben
1fae8781d4 swarm refreshing 2023-11-25 15:58:16 -05:00
Ben
c1d92c7f13 swarm table and css 2023-11-25 11:43:59 -05:00
Ben
dd3a1dec87 swarm init 2023-11-25 00:19:15 -05:00
ozbibi
7abda9914c
Fix formula for automatic fan control and adjust minimum fan speed (#59)
* Fix formula for the automatic fan control
2023-11-24 23:38:50 -05:00
Ben
308991f80c Fix invertfanpolarity NVS key too long 2023-11-20 20:38:15 -05:00
Ben
24e6e507a9 added quick link to public-pool if used 2023-11-15 00:04:02 -05:00
Ben
a5bcec5cd4 added more validation for AxeOS settings 2023-11-14 23:51:09 -05:00
Ben
dea4a7587b remove log and fix unplugged fan speed 2023-11-14 23:02:42 -05:00
Ben
2985db4dd0 added some danger messages for out of bound values on the home screen 2023-11-14 22:06:13 -05:00
Ben
fc0e49e5d5 automatic fan speed control 2023-11-14 21:59:09 -05:00
johnny9
e5009e14ab Revert "Fixing mining.configure order"
This reverts commit edcf000cbf1d91108146342df66739ac5f243e78.
2023-11-14 20:40:09 -05:00
checksum0
edcf000cbf Fixing mining.configure order
Fixed mining.configure order as it should be sent first, per BIP0310
2023-11-13 23:36:41 -05:00
Ben
5975056378 AxeOS text color 2023-10-31 20:23:36 -04:00
Ben
02b98b2112 add fan warning and convert bool to int 2023-10-31 20:00:58 -04:00
Ben
5316149b26 Merge branch 'master' of https://github.com/skot/ESP-Miner 2023-10-31 19:40:54 -04:00
Ben
c911b8e0ec PWM fan control 2023-10-31 19:40:22 -04:00
tommy
a4da6e22e7 Save "Best Difficulty" scores into NVS #20 2023-10-19 19:20:08 -04:00
Ben
6d9305472f bump version and use const 2023-10-18 07:54:11 -04:00
Ben
7895289f6e Add temperature protection for the BM1366 2023-10-17 22:37:12 -04:00
Ben
43c0a2abd9 fix css 2023-10-01 22:06:17 -04:00
Ben
0fdb6e7a0d Add option in axeos to flip screen 2023-10-01 21:40:36 -04:00
Ben
10caab213c pre selected frequency and voltage 2023-10-01 10:22:07 -04:00
johnny9
75c70a3fe8 main: Fix web_ui_dist build/config commands for Windows
Windows isn't compatible with the env PATH cmake wrapper. Removed
the cmake wrapper as it isn't necessary when using cmake's
find module to get the npm path anyway.
2023-09-30 10:07:47 -04:00
johnny9
6b8a9fad29 main: Display an error when ASIC model is invalid
Instead of aborting right away, the Bitaxe will now display
an error on the oled and keep its AP mode available so a user
can still update their device if they need to.
2023-09-26 23:52:22 -04:00
johnny9
f7d06a7f08 main: Build the web ui dist as an ExternalProject
This integrates the generation of the web distribution into
the cmake build system. The ExternalProject will call npm i and
npm run build.

Resolves #34
2023-09-23 21:02:14 -04:00
johnny9
9e28576d42 main: Show AP information after wifi fails to connect during startup 2023-09-23 17:35:58 -04:00
johnny9
e50da6db5c main: Delay aborting when asicmodel is not correct 2023-09-23 14:27:11 -04:00
johnny9
85a97f1e7d main: Remove ASIC_MODEL from menuconfig 2023-09-23 14:27:11 -04:00
johnny9
706ee510ba main: Determine ASIC model from NVS
This adds more hardware information to the example config.cvs.
If the model can't be determined at startup, the device will abort.
2023-09-23 14:27:11 -04:00
johnny9
03cbd92670 http_server: Add runningParition to system info
This information will be used to validate a succesful OTA update
either manually or with automated testing.
2023-09-18 22:16:41 -04:00
johnny9
768b5124b3 main: only log when writing to nvs fails 2023-09-18 21:58:52 -04:00
johnny9
833d58c8eb axe-os: don't collect analytics 2023-09-18 21:58:26 -04:00
johnny9
1e08543d8a http_server: add version to web page 2023-09-18 21:58:00 -04:00
johnny9
e228a77886 main: add version string to oled 2023-09-18 21:57:21 -04:00
johnny9
446c76f994 main: Fix include order in system.c 2023-09-18 21:05:45 -04:00
johnny9
181f9f3e66 main: Include what you use in system.h 2023-09-18 21:03:06 -04:00
Ben
bb8690ed1a Captive portal when connecting via AP mode 2023-09-17 21:00:46 -04:00
Ben
66c4b2bb57 allocate websocket logs to heap 2023-09-17 14:26:29 -04:00
Ben
9a319fffb8 fix int frequency overflow 2023-09-17 13:21:10 -04:00
Ben
a4c473188b Add IP address to display and allow editing of voltage, frequency from AxeOS 2023-09-17 00:01:54 -04:00
johnny9
0d72fde5ff main: Fail the build if web dist is not present 2023-09-10 00:27:45 -04:00
johnny9
3cff622c23 bm13xx: Set ASIC_FREQUENCY range to 50-800 2023-09-10 00:18:38 -04:00
Ben
712c670fc7 web ui uptime fix 2023-09-07 20:38:00 -04:00
Ben
1cbc08c369 date-ago pipe for web ui 2023-09-06 22:43:06 -04:00