Good morning,
after updating HA OS to version 5, the usb gsm modem has stopped sending messages with the following errors:
Failed to read signal quality: ERR_DEVICEWRITEERROR
and
Sending to xxxxxxxx failed: ERR_EMPTYSMSC
I checked via ssh that in the / dev folder, the modem was seen correctly, and it correctly sees ttyUSB0 and ttyUSB1.
for safety I reconfigured the SMS notifications integration by trying both devices (ttyUSB0 and ttyUSB1), this is the procedure I followed:
1- eliminated integration and restarted HA
2- added SMS integration and restarted HA
SMS notification services are sometimes created and sometimes not, but when present they return the errors written above.
However, I noticed via the web in the section “Supervisor-> System-> HostSystem-> Hardware” that the /dev/ttyUSBx devices change every time HA is restarted.
Example:
first start /dev/ttyUSB0 and /dev/ttyUSB1, if in the integration I use the device /dev/ttyUSB0 when HA restarts they become /dev/ttyUSB1 and /dev/ttyUSB2 but if I connect in SSH they always remain /dev/ttyUSB0 and /dev/ttyUSB1.
as per documentation I tried to create the udev rule (even if it worked without before) but nothing has changed.
i am desperate, i have been trying to fix it for 2 weeks without success, can someone help me.
thank you so much