CO2 Sensor Simulator icon

CO2 Sensor Simulator

Createdkmwebnet

Simulates a CO2 sensor device and provides a JSON-RPC server for interaction, with real and simulated modes.

About

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.

Key Features

  • Provides a JSON-RPC server interface.
  • Includes mocked MQTT and network functionalities.
  • Simulates a CO2 sensor device.
  • Exposes device information and network status.
  • 1 GitHub stars
  • Supports real and simulated CO2 level reading.

Use Cases

  • Testing CO2 sensor integration with Claude Desktop.
  • Simulating sensor data for development purposes.
  • Reading real-time CO2 levels from a Raspberry Pi Pico.