connection problems velbus and openremote

Hi everyone

Lots of things I got working, but I’d run in another problem.

Suddenly, the app of openremote does not show any data from velbus system. Nor can you use the buttons.

I did not change anything in the period when it did work and when it stopped working, according to the logs. The only relevant thing I can think of is that there was a power failure at my home. Where also the earth leakage circuit breaker stopped. I have put the power back on. All parts of the velbus system and the BBB server do have power. I can access the velbus system directly, via the BBB server. So there is a connection. I see that on the server Velserv is running. I can update the controller without a problem. I can access the openremote app with all it visuals. The rules and boot logs are the same as before, also with startups and controller updates. All seems fine. But I just cannot use the buttons, switches, and there is no data to be seen.

The only signal other than the app, is that the velbus logs says the following below.

What can I do to solve this problem?

Thank you for any help

Richard


INFO 2018-09-19 17:58:22,080 (Velbus): Scheduled bus connection task
WARN 2018-09-19 17:58:22,180 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 17:58:42,079 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 17:59:02,079 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 17:59:22,083 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 17:59:42,086 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:00:02,089 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:00:22,085 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:00:42,086 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:01:02,093 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:01:22,095 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:01:42,096 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:02:02,096 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:02:22,099 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:02:42,096 (Velbus): Connection refused (Connection refused)
WARN 2018-09-19 18:03:02,102 (Velbus): Connection refused (Connection refused)

Hi Richard

Sorry to hear that you've having issues.

However, the Velbus log seems pretty clear.

For some reason, your OpenRemote controller can't get a connection to VelServ.

As you've suffered a power failure, my initial thoughts are..

1. VelServ came back up, after OpenRemote. So the connection wasn't available for the initialisation. (If the TCP link fails after initialisation, OpenRemote will keep trying to restore the connection)

2. Your OpenRemote Velbus configuration is looking for an IP address that no longer exists, because your BBB was assigned a new IP address. (This assumes that you have configured OpenRemote to use a local area network address, rather than 127.0.0.1

I would suggest a reboot first and if that doesn't resolve it, then look into the IP address settings for your Velbus networks in Designer.

Hi Stuart

Thanks.

Will I tried a reboot throughout the days. SOme time give it a bit longer the time, but it does not help.

I looked around and found our previous mails when I started using the BBB. I had a connection problem then. And when the settings were right, the way to solve it ways to reboot indeed, and wait a long time to initialize.

Then the hostname was 127.0.0.1 with another port than it now says. But now it was localhost. I tried 127.0.0.1 again with the old port. I dont remember why it is now different than from the start.

The BBB has still the same adress, that did not change.

Any ideas? Maybe I try some new variations.

I dont remember changing these values for a long time. But maybe somehtings change somehow.

Richard

scratch that

The changes i made for the hostname and port, did indeed eventually work.

But where I went wrong is, beyond me.

Thanks for the help again.

Richard

How bizarre.

But at least you've got it working.

I can't remember if the BBB you have is running JVelbusD, or VelServ.

However, I normally configure them to use the same port.

So..

Within the OpenRemote designer, you should set..

127.0.0.1 and port 6000

(localhost will also work)

From your internet network, to connect VelbusLink to the Velbus server on the BBB (or anything else you might use in the future, or for others reading this)

You can use the TCP/IP connection option and enter the local area network address of the BBB and port 6000

Good luck

Stuart