DobbyESP
My personal IoT Application , utilizing ESP8266 on Sming
Install / Use
/learn @gernoteger/DobbyESPREADME
About
DobbyESP is my own ESP8266 based IoT application for controlling things.
The name is inspired by Dobby, the houself from Harry Potter: serves behind the scenes, but eventually develops a life on its own.
Requirements
(mostly not yet implemented)
- [ ] enable maintainance without physical access
- [ ] Robust Wifi configuration
- [ ] OTA Updates
- [ ] Admin WebInterface
- [ ] Basic security
- [ ] MQTT for interfacing with OpenHab and crowd control
- [ ] OTA logging
- Devices + sensors
- [ ] roller blinds / sunblinds
- [ ] sprinkler with rain sensor
- [ ] anything that can be switched on or off
- [ ] Room Heating control & sensing
- make it publicly available, therefore no private acess data must be stored anywhere in version controlled files
Since the ESP8266 is a Wifi-Only system, it doesn't lend itself well to battery powered operation; this is subject to future research
Architecture
Software Stack
- Sming Framework
- [rBoot] (https://github.com/raburton/esp8266 "rBoot on github") for OTA with big flash layout
- spiffs for saving connection information. I originally intended to use the original [xlfe] (https://github.com/xlfe/spiffy "original spiffy") repo; I noticed that the changes needed for Sming are not yet there, so I used [kireefco's fork] (https://github.com/kireevco/spiffy)
- and of course Espressif's SDK, currently V1.2
- Toolchain using chocolatey from sming
Hardware
- ESP-12 and ESP-07: 4MBit/1MBit Flash, plenty of pins available, including the ADC
- Line powered: off-the-shelf USB Power modules with linear 3.3V controller
- Use Arduino relais modules to switch line: 5V form USB above come in handy, can be controlled with 3,3V from ESP
- as little as possible else
Project Layout
The TopLevel Project contains all dependencies as git submodules, plus DobbyESP's base directory.
Build targets
make ...
- clean
- all
make -f Makefile-sming.mk ...
-
sming-clean
-
sming-all
-
rboot-stuff
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
