Posts: 4663
Threads: 24
Joined: Aug 2017
Reputation:
213
(08.05.2024, 06:44)davidchispas Wrote: Hello, I can't link the LM bridge with the home app. I scan the QR and after several minutes it mentions that the accessory was not found.
Which firmware and what homekit app version?
------------------------------
Ctrl+F5
Posts: 265
Threads: 37
Joined: Apr 2019
Reputation:
4
(08.05.2024, 07:16)Daniel Wrote: (08.05.2024, 06:44)davidchispas Wrote: Hello, I can't link the LM bridge with the home app. I scan the QR and after several minutes it mentions that the accessory was not found.
Which firmware and what homekit app version?
LM VERSION_20240219
HOMEKIT_20240205
Posts: 7782
Threads: 42
Joined: Jun 2015
Reputation:
448
Post what you have in Homekit app logs (click the file icon).
Posts: 265
Threads: 37
Joined: Apr 2019
Reputation:
4
(08.05.2024, 07:58)admin Wrote: Post what you have in Homekit app logs (click the file icon).
Check PM
Posts: 7782
Threads: 42
Joined: Jun 2015
Reputation:
448
Nothing relevant in the logs unfortunately. What about LM Error logs?
Posts: 265
Threads: 37
Joined: Apr 2019
Reputation:
4
(08.05.2024, 08:40)admin Wrote: Nothing relevant in the logs unfortunately. What about LM Error logs?
nothing, there is no error message.
Posts: 265
Threads: 37
Joined: Apr 2019
Reputation:
4
(08.05.2024, 09:26)davidchispas Wrote: (08.05.2024, 08:40)admin Wrote: Nothing relevant in the logs unfortunately. What about LM Error logs?
nothing, there is no error message.
We are seeing that it is surely the fault of the Wi-Fi access point. We are doing tests and that seems to be the reason. My apologies
Posts: 53
Threads: 10
Joined: May 2021
Reputation:
1
Hi admin,
a few months ago, i tried the homekit integration and I saw in the storage viewer it was saving the devices there in some kind of dictionary. I tried changing it with scripting but I messed up the config and deleted my devices . Is there a way to chenge that array to auto create homekit objects through lua scripting? Do you plan on adding something like that?
P.s I found another solution to not do it manually (emulating user action on a webpage) but it does not work prefectly every time. I would like to attach a video but I don't think I can because it is blocking me...
Posts: 265
Threads: 37
Joined: Apr 2019
Reputation:
4
Hello,
I have a question about the functionality of the devices I've set up. It's a very simple installation where I've created controls for lights, exterior door openings, and scene activations.
For lighting, the type of control is clear, using either simple light devices or dimmable ones for adjustable lights. However, I have a problem with the door opening. The device enabled in HomeKit is a scale type, but my control is simple and I've registered it as a simple output device. Similarly, for executing scenes created in LM, I'm using the simple output device.
My client has registered the devices in the Home app and distributed them in different rooms. However, when they send the command to turn on the lights, it triggers everything, including scenes, doors, and lights.
What could I be doing wrong?
Posts: 4663
Threads: 24
Joined: Aug 2017
Reputation:
213
It is hard to say from your description but log all the objects and track where from the trigger is coming from.
------------------------------
Ctrl+F5
Posts: 7782
Threads: 42
Joined: Jun 2015
Reputation:
448
@Andrea Becagli, you can create new devices via a script like this:
Code: require('json')
id = storage.exec('incr', 'app:homekit:id') -- generate new id
conf = json.encode({ ... })
storage.exec('hset', 'app:homekit:devices', id, conf)
Check the existing devices for configuration table format. And always make a backup beforehand
To delete a device use this:
Code: id = 123
storage.exec('hdel', 'app:homekit:devices', id)
Posts: 19
Threads: 0
Joined: Jul 2023
Reputation:
0
10.06.2024, 10:58
(This post was last modified: 10.06.2024, 11:05 by Ranjeet.)
We Are using K-Box For Air Conditioning and configured in MOSIAC app with KNX HVAC Object which is working Properly. But when we are configuring with Homekit with same KNX Object Only On/Off is working set point ,operating Mode,fan Speed is not working properly. we Tried In both Heater/Cooler and Thermostat
Posts: 4663
Threads: 24
Joined: Aug 2017
Reputation:
213
Please read the specification in the begging of thread to understand how each object must work. Apple made it based on Zigbee so some object might have strange requirements.
------------------------------
Ctrl+F5
Posts: 265
Threads: 37
Joined: Apr 2019
Reputation:
4
Hello,
I am experiencing issues with an installation where multiple commands are being executed simultaneously, which should not be happening. Below, I provide details on how I have configured the devices: - The On/Off lights are created with the Simple Light device.
- The dimmable lights are created with the Light On/Off Brightness device.
- For controlling devices that send 1 or 0 to open doors and execute scenes, I use the Simple Switch device, as it is the only one available for this function.
My client has informed me that when using Siri commands to turn lights on or off, scenes are activated and doors open as well. This should not happen, as the devices are not created as lights.
Posts: 4663
Threads: 24
Joined: Aug 2017
Reputation:
213
Is this homekit scene or LM scene?
------------------------------
Ctrl+F5
Posts: 265
Threads: 37
Joined: Apr 2019
Reputation:
4
(14.06.2024, 08:50)Daniel Wrote: Is this homekit scene or LM scene?
These are scenes created in LM. To avoid problems, they will be temporarily removed. But the doors keep opening by themselves.
Posts: 4663
Threads: 24
Joined: Aug 2017
Reputation:
213
We can't do much from the info provided, you need to do some investigation to find out what is triggering the scene. Log the objects to see.
------------------------------
Ctrl+F5
Posts: 23
Threads: 9
Joined: Nov 2015
Reputation:
0
Hello, somehow I have the problem that Apple Home can not connect to the logic machine would be very grateful if someone could give me a tip here the messages from the log:
2024.07.03 09:47:34 Accessory Server State did update: Running.
2024.07.03 09:47:34 [Bridge:hap] Setup code: xxx-xx-xxx
2024.07.03 09:47:33 fatal error - HAPPlatformServiceDiscoveryRegister @ adk/PAL/POSIX/HAPPlatformServiceDiscovery.c:150
2024.07.03 09:47:33 [Platform:ServiceDiscovery] HAPPlatformServiceDiscoveryRegister: DNSServiceRegister failed: -65537.
2024.07.03 09:47:33 [Bridge:hap] Setup code: xxx-xx-xxx
Thank you Thomas
Posts: 4663
Threads: 24
Joined: Aug 2017
Reputation:
213
Install this app and check if you find _hap._tcp with LM there
https://apps.apple.com/us/app/discovery-...d305441017
------------------------------
Ctrl+F5
Posts: 23
Threads: 9
Joined: Nov 2015
Reputation:
0
Thanks Daniel, it helped somehow my network doesn't seem to be as transparent as it should be ....
|