-
Notifications
You must be signed in to change notification settings - Fork 23
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
Questions #86
Comments
@menn0 I'm unfamiliar with your camera, but all TUYA code I have seen only deals with 2 streams (SD and HD) the HD stream is usually whatever the resolution of the camera (720p or 1080p). I have not seen any code handling 3 streams so your camera or phone app may be doing some conversion of the stream and/or quality. These devices usually have low fps due to the low powered cpu in them. My recordings 'report' 30 or 15fps but I think actual fps it's lower than 15. |
@guino Hello Guino |
@AngelChezziPXL you could first try the steps described here: #11 -- if that doesn't work then you'd have to be comfortable with opening the device and either using a hardware programmer to read the flash OR trying to use the serial port (both options will likely require soldering work). Unfortunately there's not much I can do without the device itself. If you were able to get any information from the device with /devices/deviceinfo or from the phone app (i.e. firmware version, model, picture) that could tell us if there's a specific process that may work for it (possibly without opening the device). If your device is battery operated there's little chance that any of the mods would work for it. |
Hey Guino |
Hello Guino Could it be because I tried al the steps in of the 'Merkury720p'? |
@AngelChezziPXL the steps in #11 don't create a file in the SD card -- they write the data to the SD card directly (not in a file) so you have to use 'dd' (on a computer) to create the file on the computer (Step 13). It should always create a file even if the process didn't work (then we can check if the file actually has a copy of the firmware). The 'magic err' message always shows up - you can ignore it. From your UART output it looks like the data was written to the SD card, so if you use step 13 you should get a copy of the flash. Since you have UART access feel free to send me an email (see my github profile) and I can give you some info to try things on the UART. There's no need to 'reset everything' -- #11 doesn't modify the device in any way. If you have ran the other processes then booting without the SD card should allow the device to boot normally (without changes). |
@guino A very big thanks for the explanantion. I tried it again and now it worked. I've created an flash.bin containing:
What I've to do now so that I can adapt it to have the IP doorbell work in Home Assistant? Thanks |
@AngelChezziPXL can you provide a copy of the flash.bin ? (i.e. you can email it to me). I'd like to check why the rooting process didn't work on it -- I'm assuming you already tried the steps here: https://github.com/guino/Merkury1080P#conclusion (based on the UART log that is the process that has the best chance to work for your device). |
@guino Ok I will send you the file. Where can I find your email address? I will try the steps(conclusion) again. For the moment when I netcad the ip address of the video doorbell I only see 1 port open. No webpages or other things are visible. The only possible things is to video stream of the camera to VLC. Do you know how I can set again that the bootloader counts down 5 second before booting? Now it counts down 3 second, but there is no way to interrupts the booting. I think it has been disabled when trying to flash it, beacause when it was new it showed a message like 'hit any key to stop the boot' and it counted down 5 seconds. When pressing a key it asked for a password in the past, now it doesn't do it anymore |
@AngelChezziPXL Based on the provided flash file it looks like that device should work with the steps I provided and in fact it has already been reviewed/reported as working:
This firmware does NOT need patching to use ONVIF/RTSP -- just enable it as described here If you want to make it work 'offline' we need to make an offline patch so the device can start up completely without connecting to the tuya servers (or you can try the universal offline method): https://github.com/guino/BazzDoorbell/wiki/%5BHow-to%5D-Use-the-device-OFFLINE-(disconnected-from-tuya-servers)-%3F |
@guino Hello Guino If I take the option 1 of the link you sent me for the offline usage, do you really need internet acces each time the bell powers up again, or just the first time when you set it up? I've also another question. How can I enable telnet and reactivate that a key pressed during boot-up interrupts the boot process? |
@AngelChezziPXL There's no support for 2 way communication since we only get the RTSP/ONVIF feed. At one point I saw someone making a custom application with NodeRED to record/transmit playback on the device, but that likely wouldn't work with HA anyway. Offline mode Option 1 does require the internet to be available every time the device powers up. For telnet:
OR (if you want passwordless telnet) this line:
The button press notification is something you can do with log_parser.sh, for your device this is the best method: https://github.com/guino/BazzDoorbell/wiki/%5BHow-to%5D-Use-notifications-MQTT-log_parser-without-a-patched-ppsapp-%3F You will need to edit the notification commands inside log_parser.sh (one for doorbell notification and another for motion detection if you want) -- this will include IP, subject, message information as configured in HA. I recommend having telnet working so you can execute the notification commands manually to simulate the button press so you can check that HA is receiving it. I only use log_parser.sh with homebridge, so I'm not familiar with how HA should be configured to receive MQTT notifications (you may also be able to do HTTP notifications). Here's some info on that if you haven't seen it yet: https://github.com/guino/BazzDoorbell/wiki/%5BHow-to%5D-Integrate-with-Home-Assistant,-HomeBridge,-Domoticz,-etc |
@guino I'm impressed of your knowledge. How did you figure it all out? ;-) Ah ... yes, I red somwhere on your git that you like beer. Do you like Belgian beer and chocolats? |
@AngelChezziPXL sorry, I don't have and don't use HA -- I use Domoticz + Hoobs for home automation control. I tried HA one (long time ago) and it was too big (disk), too heavy (RAM) and too slow (CPU) -- granted I was using a raspberry pi. Been coding for 30 years, so I learned a lot along the way. Who doesn't like beer and chocolate ? I'm not picky about origin... :) |
@guino Is it possible to have 2-way communications in Domotics with my doorbell? I'm a beginner :-) I'll check if it is autorized to send beer by post to Canada (I supose you live in Canada). |
@guino It worked! Thanks. The part of HA I didn't do it yet. I first have to prepare a RPI on HA or Domotics. I will keep you informed. |
Some devices heat up more than others, I don't have any device like yours so I can't compare. |
Dear Guino,
I have the ieGeek version, two questions related to this doorbell;
The text was updated successfully, but these errors were encountered: