Comments (18)
behavior.mov
from hc3-to-mqtt.
Hi @JoonasFI
I can try to investigate the issue this weekend, just need you to provide me with (a) logs and (b) JSON for your Fibaro Multisensors. Hopefully, this is something easy to resolve.
I'm OK as much as it is possible during the crisis. And it would be great if you know anyone who has an apartment for $$ rent in Berlin, or not far away from it. I've just changed PayPal details to address my mother's account which worked in the past.
from hc3-to-mqtt.
Here you go. Hopefully the files are correct.
I have a few friends in Berlin. I passed them a message about the apartment.
from hc3-to-mqtt.
Few images from Fibaro, if these are essential.
from hc3-to-mqtt.
Can you please also share logs from Fibaro HC3 console?
Activated from the main screen:
Log records looks like and should be ideally saved to *.txt file:
from hc3-to-mqtt.
Here you go. :)
from hc3-to-mqtt.
Hi @JoonasFI
Please let me know if the request is still relevant for you?
And if so I'll try to check the log files and then see what should be our next steps.
Thank you,
Alexander
P.S.: apologies for late reply as I only finished my accommodation in Berlin after moving from Kyiv
from hc3-to-mqtt.
Hi!
Request is still relevant.
It seems that status changes do not update to HA. For ex. temperatures or state of lights. So if I turn light on from Fibaro app, HA shows it still in off mode.
:)
from hc3-to-mqtt.
Hi @JoonasFI,
I can see MQTT error code 111 in the logs, i.e. MQTT connection refused.
- Do you use Mosquitto MQTT broker?
- Are you able to connect to Mosquitto with let's say MQTT Explorer http://mqtt-explorer.com/?
- Can you please share sensor ids where you see trouble?
- Plus need you to send me description for one of your sensors in JSON format, which is available from your Swagger UI => "devices" => GET /devices/{deviceID}?
from hc3-to-mqtt.
- Yes.
- Seems to work OK.
- For example 90 (multi sensor) or 129 (relay)
- One of the multi sensors:
{
"id": 90,
"name": "Lattian lämpötila",
"roomID": 224,
"view": [
{
"assetsPath": "dynamic-plugins/com.fibaro.multilevelSensor",
"name": "com.fibaro.multilevelSensor",
"translatesPath": "/assets/i18n",
"type": "ts"
}
],
"type": "com.fibaro.temperatureSensor",
"baseType": "com.fibaro.multilevelSensor",
"enabled": true,
"visible": true,
"isPlugin": false,
"parentId": 85,
"viewXml": false,
"hasUIView": false,
"configXml": false,
"interfaces": [
"zwave"
],
"properties": {
"pollingTimeSec": 0,
"zwaveCompany": "Fibargroup",
"zwaveInfo": "3,3,52",
"zwaveVersion": "2.1",
"categories": [
"climate"
],
"configured": true,
"dead": false,
"deadReason": "",
"deviceControlType": 1,
"deviceIcon": 30,
"deviceRole": "TemperatureSensor",
"emailNotificationID": 0,
"emailNotificationType": 0,
"endPointId": 3,
"icon": {},
"log": "",
"logTemp": "",
"manufacturer": "",
"markAsDead": true,
"model": "",
"nodeId": 19,
"offset": 0,
"parametersTemplate": 85,
"productInfo": "1,15,5,1,16,2,2,1",
"pushNotificationID": 0,
"pushNotificationType": 0,
"saveLogs": true,
"serialNumber": "",
"showFireAlarm": true,
"showFreezeAlarm": false,
"smsNotificationID": 0,
"smsNotificationType": 0,
"supportedDeviceRoles": [
"Other",
"TemperatureSensor"
],
"unit": "C",
"useTemplate": true,
"userDescription": "",
"value": 23.43
},
"actions": {
"reconfigure": 0
},
"created": 1655114101,
"modified": 1665154016,
"sortOrder": 65
},
Another example is lights relay in same room:
{
"id": 129,
"name": "Peili",
"roomID": 224,
"view": [
{
"assetsPath": "dynamic-plugins/com.fibaro.binarySwitch",
"name": "com.fibaro.binarySwitch",
"translatesPath": "/assets/i18n/com.fibaro.binarySwitch",
"type": "ts"
},
{
"assetsPath": "dynamic-plugins/energy",
"name": "energy",
"translatesPath": "/assets/i18n/energy",
"type": "ts"
},
{
"assetsPath": "dynamic-plugins/power",
"name": "power",
"translatesPath": "/assets/i18n/power",
"type": "ts"
}
],
"type": "com.fibaro.binarySwitch",
"baseType": "com.fibaro.actor",
"enabled": true,
"visible": true,
"isPlugin": false,
"parentId": 125,
"viewXml": false,
"hasUIView": true,
"configXml": false,
"interfaces": [
"energy",
"light",
"power",
"zwave",
"zwaveMultiChannelAssociation",
"zwaveProtection"
],
"properties": {
"pollingTimeSec": 0,
"zwaveCompany": "Fibargroup",
"zwaveInfo": "3,4,24",
"zwaveVersion": "3.4",
"RFProtectionState": 0,
"RFProtectionSupport": 3,
"categories": [
"lights"
],
"configured": true,
"dead": false,
"deadReason": "",
"deviceControlType": 2,
"deviceIcon": 1,
"deviceRole": "Light",
"emailNotificationID": 0,
"emailNotificationType": 0,
"endPointId": 1,
"energy": 5.69,
"icon": {
"path": "/assets/icon/fibaro/light/light0.png",
"source": "HC"
},
"isLight": true,
"localProtectionState": 0,
"localProtectionSupport": 5,
"log": "",
"logTemp": "",
"manufacturer": "",
"markAsDead": true,
"model": "",
"nodeId": 29,
"parametersTemplate": 781,
"power": 0,
"productInfo": "1,15,2,3,16,0,3,4",
"protectionExclusiveControl": 0,
"protectionExclusiveControlSupport": false,
"protectionState": 0,
"protectionTimeout": 0,
"protectionTimeoutSupport": false,
"pushNotificationID": 0,
"pushNotificationType": 0,
"saveLogs": true,
"saveToEnergyPanel": true,
"serialNumber": "h'0000000000043a4a",
"showEnergy": true,
"smsNotificationID": 0,
"smsNotificationType": 0,
"state": false,
"storeEnergyData": true,
"supportedDeviceRoles": [
"Light",
"Drencher",
"Pin",
"NightLamp",
"Kettle",
"Bracket",
"AirConditioner",
"AlarmAlarm",
"Coffee",
"GardenLamp",
"TvSet",
"CeilingFan",
"Toaster",
"Radio",
"RoofWindow",
"Other",
"AlarmState",
"AlarmArm",
"VideoGateBell",
"VideoGateOpen",
"Valve"
],
"useTemplate": true,
"userDescription": "",
"value": false
},
"actions": {
"reconfigure": 0,
"reset": 0,
"toggle": 0,
"turnOff": 0,
"turnOn": 0
},
"created": 1655114101,
"modified": 1665154017,
"sortOrder": 100
},
from hc3-to-mqtt.
Hmmph! Mosquito Broker log:
2022-10-17 23:15:35: New client connected from 192.168.1.40:39082 as HC3-XXX-XXXXXXXX (p2, c0, k60, u'mosquitto').
2022-10-17 23:16:50: New connection from 172.30.32.2:39182 on port 1883.
2022-10-17 23:16:50: Client <unknown> closed its connection.
2022-10-17 23:18:50: New connection from 172.30.32.2:35498 on port 1883.
2022-10-17 23:18:50: Client <unknown> closed its connection.
2022-10-17 23:20:50: New connection from 172.30.32.2:33556 on port 1883.
2022-10-17 23:20:50: Client <unknown> closed its connection.
2022-10-17 23:22:25: New connection from 192.168.1.58:61155 on port 1883.
MQTT(?) drops every 2 mins. Can this be the problem...
from hc3-to-mqtt.
Hi @JoonasFI
Yes - I believe MQTT connectivity is the reason, which prevents events to be transferred from HC3 to Home Assistant
Let me think why it happens, and thanks for providing logs and video recordings, this helps to narrow down the issue
Just few more things:
- I'd assume such MQTT issue would interrupt any status update delivery for HC3 -> Home Assistant event ... or it is only related to certain devices?
- Can you please send me the new log file that records 10 minutes of HC3 <-> Home Assistant interaction?
- It looks like your Home Assistant and MQTT broker on the same LAN/subnet, right? Do you have any VLAN or firewall rules in place?
from hc3-to-mqtt.
Hi!
- All status updates are interrupt.
- Sure!
- I have local network buildt with UDM Pro. I check and firewall rules. My HA installation runs on Mac Mini (Virtual Box).
from hc3-to-mqtt.
- If so, then this certainly looks like an MQTT connectivity issue
- Thanks, and waiting for the new log file. More info is better
- Btw, I'm using UDM Pro too :-)
from hc3-to-mqtt.
Hi @JoonasFI
Please let me know if you still experience the issue, or this ticket could be closed?
I'm curious to learn the root cause as it might help me guide other users with similar issues in a future.
from hc3-to-mqtt.
Hi! Issue is still valid.
Problem is that there is no new events in log when I do something.
I noticed few things. When I restart quick app in Fibaro, debug shows:
[08.11.2022] [15:04:45] [WARNING] [QUICKAPP243]: Variable mqttClientId not found
[08.11.2022] [15:04:45] [WARNING] [QUICKAPP243]: All is good - we have just autogenerated mqttClientId for you "HC3-243-1667912685"
[08.11.2022] [15:04:45] [TRACE] [QUICKAPP243]: MQTT Connection Parameters: {"clientId":"HC3-243-SENSORED","keepAlivePeriod":60,"password":"sensored","username":"sensored","lastWill":{"payload":"true","topic":"homeassistant\/hc3-dead"}}
[08.11.2022] [15:04:46] [DEBUG] [QUICKAPP243]: MQTT connection established
And few minutes later...
[08.11.2022] [15:08:47] [ERROR] [QUICKAPP243]: QuickApp crashed
[08.11.2022] [15:08:47] [ERROR] [QUICKAPP243]: Unknown error occurred:
from hc3-to-mqtt.
Hi @JoonasFI,
This seems to be most likely network/connectivity related issue. Please let me know if you need my help to dig deeper into details, or the issue could be closed.
from hc3-to-mqtt.
Hi @JoonasFI,
Happy to assist with the issue resolution if it's about QuickApp, or help you investigate your home network connectivity issues. Please let me know.
As for know - closing the issue to due the expiration while requesting more details.
from hc3-to-mqtt.
Related Issues (20)
- Change MQTT Topic HOT 9
- 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
- Duplicates in home assistant for same device HOT 21
- Discovered entities with a name that starts with the device name HOT 12
- Door sensor not correctly detected. HOT 1
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.