Commit Graph

170 Commits

Author SHA1 Message Date
Yunhorn 6dd59ad942 --- revised for time stamp 2024-07-26 19:08:54 +08:00
Yunhorn 3f91746f2a --- add O2 for data port 10 STS_RSS_MODE=3 2024-07-26 13:52:09 +08:00
Yunhorn 75c207ed73 --- add SOS/Fall timestamp ---- 2024-07-26 12:18:05 +08:00
Yunhorn 47ca6726e7 --- update date/time stamp for fall down event 2024-07-25 20:35:28 +08:00
Yunhorn 89a809911d ---minor improve for stable LED color 2024-07-25 18:29:36 +08:00
Yunhorn 079734e74c --- good RED-DARK for overstay , RED-BLUE for SOS 2024-07-25 17:03:08 +08:00
Yunhorn 5145565632 ---- add overstay = 0 right after door open, SOS release 2024-07-25 15:06:32 +08:00
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 6b2cb5b069 ---- RTM 2025 07 25 11 05 AM 2024-07-25 11:07:04 +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 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 3f9bdbe981 ---Change stay still to no movement 2024-07-15 16:25:47 +08:00
Yunhorn 409f4ff2cb ---- add presence normal related defines 2024-07-15 16:22:37 +08:00
Yunhorn 3feaffc5c2 --- ADD NO_MOVEMENT, UNCONCIOUS, STAYSTILL 2024-07-15 15:38:29 +08:00
Yunhorn 2bf4134f7e --- good over stay state and duration display and upload 2024-07-15 15:19:33 +08:00
Yunhorn 027758bfca ---minor changes --- 2024-07-14 18:27:06 +08:00
Yunhorn d9e25e1952 refine OnState3A/3B/3C changes 2024-06-18 19:34:37 +08:00
Yunhorn 5a4f40f7f4 stable STS-O6 2024-06-18 19:24:00 +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 ef5a56ba97 park here ----- decorder to be update with color code 2024-06-13 23:21:08 +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 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 7868e6d0bf ---NO DEBUG MESSAGE -HACTL RTM 20240607 2247 2024-06-07 22:46:45 +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 fb67997139 ---- with debug message, release to HACTL 202406070918AM 2024-06-07 09:17:42 +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 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 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 f0a1f3a510 ----- STS-O6/O7 General OK 2024-06-04 2024-06-04 10:41:45 +08:00
Yunhorn c6bcf2424f minor change 2024-06-04 09:01: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 a75c928b44 minor improve for future red-blue flash or red-dark flash 2024-06-03 16:26:40 +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 b3cd7d9c22 remove unused code 2024-05-14 12:29:17 +08:00
Yunhorn bfb86a6241 ADD unconcious threshold to 250 2024-05-13 23:21:26 +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 0d03871567 add flapping adjustment for RSS , 4 seconds threshold 2024-05-13 21:46:32 +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 7d56514685 add LmHandlerIsBusy debug info print 2024-05-12 19:47:48 +08:00
Yunhorn d77e2e47bc remove unused code for fall_rising detection result process 2024-05-12 18:43:48 +08:00
Yunhorn 354c1332e5 not trigger send uplink when RSS changed 2024-05-12 15:14:14 +08:00
Yunhorn 8d0249df33 revised zone defination 2024-05-12 14:19:34 +08:00
Yunhorn 1b36e3115e combined two half(s) into one, no motion state trigger to lamp bar 2024-05-12 13:47:34 +08:00
Yunhorn 3cede5683d before merge two half of fall rise detection 2024-05-12 13:35:37 +08:00
Yunhorn 80ad4d0c81 MINOR CHANGE 2024-05-12 13:33:59 +08:00
Yunhorn cb4a4530ac fix output message format error 2024-05-12 13:08:14 +08:00
Yunhorn 4d9be6146a good at Red Blue Flash when SOS button pushed 2024-05-12 12:59:47 +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 a10ec2dde2 try fix port 0 issue 2024-05-10 21:04:45 +08:00
Yunhorn d7fed51854 rss color change 2024-05-08 19:06:40 +08:00
Yunhorn 5032f6bf20 reduce debug info 2024-05-08 18:52:45 +08:00
Yunhorn 0e0be968dc improve fall down debug message 2024-05-08 18:14:51 +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 6af9e82016 combined sts_process 2024-05-08 15:00:50 +08:00
Yunhorn 73038f5a3b test good with Hyperbolic lens 2024-05-08 10:41:26 +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 dbb729a605 try switch PB3/PB5 2024-05-07 15:25:01 +08:00
Yunhorn c669ea93b9 STS_RM2 old PCBA with PB-3 enable and PB-5 interrupt 2024-05-07 11:31:23 +08:00
Yunhorn 4a220ec7cc for debug 2024-05-07 11:21:38 +08:00
Yunhorn 228caa620f pb3 pb5 switch 2024-05-07 08:40:53 +08:00
Yunhorn 7f16cbd9cf add debug info print 2024-05-06 12:50:13 +08:00
Yunhorn 47c3cb9297 add LOG_RSS define for detailed RSS log PRINT 2024-05-05 17:00:18 +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