Posts

Personal Stock Intelligence on a Raspberry Pi Running Home Assistant OS — No Paid APIs, No Scheduled Guesswork

🦞 OpenClaw on HAOS · Part 4 Personal Stock Intelligence on a Raspberry Pi + HAOS Running on a Raspberry Pi 5 with Home Assistant OS, three Python scripts replace your scheduled cron jobs with on-demand portfolio intelligence — live P&L, Google Sheets sync, and a buy/sell signal engine. No cloud, no paid APIs, no monthly fees. 🥧 Raspberry Pi 5 · HAOS 📊 25 Holdings 🐍 3 Python Scripts 0 API calls for data 🟢 Gemini Free Tier portfolio.py ▲ running sync_portfolio.py ▲ 25 synced signals.py ▲ 3 buy signals cron 14:30 Sun–Thu ▲ active Gemini Flash ▲ free tier HAOS 14.x ▲ running Yahoo Finance ▲ live portfolio.py ▲ running sync_portfolio.py ▲ 25 synced signals.py ▲ 3 buy signals cron 14:30 Sun–Thu ▲ active Gemini Flash ▲ free tier HAOS 14.x ▲ running Yahoo Finance ▲ live 🐍 portfolio.py · 🔄 sync_port...

Understanding Inference in Bayesian Networks: From Naive Bayes to Gibbs Sampling (with Python Examples)

Image
Inference in Bayesian Networks: From Naive Bayes to Gibbs Sampling In our previous post, we looked at how to represent uncertainty. Now, we look at the engine of the system: Inference . Inference allows us to take observed data (evidence) and calculate the probability of hidden states. Naive Bayes Inference Exact Naive Bayes assumes that features are independent given the class. Despite its "naive" name, it is a workhorse in modern applications. $$P(C \mid o_1, \dots, o_m) \propto P(C) \prod_{i=1}^m P(o_i \mid C)$$ Real-World Application: Spam Filtering When you receive an email containing the words "Offer" and "Free," a Naive Bayes classifier looks at the probability of those words appearing in known Spam vs. Not Spam emails. It assumes the word "Offer" appearing is independent of "Free" being there, allowing for lightning-fas...

Switch Your OpenClaw LLM Backend With One Command — Claude, Gemini, Ollama & OpenRouter

🦞 OpenClaw Series · Bonus Switch Your LLM Backend With llm-switch One shell script. Four providers. No config file editing. Switch between Claude, Gemini, Ollama, and OpenRouter from the terminal and restart. 🥧 Raspberry Pi 5 🦞 OpenClaw 🐚 Bash Script ☁️ GitHub Gist 🟢 Anthropic · 🔵 Gemini · 🟡 Ollama · 🟣 OpenRouter 1 Install 2 Providers 3 Commands 4 Internals Install llm-switch 📦 The script lives on GitHub Gist and gets installed into the container via your Samba share. Since /usr/local/bin resets on every add-on restart, the install is a one-liner you run whenever needed. 📄 llm-switch.sh — GitHub Gist gist.github.com/imnoor/f38b8e32e07a5cb0c01b2b53352e201f → Option A — Via Samba Share (recommended) 1 Download and save to your share Download the raw script from the Gist above. S...

Track Any Stock Portfolio With a Raspberry Pi No Paid APIs, Just Telegram

📖 Part 3 of 3 📈 Any Market · Zero API Keys · March 2026 Track Any Stock Portfolio With a Raspberry Pi No Paid APIs, Just Telegram A step-by-step guide to setting up OpenClaw on a Raspberry Pi 5 to track any stock portfolio — live P&L, dividend-adjusted returns, SMA signals, and twice-daily Telegram updates. Works with NYSE, LSE, TSX, and any Yahoo Finance supported market. 🥧 Raspberry Pi 5 📈 Yahoo Finance 🦞 OpenClaw ✈️ Telegram Any Stocks Tracked Any Market Yahoo Finance Supported Capital P&L Tracked +Dividends True Total Return $0 API Cost Audience: 🟢 Beginner Anyone can follow 🟡 Intermediate Basic Linux helpful ⚠️ Privacy Data stored locally on your Pi 1 Setup 2 P&L Demo 3 Dividends 4 Automation 5 Lessons Setting Up Portfolio Tracking 📦 The entire setup takes under 15 minutes and requires zero paid API keys. OpenClaw uses its built...