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 199 forks source link

Installation of HA-Bridge #1382

Closed genoa123 closed 1 year ago

genoa123 commented 1 year ago

Hi Newbie here! I have followed the instructions here for the install of v5.4.1 ... As I could not see the bridge from the browse (I see the Apache splash screen) I check the status of HA-Bridge I get the following. Why is it stopping? pi@NewPi:/etc/systemd/system $ tail -f /var/log/syslog Jan 4 14:35:42 NewPi java[4482]: 2023-01-04 14:35:42,918 [main] INFO com.bwssystems.HABridge.plugins.http.HttpClientPool - Client pool shut down Jan 4 14:35:42 NewPi java[4482]: 2023-01-04 14:35:42,938 [main] INFO com.bwssystems.HABridge.plugins.http.HttpClientPool - Instantiated SSL components. Jan 4 14:35:42 NewPi java[4482]: 2023-01-04 14:35:42,941 [main] INFO com.bwssystems.HABridge.plugins.http.HttpClientPool - Shutting down client pool Jan 4 14:35:42 NewPi java[4482]: 2023-01-04 14:35:42,941 [main] INFO com.bwssystems.HABridge.plugins.http.HttpClientPool - Client pool shut down Jan 4 14:35:42 NewPi java[4482]: 2023-01-04 14:35:42,942 [main] INFO com.bwssystems.HABridge.HABridge - HA Bridge (v5.4.1) exiting.... Jan 4 14:35:42 NewPi java[4482]: 2023-01-04 14:35:42,946 [Thread-1] INFO com.bwssystems.HABridge.ShutdownHook - Shutdown requested... Jan 4 14:35:42 NewPi java[4482]: 2023-01-04 14:35:42,947 [Thread-1] INFO com.bwssystems.HABridge.ShutdownHook - Already stopped

Thanks for any help. Peter

genoa123 commented 1 year ago

Attached is a fuller log of what is going on .... I do hope someone can tell me why this is not remaining live ... Peter

journallog.txt

genoa123 commented 1 year ago

So I stopped Apache2 and no surprise HA Bridge appears on port 80. I entered my devices in the UI, and 10 minutes later, Alexa found my X10 devices ! Brilliant!!