468 Commits

Author SHA1 Message Date
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
Ben
ef71810bba EMC2101 should read internal temp if BM1366 2023-09-06 17:22:08 -04:00
Skot
d4affd7ebb deal with the reversed fan speed polarity on the ultra 2023-09-06 15:38:05 -04:00
Ben
7f21f5cad9 support for INA260 DNP 2023-08-28 19:56:04 -04:00
Ben
5a9826d45d Merge branch 'master' of https://github.com/skot/ESP-Miner 2023-08-28 19:35:08 -04:00
Ben
6336383beb website format 2023-08-28 19:34:59 -04:00
DeveloperAlgo
34aac22a3a
Update power_management_task.c (#19)
update power management to correct the speed calculations
2023-08-27 23:26:29 -04:00
Ben
dd0e32e0e9 website loading indicator 2023-08-27 15:43:39 -04:00
Ben
47e6f7e41b website caching 2023-08-27 14:55:26 -04:00
Ben
6b6b1ac6e1 serve gzipped website files 2023-08-27 14:49:26 -04:00
Ben
3c552f1c7c Fix memory leak 2023-08-27 12:32:20 -04:00
Ben
bac6da555a realtime logs 2023-08-27 11:53:47 -04:00
Ben
0ceb4532a4 https://github.com/skot/ESP-Miner/issues/18 2023-08-26 14:24:27 -04:00
Ben
8222b913a3 fan speed failsafe for bm1366 2023-08-26 14:23:18 -04:00
Ben
79430f6d3a reformat entire c project 2023-08-26 12:28:17 -04:00
Benjamin Wilson
199c151c0f
Http-server (#17)
* rename miner to main

* serving out of storage

* axe os

* http server work

* basic stats showing

* update sdkconfig

* SDKCONFIG

* sdk config

* edit page init

* edit pool config

* pool config edit working

* OTA Success

* remove compiled output

* toggle AP mode with boot button

* favicon

* ota website update

* add sdkconfig.ci back

* update readme

* change website build to warning

* Update github workflow to build web dist

* Allow AP mode before STA connection complete

* spacing for johnny :)

* formatting

* Improve connecting to wifi with AP mode

* added working indicator for UI

* formatting

* formatting

* remove redundant sdkconfig in CMakeLists

* vs code format on save workspace settings

---------

Co-authored-by: johnny9 <985648+johnny9@users.noreply.github.com>
2023-08-26 12:21:41 -04:00
Skot Croshere
8880f1702f add fan speed back to ultra 2023-08-22 15:13:43 -04:00
Benjamin Wilson
9bc0671563
Ultra (#15)
Pull BM1366 work into main
2023-08-20 13:09:55 -04:00
Georges Palauqui
87d7e7c5d0
Fix build with IDF-5.1 2023-08-16 16:55:10 +02:00
Georges Palauqui
2012fbba8b Use our Public-Pool by default 2023-08-14 12:25:43 +02:00
Ben
e137116dc1 restart esp32 on socket unable to connect 2023-07-10 16:10:34 -04:00
Ben
0200b82b33 immediately dequeue work 2023-07-01 21:09:49 -04:00
Skot Croshere
9516fcc331 lowercase k means 1000 2023-07-01 14:24:02 -04:00
Skot Croshere
ff403395ee wifi connection retry displays on OLED 2023-07-01 14:24:00 -04:00
Skot Croshere
260ba51edb added some basic wifi connection retrys and debugging 2023-07-01 14:23:35 -04:00
Skot Croshere
9f22c21f17 added suffixes to best_difficulty display 2023-07-01 14:23:35 -04:00
Ben
9b2bbc754a removing soft start for now and gitignore 2023-07-01 14:23:35 -04:00
Ben
14c267e69d use nvs for mining result 2023-07-01 14:23:35 -04:00
Ben
700db06f5a even softer start & smarter low voltage recovery 2023-07-01 14:23:35 -04:00
Ben
914b926758 power soft start 2023-07-01 14:23:35 -04:00
Ben
e8f36e89fa frequency throttling during voltage drops 2023-07-01 14:23:35 -04:00
johnny9
6949b73bb9 nvs_config: introduce configuration through NVS
Stratum and Wifi configuration can now be read from NVS on the
flash. An example config.cvs file is included and can be used
to generate the partition and then be flashed to the esp32 using
the esp-idf parttool.py.
2023-07-01 14:23:35 -04:00
Ben
1540703850 increased throttle temp 2023-07-01 14:23:35 -04:00
Ben
55b9960da7 temperature protection init 2023-07-01 14:23:35 -04:00