Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions config/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"ALERT_THRESHOLD_30D": 40,
"SEND_AI_SUMMARY": "True",
"TELEGRAM_CHAT_ID_PARTIAL_DATA": [],
"TELEGRAM_CHAT_ID_FULL_DETAILS": [
"-"
],
"AI_ARTICLE_SUMMARY_PROMPT": "Rezuma acest articol intr-un scurt paragraf si analizeaza sentimentul(Bullish, Bearish sau Neutral). Formateaza raspunsul cu HTML pentru Telegram(<b></b> <i></i>):\nLink: ",
"AI_TODAY_SUMMARY_PROMPT": "Te rog genereaza raportul zilnic general. Nu pentru fiecare articol, folosind urmatoarele articole. Formateaza raspunsul cu HTML pentru Telegram(<b></b> <i></i>):\n",
"TELEGRAM_CHAT_ID_PRICE_ALERTS": [],
"TELEGRAM_CHAT_ID_NEWS_CHECK": [],
"TELEGRAM_CHAT_ID_FULL_DETAILS": [],
"AI_ARTICLE_SUMMARY_PROMPT": "Rezuma acest articol \u00eentr-un scurt paragraf \u0219i analizeaz\u0103 sentimentul(Bullish, Bearish sau Neutral). Formateaz\u0103 r\u0103spunsul cu HTML pentru Telegram(doar elemente <b></b> si <i></i>):\nLink: ",
"AI_TODAY_SUMMARY_PROMPT": "Te rog genereaza raportul zilnic general. Nu pentru fiecare articol, folosind urmatoarele articole. Formateaz\u0103 r\u0103spunsul cu HTML pentru Telegram(doar elemente <b></b> si <i></i>):\n",
"SEND_HOURS_VALUES": [
7,
11,
Expand Down
1 change: 1 addition & 0 deletions scripts/fan_controller/fan_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def get_temp():


try:
print("Fan controller started!")
while True:
temp = get_temp()
if temp >= ON_TEMP and not FAN_ON:
Expand Down
10 changes: 10 additions & 0 deletions scripts/fan_controller/start_controller.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# Name of the screen session
SESSION_NAME="fan_controller"

# Path to your Python script
PYTHON_SCRIPT="fan_controller.py"

# Start the screen session and run the Python script
screen -dmS "$SESSION_NAME" python "$PYTHON_SCRIPT"
Loading
Loading