Skip to content

Instantly share code, notes, and snippets.

Detail for forum post ollama + model qwen3-coder:latest + ESP32-S3 with N16R8, please

Ollama + Qwen3-Coder Model + ESP32-S3 (N16R8) Integration Guide

Overview

This guide details the integration of Ollama's Qwen3-Coder model with an ESP32-S3 microcontroller featuring N16R8 flash memory for edge AI inference.

Hardware Specifications

@Tech500
Tech500 / ESP32-S3 Ollama Chat.md
Last active June 19, 2026 10:34
ESP32-S3 Ollama Chat 06/19/2026 about Heating System Monitor II
C:\Users\lcs--\OneDrive\Dew point\Desktop>cd C:\users\lcs--\downloads\Heating-System-Monitor-III-main

C:\Users\lcs--\Downloads\Heating-System-Monitor-III-main>ollama run qwen3-coder:latest
>>> const sheet_id = "See Heating System Monitor README.md";
...
... const headers = ['lastUpdate', 'outsideTemp', 'insideTemp', 'registerTemp', 'thermostat', 'elapsedMinutes', 'dailyTo
... talMinutes'];
...
... const now = new Date();
@Tech500
Tech500 / sump-monitor.ino
Last active April 9, 2026 13:24
Sump pit monitor --sends text and email alerts.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Version 1.0 Adding HTTP over TLS (HTTPS) 09/05/2020 @ 13:48 EDT
//
// ESP32S3 --Internet Sump Pit Monitor, Datalogger and Dynamic Web Server 04/09/2026 @ 0923 EDT
//
// NTP time routines optimized for speed by schufti --of ESP8266.com
//
// Project uses ESP32S3 Developement board
//
@Tech500
Tech500 / connect.conf
Created March 28, 2026 19:39
Mosquitto configuration files -- /etc/mosquitto/mosquitto.conf and /etc/mosquitto/conf.d/connect.conf
# Custom Mosquitto Configuration
# /etc/mosquitto/conf.d/connect.conf
#
# Stored in conf.d to survive package updates
# DO NOT duplicate pid_file or include_dir here
# -----------------------------------------------
# Per listener security settings
# -----------------------------------------------
per_listener_settings true
@Tech500
Tech500 / subnetting.md
Created March 16, 2026 10:46
Tailscale subnetting for newbies

Note: The TP3000WC weather station cannot run Tailscale directly. Subnet routing must be enabled on the host device to make it accessible over your tailnet.

To find your network range, run:

ip route

Look for a line like 192.168.1.0/24 dev eth0 — that is your subnet. Replace the example address in the advertise-routes command with your own:

@Tech500
Tech500 / Foshkplugin-Tailscale Funnel-Caddy.md
Last active March 16, 2026 08:42
Foshkplugin, Tailscal Funnel, Cady

Weather Station Architecture Diagrams

Data Collection and Distribution

[TP3000WC Weather Station]
(192.168.12.199:45000 - Ecowitt protocol)
        │
        ▼
[Raspberry Pi - 192.168.12.15]
  FOSHKplugin (/opt/FOSHKplugin/)
@Tech500
Tech500 / foshkplugin.md
Created March 16, 2026 00:19
Middle ware to send weather station data to multiple destinations

[Config]
LOX_IP = none
LOX_PORT = none
LB_IP = 192.168.12.15
LBU_PORT = 12340
LBH_PORT = 8082
LOX_TIME = False
USE_METRIC = True
@Tech500
Tech500 / caddyfile.md
Last active March 16, 2026 00:11
Caddy server config file to restrict certain paths

Caddyfile — Weather Station Secure Reverse Proxy

oscar-ii Windows 11

Tailscale Funnel forwards public HTTPS traffic to Caddy on port 8080

Caddy acts as security gatekeeper — exposing only weather dashboards

:8080 { # Block sensitive CumulusMX admin and API paths @blocked { path /api/settings* path /api/station*

@Tech500
Tech500 / weather-station-architecture.md
Created March 15, 2026 23:56
Weather-station-architecture for Hackster.io story

Weather Station Architecture Diagrams

Data Collection and Distribution

[TP3000WC Weather Station]
(192.168.12.199:45000 - Ecowitt protocol)
        │
        ▼
[Raspberry Pi - 192.168.12.15]
  FOSHKplugin (/opt/FOSHKplugin/)
@Tech500
Tech500 / weewx.conf
Last active March 15, 2026 17:16
Configuration file for weewx
william@weewx:/etc/weewx $ cat weewx.conf
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2021 Tom Keffer <tkeffer@gmail.com>
# See the file LICENSE.txt for your rights.
##############################################################################
# This section is for general configuration information.