Skip to content

Serial Sensor #2477

@pbek

Description

@pbek

I'm using the wonderful Espurna firmware on my cheap 5$ Sonoff devices (230V, 1 LED, 1 relays, 1 button) for some years to control all kind of stuff. The limitation of those devices is that they only have one extra GPIO pin routed on the board.

So I'm plugging very cheap Arduino Nano (nockoff) boards to the Sonoff boards via serial interface to get more GPIO pins and AD converters from the Arduino (still cheaper than to build everything with a "normal" ESP8266 or ESP32 board).

For that usecase I wrote a small Serial Sensor addition to Espurna that just uses some commands like SENSOR0 1234 (sent by the Arduino via serial) to publish that value 1234 via MQTT.

Is there any interest that I share this addition upstream (just one cpp and h file)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions