johanson / irur

Infrared Universal Remote webUI Home Assistant add-on. Provides a simple web UI to record and manage buttons for your virtual IR remote. Supports ingress.
10 stars 0 forks source link

MQTT server settings #34

Open pizzulicchio opened 4 months ago

pizzulicchio commented 4 months ago

Hi, I'm testing your plugin but after started, in the logs, i'm full of this message:

[18:20:56] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:20:57] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:20:58] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:20:59] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:00] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:01] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:02] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:03] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:04] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:05] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:06] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:07] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:08] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:21:09] ERROR: Cannot connect to MQTT server, check your server settings and credentials

Just started the log writes:

[18:22:17] INFO: Getting MQTT broker credentials [18:22:17] ERROR: Got unexpected response from the API: Service not enabled [18:22:17] INFO: Starting application [18:22:17] INFO: Database: /data/db.json Configuration: { mqtt: { host: , port: , protocol: mqtt, username: , password: }, hostname: bf1ecdcd-irur, topic_listen: irur/tele/RESULT, topic_send: [ irur/cmnd/IRsend, ir ], mqttMatch: false } [18:22:17] INFO: Listening on port 8099 [18:22:17] ERROR: Cannot connect to MQTT server, check your server settings and credentials [18:22:17] ERROR: MQTT server is offline [18:22:18] ERROR: Cannot connect to MQTT server, check your server settings and credentials

Where is possible to set/configure the MQTT server/port? My MQTT server is not into Home Hossistant but it's a dedicated server. have a nice day