You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a bare metal Home Assistant install on an x86. I have Mosquitto installed as my MQTT broker and am using it successfully. I have a Reolink POE spotlight that isn't able to be part of the Reolink integration. I am looking for a way to switch the floodlight on and off and found Neolink.
I've successfully installed it as an addon in HAOS and can connect to the floodlight according to the logs. However, Neolink seems to be unable to connect to MQTT also as per the logs (below). I've included both my config file and the log file for the setup and wonder if anyone can point me in the right direction. The mqtt credentials are most definately correct and I'm running the latest version of everything. Thanks for you help.
Addon Config:
Config File:
bind = "0.0.0.0"
[mqtt]
broker_addr = "127.0.0.1" #this is your mqtt broker address
port = 1883
credentials = [“xxxx”x, “yyyyy”] #this is your mqtt credentials
[[cameras]]
name = "Floodlight"
username = “xxxxx”
password = “xyyyyyy #your floodlight password
address = "192.168.6.199:9000" #this is your floodlight IP address
[cameras.mqtt]
[cameras.mqtt.discovery]
topic = "homeassistant"
features = ["floodlight", "led", "reboot"]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I have a bare metal Home Assistant install on an x86. I have Mosquitto installed as my MQTT broker and am using it successfully. I have a Reolink POE spotlight that isn't able to be part of the Reolink integration. I am looking for a way to switch the floodlight on and off and found Neolink.
I've successfully installed it as an addon in HAOS and can connect to the floodlight according to the logs. However, Neolink seems to be unable to connect to MQTT also as per the logs (below). I've included both my config file and the log file for the setup and wonder if anyone can point me in the right direction. The mqtt credentials are most definately correct and I'm running the latest version of everything. Thanks for you help.
Addon Config:
Config File:
bind = "0.0.0.0"
[mqtt]
broker_addr = "127.0.0.1" #this is your mqtt broker address
port = 1883
credentials = [“xxxx”x, “yyyyy”] #this is your mqtt credentials
[[cameras]]
name = "Floodlight"
username = “xxxxx”
password = “xyyyyyy #your floodlight password
address = "192.168.6.199:9000" #this is your floodlight IP address
[cameras.mqtt]
[cameras.mqtt.discovery]
topic = "homeassistant"
features = ["floodlight", "led", "reboot"]
Log Files from start up:
--- VERSIONS ---
add-on version: 0.0.9
neolink version: neolink 0.6.2
[2024-12-12T06:07:46Z INFO neolink] Neolink d8623cd release
neolink mode: mqtt
neolink log: debug
ATTENTION: if you expected a newer Neolink version, please reinstall this Add-on!
--- Neolink ---
[2024-12-12T06:07:46Z INFO neolink] Neolink d8623cd release
[2024-12-12T06:07:46Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:07:46Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:07:46Z INFO neolink::mqtt] Floodlight: MQTT Staring
[2024-12-12T06:07:48Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:07:48Z DEBUG neolink::common::reactor] Inserting new insance
[2024-12-12T06:07:48Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:07:48Z INFO neolink::utils] Floodlight: Connecting to camera at Address: 192.168.6.199:9000
[2024-12-12T06:07:48Z DEBUG neolink::common::reactor] New instance created
[2024-12-12T06:07:48Z DEBUG neolink::common::reactor] Got instance from reactor
[2024-12-12T06:07:48Z DEBUG neolink::common::neocam] Floodlight: InUse
[2024-12-12T06:07:48Z INFO neolink_core::bc_protocol] Floodlight: Trying TCP discovery
[2024-12-12T06:07:48Z INFO neolink_core::bc_protocol] Floodlight: TCP Discovery success at 192.168.6.199:9000
[2024-12-12T06:07:48Z INFO neolink::utils] Floodlight: Logging in
[2024-12-12T06:07:48Z DEBUG neolink_core::bc_protocol::login] Populating abilities
[2024-12-12T06:07:48Z DEBUG neolink_core::bc_protocol::abilityinfo] Abilities: admingeneral_rw, norm_rw, version_ro, uid_ro, autoReboot_rw, restore_rw, reboot_rw, shutdown_rw, dst_rw, log_ro, output_rw, performance_ro, upgrade_rw, export_rw, import_rw, bootPwd_rwport_rw, dns_rw, email_rw, ipFilter_rw, localLink_rw, pppoe_rw, upnp_rw, ntp_rw, netStatus_rw, ptop_rwhddFull_rw, hddError_rw, disconnect_rw, ipConflict_rw, rfAlarm_rw0motion_rw, videoLost_rw, hide_rw0ispBasic_rw0replay_rw, seek_rwcontrol_rw, preset_rw, cruise_rw, track_rw, decoder_rw, ptzInfo_ro0preview_rw, compress_rw, snap_rw, rtsp_rw, streamTable_ro
[2024-12-12T06:07:48Z INFO neolink::utils] Floodlight: Connected and logged in
[2024-12-12T06:07:48Z INFO neolink::common::camthread] Floodlight: Camera time is already set: 2024-12-12 16:07:48.0 -10:00:00
[2024-12-12T06:07:48Z INFO neolink::common::neocam] Floodlight: Model Reolink Floodlight PoE
[2024-12-12T06:07:48Z INFO neolink::common::neocam] Floodlight: Firmware Version v3.0.0.1311_22090741
[2024-12-12T06:07:48Z DEBUG neolink::common::neocam] Floodlight: Listing Camera Supported Streams
mainStream: 704x480
subStream: 704x480
[2024-12-12T06:07:48Z DEBUG neolink::common::neocam] Floodlight: Idle
[2024-12-12T06:07:48Z DEBUG neolink_core::bc_protocol::connection::bcconn] Ignoring uninteresting message id 291 (number: 0)
[2024-12-12T06:07:50Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:07:50Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:07:52Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:07:52Z DEBUG neolink::mqtt::discovery] Enabling MQTT discovery for Floodlight
[2024-12-12T06:07:52Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:07:54Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:07:54Z INFO neolink::mqtt::discovery] Enabled MQTT discovery for Floodlight with friendly name Floodlight
[2024-12-12T06:07:54Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:07:56Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:07:56Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:07:58Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:07:58Z DEBUG neolink::mqtt] Listening to message on Floodlight
[2024-12-12T06:07:58Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:07:58Z DEBUG neolink::mqtt] Image not supported
[2024-12-12T06:08:00Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:08:00Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:08:02Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:08:02Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:08:04Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:08:04Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:08:06Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:08:06Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
[2024-12-12T06:08:08Z DEBUG neolink::mqtt::mqttc] MQTT Published Startup
[2024-12-12T06:08:08Z ERROR neolink::mqtt::mqttc] MQTT Client Connection Failed: MQTT connection dropped
Caused by:
0: I/O: Connection refused (os error 111)
1: Connection refused (os error 111)
Beta Was this translation helpful? Give feedback.
All reactions