This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Homekit app
#81
(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
Reply
#82
(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
Reply
#83
Post what you have in Homekit app logs (click the file icon).
Reply
#84
(08.05.2024, 07:58)admin Wrote: Post what you have in Homekit app logs (click the file icon).

Check PM
Reply
#85
Nothing relevant in the logs unfortunately. What about LM Error logs?
Reply
#86
(08.05.2024, 08:40)admin Wrote: Nothing relevant in the logs unfortunately. What about LM Error logs?

nothing, there is no error message.
Reply
#87
(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
Reply
#88
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 Rolleyes . 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...
Reply
#89
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?
Reply
#90
It is hard to say from your description but log all the objects and track where from the trigger is coming from.
------------------------------
Ctrl+F5
Reply
#91
@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 Smile

To delete a device use this:
Code:
id = 123
storage.exec('hdel', 'app:homekit:devices', id)
Reply
#92
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
Reply
#93
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
Reply
#94
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.
Reply
#95
Is this homekit scene or LM scene?
------------------------------
Ctrl+F5
Reply
#96
(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.
Reply
#97
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
Reply
#98
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
Reply
#99
Install this app and check if you find _hap._tcp with LM there
https://apps.apple.com/us/app/discovery-...d305441017
------------------------------
Ctrl+F5
Reply
Thanks Daniel, it helped somehow my network doesn't seem to be as transparent as it should be ....
Reply


Forum Jump: