-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mqtt client on firmware 4.0.7? #59
Comments
@Rikbruggink looks like the mosquitto_pub we have is compiled for arm v7l -- your processor is arm v5l (older) so it is likely crashing because of that. I am not the person who built/provided the existing mosquitto_pub tool, so your options are: You could potentially use http+wget (option 3) to any existing computer/device on your network where you have mosquitto_pub by creating a service to run mosquitto_pub to whatever you need. |
@guino Thanks for the feedback, i figured the pub client was compiled for armv7 found a pull on the Merkury1080P but that also seems for the armv7 toolchain. He/SHE als posted a post script for webhooks. Will look into that. Will let you know the progress here. |
@Rikbruggink how does your env file look like? I have the same hardware/software revision but doesn't get the device rooted. |
@pjeterinfo most of the time when the root process fails is because of the SD card brand/model or format. You should try to format it with the app, linux, windows and see if it helps. You should definitely try other cards but same brand/model will not make much of a difference so you should try different brand/models to see if it helps. Feel free to post a zip of your SD card files and I can review them. |
@pjeterinfo your files look fine -- your issue is most likely due to SD card brand/model or format. Please note the brand/model and format is most important for the boot loader during the rooting process and after that you can probably use the SD cards that are not working right now. It is also worth pushing the reset button during normal operation (no SD card) to make sure it actually does something -- if the reset button isn't working hardware side it won't work during step 5 of #13 |
@guino thx for checking, the reset button is working normally. I will try other sd cards. |
@Rikbruggink Did you find or compiled a mosquitto client for v5l? I have the same camara and also want to use mosquitto_pub. |
@kruithofm @Rikbruggink I was able to make this work with homebridge (armv5 compatible): https://github.com/guino/BazzDoorbell/blob/master/mmc/mqtt_pub?raw=true
I did not do a lot of testing but if it works for you let me know and I can post sources and binaries in the repo. |
It's working perfectly for me. This is all I need for the log_parser. |
@kruithofm thanks for testing and reporting back. |
Hi,
I got root and telnet activated on 4.0.7 version with board
"devname": "Smart Home Camera",
"model": "Bell 8S",
"serialno": "*********",
"softwareversion": "4.0.7",
"hardwareversion": "BE8S_A2_V10_433",
"firmwareversion": "ppstrong-a3-tuya2_general-4.0.7.20210513",
but when i want to start mosquitto_pub from #4 it is core dumping on the sd card. Any pointers how to proceed?
/dev # cat /proc/cpuinfo
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 199.06
Features : swp half fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5
Hardware : CLOUD39EV3_AK3918EV300_MNBD
Revision : 0000
Serial : 0000000000000000
The text was updated successfully, but these errors were encountered: