Skip to content

Commit

Permalink
Updated logging, edited dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkhamLee committed Mar 31, 2024
1 parent 88a76d7 commit bc33517
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions hardware_monitoring/raspberrypi_4b/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def monitor(client: object, getData: object, topic: str):
DEVICE_ID = os.environ['DEVICE_ID']
INTERVAL = os.environ['INTERVAL']

logger.info('Starting HW monitoring...')

while True:

# get CPU utilization
Expand Down
3 changes: 2 additions & 1 deletion hardware_monitoring/raspberrypi_4b/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ entrypoints
executing
uuid
clr==1.0.3
psutil==5.9.5
psutil==5.9.5
influxdb-client==1.38.0

0 comments on commit bc33517

Please sign in to comment.