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

BidCos-Wired broken in v3.41.11.20181124 #479

Closed
r4m3u5 opened this Issue Nov 25, 2018 · 10 comments

Comments

Projects
None yet
5 participants
@r4m3u5

r4m3u5 commented Nov 25, 2018

When opening the WebUI after upgrading to v3.41.11.20181124 this messages appears:

image

Although the RS485 gateway shows status 'connected' in the LAN gateway configuration section none of the wired devices can be used. E.g. when trying to switch an actuator to 'on' it just stays on 'off' not displaying any additional error message. The behavior is reproducible.
Downgrading to v3.37.8.20181026 solves the issue.

Cheers
/Jens

@jens-maus

This comment has been minimized.

Owner

jens-maus commented Nov 25, 2018

Please post content of /var/etc/hs485d.conf and check if hs485d is running using ps command.

@r4m3u5

This comment has been minimized.

r4m3u5 commented Nov 25, 2018

Thanks for your quick reply Jens.

Just re-updated to v3.41.11.20181124. 'hs485d' seems to be running:

576 root 0:00 /bin/hs485dLoader -l 1 -dw /var/etc/hs485d.conf
578 root 0:00 /bin/hs485d -l 1 -g -i 0

Here's is the contents of /var/etc/hs485d.conf:

# This File was automatically generated
# TCP Port for XmlRpc connections
Listen Port = 32000

Log Destination = Syslog
Log Identifier = hs485d



[Interface 0]
Type = HMWLGW
Name = homematicW-lgw2-1
Serial Number = LEQxxxxxxx
Encryption Key = xxxxxxxxxx
IP Address = 192.168.222.170


@alexreinert

This comment has been minimized.

Contributor

alexreinert commented Nov 25, 2018

Can you please provide your /etc/config/InterfacesList.xml

@r4m3u5

This comment has been minimized.

r4m3u5 commented Nov 25, 2018

Sure. Here you go:

<?xml version="1.0" encoding="utf-8" ?> 
<interfaces v="1.0">
	<ipc>
	 	<name>BidCos-RF</name>
	 	<url>xmlrpc_bin://127.0.0.1:32001</url> 
	 	<info>BidCos-RF</info> 
	</ipc>
	<ipc>
	 	<name>VirtualDevices</name>
	 	<url>xmlrpc://127.0.0.1:39292/groups</url> 
	 	<info>Virtual Devices</info> 
	</ipc>
	<ipc>
	 	<name>HmIP-RF</name>
	 	<url>xmlrpc://127.0.0.1:32010</url>
	 	<info>HmIP-RF</info>
	</ipc>
	<ipc>
		<name>BidCos-Wired</name>
		<url>xmlrpc_bin://127.0.0.1:32000</url>
		<info>BidCoS-Wired</info>
	</ipc>
</interfaces>
@jens-maus

This comment has been minimized.

Owner

jens-maus commented Nov 25, 2018

It seems the startup of hs485d is using the wrong hs485d.conf. Please make sure that you ps output really doesn‘t show /var/etc/hs485d.conf at the very end. It usually should! Please check!

@HMside

This comment has been minimized.

Contributor

HMside commented Nov 25, 2018

The problem is that the Listen Port in/usr/local/config/hs485d. conf is still 2000. After modification to 32000 and a reboot will work again.

/var/etc/hs485d.conf

Listen Port = 32000
Log Destination = Syslog
Log Identifier = hs485d
[Interface 0]
Type = HMWLGW
Name = Wired-Gateway
Serial Number = KEQ0123456
Encryption Key = key
IP Address = 10.20.30.223

The Listen Port in /usr/local/etc/config/hs485d.conf is still 2000

Listen Port = 2000
Log Destination = Syslog
Log Identifier = hs485d
[Interface 0]
Type = HMWLGW
Name = Wired-Gateway
Serial Number = KEQ0123456
Encryption Key = key
IP Address = 10.20.30.223
@r4m3u5

This comment has been minimized.

r4m3u5 commented Nov 25, 2018

Good stuff @HMside !

Can confirm that changing the listen port in /usr/local/etc/config/hs485d.conf to 32000 fixes the problem.

Cheers
/Jens

@jens-maus

This comment has been minimized.

Owner

jens-maus commented Nov 25, 2018

In will check that later because normally this file should not be used anymore but /var/etc/hs485d.conf - at least thats how I had implemented it in the hs485d startup script AFAIR.

@jens-maus

This comment has been minimized.

Owner

jens-maus commented Nov 25, 2018

I can confirm that changing Listen Port to 32000 in /etc/config/hs485d.conf solves the issue for a moment. So please everyone suffering from this issue should manually modify this file until the issue is permanently fixed in the next version.

@Erbit

This comment has been minimized.

Erbit commented Nov 25, 2018

I also confirm. Changing the port to 32000 in the /etc/config/hs485d.conf file solves the issue.

Thank you for the quick solution.

@jens-maus jens-maus added this to the next release milestone Nov 25, 2018

@jens-maus jens-maus closed this in 9738d1a Nov 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment