ucsd-e4e / asm-rpi-node Goto Github PK
View Code? Open in Web Editor NEWAye-Aye Sleep Monitoring Project Raspberry Pi Node
License: MIT License
Aye-Aye Sleep Monitoring Project Raspberry Pi Node
License: MIT License
Use Case: as a system admin, it would be helpful to have a command that can be used to ping all systems to get a current status.
Automate setup steps
The Data Server will be run as a systemd service. Debugging and informational output needs to be stored to a file
Motor Shield library is missing attribution from https://github.com/Alictronix/Raspi-MotorHat
Node probably wants to do an exponential retry - delay about 1 s, retry, delay 2s, retry, delay 4s, retry all the way to 6 hours, then remain at 6 hour intervals. Data streams should fall back to buffered or to on-system backup.
6979d9d93662690b74daed39d586df915a96683a
lots of heartbeats that drown out everything else
fewer heartbeat messages
Server
No response
No response
No response
No response
Service should start on cold boot. Error was unable to connect to network.
Currently, IR data from the on-box sensor node has large amounts of reflection.
Desired: no reflective rings in the video
Server timestamps are in UTC, Pi timestamps are sometimes in PST, sometimes in GMT
Expect the same timezone
On Box Sensor Node
2021-11-22 15:25:47,795 - RemoteSensorNode - INFO - Queued Packet E4E_Heartbeat(src=a4a5090c-fc41-47d4-a180-e82cf8bfc899, dest=a4a5090c-fc41-47d4-a180-e82cf8bfc899, timestamp=2021-11-22 15:25:47.795814)
2021-11-22 15:25:47,796 - RemoteSensorNode - INFO - Sending Packet E4E_Heartbeat(src=a4a5090c-fc41-47d4-a180-e82cf8bfc899, dest=a4a5090c-fc41-47d4-a180-e82cf8bfc899, timestamp=2021-11-22 15:25:47.795814)
2021-11-22 07:42:23,793 - OnBoxSensorNode - INFO - Queued Packet E4E_Heartbeat(src=a105a7ea-3eae-11ec-8446-a0afbd87594c, dest=a105a7ea-3eae-11ec-8446-a0afbd87594c, timestamp=2021-11-22 07:42:23.793840)
2021-11-22 07:42:23,794 - OnBoxSensorNode - INFO - Sending Packet E4E_Heartbeat(src=a105a7ea-3eae-11ec-8446-a0afbd87594c, dest=a105a7ea-3eae-11ec-8446-a0afbd87594c, timestamp=2021-11-22 07:42:23.793840)
No response
2021-11-22 15:42:23,804 - ClientHandler - INFO - Got heartbeat from a105a7ea-3eae-11ec-8446-a0afbd87594c (Auto-registered device) at 2021-11-22 15:42:23.793000
2021-11-22 15:42:47,812 - ClientHandler - INFO - Got heartbeat from a4a5090c-fc41-47d4-a180-e82cf8bfc899 (Auto-registered device) at 2021-11-22 15:42:47.805000
No response
Line 14 in 8eb0f18
appdirs is deprecated, switch to platformdirs
File with timestamp 2022-07-26T19:58:08Z has a on-screen timestamp 2022-07-26T13:24:27.
On-screen timestamp should either match local timezone or UTC
Remote Sensor Node
No response
uuid: a4a5090c-fc41-47d4-a180-e82cf8bfc899
type: IP_Camera
data_server: 132.249.242.142
#data_server: 132.249.242.235
port: 9000
#data_server_uuid: 33cc5438-3d39-11ec-8957-378c22225c74
data_server_uuid: 33cc5438-3d39-11ec-8957-378c22225c74
heartbeat_period_s: 300
IP_CAMERA:
address: 192.168.2.65
port: 554
user: [redacted]
password: [redacted]
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.