-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Description
Description
Build a Pi application that reports real-world sensor data (temperature, humidity, motion, etc.) as verifiable data for the WattCoin network.
Requirements
- Reads from common sensors:
- DHT22 (temp/humidity)
- PIR (motion)
- Or similar GPIO/I2C sensors
- Reports to a configurable API endpoint (default:
/api/v1/oracle/report) with:- Sensor type
- Reading value
- Timestamp
- Signed by wallet
- Local logging and history
- Configurable reporting interval
- Mock sensor mode for testing without hardware
- No
shell=Truein subprocess calls (useshlex.split())
Acceptance Criteria
- At least 2 sensor types supported (real or mock)
- Signed reports to API
- Local history viewable
- Install script for Pi
- Wiring diagrams included (for real hardware)
- Tests included and passing
Bounty
10,000 WATT
Notes
- The backend API endpoint is not yet built — your script should work against any configurable URL and gracefully handle connection errors.
- Include your personal Solana wallet in the PR body (not the project wallet). Format:
**Payout Wallet**: <your_address>
Reactions are currently unavailable