sblantipodi / glow_worm_luciferin

Bias Lighting and Ambient Light firmware, designed for Firefly Luciferin.
GNU General Public License v3.0
158 stars 19 forks source link

[Bug]: no connection to mqtt #43

Closed whakru closed 1 year ago

whakru commented 1 year ago

Firefly Luciferin version

last

Glow Worm Luciferin version

last

Firmware type

FULL

What is the stream method?

WiFi Stream

Fiefly Luciferin config file

No response

Relevant log output

No response

How to reproduce

for some reason, there is no connection via mqtt after entering all the data, the device no longer wakes up... Logs:

MQTT attempts= 
6 
Connecting to 
MQTT Broker... 
MQTT Last Will Params: 
willTopic: 0 
willPayload: 0 
qos: 1 
retain: 0 
clean session: 1 
MQTT attempts= 
7 
Connecting to 
MQTT Broker... 
MQTT Last Will Params: 
willTopic: 0 
willPayload: 0 
qos: 1 
retain: 0 
clean session: 1

I would also like to see this menu not only after the firmware, but also before it. along with viewing logs. Ci38-CqmSpw

sblantipodi commented 1 year ago

Ho @whakru as far as I know you are using luciferin for some time now. Is this mqtt problem recent? Is there something changed on your mqtt server? Have you ever used mqtt previously with Luciferin?

Can you elaborate more the problem please?

whakru commented 1 year ago

Ho @whakru as far as I know you are using luciferin for some time now. Is this mqtt problem recent? Is there something changed on your mqtt server? Have you ever used mqtt previously with Luciferin?

Can you elaborate more the problem please?

I have not used mqtt before. I wanted to use it to control modes with Home Assistant. but so far I haven't been able to.

whakru commented 1 year ago

I am using mqtt mosquito broker in HA. maybe I'm not entering the address correctly, namely the protocol. Could you suggest a template? my server is on LAN at 192.168.31.31:1883 (1884 web socket)

it works in the firefly app (connects). But in the microcontroller, the firefly does not work.

whakru commented 1 year ago

Screenshot_2022-10-01-14-56-17-733_io homeassistant companion android

sblantipodi commented 1 year ago

sorry for the late reply @whakru please post your FireflyLuciferin.yaml file, you'll find it in your ~/Documents/FireflyLuciferin folder.

please post a screenshot of the webinterface in the mqtt settings page, please access the web interface of your ESP by visiting its IP, then click the "three lines" button on the top right corner... I mean this screen.

image

this will help me helping you :)

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days