Commit Graph

145 Commits

Author SHA1 Message Date
Yunhorn b0ddf93ed8 --- revise presence normal vs presence staystill threshold 2024-07-25 13:57:14 +08:00
Yunhorn cbe349ddff ---- minor change for unconscious detection --- 2024-07-25 13:07:15 +08:00
Yunhorn 0c89633d34 ----fixed color unusual of first LED 2024-07-25 10:44:49 +08:00
Yunhorn 8ee3ed8596 --- revised zero pulse and one pulse 2024-07-23 16:38:16 +08:00
Yunhorn 03f5e2e12e --- restructure combined process ---- 2024-07-23 16:01:23 +08:00
Yunhorn fa2dd4a0b9 --- minor changes 2024-07-22 15:10:08 +08:00
Yunhorn 01dc003367 --- add over threshold event trigger sendtxdata 2024-07-22 13:28:38 +08:00
Yunhorn 8a6851c32d ---- minor change for open/close green/red 2024-07-22 11:53:02 +08:00
Yunhorn c68f3c1a4e ---minor changes, changed flag not used 2024-07-18 19:55:15 +08:00
Yunhorn 9edfa3c816 minor revise 2024-07-18 18:08:16 +08:00
Yunhorn 8d13b6cb6d --- STS-IOC-IN/OUT DEFINES --- 2024-07-18 15:47:55 +08:00
Yunhorn 2d5ff6fe3d ---- add AppLEDstate 2024-07-15 19:21:37 +08:00
Yunhorn 163837de24 --- revised fall detect speed and gravity --- 2024-07-15 18:50:16 +08:00
Yunhorn 9c3d692e47 ---minor update 2024-07-15 16:38:00 +08:00
Yunhorn 409f4ff2cb ---- add presence normal related defines 2024-07-15 16:22:37 +08:00
Yunhorn 2bf4134f7e --- good over stay state and duration display and upload 2024-07-15 15:19:33 +08:00
Yunhorn 7463d52e48 ---- key debouncing fixed ---2024-0715 2024-07-15 11:43:06 +08:00
Yunhorn 31d07717bb fall detection logic, motion zone 0/1 from ground detection 2024-06-18 17:08:25 +08:00
Yunhorn 8efcbc6ac7 ground up zone define and start dual mode, uni mode fast switch issue 2024-06-18 13:28:52 +08:00
Yunhorn 7927dd9bb1 add sensor install height detection and store ----good so far 2024-06-17 21:03:48 +08:00
Yunhorn f427cdf2ec fix two diff measure inconsistant distance issue 2024-06-17 17:24:22 +08:00
Yunhorn 636c6374d0 add more timer for sensor1 sensor2 start and stop duration 2024-06-17 14:28:23 +08:00
Yunhorn e7e57e5d8a revised decoder.js normal open or normal close 2024-06-17 13:13:53 +08:00
Yunhorn 172b589397 try PIR 2024-06-17 12:34:10 +08:00
Yunhorn 6cf3d20012 refined motionless, unconscious, overstay, fall detection cfg 2024-06-13 22:46:54 +08:00
Yunhorn b4a29c440d update decoder 2024-06-13 13:57:25 +08:00
Yunhorn 890d31711f for uni_mode only --change fall threshold 2024-06-13 12:35:39 +08:00
Yunhorn 697dae2349 refined date time report in YVH (report version) 2024-06-12 20:25:58 +08:00
Yunhorn c5d43191e9 minor improve 2024-06-11 19:43:55 +08:00
Yunhorn f8460f8b00 stable STS-O6 O7 2024-06-11 14:26:25 +08:00
Yunhorn 4dbde9dcfe revised with debug messages 2024-06-09 19:28:36 +08:00
Yunhorn 27df90ccbb ---- good STS-O6 O7 with LED1 for motion indication 2024-06-07 22:13:45 +08:00
Yunhorn ec8dbf5591 MINOR IMPROVE 2024-06-07 20:10:14 +08:00
Yunhorn 0405c35ade --- STS-O2 for HACTL 202406071331 2024-06-07 13:31:26 +08:00
Yunhorn c76171b461 minor improve for logic 2024-06-06 20:29:22 +08:00
Yunhorn 0b4c98ec16 change to event type = event type instead of previos timer mode 2024-06-06 16:40:25 +08:00
Yunhorn 055c355a5e refined clock sync process 2024-06-06 14:20:33 +08:00
Yunhorn e75d6a1a83 good at work mode switch and system reboot 2024-06-06 13:45:27 +08:00
Yunhorn 6ec95727b5 ---- good mile stone 2024-06-06 10-19 General OK 2024-06-06 10:19:22 +08:00
Yunhorn 965a8010a9 disabled TxPeriodicity change after join lorawan 2024-06-06 09:51:09 +08:00
Yunhorn ac700fe921 fix nvm p config size issu 2024-06-06 09:43:20 +08:00
Yunhorn f2cc56f8f8 minor changes 2024-06-05 20:54:52 +08:00
Yunhorn fa59c60faf refine localtime report, ignore time zone shift 2024-06-04 19:42:45 +08:00
Yunhorn c0b1bb73dc ==== good time sync to local time ===== 2024-0604-GGG 2024-06-04 18:21:25 +08:00
Yunhorn 0903422450 ---MileStone--- ClockSync and RemoteMulticast enabled 2024-06-04 12:09:02 +08:00
Yunhorn 1417c643a2 try local time report...incorrect yet 2024-06-04 11:35:41 +08:00
Yunhorn f0a1f3a510 ----- STS-O6/O7 General OK 2024-06-04 2024-06-04 10:41:45 +08:00
Yunhorn caee31d6c7 minor improve 2024-06-03 22:09:23 +08:00
Yunhorn 444198dc40 minor improve for unconcious 2024-06-03 18:26:20 +08:00
Yunhorn 221b3c264d minor improve for heart-beat and sampling/wakeuptimer scanning 2024-06-03 17:38:01 +08:00
Yunhorn a75c928b44 minor improve for future red-blue flash or red-dark flash 2024-06-03 16:26:40 +08:00
Yunhorn b7920b676f minor improve 2024-06-03 13:36:01 +08:00
Yunhorn fc04f50293 minor improve... good STS_O7_General_OK_2024_06_03b 2024-06-03 13:09:58 +08:00
Yunhorn e2dd2a8005 good at SOS flash red/blue, good at green/red occupy/vacant 2024-06-03 12:34:00 +08:00
Yunhorn d33f9b7904 refine lamp bar color change. not perfect yet. 2024-05-31 18:22:38 +08:00
Yunhorn 08fa70857e revised over stay state 2024-05-31 16:03:08 +08:00
Yunhorn a3a07035d7 ----- good STS-O7 with upload port 0 issue solved.... 2024-05-31 14:53:57 +08:00
Yunhorn 8fa8d59a9c remove unused code 2024-05-14 12:52:10 +08:00
Yunhorn b0840e73be minor changes 2024-05-13 22:53:34 +08:00
Yunhorn 7eb963563a optimized upload message content 2024-05-13 22:16:02 +08:00
Yunhorn b2c9e673df OPTIMIZED RED BLUE FLASH TIMING less MCU time used 2024-05-13 21:02:28 +08:00
Yunhorn 3cc1000622 good at door contact and SOS button COLOR CHANGES 2024-05-13 20:09:20 +08:00
Yunhorn 3d3534e747 remove unused code in lora_app.c, when LmHandler is busy or not 2024-05-13 09:43:28 +08:00
Yunhorn 7d56514685 add LmHandlerIsBusy debug info print 2024-05-12 19:47:48 +08:00
Yunhorn 9482e98bed sts_presence_fall_detection setting 2024-05-12 18:03:36 +08:00
Yunhorn a947485d64 reduce unused code for fall_detection initial set 2024-05-12 17:44:34 +08:00
Yunhorn 354c1332e5 not trigger send uplink when RSS changed 2024-05-12 15:14:14 +08:00
Yunhorn f455308422 almost fixed reed switch, SOS button logic 2024-05-12 12:53:43 +08:00
Yunhorn 80dbb967e1 sensor data ready =0, heart-beat-timer =0, after each send tx 2024-05-12 11:35:35 +08:00
Yunhorn 0d537d423f sensor data ready OVERWRITE heart-beat message 2024-05-12 11:15:59 +08:00
Yunhorn a10ec2dde2 try fix port 0 issue 2024-05-10 21:04:45 +08:00
Yunhorn 5032f6bf20 reduce debug info 2024-05-08 18:52:45 +08:00
Yunhorn d0ae66dbcd improve de-bounce interval to 150 ms 2024-05-08 18:03:18 +08:00
Yunhorn 320ca4da3c reduce unused code, and optimize rss process 2024-05-08 18:01:10 +08:00
Yunhorn dfba46119a remove unused code 2024-05-08 17:48:00 +08:00
Yunhorn a1e4171dbc revised RFAC process 2024-05-08 16:30:26 +08:00
Yunhorn 6af9e82016 combined sts_process 2024-05-08 15:00:50 +08:00
Yunhorn 5567c41615 enabled debug for hall_1 and Hall_2 2024-05-07 21:48:10 +08:00
Yunhorn 41a5d983ea bring up test failed, power supply test and clock test... park here 2024-05-07 19:19:41 +08:00
Yunhorn 4a220ec7cc for debug 2024-05-07 11:21:38 +08:00
Yunhorn fc6b9a37cb reformat output 2024-04-28 19:21:09 +08:00
Yunhorn aeee635eeb door open/close logic 2024-04-15 18:32:51 +08:00
Yunhorn b3b210bb53 revise door open close logic 2024-04-15 13:33:02 +08:00
Yunhorn 293547e1b3 revise output debug format 2024-04-15 12:44:03 +08:00
Yunhorn 2c7b8f1cca revised for hall1/hall2 read 2024-04-15 11:21:29 +08:00
Yunhorn 0c872c41e6 HALL1/HALL2 define 2024-04-14 18:06:12 +08:00
Yunhorn 838fda6b91 reformat debug message 2024-04-14 17:44:47 +08:00
Yunhorn ba5c46449c color code mapping 2024-04-14 17:04:18 +08:00
Yunhorn 166e88cc1a change o6_data to o7_data 2024-04-13 22:32:44 +08:00
Yunhorn 145dbd861b recovered back 2024-04-13 22:24:28 +08:00
Yunhorn 1b23ca28f0 minor 2024-04-13 22:21:04 +08:00
Yunhorn c8932353a6 fix heart-beat timer event issue 2024-04-09 15:30:52 +08:00
Yunhorn c71f80de81 minor changes 2024-04-09 13:12:17 +08:00
Yunhorn a0f8dfca97 port to 19, STS O7 instead of O6 2024-04-08 15:40:33 +08:00
Yunhorn 5abb6588a6 STS_O7 new start 2024 04 08 2024-04-08 14:23:48 +08:00