Modem Huawei E3531 on HassOS V5?

Hello

I am struggling to configure a modem Huawei E3531 on HassOS V5.5 (64 bit on Rpi4) ? I know, it is still in development…
but anyone have it working (or another model/brand) ? I have 3 ttyUSB, configure the SMS integration with /dev/ttyUSB0 or 2 but when I try to send a sms I have a “UNKNOWN ERROR” (see error message below)… Not easy to get the root cause of a unknown error… :slight_smile:
I have the feeling that the modem is unable to connect to the network (as the green light is flashing two times every two seconds). But when I connect this modem on another Pi4 running raspbian, everything is working fine… Drivers in HassOS V5.5 not finalized yet… Here is the error when I try to send a SMS:

2020-11-25 19:58:53 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.gsm_signal_imei_8611430357XXXXX is taking over 10 seconds
2020-11-25 19:58:55 ERROR (MainThread) [homeassistant.components.sms.notify] Sending to 0484XXXXXX failed: ERR_UNKNOWN

I found the root cause of the problem… Power issue !.. I had to add a powered USB hub and that fixed the issue… I can now send SMS with Huawei E3531 on HassOS V5.5 64 bits (Pi4B 2GB) !

1 Like

Unfortunately the integration is not able to receive SMS (bug in Gammu ?)… So I decided to use two python scripts using python-gsmmodem_new… One to read inbox, the other one to send SMS… Working fine sofar with Huawei E3531 …