Date   

HBNET no OBP connect

Paul on6dp
 

Hi,
I have installed the HBNET and configured the OBP
I would like create an OBP between HBLink and HBnet server
On HBNet server I have a problem with OBP
 In place of connection i have this
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)
('161.97.169.233', 62996)


And no connection to OBP
Where is my mistake

73 Paul


Re: Hblink3 rules.py

Bob kc2cwt
 

You would think that there would be some type of wild card that would allow you to pass everything through.

Bob KC2CWT
Carmel NY 10512
(914) 497-5502

On June 3, 2022 11:13:42 AM Bob kc2cwt <kc2cwt@...> wrote:

I'm trying to avoid adding a line for everything or actually two lines cuz I may be passing more than 12 talk groups through this

Bob KC2CWT
Carmel NY 10512
(914) 497-5502

On June 3, 2022 10:58:52 AM "Michael Karp" <kn4kcw@...> wrote:

[Edited Message Follows]

As far as I know, it is not possible.

you have to create individual stanzas for each TG.

however, if all repeaters/hotspots are joining the same master, it should pass the traffic to all members that are joined to the same master



Re: Hblink3 rules.py

Bob kc2cwt
 

I'm trying to avoid adding a line for everything or actually two lines cuz I may be passing more than 12 talk groups through this

Bob KC2CWT
Carmel NY 10512
(914) 497-5502

On June 3, 2022 10:58:52 AM "Michael Karp" <kn4kcw@...> wrote:

[Edited Message Follows]

As far as I know, it is not possible.

you have to create individual stanzas for each TG.

however, if all repeaters/hotspots are joining the same master, it should pass the traffic to all members that are joined to the same master


Re: Hblink3 rules.py

Michael Karp
 
Edited

As far as I know, it is not possible.

you have to create individual stanzas for each TG.

however, if all repeaters/hotspots are joining the same master, it should pass the traffic to all members that are joined to the same master


Hblink3 rules.py

Bob kc2cwt
 

Good morning all,
is thair a way in the rules.py to pass All TG 
I tryed this below with the ALL and * and its did work 
thank you 

 'DMRSE1': [
{'SYSTEM': 'MASTER-DMRSE-1', 'TS': 1, 'TGID':ALL, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [98,], 'OFF': [99,], 'RESET': []},
{'SYSTEM': 'FIRST-COAST', 'TS': 1, 'TGID':ALL, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [98,], 'OFF': [99,], 'RESET': []},
],
'DMRSE2': [
{'SYSTEM': 'MASTER-DMRSE-1', 'TS': 2, 'TGID':ALL, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [98,], 'OFF': [99,], 'RESET': []},
{'SYSTEM': 'FIRST-COAST', 'TS': 2, 'TGID':ALL, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [98,], 'OFF': [99,], 'RESET': []},
], 
Bob KC2CWT
Carmel NY 10512
(914) 497-5502


Re: HBLINK service won't come up after server went down #hblink

Alejandro Pereida
 

It worked! thanks for the advice

73 de N2IX Alex

On 5/19/22 07:46, Eric-K6KWB wrote:
Looks like you're missing the value, check your your  subscriber.json file and other with .json file download a new one if necessary.

May 18 22:13:46 servidor.xe2dnn.org python3[2610]: raise JSONDecodeError("Expecting value", s, err.value) from None
May 18 22:13:46 servidor.xe2dnn.org python3[2610]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

best,
Eric


Re: HBLINK service won't come up after server went down #hblink

Eric-K6KWB
 

Looks like you're missing the value, check your your  subscriber.json file and other with .json file download a new one if necessary.

May 18 22:13:46 servidor.xe2dnn.org python3[2610]: raise JSONDecodeError("Expecting value", s, err.value) from None
May 18 22:13:46 servidor.xe2dnn.org python3[2610]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

best,
Eric


HBLINK service won't come up after server went down #hblink

