rcraig114
(Rcraig114)
March 6, 2026, 7:33pm
1
I’m trying to get data from my solar controller, which supports RS485. I have a USB to RJ11 cable connected to a Raspberry Pi4. I can see the USB device under hardware.
Device path:/dev/ttyUSB0
ID:/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_BG00ZBE2-if00-port0
However, the Modbus2MQTT addon keeps complaining about permissions. Anyone ever run across this?
Permission denied for read serial device /dev/ttyUSB0 Error: EACCES: permission denied, access ‘/dev/ttyUSB0’
InitialConnect /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_BG00ZBE2-if00-port0: Error: Permission denied, cannot open /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_BG00ZBE2-if00-port0
How?
[Please quote any code using the forum </> formatting options.]
Have you tried the protocol wizard yet?
Hi everyone!
I just published a new integration that makes working with ANY device in Home Assistant much easier — especially when you’re dealing with poorly documented hardware.
Introducing Protocol Wizard
No YAML! No restarts. Full runtime control.
With Protocol Wizard, you can:
Add Modbus, MQTT, BACnet and SNMP devices directly from the UI
Test connectivity automatically on setup
Add, edit, or remove sensors at runtime — no need to restart HA!
Use templates to quickly load or save…
rcraig114
(Rcraig114)
March 6, 2026, 7:43pm
3
Sorry, I’m using an addon called Modbus <=> MQTT.
Are you running this in a VM type environment?
I see you raised an issue in GitHub too.
opened 03:52PM - 06 Mar 26 UTC
I'm trying to get data from my solar controller, which supports RS485. I have a … USB to RJ11 cable connected to a Raspberry Pi4. I can see the USB device under hardware.
Device path:/dev/ttyUSB0
ID:/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_BG00ZBE2-if00-port0
However, the Modbus2MQTT addon keeps complaining about permissions. Anyone ever run across this?
Permission denied for read serial device /dev/ttyUSB0 Error: EACCES: permission denied, access '/dev/ttyUSB0'
InitialConnect /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_BG00ZBE2-if00-port0: Error: Permission denied, cannot open /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_BG00ZBE2-if00-port0
Latest updates, cold restart? Any other integrations using your USB/RS485 adapter?
What Solar Controller are you attempting to access?
rcraig114
(Rcraig114)
March 6, 2026, 7:58pm
7
Yup, no pending updates. Full reboot, power off/power on. I have a brand new Dyness 40A MPPT connected.
Seems like the issue has been encountered before.
# Getting Started with modbus2mqtt
This guide will help you quickly set up and use modbus2mqtt.
## Prerequisites
Before you begin, make sure you have:
- A Modbus device (RTU or TCP)
- MQTT broker (e.g., Mosquitto)
- For Modbus RTU: USB-to-RS485 adapter
## Quick Start
### 1. Access the Web Interface
Open your browser and navigate to:
```
http://localhost:3000
This file has been truncated. show original
See troubleshooting step in the instructions that describes your scenario with Linux access issues.
Let us know if you succeed to connect, and don’t forget to update the GitHub report on your progress as well.
rcraig114
(Rcraig114)
March 6, 2026, 8:41pm
10
Yeah, I’ve seen several articles out there about changing permissions. However, I am using HAOS and it doesn’t like the typical Linux commands. Below is what I get.
[core-ssh ~]$ sudo usermod -a -G dialout $USER
-bash: sudo: command not found
How are you issuing the commands?
rcraig114
(Rcraig114)
March 6, 2026, 8:45pm
12
Putty into HAOS (Terminal & SSH) app running to expose port 22). Connected to HAOS as “root” and used the password I specified in the Addon.
The ‘standard’ SSH Addon (cut down to prevent neophytes from hurting themselves), or one with extended features turned on?
# Home Assistant App: Terminal & SSH
## Installation
Follow these steps to get the app installed on your system:
1. This app is only visible to "Advanced Mode" users. To enable advanced mode, go to **Profile** -> and turn on **Advanced Mode**.
2. In Home Assistant, go to **Settings** > **Apps** > **Install app**.
3. Find the "Terminal & SSH" app and click it.
4. Click on the "INSTALL" button.
## How to use
This app adds two main features to your Home Assistant installation:
- a web terminal that you can use from your browser, and
- enable connecting to your system using an SSH client.
Regardless of how you connect (using the web terminal or using an SSH client), you end up in this app's container. The Home Assistant configuration
directory is located on the path `/config`.
This file has been truncated. show original
Quote:
Known issues and limitations
This app will not enable you to install packages or do anything as root. This is not working with Home Assistant.
(Yeah, I know, it shouldn’t be this hard) - put that in your GitHub update to say the workaround doesn’t work.
Whst steps did you take to install the RS485 USB Device?
Maybe play with the Wizard instead?
rcraig114
(Rcraig114)
March 7, 2026, 12:20am
16
I just plugged the USB device into my RPI4. RJ11 end in Solar Charge Controller. I know the charge controller detected it because as soon as you connect the cable, the screen goes blank.
I tested with wizard and I see “modbus hub connected”, but adding any register/entities for this charge controller reveals no data. I’m starting to wonder if this USB device is junk.