Commit Graph

1169 Commits

Author SHA1 Message Date
btsimonh
2e3f911ff3 pins - make everything MS based, ready for interrupt driven
(cherry picked from commit e0e392aad653c19b29f6b31cb6c06920617774bd)
2022-11-21 18:01:38 +00:00
openshwprojects
5f91df39b0 basic sdl demo 2022-11-21 17:45:07 +01:00
openshwprojects
4626aae960 add change handlers tester, also a commented out sendGet test (it's slow and problematic), few more tests 2022-11-21 15:12:10 +01:00
openshwprojects
6ab8890715 SendGet will now work on Windows. add some more selft tests, but mostly stubs. Add placeholderse for RTOS functions and misc time utils on Windows. Threads are needed for SendGet 2022-11-21 10:46:16 +01:00
openshwprojects
fc4543ec99 disable log threads on windows (they are not needed), app works well without them 2022-11-21 10:42:21 +01:00
openshwprojects
d547187a9c string space fix 2022-11-21 10:40:06 +01:00
openshwprojects
8819313a0b add button events self test that simulates values on digital input and checks for button events: OnPress, OnRelease, OnClick, OnDblClick 2022-11-21 07:25:21 +01:00
openshwprojects
ad7c3081c5 win32 pin values interface for simulation 2022-11-21 07:24:24 +01:00
openshwprojects
e44a186a3d add missing button "OnPress" event (we already had "OnRelease" and "OnHoldStart", but HoldStart is different, it's called later 2022-11-21 06:39:49 +01:00
openshwprojects
fc58ef5345 add a working example of a script "thread" (not a real thread) self-test 2022-11-20 20:52:10 +01:00
openshwprojects
b334024e70 added self-test ability to simulate POST packet and used it to do basic LFS tests 2022-11-20 15:11:54 +01:00
openshwprojects
537dc2c9dc HTTP client should now be able to expand constant strings within URL 2022-11-20 12:47:07 +01:00
openshwprojects
0c789f9404 add set-socket-non-blocking call stub for windows 2022-11-20 12:46:43 +01:00
openshwprojects
cc17041b29 add a "turn off after delay" script example 2022-11-20 12:46:18 +01:00
openshwprojects
e7e41aa24f add option to expand constant within a string, add much more unit tests required to test constant expansion 2022-11-20 12:18:04 +01:00
openshwprojects
8f800f0a90 fix warnings - p1 2022-11-19 10:46:46 +01:00
openshwprojects
4c084c83f6 add DGR ability to send fixed color index - DGR_ITEM_LIGHT_FIXED_COLOR 2022-11-19 10:35:38 +01:00
openshwprojects
827b2c7ed7 add two new channel types - only cosmetic for display - "OpenClosed" and "OpenClosed_Inv" - for door sensors, garage door sensors, etc 2022-11-19 10:20:54 +01:00
openshwprojects
25ffbe7725 enable DGR driver on Windows (just changed # define...) 2022-11-19 09:12:27 +01:00
openshwprojects
acd73a9fbf move usleep to common header as it is used now by multiple drivers (after SM2135 fix), it should fix BL602 build 2022-11-19 08:31:20 +01:00
openshwprojects
d83b2f5695 use correct sleep for SM2135 (wrong sleep method was crashing in quick tick due to LED color lerp) 2022-11-18 18:00:38 +01:00
openshwprojects
22dac4bf58 improve device groups stability by queuing packets to send when they are added from mqtt/tcp callbacks and sending them only in quick tick 2022-11-18 14:22:45 +01:00
openshwprojects
2ca8a0189d OBK_DISABLE_ALL_DRIVERS fix 2022-11-18 13:44:00 +01:00
openshwprojects
c8aadb6185 flag for tuyamcu channel publish for battery powered devices (enable in flags, disabled by default), also made senor forced publish less frequent 2022-11-18 11:07:51 +01:00
openshwprojects
bfbd27618b fix MQTT_DoItemPublish bug (thanks for pointing that!) 2022-11-18 09:41:22 +01:00
openshwprojects
9ea8c0d6fd slightly improve Tasmota JSON support by CT (color temperature) value sending to generated JSON 2022-11-17 19:25:15 +01:00
openshwprojects
c2fc002e0b add unit tests for alias commands and more for Tasmota JSON support 2022-11-17 19:24:33 +01:00
openshwprojects
4930004958 bl0937 restart when pin changes 2022-11-17 18:46:41 +01:00
openshwprojects
6ee7009331 dgr stub update 2022-11-17 15:51:20 +01:00
openshwprojects
ffc266531e JSON and Tasmota HTTP unit testing... 2022-11-17 09:42:19 +01:00
openshwprojects
999cfa48fb more self tests 2022-11-16 18:41:32 +01:00
openshwprojects
7d957962d3 tokenizer quick fix and memset; http fix for selftest 2022-11-16 18:13:41 +01:00
openshwprojects
c7aa0216fb MAX_HEADERS use macro instead of number 2022-11-16 18:06:34 +01:00
openshwprojects
285e161737 tokenizer logical error fix for string quotation 2022-11-16 15:48:30 +01:00
openshwprojects
a9f35be6c4 add more self tests - unfinished, failing ones commented out 2022-11-16 14:06:13 +01:00
openshwprojects
41794c8ccc SELF TEST/UNIT TEST system - initial version - windows only 2022-11-15 15:41:14 +01:00
openshwprojects
bd46e4e8a3 tokenizer should also use expressions on windows 2022-11-15 15:40:26 +01:00
openshwprojects
051f998585 add command to claer whole device 2022-11-15 14:52:32 +01:00
openshwprojects
3143f58a88 add channel type EnergyTotal_kWh_div100 2022-11-14 15:36:53 +01:00
openshwprojects
05ef16ca46 TuyaMCU update for Hiking DDS238-2 Smart Meter 2022-11-14 05:17:34 +01:00
openshwprojects
26074bc152 Merge pull request #464 from btsimonh/bugfixSSDP
bugfix SSDP.  Use snprintf because sprintf is lmited to 100 chars.
2022-11-13 20:49:52 +01:00
openshwprojects
b1fdabf320 support "This" file 2022-11-13 20:34:41 +01:00
btsimonh
24a75e0060 bugfix SSDP. Use snprintf because sprintf is lmited to 100 chars. 2022-11-13 19:12:55 +00:00
openshwprojects
88718da178 alias fx 2022-11-13 18:49:03 +01:00
openshwprojects
3d23c69e5c Hiking DDS238-2 Smart Meter tuyamcu part 2 2022-11-13 16:37:52 +01:00
openshwprojects
de86dae496 add more tuyamcu channel types - part 1 2022-11-13 16:10:42 +01:00
openshwprojects
984575f19f add TuyaMCU simulator to Windows 2022-11-13 06:48:16 +01:00
openshwprojects
95ae5caf08 DGR stability fix p1 2022-11-13 00:30:55 +01:00
openshwprojects
b4088ae32f update comments (for consistency) 2022-11-12 19:38:48 +01:00
openshwprojects
c42b95da75 fix naming 2022-11-12 19:34:17 +01:00