I have now been trying for some time to set a Huawei E3531 up to my Home assistant that i run on my Raspberry Pi 4 2GB.
The reason for this project is that i have an NEXUSCCTV smart alarm that HA don’t works with so as a try to fix this in my setup i got my hans on some burner numbers and a E3531 USB stick (had a few of the just laying around unused for a long time now) so i thort i would give it a try to set the HA up to text the commands to my alarm to arm and desarm.
But here comes the first problem.
When i connect the stick and run the command
ls -l /dev/*USB*
it just say
ls: /dev/*USB*: No such file or directory
And sudo commands don’t look to work in the SSH
but wen i run
lsusb
the output is the following information
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 12d1:15ca
Bus 001 Device 002: ID 2109:3431
Bus 002 Device 001: ID 1d6b:0003
so out from this i would pressume that the stick “works” or atleast the pi register that its there…
The thing is now… where do i go from here??
and will it even work??
bash: /var/log/messages: No such file or directory
But…
If i unplug my 3G modem and run
lsusb
The the response is
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 2109:3431
Bus 002 Device 001: ID 1d6b:0003
and if i plug it in again and run
lsusb
the response is
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 004: ID 12d1:15ca
Bus 001 Device 002: ID 2109:3431
Bus 002 Device 001: ID 1d6b:0003
So i think it’s sure to asume that the device with id 12d1:15ca is the 3G USB modem
for each time i unplug it an plug it in again it increses in device id (003, 004, 005, 006)
I have used the standard Raspberry Pi OS image.
I have no clue about how the setup is made.
all i know is if i use the terminal & SSH from the apps library it looks like it use busybox more than full blown linux shell
Raspbian? Then it should work the way I said.
HassOS? Hardly the “standard Raspberry Pi OS image” and I have no clue what’s in there. Anyway, dmesg should work, and I guess they kept /var/log as the main logging location.
I have been searching some more on the internet and i finaly got it all solved.
Further down on the documentation about the configuration for sim i found a guide for raspberry pi and on some other page a guide to make a switch command and now it seems to work.
I do have to find me an active sim card to test if it truly works (the sim i have now is a non active one).
Hi
Could you please let me know the way you solved the problem ? My usb modem reacts as follow:
[core-ssh ~]$ lsusb -v
Bus 001 Device 004: ID 111d:0000
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0424:ec00
Bus 001 Device 002: ID 0424:9514
Bus 001 Device 005: ID 2077:f000
Sorry.
Was away for some time.
But yeah I got it working.
I made a rule file that I copied to a USB key that got loaded in after a reboot.
I can try and find it if you like?
Maybe.
I don’t use it at the time do to i didn’t get it to communicate correctly with my security alarm.
So I scratched it all and build my own based on alarmo.
And I’m trying to integrate VoIP so there’s currently no need for it in my setup.