Commit Graph

2820 Commits

Author SHA1 Message Date
Tester23
c3ebfee8c6 tests - larger mqtt history size 2024-11-29 09:26:53 +01:00
Tester23
c2d3691b63 mqtt history dump and temp self test fix? 2024-11-29 09:01:20 +01:00
Tester23
e5c407eb1b print mcu conf pins 2024-11-28 23:17:43 +01:00
Tester23
a6dcddb6a5 energy meter self test cover more cases 2024-11-28 23:12:34 +01:00
Tester23
6c90468a38 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2024-11-27 12:46:37 +01:00
Tester23
3b23d873d7 a bit better MQTT hass self testing 2024-11-27 12:46:22 +01:00
XJ
5201043ab8 Ssid2 retain mod - last used SSID will be preserved /Beken Only/ (#1440)
* SSID2 add retain SSID on reboot using setLastSSIDChannel command in early.bat

* func name

* save repair

* Cmd StartupSSID

* save repair 2

* cmd text

* .

* .

* Cmd disable on platforms without SSID2
2024-11-27 09:21:04 +01:00
XJ
e99ff0c151 UART RingBuffer overflow and reported size fix (#1436) 2024-11-27 01:05:16 +01:00
Tester23
a2f3b02068 UART self test 2024-11-27 01:04:31 +01:00
Tester23
8f8f2574d4 startScript selftest fix 2024-11-27 00:40:21 +01:00
Tester23
9cd823cbda startScript self test 2024-11-27 00:37:45 +01:00
Tester23
ec7ae26fc1 correct functiopn name frm prev commit 2024-11-25 22:05:11 +01:00
Tester23
8c0bafc062 TuyaMCU: add missing heartbeats event so we can reset cpu or take action when something is wrong, sample script: addChangeHandler MissedHeartbeats > 4 setChannel 0 1 2024-11-25 22:03:59 +01:00
openshwprojects
d450bf7a62 larger tuya buffer 2024-11-24 21:11:46 +01:00
XJ
926db0041d HASS MQTT patch typo (#1433) 2024-11-21 16:16:51 +01:00
Tester23
9d92cc80c5 selftest fix 2024-11-20 12:02:39 +01:00
Tester23
3864fe0f31 self test for 0x1C 2024-11-20 11:34:59 +01:00
Tester23
6de39aaf2f Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2024-11-13 10:22:33 +01:00
Tester23
ac33643d93 fix and selftest for #1415 2024-11-13 10:22:10 +01:00
rwhlhptr
96a248078c Fix bug preventing divider of 2 to work properly for home assistant auto discovery (#1424)
* Update README.md

Add intention for fork

* Update README.md

Improve Readme

* Update hass.c

Fix issue of not using divider other than 1 for home assistant auto discovery val_tpl

* Update README.md

update Fork intention

* Update README.md

Revert Readme to original state
2024-11-12 21:57:15 +01:00
MaxineMuster
a8c76f2936 Add internal chip temperature for W600 (untested) and W800 (#1393)
* Add internal chip temperature for W600 (untested) and W800

* Add comment to force rebuild
2024-11-08 20:57:12 +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
divadiow
df400e3d73 config menu button label capitalisation consistency (#1410)
* config menu button label capitalisation consistency

* WebApp?
2024-11-03 20:54:36 +01:00
divadiow
cc73ba88ac wifi&web page grammar/consistency (#1411)
* wifi&web page grammar/consistency

* colon spacing

* button capitals

* T
2024-11-02 21:38:51 +01:00
Tester
7cf4d0bef4 NULL txt_freq fix 2024-11-01 14:25:38 +01:00
Tester
62d405cb1e tool to copy autoexec.bat to clipboard from SDL GUI 2024-11-01 13:00:47 +01:00
Tester
5381ad1852 shorter power text to fit element size 2024-11-01 12:53:48 +01:00
Tester
3189bcedc8 link power check 2024-11-01 12:26:23 +01:00
Tester
c0a2566f4a stub custom HASS publish, self test, part 1 of sim power 2024-11-01 11:48:35 +01:00
xjikka
87a2da9e81 A few fixes for HASS MQTT for Energy (#1398)
* HASS MQTT json update

* HASS MQTT json update

* HASS MQTT json update

* HASS MQTT json update strlen
2024-10-31 12:18:49 +01:00
MaxineMuster
539a427789 Clearify "internal Temperature" as SoC temperature (#1395)
* Clearify "internal Temperature" as SoC temperature

* Change to "Chip temperature"
2024-10-28 07:27:40 +01:00
openshwprojects
4d4e9a445e small mqtt behaviour change to always publish full state on connect if enabled, not just once 2024-10-25 07:58:45 +02:00
Tester23
57938f6a52 add Result stub (fix) 2024-10-21 09:54:05 +02:00
Tester23
51ca85a7d8 Revert "add Result stub per request"
This reverts commit a69b263aa2.
2024-10-21 09:53:39 +02:00
Tester23
a69b263aa2 add Result stub per request 2024-10-21 09:30:45 +02:00
Tester23
5eaf5c7926 fx 2024-10-20 16:33:08 +02:00
Tester23
46f6dad0ff Revert "add stubs for commands handled elsewhere so they dont error"
This reverts commit c3a518998b.
2024-10-20 16:29:59 +02:00
Tester23
c3a518998b add stubs for commands handled elsewhere so they dont error 2024-10-20 10:31:15 +02:00
xjikka
b2b4d2b338 Ssid2modv2 (#1274)
* SSID2 autoswitch BEKEN only

* SSID2 autoswitch BEKEN only v2

---------

Co-authored-by: Tester23 <openshwprojects@gmail.com>
2024-10-20 10:05:39 +02:00
divadiow
c531ae4b7f Update README.md - clarify BL602 OTA exploit use - make mention of Magic Home/Zengge devices (#1339)
* Update README.md

* .
2024-10-20 10:03:21 +02:00
MaxineMuster
9336ad3f73 Changed chart redrawing to "update()" (#1389)
* Changed chart redrawing to "update()" to avoid refocussing on chart on destroy and new ...
Changed obk_config.h to build with chart driver (otherwise you couldn't test the builds)

* Try to avoid possibility to set data outside defined boundaries

* Fix CMD_Chart_Add (loops from 1 not from 0)

* Debug

* More debug

* Debug

* Nicer output

* fix typo

* Fix output in case of error

* Fixed missing newline in DEBUG message

* Update obk_config.h

* Update obk_config.h

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
2024-10-19 08:11:31 +02:00
Lenart Kos
ad816b77ee Improve DS1820 driver (#1382)
* feat: Improve DS1820 driver

New features:
* Handle all types of DS1820 tempature sensors by detecting the family of the sensor and calculating the temperature accordingly
* Clean up some log prints
* Set the channel value with current temperature
* Set the period of the conversion interval with an optional first parameter
* Start the conversion instantly and not wait for multiple of the conversion period

* rework: Change DS1820 logging to be more consistent

- Output logging to `LOG_FEATURE_SENSOR` and not `CFG` as it would be expected
- Created a macro `DS1820_LOG` to simplify logging statements.
- Use the macro in various places throughout the driver

* refactor: Remove unused crc code and improve DS1820 logging

Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com>

---------

Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com>
2024-10-17 06:06:39 +02:00
Tester23
462325fa9b tuyamcu test and note 2024-10-11 23:16:19 +02:00
Tester23
8b4fd1e758 httpbuttons null risk fix 2024-10-10 13:29:42 +02:00
Tester23
0090d93537 remove httpButton command len limitation 2024-10-10 10:15:50 +02:00
Tester23
f5d8d602c4 long mcu send self test 2024-10-09 22:29:47 +02:00
Tester23
d4dbcb10d5 add missing flag OBK_FLAG_LED_AUTOENABLE_ON_ANY_ACTION for PixelAnim 2024-10-09 21:45:39 +02:00
Tester23
ac12cf65d1 add missing tuyaMcu_sendCmd desc 2024-10-08 08:47:33 +02:00
Tester23
e0f5038605 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2024-10-05 19:04:14 +02:00
Tester23
bea97d6627 tuyamcu self tests 2024-10-05 19:03:57 +02:00