bwssytems / ha-bridge

Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp interface. This is a compact impl to run on small format computers. This is impl started from this project https://github.com/armzilla/amazon-echo-ha-bridge.
Apache License 2.0
1.45k stars 198 forks source link

my zyxel nas is interfering with ha-bridge #1212

Open bobbyds1 opened 4 years ago

bobbyds1 commented 4 years ago

I am trying to set-up my x10 stuff with ha-bridge 5.3.0 when run ha bridge on port 8080 i see it trying to change to the ip address of my zyxel nas drive which is a different ip what would cause this

2020-05-20 00:13:24,713 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: Interface: eth2 valid usable IP address: /192.168.1.8 2020-05-20 00:13:24,713 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: Adding eth2 to our upnp join interface set. 2020-05-20 00:13:24,714 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Create and run mDNS service. 2020-05-20 00:13:24,791 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener running and ready.... 2020-05-20 00:13:29,555 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: SSDP M-SEARCH packet from 192.168.1.7:41566 2020-05-20 00:13:30,208 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: send upnp discovery template 1 with response address: 192.168.1.8:8080 to address: /192.168.1.7:41566 2020-05-20 00:13:30,337 [qtp818099-11] INFO com.bwssystems.HABridge.upnp.UpnpSettingsResource - Traceupnp: request of description.xml from: 192.168.1.7:8080 filled in with address: 192.168.1.8:8080 2020-05-20 00:13:30,861 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: send upnp discovery template 2 with response address: 192.168.1.8:8080 to address: /192.168.1.7:41566 2020-05-20 00:13:31,513 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: send upnp discovery template 3 with response address: 192.168.1.8:8080 to address: /192.168.1.7:41566

what does this mean

bwssytems commented 4 years ago

If you want to use a different interface on the ha-bridge host, set the upnp config address in the control page.

bwssytems commented 3 years ago

Have you resolved your issue?

bobbyds1 commented 3 years ago

No

Sent from my iPad

On Dec 8, 2020, at 2:47 PM, BWS Systems notifications@github.com wrote:

 Have you resolved your issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bwssytems commented 3 years ago

Did your try what I suggested? Make sure you have your port set to not collide and use the correct shipping address that is exposed. Also is the nas had special firewall functions check those. I am not familiar with your device so difficult to help debug

bobbyds1 commented 3 years ago

My new issue is sometimes Alexa will execute a command but say check the device or network connection. But a lot of times it does not execute the command and says check device or net work connection if this happens a few times, I reboot raspberry pi ant then it works for a while.

Sent from my iPhone

On Dec 8, 2020, at 6:41 PM, Bob DeMarie bobbyds1@aol.com wrote:

No

Sent from my iPad

On Dec 8, 2020, at 2:47 PM, BWS Systems notifications@github.com wrote:

 Have you resolved your issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bwssytems commented 3 years ago

So is the habridge running on a raspberry pi or the zyxel nas?

bobbyds1 commented 3 years ago

Raspberry pi

Sent from my iPhone

On Dec 10, 2020, at 2:17 PM, BWS Systems notifications@github.com wrote:

 So is the habridge running on a raspberry pi or the zyxel nas?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bwssytems commented 3 years ago

So, do you have a static ip address for yur raspberry pi or is it dynamic with dhcp?

bobbyds1 commented 3 years ago

Static ip address

