Moddable-OpenSource / moddable

Tools for developers to create truly open IoT products using standard JavaScript on low cost microcontrollers.
http://www.moddable.com
1.35k stars 238 forks source link

[Driver Support] Sensor Wish List #999

Open Sineos opened 1 year ago

Sineos commented 1 year ago

This is truly and awesome project. To make a real difference to its "competitors" like ESPHome, I would wish for some more sensor support:

MFR No Manufacturer Functions Datasheet Existing Implementation Existing Implementation
WZ-S DART Formaldehyde Link Link
006-1-0100 SenseAir CO2 Link Link
004-0-0010 SenseAir CO2 Link Link Link
PMSx003 Plantower PM2.5 Link Link
SPS30 Sensirion PM2.5 Link Link
BME68x Bosch VOC, Temperature, Humidity Link Link
phoddie commented 1 year ago

@Sineos – great idea to build out some goals. And very helpful to have links to both the datasheet and implementations. I hope other will contribute to this wish list.

The BME68x comes up quite often. From an implementation perspective, have two paths available. The first is to re-use the Bosch native C library (which is what Arduino does). This is a little more complex to implement but leverages the manufacturer's work. The second is to implement it entirely in JavaScript. This is likely smaller and more portable, but it will be more work.

By contrast, the WZ-S and PMSx003 example implementations are small and straightforward.

The Moddable team is committed to growing the suite of supported sensors. We can look into some of these. We are always happy to have contributions and support others working on sensor implementations.

andycarle commented 1 year ago

I already have a BME680 on its way to me. Once that arrives I'll take a closer look at options for supporting it.

Sineos commented 1 year ago

To continue my wish list:

MFR No Manufacturer Functions Datasheet Existing Implementation Existing Implementation
EMC2101 Adafruit / Microchip Fan Controller Link Link
dtex commented 1 year ago

I compiled a wish list over at Johnny-Five. It's divided into boards, classes, devices, and class features. Each has links to the original issues where the request came up. Sensors are found under devices.