Alejandro Pereida
 

I went to vacation, came back to my shack after a week to find my Centos server off, UPS was also off, so I turned all on again, server came up but hblink.service didn't: the error while trying
to start the service is:

[root@servidor log]# systemctl status hblink.service
● hblink.service - HBlink DMR server
   Loaded: loaded (/usr/lib/systemd/system/hblink.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2022-05-18 22:13:46 PDT; 9s ago
  Process: 2610 ExecStart=/usr/bin/python3 /data0/hblink3-master/bridge.py (code=exited, status=1/FAILURE)
 Main PID: 2610 (code=exited, status=1/FAILURE)
 
May 18 22:13:46 servidor.xe2dnn.org python3[2610]: File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
May 18 22:13:46 servidor.xe2dnn.org python3[2610]: return _default_decoder.decode(s)
May 18 22:13:46 servidor.xe2dnn.org python3[2610]: File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
May 18 22:13:46 servidor.xe2dnn.org python3[2610]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
May 18 22:13:46 servidor.xe2dnn.org python3[2610]: File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
May 18 22:13:46 servidor.xe2dnn.org python3[2610]: raise JSONDecodeError("Expecting value", s, err.value) from None
May 18 22:13:46 servidor.xe2dnn.org python3[2610]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
May 18 22:13:46 servidor.xe2dnn.org systemd[1]: hblink.service: main process exited, code=exited, status=1/FAILURE
May 18 22:13:46 servidor.xe2dnn.org systemd[1]: Unit hblink.service entered failed state.
May 18 22:13:46 servidor.xe2dnn.org systemd[1]: hblink.service failed

Any ideas what went wrong and how to correct it?
Thanks in advance

Alex N2IX


Re: force talker alias from HBlink

Vincenzo
 

hi,
okay thanks to you

73 IU7HAL

Il giorno mer 27 apr 2022 alle ore 21:28 Patrick Perdue <borrisinabox@...> ha scritto:
Hi:

Just wondering if it's possible to force talker alias to callsign using
the master DMR ID database if no talker alias is present. Specifically,
I'm thinking of a situation wherein Allstar via
DVSwitch/Analog_Reflector is connected to TGIF through HBlink.
Analog_Reflector is passing a callsign from Asterisk ami, to
MMDVM_Bridge, then to HBlink. I want the callsign to display on radios
instead of the DMR ID if that ID is not in the local radio database.

Thanks and 73

N2DYI







force talker alias from HBlink

Patrick Perdue
 

Hi:

Just wondering if it's possible to force talker alias to callsign using the master DMR ID database if no talker alias is present. Specifically, I'm thinking of a situation wherein Allstar via DVSwitch/Analog_Reflector is connected to TGIF through HBlink. Analog_Reflector is passing a callsign from Asterisk ami, to MMDVM_Bridge, then to HBlink. I want the callsign to display on radios instead of the DMR ID if that ID is not in the local radio database.

Thanks and 73

N2DYI


Re: Hblink Stopped working...

GB7NR Support
 

Hi, happy days :) 

Shane 
M0VUB 

On 16 Apr 2022, at 01:17, Steve Siesel [K4KSA] <steve@...> wrote:


Thanks! That was it....Removed the file and all is good now.

Steve

On Fri, Apr 15, 2022 at 5:58 PM GB7NR Support <support@...> wrote:
Hi, 

looks like a corrupt JSON file upon auto download. Let’s see the output from your log file on that time stamp, just the snippet from the start of the error to the end will do.

 You will need to probably delete the JSON files that are automatically downloaded. These are “peer_ids.json”, “subscriber_ids.json”,” etc etc. Normally these are pulled from radioID when TRY_DOWNLOAD: True is enabled in hblink.cfg. Obviously by the looks of it one of these has failed or part downloaded and corrupted one of them. HBLink has failed to read this and thrown a decode error.. also make sure your “talkgroup_ids.json” has been edited with the correct syntax for JSON format. 

