Simulates a CO2 sensor device and provides a JSON-RPC server for interaction, with real and simulated modes.
This Node.js application provides a simulated CO2 sensor device accessible via a JSON-RPC server. It supports both a simulation mode, generating random CO2 levels, and a real mode that connects to a Raspberry Pi Pico via USB to read actual CO2 levels. The server exposes device information, sensor data, and network status, and includes mocked functionalities for MQTT publishing and network reconnection, making it useful for testing and development within the Claude Desktop environment.