Comments (21)
Hi Alexander,
Thanks for the update.
I installed the new version of the QuickApp today.
Until now it works fine.
I will give you an update in a couple of weeks.
Stay save !
from hc3-to-mqtt.
I have some thoughts why it may happen in your environment, but need to get full logs from Fibaro, can you please share full logs after the QuickApp restart? (starting from the line "------- HC3 <-> MQTT BRIDGE")
Thank you,
Alexander
from hc3-to-mqtt.
Thank you very much!!! Attached!
from hc3-to-mqtt.
It looks like the QuickApp works as it should at first glance.
(1) I'd suspect your MQTT might have duplicates caused by the device types change, i.e. the old device retained in the MQTT, while Fibaro firmware or the newer version of the QuickApp broadcasted the same device id but for another device type.
I'd expect this steps to help you, if the assumption above is correct:
- Stop the QuickApp
- Clear MQTT topics under "homeassistant" (you can use "MQTT Explorer" desktop app)
- Start the QuickApp
Please let me know results.
(2) In case it doesn't help - can you please share the additional information from your Home Assistant device list screen, and show all devices (a) by filter <id contains "1604"> and (b) by filter <id contains "1283">?
from hc3-to-mqtt.
Instructions followed. Just cleaned all MQTT homeassistant topic, re launched QuickApp. No duplicates now, will check if they appear again and report back.
Devices containing 1604 amd 1283:
from hc3-to-mqtt.
Great! Please let me know if you still need help, and I'd assume the issue is resolved for now
from hc3-to-mqtt.
Hi, unfortunately duplicates appeared again:
2023_08_02_duplicates_mqtt.txt
from hc3-to-mqtt.
The duplicates appeared on different divices. Interesting they are 58 in both days. Will repeat the elimination of MQTT topics and relaunch QuickApp to have more data
from hc3-to-mqtt.
Hi, unfortunately duplicates appeared again:
Hi! maybe theer is a topic in your HA (between MQTT-server and HA)? this, you could check in the MQTT-Explorer.... mybe it's not a topic from the Fibaro-side....
in my HA I'm using the Integration of Fibaro AND MQTT and this is the cause to see something double :-)
kr, Rudi
from hc3-to-mqtt.
Hi! It thought about it, but I'm just using standard MQTT HA integration, nothing else. I deleted everything again and will keep it under observation to learn more when/where happens.
Will report back with the results :)
Ezequiel
from hc3-to-mqtt.
Restarted, crashed QuickApp, started again
[02.08.2023] [12:22:55] [DEBUG] [QUICKAPP2285]: ------- Disconnected from Fibaro HC3
[02.08.2023] [12:22:56] [DEBUG] [QUICKAPP2285]:
[02.08.2023] [12:22:56] [DEBUG] [QUICKAPP2285]: ------- Disconnected from MQTT/Home Assistant
2023_08_02_Fibaro_Log_Complete.txt
from hc3-to-mqtt.
Restarted all HC3 controllers, deleted all MQTT topics, relaunched the QuickApp.
Works and no duplicates in HA. Let's see when/if they appear again.
[02.08.2023] [12:38:47] [DEBUG] [QUICKAPP2285]:
[02.08.2023] [12:38:47] [DEBUG] [QUICKAPP2285]: ------- Fibaro device configuration and states have been distributed to MQTT/Home Assistant in 12 second(s)
[02.08.2023] [12:38:47] [DEBUG] [QUICKAPP2285]:
[02.08.2023] [12:38:47] [DEBUG] [QUICKAPP2285]: ------- Connected to Fibaro Home Center 3 events feed
[02.08.2023] [12:38:51] [DEBUG] [QUICKAPP2285]: Turn OFF for device #1711
[02.08.2023] [12:38:51] [DEBUG] [QUICKAPP2285]: Turn OFF for device #2163
[02.08.2023] [12:38:51] [DEBUG] [QUICKAPP2285]: Turn OFF for device #2164
from hc3-to-mqtt.
Can you please share a full MQTT Info from your Home Assistant? Setting => Devices & Entities => click at "X entities" for MQTT integration => pick two sample duplicates => for each of 2 entities => click at three dots => Device Info => follow screenshots
from hc3-to-mqtt.
Hello,
Interesting finding: affected devices change from one ocurrence to other, but the 3 times deleted and re-run, always appear exactly 57 entities renamed with the "_2" suffix in HA! That's indicative it may not have relation to the devices themselves and more of some numeric limit somewhere instead, right? I say renamed because the original without the suffix desapears from HA.
Below the MQTT diagnostic from 2 devices with "_2" suffix. The originals without the suffix are not present anymore.
light.1591_2.txt
binary_sensor.1669_2.txt
from hc3-to-mqtt.
One clarification, when you see the entities at Home Assistant for "1591_2" and "1669_2" - are there any entities named as "1591" and "1669", and can you extract MQTT info for them?
from hc3-to-mqtt.
Hello! The originals "1591" and "1669" are not in HA anymore. The "1591_2" and the "1669_2" point to the same fibaro device in place of the former. Sorry I should have explained myself better: more than duplicates, appear "renamed"
from hc3-to-mqtt.
Hi @EzequielPitton78, it looks like I need more information for investigation. Luckily we may potentially get it from another report #56.
As I understood - another QuickApp user might be facing a similar situation because of the Home Assistant upgrade to the newer version that seems to be using a newer version of the MQTT spec.
Maybe you can do it faster than another user, and can share Home Assistant MQTT logs with the warning messages that are mentioned at #56?
from hc3-to-mqtt.
Hello!
In my case de MQTT warning from HA only shields 1 error and is not from this quickapp: I normally name each fibaro device with the manufacturer/model so no coincidence possible. "Friendly name" of entities appear as a concatenation with new HA MQTT interpretation and is quite ugly. Probably wiill revert back to id number only.
Is there any other data extraction that I could make to support your investigation?
Some MQTT entities have an entity name equal to the device name. This is not expected. The entity name is set to null as a work-a-round to avoid a duplicate name. Please inform the maintainer of the software application that supplies the affected entities to fix this issue.
List of affected entities:
update.radar_cocina_interior
from hc3-to-mqtt.
I have exactly the same problem but in my case it's always with the same devices.
As long as i don't login to the Fibaro controller everything is fine but as soon as i login the problems begin.
Strange.....
from hc3-to-mqtt.
I could reproduce the issue and working on a fix now
from hc3-to-mqtt.
Ready, you need to do the following:
- stop the existing QuickApp
- clean your MQTT for "/home assisstant/**"
- upload & start new version of the QuickApp
Please let me know if it works for you?
from hc3-to-mqtt.
Related Issues (20)
- Couldn't recognize device - com.fibaro.multilevelSwitch - com.fibaro.dimmer HOT 21
- Battery sensor created multiple times HOT 26
- feat request : nice blinder support HOT 15
- Unexpected response status HOT 49
- Problem in dispatchFibaroEventToMqtt(event) if a scene has the same identifier as a device HOT 6
- cover:close HOT 7
- Duplicate battery entities for each device HOT 4
- Error while fetching Fibaro HC3 events "End of file" HOT 7
- Problem with a keyFOB remote control in automations in HA HOT 6
- Unable to discoverDeviceHierarchy HOT 5
- Propose new device support (Zigbee RGB bulb) HOT 12
- elero blinds and shutters support HOT 18
- After update from 1.0.221 to 1.0.225 cover/curtain does not work anymore. HOT 14
- Control HA devices back from HC3 HOT 3
- Cover state does not update HOT 15
- Can't find a way to filter more than one device HOT 2
- Discovered entities with a name that starts with the device name HOT 12
- Door sensor not correctly detected. HOT 1
- Quickapp crashes immediately HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hc3-to-mqtt.