Try deleting “peer_ids.json” & “subscriber_ids.json” and restarting the service!

Shane 
M0VUB 

On 15 Apr 2022, at 21:42, Steve Siesel [K4KSA] <steve@...> wrote:



 

All,

 

I am getting the following after trying to start HBlink3

 

I don’t think I messed with anything….any thoughts?

 

● hblink.service - Start HBLink

   Loaded: loaded (/lib/systemd/system/hblink.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Fri 2022-04-15 16:29:10 EDT; 45s ago

  Process: 472 ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py (code=exited, status=1/FAILURE)

Main PID: 472 (code=exited, status=1/FAILURE)

 

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/__init__.py", line 319, in loads

Apr 15 16:29:10 fldmr python3[472]:     return _default_decoder.decode(s)

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 339, in decode

Apr 15 16:29:10 fldmr python3[472]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

Apr 15 16:29:10 fldmr python3[472]:     raise JSONDecodeError("Expecting value", s, err.value) from None

Apr 15 16:29:10 fldmr python3[472]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Main process exited, code=exited, status=1/FAILURE

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Unit entered failed state.

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Failed with result 'exit-code'.

root@fldmr:/home/k4ksa#

 

 

Steve

 


Re: Hblink Stopped working...

Steve Siesel [K4KSA]
 

Thanks! That was it....Removed the file and all is good now.

Steve


On Fri, Apr 15, 2022 at 5:58 PM GB7NR Support <support@...> wrote:
Hi, 

looks like a corrupt JSON file upon auto download. Let’s see the output from your log file on that time stamp, just the snippet from the start of the error to the end will do.

 You will need to probably delete the JSON files that are automatically downloaded. These are “peer_ids.json”, “subscriber_ids.json”,” etc etc. Normally these are pulled from radioID when TRY_DOWNLOAD: True is enabled in hblink.cfg. Obviously by the looks of it one of these has failed or part downloaded and corrupted one of them. HBLink has failed to read this and thrown a decode error.. also make sure your “talkgroup_ids.json” has been edited with the correct syntax for JSON format. 

Try deleting “peer_ids.json” & “subscriber_ids.json” and restarting the service!

Shane 
M0VUB 

On 15 Apr 2022, at 21:42, Steve Siesel [K4KSA] <steve@...> wrote:



 

All,

 

I am getting the following after trying to start HBlink3

 

I don’t think I messed with anything….any thoughts?

 

● hblink.service - Start HBLink

   Loaded: loaded (/lib/systemd/system/hblink.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Fri 2022-04-15 16:29:10 EDT; 45s ago

  Process: 472 ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py (code=exited, status=1/FAILURE)

Main PID: 472 (code=exited, status=1/FAILURE)

 

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/__init__.py", line 319, in loads

Apr 15 16:29:10 fldmr python3[472]:     return _default_decoder.decode(s)

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 339, in decode

Apr 15 16:29:10 fldmr python3[472]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

Apr 15 16:29:10 fldmr python3[472]:     raise JSONDecodeError("Expecting value", s, err.value) from None

Apr 15 16:29:10 fldmr python3[472]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Main process exited, code=exited, status=1/FAILURE

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Unit entered failed state.

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Failed with result 'exit-code'.

root@fldmr:/home/k4ksa#

 

 

Steve

 


Re: Hblink Stopped working...

GB7NR Support
 

Hi, 

looks like a corrupt JSON file upon auto download. Let’s see the output from your log file on that time stamp, just the snippet from the start of the error to the end will do.

 You will need to probably delete the JSON files that are automatically downloaded. These are “peer_ids.json”, “subscriber_ids.json”,” etc etc. Normally these are pulled from radioID when TRY_DOWNLOAD: True is enabled in hblink.cfg. Obviously by the looks of it one of these has failed or part downloaded and corrupted one of them. HBLink has failed to read this and thrown a decode error.. also make sure your “talkgroup_ids.json” has been edited with the correct syntax for JSON format. 

Try deleting “peer_ids.json” & “subscriber_ids.json” and restarting the service!

Shane 
M0VUB 

On 15 Apr 2022, at 21:42, Steve Siesel [K4KSA] <steve@...> wrote:



 

All,

 

I am getting the following after trying to start HBlink3

 

I don’t think I messed with anything….any thoughts?

 

● hblink.service - Start HBLink

   Loaded: loaded (/lib/systemd/system/hblink.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Fri 2022-04-15 16:29:10 EDT; 45s ago

  Process: 472 ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py (code=exited, status=1/FAILURE)

Main PID: 472 (code=exited, status=1/FAILURE)

 

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/__init__.py", line 319, in loads

Apr 15 16:29:10 fldmr python3[472]:     return _default_decoder.decode(s)

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 339, in decode

Apr 15 16:29:10 fldmr python3[472]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

Apr 15 16:29:10 fldmr python3[472]:     raise JSONDecodeError("Expecting value", s, err.value) from None

Apr 15 16:29:10 fldmr python3[472]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Main process exited, code=exited, status=1/FAILURE

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Unit entered failed state.

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Failed with result 'exit-code'.

root@fldmr:/home/k4ksa#

 

 

Steve

 


Hblink Stopped working...

Steve Siesel [K4KSA]
 

 

All,

 

I am getting the following after trying to start HBlink3

 

I don’t think I messed with anything….any thoughts?

 

● hblink.service - Start HBLink

   Loaded: loaded (/lib/systemd/system/hblink.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Fri 2022-04-15 16:29:10 EDT; 45s ago

  Process: 472 ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py (code=exited, status=1/FAILURE)

Main PID: 472 (code=exited, status=1/FAILURE)

 

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/__init__.py", line 319, in loads

Apr 15 16:29:10 fldmr python3[472]:     return _default_decoder.decode(s)

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 339, in decode

Apr 15 16:29:10 fldmr python3[472]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

Apr 15 16:29:10 fldmr python3[472]:     raise JSONDecodeError("Expecting value", s, err.value) from None

Apr 15 16:29:10 fldmr python3[472]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Main process exited, code=exited, status=1/FAILURE

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Unit entered failed state.

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Failed with result 'exit-code'.

root@fldmr:/home/k4ksa#

 

 

Steve

 


Re: HBLINK3 will not start if YSFRelflector is running first

GB7NR Support
 

Hi,

that’s ok, seems that’s some of those dependencies are well due for upgrade. It may be worth backing up your config files and rules.py & reinstalling with Debian 11 and using my one shot installer. The current latest genuine HBLink repo is here https://github.com/HBLink-org/hblink3 is rock solid and probably the most stable it’s ever been on a Debian 11 setup. I’ve been running this setup for over a year on the FreeSTAR Network and has been faultless, this is the dash Waldeks original HBMonitor, using docker https://freestar.network/dash/masterserver/public/public_dash.html


Use this if you want a simple setup 
One shot with HBMonv2 dash 

Replace with your backed up config 
/etc/hblink3/

Follow the instructions on GitHub 


Thank me later :)

Shane 
M0VUB 

On 31 Mar 2022, at 18:49, W8DSB <w8dsb@...> wrote:

Hi Shane, I am not a linux guy at all but I stepped up to create this cloud for our club so forgive the simple questions.
I did a apt-get update and apt-get upgrade (a few times) my hblink.py is dated 6/15/2020 (not sure of any other way to tell if I have the newest.

when I "pip list"
bitarray (0.8.1)
pip (8.1.1)
pyserial (3.0.1)
setuptools (20.7.0)
wheel (0.29.0)
You are using pip version 8.1.1, however version 22.0.4 is available.

I think I have Python 2,3,3.5 installed but not sure how to tell (The OS install came with 3.5.x but DVSwitch installed 2 and 3)

My service to start HBlink looks like this, so I assume this means I am using python 3 because thats what I am calling:
[Service]
StandardOutput=null
WorkingDirectory=/opt/HBlink3
RestartSec=3
ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py
Restart=on-abort


Re: HBLINK3 will not start if YSFRelflector is running first

W8DSB
 

Hi Shane, I am not a linux guy at all but I stepped up to create this cloud for our club so forgive the simple questions.
I did a apt-get update and apt-get upgrade (a few times) my hblink.py is dated 6/15/2020 (not sure of any other way to tell if I have the newest.

when I "pip list"
bitarray (0.8.1)
pip (8.1.1)
pyserial (3.0.1)
setuptools (20.7.0)
wheel (0.29.0)
You are using pip version 8.1.1, however version 22.0.4 is available.

I think I have Python 2,3,3.5 installed but not sure how to tell (The OS install came with 3.5.x but DVSwitch installed 2 and 3)

My service to start HBlink looks like this, so I assume this means I am using python 3 because thats what I am calling:
[Service]
StandardOutput=null
WorkingDirectory=/opt/HBlink3
RestartSec=3
ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py
Restart=on-abort


Re: HBLINK3 will not start if YSFRelflector is running first

GB7NR Support
 

Hi, have you updated HBLink? Also use Python ver 3.9, I have pushed a couple of updates to HBLink master branch a few months back. Also recommend using docker if you can, it’s all in the official HBLink repo. 

Shane 
M0VUB 

On 31 Mar 2022, at 15:48, W8DSB <w8dsb@...> wrote:



I have a server with ASL, ALLMON, DVSwitch (2x), HBLINK3, YSFReflector installed. When I reboot everything starts up ok (no issues). When I stop HBLINK or run dvswitch.sh to update data files HBLINK will not restart. If I stop YSFReflector then start HBLINK it will start, then I can restart YSFReflector.

I think its something to do with Python versions but I am far from any type of expert.

At this point I have to call DVSwitch.sh let it update the files then reboot in my CRONTAB... hoping for something a little less aggressive.

I looked at teh HBLINK logs and YSF logs nothing in there....what else can I review?






HBLINK3 will not start if YSFRelflector is running first

W8DSB
 

I have a server with ASL, ALLMON, DVSwitch (2x), HBLINK3, YSFReflector installed. When I reboot everything starts up ok (no issues). When I stop HBLINK or run dvswitch.sh to update data files HBLINK will not restart. If I stop YSFReflector then start HBLINK it will start, then I can restart YSFReflector.

I think its something to do with Python versions but I am far from any type of expert.

At this point I have to call DVSwitch.sh let it update the files then reboot in my CRONTAB... hoping for something a little less aggressive.

I looked at teh HBLINK logs and YSF logs nothing in there....what else can I review?






Re: HBlink3 to YSF Reflector

W8DSB
 

Thank You Shane for your comments. I did get it to work by going a little different route but got the same results. I used HBLINK to open a second DMR master then start two MMDVM_Bridge services one connected to ASL and the other connected to a YSF creating the bridge I needed.


Re: HBlink3 to YSF Reflector

GB7NR Support
 

Hi, yes you can. HBlink is a DMR Master server. So use an MMDVM Cross Mode tool to bring YSF into DMR. For example YSF2DMR. 

Simply connect to your HBLink master with the use of YSF2DMR. Run this on your YSF Reflector instance. Visit GitHub and search for MMDVM_CM, compile the appropriate tool using make, make install, and configure as necessary. 

Shane 
M0VUB    

On 30 Mar 2022, at 02:15, W8DSB <w8dsb@...> wrote:

Can HBLINK connect to a remote YSF Reflector? If so can you please post a sample .cfg amd rule file? Both the HBlink and the YSF are my clubs. I am not trying to connect to something that is not my system.

1 - 20 of 2762