Commit Graph

210 Commits

Author SHA1 Message Date
NonPIayerCharacter
d4d6c69be3 BK7238 (#1527)
* beken new sdk + bk7238

* fix bk7238
2025-02-14 22:22:59 +01:00
openshwprojects
77efc7ebca make startup command multiline
* step 1

* step2

* Update cmd_script.c

* Update cmd_script.c

* Update obk_config.h

* Update cmd_script.c

* Update cmd_script.c

* fx

* Update obk_config.h

* Update OpenW800

* Update OpenW800

* Update obk_config.h

* f

* fix waitfor

* Update obk_config.h

* Update Makefile

* json escap9ijgng

* crash checks and size check

* w600 bmp

* fx

* Update Makefile

* test

* fx

* Tokenizer_GetPin

* fix

* fix

* ln882h pins

* Update new_http.c

* Update new_http.c

* Update new_http.c

* aht

* aht

* Update obk_config.h

* drv_sht3x

* aht pins

* f

* fx

* aht

* sunset fx

* ln owm

* Update CMakeLists.txt
2025-01-23 23:10:35 +01:00
openshwprojects
eb5b1ca2d0 Allow to disable more drivers and features in order to reduce binary size (#1500)
* Update obk_config.h

* Update obk_config.h

* shared

* fx

* he

* fix

* fx

* ffff

* F

* T

* tre

* fcx

* leeed

* ww

* w

* fx

* t

* ENABLE_OLD_YAML_GENERATOR

* w

* startyuip[

* dis all

* remove test post

* ENABLE_HTTP_SEND

* extra guard

* ENABLE_TCP_COMMANDLINE

* better OBK_DISABLE_ALL_DRIVERS

* tr

* ENABLE_PING_WATCHDOG

* ENABLE_HA_DISCOVERY

* TEST WITH EMPTY USER_MAIN

* fx

* no mqtt

* nm

* tr

* ENABLE_MQTT

* Update cmd_newLEDDriver.c

* tr

* header

* fx

* Update user_main.c

* t

* Update hal_main_bk7231.c

* w

* ENABLE_DRIVER_IR

* RESTORE

* fx

* #warning "Platform not defined"

* fx 1

* Update obk_config.h

* ENABLE_DRIVER_TESTPOWER

* DS1820

* fx

* fx

* enable DHT on W800

* Update Makefile

* ntp w800

* ntp

* ssdp

* OWM AND CHARTS

* why utils net has flash pub included

* nmakefile only, no refs

* makefile only

* drv

* Update Makefile

* drcs

* ENABLE_DRIVER_BMP280

* Update Makefile

* d

* ENABLE_I2C

* Update Makefile

* fin
2025-01-10 19:50:17 +01:00
Kostiantyn Levytskyi
0efec12de6 feat(httpserver): improved mimetype handling for frontend files (#1481) 2025-01-04 10:41:36 +01:00
MaxineMuster
3331f721b0 Try no state request on pages with no "state" div (#1464)
* Try no state request on pages with no "state" div

* move test for psence of "state" div
2024-12-29 11:00:46 +01:00
NonPIayerCharacter
c50515603a ESP32 support (#1344)
* esp-idf

* fix, add s2, s3

* fix + ci

* fix naming

* ota

* adc

* reboot reason

* wdt + uart

* dht + ds1820

* fix esp32

* pwm

* uart hack

* fix build

* charts

* increase stack size

* tests

* fix timer

* optimize

* further c2 optimization

* gpio test, wifi reconnect fix

* gpio test

* Revert ledc freq

* cht83xx, increase inttemp stack size

* fix

* S3 fix, enable sht3x, pwm freq selection

* gpio & i2c fix attempt

* s2 fix

* Update defines for DHT

* Update sdk

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2024-11-06 14:47:22 +01:00
Tester23
5583cac32f allow setting index refresh interval 2024-09-11 14:36:53 +02:00
divadiow
97759b37ed Update cmd_main.c (#1320)
* Update cmd_main.c

* Update new_http.c

* Update new_http.c
2024-08-19 17:09:48 +02:00
divadiow
2be17f3859 Change "Build" to "Built" in the build date text (#1299)
Reason for the Change:
The current text "Build on xxxxx" is grammatically incorrect in this context. The word "build" is a verb in its base form, which is used to describe the action of constructing or creating something. However, in the context of displaying the date and time when the program was constructed, the past participle "built" should be used. This is because we are referring to an action that has been completed in the past.
2024-07-30 17:52:14 +02:00
NonPIayerCharacter
8a7a68cb09 Rebase and squash, add ALERT to CHT831X (#1259) 2024-07-28 13:24:24 +02:00
Tester
c95eea4373 cleared up MaxineMuster DS1820 driver 2024-07-16 18:30:32 +02:00
giedriuslt
9e32046068 Fix unknown method handling, lock on logging (#1224) 2024-05-11 09:09:23 +02:00
masj-mobica
d02008b7ca MAIN page item added to HTML footer. (#1115) 2024-03-08 00:12:26 +01:00
Lubomir Kaplan
95c30dd800 Add HTTP basic authentication (#996)
* add http basic auth

* add feature check for basic auth process

* fix http basic auth build for unsupported platforms (W800, W600)

* fix includes in http_basic_auth

* fix basic auth invocations when unavailable

* add http basic auth allow checks to http_fns

* remove unnecessary checks

* add my_strnicmp export

* silence warning

* update web password config ui

* update submodules

* add base64 lib to boufallo.mk for BL602

* add safe mode http basic auth bypass flag

* fix bl602 build with http auth bypass flag

* disable shared led driver

---------

Co-authored-by: Tester23 <openshwprojects@gmail.com>
2023-12-13 15:19:11 +01:00
Tim Connors
e130cfddbe Respond to POSTs as well as GETs in /cm handler (#900)
* add method to parse args from body instead of just url

* Allow /cm to POST and PUT as well as GET

* forgot to ensure didn't misparse non GET/PUT/POST in /cm requests

---------

Co-authored-by: Tim Connors <tconnors@rather.puzzling.org>
2023-08-16 08:15:48 +02:00
Tester23
043f341683 IOR_KP18058_CLK IOR_KP18058_DAT 2023-07-25 08:16:03 +02:00
Tester23
52524bc6c5 hue - p2, unfinished 2023-06-26 13:21:31 +02:00
openshwprojects
808f65c8ad add smoke percent channel type and add bat_relay_n 2023-05-20 20:26:36 +02:00
openshwprojects
696dc6fa5a support "None" pin 2023-05-05 12:16:53 +02:00
openshwprojects
133ad88ff1 footer update, remove old flash tool 2023-04-27 14:16:17 +02:00
openshwprojects
2fdb3b56f8 remove old uart tool 2023-04-27 13:52:47 +02:00
openshwprojects
6e22209ee4 NTP_SendRequest: Unable to send message - retry quickly after reboot 2023-04-25 11:34:04 +02:00
openshwprojects
48acf3c825 tm1638 driver 2023-04-24 16:11:49 +02:00
openshwprojects
567c5756b4 ability to set GN6932_STB pins 2023-04-24 13:09:33 +02:00
openshwprojects
c96b696089 ip test1 2023-04-18 00:08:10 +02:00
openshwprojects
f5e245a75f adc button (multiple buttons on adc) driver 2023-04-14 21:57:32 +02:00
Dheenhasty
28556c06c7 Adding SGP Air Sensor I2C Driver (#769)
* Adding new driver for SGP30

* correct tasmota detection for SGP

* Correct mqtt publish

* Adding dependency in drv_tuyaMCU for bl0602
2023-04-14 08:37:12 +02:00
openshwprojects
99438ea05f for a test - door sensor pin with pull down? 2023-04-11 21:03:03 +02:00
openshwprojects
e5416d83a9 add requested BL0937_SEL_n - inverted SEL 2023-04-02 11:18:44 +02:00
openshwprojects
141af2f514 remove old quickconfig 2023-03-26 15:40:55 +02:00
openshwprojects
9346b55f4d TM1637 display driver p2 2023-03-03 16:16:11 +01:00
Dheenhasty
55022a1a54 Changing behaviour of battery driver (#697)
To provide Zero configuration for End User :
  - 2 new pins BAT_ADC and BAT_Relay
  - Autostart of driver if pins associated
  - change vdivider default value to 2.29 Seems like default for 2AA battery sensor
2023-02-26 16:42:40 +01:00
openshwprojects
df7d1878f6 shorter role name - it was breaking app CSS! 2023-02-24 18:45:33 +01:00
openshwprojects
4265f67303 deep sleep door sensor driver? 2023-02-24 15:09:15 +01:00
openshwprojects
d6db57c577 smart ledd button 2023-02-22 15:18:01 +01:00
valeklubomir
263a3df18a Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT (#662)
* Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT

* W600/W800 logging bug fix

* EnergyMetering
- negative values correction.
- Enenrgy metering must continue with high precission values can not be skipped.
  In case of negative values zero value must be used for calculation
  Energy is calculated as power/time. Timing calculation is measured between sampels.
  If skipping samples, timing calculation it then incorrect as well as energy calculation

* Logical filterring and correction for peaks in measuremed values.

---------

Co-authored-by: valeklubomir <valeklubomir@gmail.com>
2023-02-13 13:07:34 +01:00
openshwprojects
6ac2d75868 http page add cmds link 2023-01-30 22:54:42 +01:00
openshwprojects
c28f3fd4bf unfinished wemo 2023-01-23 16:35:24 +01:00
openshwprojects
9a2735cccf confusing pin naming ERROR fixed (one name was missing...) SM2235 2023-01-20 12:55:19 +01:00
openshwprojects
bd84eb4878 SM2235 driver - not tested, but based on the datasheet and SM2135 code 2023-01-15 23:09:31 +01:00
Dheenhasty
d42c1652d6 Adding SHT3X Driver (#607)
Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2023-01-15 20:06:06 +01:00
Indu Prakash
5428f29393 Consolidate styles (#608)
* Moved repeated styles to css

* Updated startup section

* Fixed pin configuration message

* Fixed indentation
2023-01-15 15:55:34 +01:00
openshwprojects
ec1a054508 CHT8305 driver - please test 2023-01-10 02:12:27 +01:00
lulol
ab653c595d Same shortcut icon 3 times smaller (#591)
Replaces the web server shortcut icon with the same one 3 times smaller (264 bytes) in gif format instead of png (748 bytes).
2023-01-07 15:21:12 +01:00
openshwprojects
b2ac33f890 fix that strange bug where reefreshing on config page was moving back to index... very annoying, it should be fixed sooner. Also fix statusOK test for Windows 2022-12-29 14:11:25 +01:00
openshwprojects
f1fb1fde60 DHT sensors interface 2022-12-26 18:34:14 +01:00
openshwprojects
b2876bfd62 removed old stub 2022-12-17 21:39:03 +01:00
openshwprojects
87f2ec0b13 unit test for long command and accept long commands 2022-12-17 18:07:35 +01:00
openshwprojects
35cd7440b5 add special button kind - ScriptOnly, it's a button that has no hardcoded functionality, it just sends events 2022-12-11 19:48:02 +01:00
openshwprojects
3d44a996a7 more automatic tests for MQTT topics; add potentiometer mechanism to simulator; allow simulator to set ADC values on Windows; fix adc strange variable types on BK7231; fix cleaning pin roles between simulator scenes; add windows-only debug macro $channelstates 2022-12-08 08:35:40 +01:00