From: BWS Systems notifications@github.com Sent: Saturday, December 12, 2020 10:44 AM To: bwssytems/ha-bridge ha-bridge@noreply.github.com Cc: bobbyds1 bobbyds1@aol.com; Author author@noreply.github.com Subject: Re: [bwssytems/ha-bridge] my zyxel nas is interfering with ha-bridge (#1212)

So, do you have a static ip address for yur raspberry pi or is it dynamic with dhcp?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bwssytems/ha-bridge/issues/1212#issuecomment-743774466 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5T7UGKEEPTWAQWMSDBZR3SUOFVTANCNFSM4NFSIEGQ . https://github.com/notifications/beacon/AF5T7UFYYQBVRYKU2CYF6BTSUOFVTA5CNFSM4NFSIEG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRKRSAQ.gif

-- This email has been checked for viruses by AVG. https://www.avg.com

bwssytems commented 3 years ago

Well, unless I have a full log (from start of the ha-bridge to the end) to look at with "Trace UPNP Calls" and "Trace State Changes" turned on to true, I cannot give much more info.

bobbyds1 commented 3 years ago

How do I do that

How do I set it up to do that

From: BWS Systems notifications@github.com Sent: Saturday, December 12, 2020 2:02 PM To: bwssytems/ha-bridge ha-bridge@noreply.github.com Cc: bobbyds1 bobbyds1@aol.com; Author author@noreply.github.com Subject: Re: [bwssytems/ha-bridge] my zyxel nas is interfering with ha-bridge (#1212)

Well, unless I have a full log (from start of the ha-bridge to the end) to look at with "Trace UPNP Calls" and "Trace State Changes" turned on to true, I cannot give much more info.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bwssytems/ha-bridge/issues/1212#issuecomment-743800788 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5T7UGKMUY4AEKRP3LMZW3SUO4ZLANCNFSM4NFSIEGQ . https://github.com/notifications/beacon/AF5T7UBAG3YIXSDT6SSKEYLSUO4ZLA5CNFSM4NFSIEG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRKX7VA.gif

-- This email has been checked for viruses by AVG. https://www.avg.com

bwssytems commented 3 years ago

Those items are in the bridge control tab. search for getting your log

bobbyds1 commented 3 years ago

I hope this helps

12-08-2020 21:21:58.018

INFO

HA Bridge startup sequence...

com.bwssystems.HABridge.HABridge

12-08-2020 21:21:58.315

INFO

HA Bridge (v5.3.0) initializing....

com.bwssystems.HABridge.HABridge

12-08-2020 21:21:58.319

INFO

reading from config file: /home/pi/ha-bridge/data/habridge.config

com.bwssystems.HABridge.BridgeSettings

12-08-2020 21:21:58.932

INFO

StaticResourceHandler configured with folder = /public

spark.staticfiles.StaticFilesConfiguration

12-08-2020 21:21:58.983

INFO

System control service started....

com.bwssystems.HABridge.SystemControl

12-08-2020 21:21:59.090

INFO

Initializing UDP response Socket...

com.bwssystems.HABridge.util.UDPDatagramSender

12-08-2020 21:21:59.117

INFO

UDP response Socket initialized to: 50000

com.bwssystems.HABridge.util.UDPDatagramSender

12-08-2020 21:21:59.128

INFO

HTTP Home created.

com.bwssystems.HABridge.plugins.http.HTTPHome

12-08-2020 21:21:59.141

INFO

Harmony Home created. No Harmony devices configured.

com.bwssystems.HABridge.plugins.harmony.HarmonyHome

12-08-2020 21:21:59.145

INFO

Nest Home created. No Nest configured.

com.bwssystems.HABridge.plugins.NestBridge.NestHome

12-08-2020 21:21:59.148

INFO

Hue passthru Home created. No Hue passtrhu systems configured.

com.bwssystems.HABridge.plugins.hue.HueHome

12-08-2020 21:21:59.152

INFO

HAL Home created. No HAL devices configured.

com.bwssystems.HABridge.plugins.hal.HalHome

12-08-2020 21:21:59.154

INFO

MQTT Home created. No MQTT Clients configured.

com.bwssystems.HABridge.plugins.mqtt.MQTTHome

12-08-2020 21:21:59.157

INFO

HomeAssistant Home created. No HomeAssistants configured.

com.bwssystems.HABridge.plugins.hass.HassHome

12-08-2020 21:21:59.160

INFO

HomeWizard Home created. No HomeWizard gateways configured.

com.bwssystems.HABridge.plugins.homewizard.HomeWizardHome

12-08-2020 21:21:59.162

INFO

Command Home for system program execution created.

com.bwssystems.HABridge.plugins.exec.CommandHome

12-08-2020 21:21:59.166

INFO

TCP Home created.

com.bwssystems.HABridge.plugins.tcp.TCPHome

12-08-2020 21:21:59.172

INFO

UDP Home created.

com.bwssystems.HABridge.plugins.udp.UDPHome

12-08-2020 21:21:59.174

INFO

Vera Home created. No Veras configured.

com.bwssystems.HABridge.plugins.vera.VeraHome

12-08-2020 21:21:59.176

INFO

Fibaro Home created. No Fibaros configured.

com.bwssystems.HABridge.plugins.fibaro.FibaroHome

12-08-2020 21:21:59.179

INFO

Domoticz Home created. No Domoticz devices configured.

com.bwssystems.HABridge.plugins.domoticz.DomoticzHome

12-08-2020 21:21:59.181

INFO

Somfy Home created. No Somfys configured.

com.bwssystems.HABridge.plugins.somfy.SomfyHome

12-08-2020 21:21:59.186

INFO

LifxDevice Home created. No LifxDevices configured.

com.bwssystems.HABridge.plugins.lifx.LifxHome

12-08-2020 21:21:59.189

INFO

OpenHAB Home created. No OpenHABs configured.

com.bwssystems.HABridge.plugins.openhab.OpenHABHome

12-08-2020 21:21:59.192

INFO

FHEM Home created. No FHEMs configured.

com.bwssystems.HABridge.plugins.fhem.FHEMHome

12-08-2020 21:21:59.199

INFO

Broadlink Home created. No Broadlinks configured.

com.bwssystems.HABridge.plugins.broadlink.BroadlinkHome

12-08-2020 21:21:59.201

INFO

Mozilla IOT Home created. No Mozilla IOTs configured.

com.bwssystems.HABridge.plugins.moziot.MozIotHome

12-08-2020 21:21:59.214

INFO

HomeGenie Home created.

com.bwssystems.HABridge.plugins.homegenie.HomeGenieHome

12-08-2020 21:21:59.251

INFO

HABridge device management service started....

com.bwssystems.HABridge.devicemanagmeent.DeviceResource

12-08-2020 21:21:59.276

INFO

== Spark has ignited ...

spark.embeddedserver.jetty.EmbeddedJettyServer

12-08-2020 21:21:59.277

INFO

Listening on 0.0.0.0:80

spark.embeddedserver.jetty.EmbeddedJettyServer

12-08-2020 21:21:59.312

INFO

Hue emulator service started....

com.bwssystems.HABridge.hue.HueMulator

12-08-2020 21:21:59.512

INFO

Description xml service started....

com.bwssystems.HABridge.upnp.UpnpSettingsResource

12-08-2020 21:21:59.525

INFO

UPNP Discovery Listener starting....

com.bwssystems.HABridge.upnp.UpnpListener

12-08-2020 21:21:59.527

INFO

Create and run mDNS service.

com.bwssystems.HABridge.upnp.UpnpListener

12-08-2020 21:21:59.600

INFO

UPNP Discovery Listener running and ready....

com.bwssystems.HABridge.upnp.UpnpListener

12-12-2020 20:12:55.171

WARN

Cannot get devices for Homegenie null Gson Parse Error.

com.bwssystems.HABridge.plugins.homegenie.HomeGenieInstance

12-12-2020 20:12:55.173

WARN

Cannot get devices for HomeGenie with name: null, skipping this HomeGenie.

com.bwssystems.HABridge.plugins.homegenie.HomeGenieHome

Logging Configuration

From: BWS Systems notifications@github.com Sent: Saturday, December 12, 2020 2:02 PM To: bwssytems/ha-bridge ha-bridge@noreply.github.com Cc: bobbyds1 bobbyds1@aol.com; Author author@noreply.github.com Subject: Re: [bwssytems/ha-bridge] my zyxel nas is interfering with ha-bridge (#1212)

Well, unless I have a full log (from start of the ha-bridge to the end) to look at with "Trace UPNP Calls" and "Trace State Changes" turned on to true, I cannot give much more info.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bwssytems/ha-bridge/issues/1212#issuecomment-743800788 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5T7UGKMUY4AEKRP3LMZW3SUO4ZLANCNFSM4NFSIEGQ . https://github.com/notifications/beacon/AF5T7UBAG3YIXSDT6SSKEYLSUO4ZLA5CNFSM4NFSIEG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRKX7VA.gif

-- This email has been checked for viruses by AVG. https://www.avg.com