Increase your income with Hive. Invite your friends and earn real cryptocurrency!

Generic Watchdogs


I’ve just received linux drivers for chinese generic watchdog. Is it possible to add this to hiveos? Thousands of people is using these.!AoqYAzOHmHlWiM4TlBHiWrr7Kor6mA

Thanks in advance.

hi did u fix ur problem? i have same watchdog also but i dont know how to use it on hive os

Unfortunately not. It will be great if hiveos implements it built-in.

Here is drivers:!AoqYAzOHmHlWiM4TlBHiWrr7Kor6mA

Any news about to include this watchdog ??

The device driver is in the system.
At me it was defined so:

hive oc v.0.5-23

Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter

ls /dev

I edited the two files and now this will work for me before the system upgrade.

find / -name watchdog-opendev*
nano /hive/opt/opendev/

In this file find the code “0483” and change it to “1a86”
and also the code “5740” and change it to “7523”
In the second file ( nano / hive / opt / opendev / watchdog-opendev )
change “PORT=/dev/ttyACM0” on “PORT=/dev/ttyUSB0”
I hope, Dmitry will add this device to the next upgrade.

1 Like

For those who are keen to use these watchdogs, I put together some basic scripts to install a service that uses the python script here:

The main prereqs are that you will need to install pyserial via apt, after that, if you just decompress these scripts in the /home/user folder in a standard hive install, set the execute permissions on the script, it will just work. (Unless you have things like extra USB devices that occupy /dev/ttyUSB00

You can check it ou there:

How i can use SimpleRigResetter to HiveOS ?

For those who are keen to use these watchdogs, I put together some basic scripts to install a service that uses the python script here:

Thanks, Iteration!
How to install watchdog script by Iteration at HiveOS:

cd ~
apt install python-pip
pip install pyserial
chmod +x ~/

Check ping:

~/ /dev/ttyUSB0 300

where /dev/ttyUSB0 - device; 300 - interval in seconds
If ping did not work - you need to check steps


nano /etc/rc.local


##!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# bits.
# By default this script does nothing.
/home/user/ /dev/ttyUSB0 300 > /dev/null &

exit 0

it’s more accurate if you put on the python file to check your router IP, because if your internet connection disconnect you reboot your RIG uselessly

Methods checkInternet() and reset() did not use at default script. It’s an example how you can upgrade your watchdog:)

Здравствуйте! есть ли возможность добавить поддержку данного устройства в следующем обновлении?

так же есть ссылка на ПО для linux

В версии 0.5-38 добавилась поддержка Chinese Watchdogs. Попробовал - при старте watchdog обнаруживается, но LED не мигает, риг перезагружается. Кто-то пробовал еще? Как можно руками попробовать пропинговать его?

I have watchdog v5.0 and i’am running at hive 05.26. If I upgrate to 05.38 will the watchdog work wit driver integrated in hive or I need to make some changes? Does anyone have drivers for this version?

@makadam i have the same watchdog u got. how do u manage that watchdog get working on hive?

i tried with the new update but it keeps rebooting, maybe i miss something

Вот решение!!!

Eto resheniye!!!

This is the solution !!!


[email protected]:~# ~/ /dev/ttyUSB0 300
Traceback (most recent call last):
File “/root/”, line 47, in
watchdog = serial.Serial(sys.argv[1], 9600)
File “/usr/local/lib/python2.7/dist-packages/serial/”, line 240, in init
File “/usr/local/lib/python2.7/dist-packages/serial/”, line 268, in open
raise SerialException(msg.errno, “could not open port {}: {}”.format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: ‘/dev/ttyUSB0’

I am having the same problem

figured out the issue. I made a video to help more people

1 Like

Great job

Is it possible to add a network ping control script on this WD ?
For example if your rig became disconnected from hive server, wd will reset it in 5 minutes.
For me its to difficult to make it :frowning:
Thank you in advance