Folks: I am trying to integrate a particulate monitor via a USB to UART adapter to homeassistantOS running on a RPi4. I am using a plantower mps7003 and Adafruit USB to UART that uses a Silicon labs chip. I understand from the HA serial particulate matter integration that these components are supported. I have attached the Plantower sensor to the Vcc, GND, TX, and RX wires of the USBtoUART adapter and believe the sensor is running correctly as I can hear the fan running. I can not establish that the sensor/adapter it outputting data as theadapter is seen, for example, in PUTTY on a Windows PC but the Silicon Labs USBtoUART is not supported in WIndows.
When I restart HAOS the adapter is “seen” and discovered using the Zwave JS addon but using configure Zwave fails to start, because this is not set up as a Zwave adapter. I can change the configuration of the ZwaveJS addon from
/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
to
/dev/ttyAMA0
in which case Zwave JS successfully starts yielding the following log file:
[18:42:43] INFO: Both ‘network_key’ and ‘s0_legacy_key’ are set and match. All ok.
[18:42:45] INFO: Virtual Machine not detected, enabling soft-reset
cont-init: info: /etc/cont-init.d/config.sh exited 0
cont-init: info: running /etc/cont-init.d/structure.sh
cont-init: info: /etc/cont-init.d/structure.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun zwave_js (no readiness notification)
s6-rc: info: service legacy-services successfully started
[18:42:46] INFO: Successfully send discovery information to Home Assistant.
which increases the CPU usage to above 40% which seems odd…
I have added the following lines to the file /config/configuration.yaml
sensor pm25:
- platform: serial_pm
serial_device: /dev/tty.SLAB_USBtoUART
name: Nova
brand: novafitness,sds011
name: plantower
brand: plantower,pms7003
sensor Serial:
- platform: serial
serial_port: /dev/ttyACM0
I do not see any entities or devices created so have not idea if data is being received.
I have searched the forums and see not discussions of using a Particulate sensor and USBtoUART with HA
If someone could point me in the correct direction, I would appreciate it.