Coder Social home page Coder Social logo

com.swttt.homekit's Issues

Not working with tvOS 11 and iOS 11

Not working on latest Apple software. I use the AppleTV (rev 4) as the hub and an iPhone 8 plus and / or iPad Air 2, both running iOS 11.0.1 as clients.

All devices are showing 'no response'...

Wrong colors for colored light

I have a few RGB led lights which are added to HomeKit. When changing the light color to blue, the color picker in HomeKit shows purple. When the color picker selects green, the lights go red. To make the lights green, the color picker should be set at orange.

When I look in the Homey app itself, the color shown in the app matches the lights themselves.

Homekit not responding

er is ook altijd weer iets wat niet goed meer werkt na een update van de athom homey 1.5.9 . Nu werk deze fantastische app homey kit weer niet lekker , na een paar uurtjes kan ik niks meer bedienen via de iphone woning . Ik zie overigens wel alles aan uit gaan , bijv. de deur sensors , maar ik kan via de woning app niks aan en uit zetten . Wanneer ik de app vervolgens reboot geef dan doet hij het weer voor een tijdje . Jammer hoor

[1.0.4]HomeyKit Crashed and won't restart

After adding several Hue Motion Sensors to HomeyKit the app crashes and can't be restarted.
Here is the log:
Stack trace:

/node_modules/has-node/src/TCP.js:178
var socketID = (currentLine.split(':')[1]).trim();
^

TypeError: Cannot read property 'trim' of undefined
at Socket. (/node_modules/has-node/src/TCP.js:178:55)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at addChunk (_stream_readable.js:252:12)
at readableAddChunk (_stream_readable.js:239:11)
at Socket.Readable.push (_stream_readable.js:197:10)
at TCP.onread (net.js:589:20)

Exit code: 1
Exit signal: null

Best Regards
Andreas

[1.0.4]Osram Plugs are shown as a lights

While the Osram Plugs are shown as a plug within Homey and within the HomeyKit, Apple Home shows them as a light.

  1. The Osram plugs in devices
    osramplug_devices

  2. The Osram plugs in HomeyKit

bildschirmfoto 2017-08-13 um 09 37 13

  1. The Osram plugs in Apple Home
    As you can see in the Home App there are some TP-Link plugs recognised as a plug (e.g. Bad Infrarotheizung) , only the Osram plugs are shown as a light. I can't change the type of these devices within Home.

home

Best Regards
Andreas

Icon update

Hey Bas!
Great app, I've installed it and I've taken the liberty to adapt the current icon. Since it is only visible in settings I'd recommend to use the new icon.svg included in the zip file.
Of course this is up to you!

And I have a small question. Is it due to HomeKit that I can only access devices when I'm in the same network? Can this be changed, i.e. proxy through Homey.

image

HomeyKit_icon.zip

Feature request: (generic) sensor device

To be able to use sensor devices in HomeKit a generic sensor device should be created which can take a various amount of sensor capabilities (e.g.: measure_temperature, measure_humidity, measure_luminance, et cetera). Not sure how HomeKit handles sensor devices with varying capabilities though.

Not compatible with Homey Firmware version 1.3.1

Hi,

I have a new Homey I have just installed, and would like to take a closer look at this app, but when I try to install it tells me it is incompatible with my Homey software version?...

Michael

[1.0.4] Suddenly devices doesn't answer

After 1.0.3 and 1.0.4 update the devices in Home app doesn't answer

In 1.0.4 it happened after 4 hours
In 1.0.3 it happened after 2 hours

The homey bridge is visible and online in Home app but all devices are offline.

  • If I restart HomeyKit nothing happens.
  • If I restart Homey the bridge is Offline + alle devices.

No errors in log - tried from different iOS devices.

The only solution right now is to delete Homey bridge from Home app, delete HomeyKit on Homey - install it again and start over.

[1.0.14] HomeyKit crashes after adding new devices

I have about 40 devices which I added to Homekit 10 devices at a time. When adding the last 10 Homekit doesn't respond on my iPhone anymore and when looking into Homey the HomeyKit app seemed to have crashed. When restarting the HomeyKit app, it crashes directly after initialization has been completed. Same behaviour has been seen in stable version 1.0.13 of the app.

This is the stack trace:

/node_modules/has-node/src/TCP.js:178
var socketID = (currentLine.split(':')[1]).trim();
^

TypeError: Cannot read property 'trim' of undefined
at Socket. (/node_modules/has-node/src/TCP.js:178:55)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at addChunk (_stream_readable.js:266:12)
at readableAddChunk (_stream_readable.js:253:11)
at Socket.Readable.push (_stream_readable.js:211:10)
at TCP.onread (net.js:585:20)

[1.0.14] Filter in HomeyKit setting not working correctly

In order to add only some of my 40 devices, I use the filter to search for devices starting with for example the letters STU (for study). However, I also get devices named as follows:

TUI Loungehoek lamp (in Achtertuin)
INL Multisensor (in Inloopkast)
INL Plafondlamp (in Inloopkast)
etc.

Devices do not show up in Settings/HomeyKit

After installing and pairing the HomeyKit-app, devices do not show up in HomeyKit under Settings. I tried uninstalling and reinstalling, but that did not work either.

The 'spinner' keeps spinning. I was, however, able to add devices to the HomeyKit-app using the Chrome browser.

Homey-app (mac-version) 1.0.1, Firmware Homey 1.5.1, HomeyKit 1.0.8

[1.0.14] Homekit looses connection after a while and only repairing helps

This happened to me 4 times in a row since I started experimenting with the HomeyKit app. After pairing Homekit with Homey, adding all 40 devices everything worked smooth. I then used the Home app on my iPhone to put each device in the correct room. But after a while (between 1 to 3 hours), the connection to HomeyKit randomly breaks.

Restarting the iPhone, the HomeyKit app and Homey itself would not do anything to make the connection work again. However, after removing/re-adding the HomeyKit app and re-pairing Homekit at least enabled me to continue my experiments.

After some Googling I encountered the following post in the Homebridge forum: homebridge/homebridge#11 (comment)

It seems that Homekit flags badly behaving accessories, disallowing any communication with the device afterwards. Sending out of bound values for characteristics is seen as bad behaviour and this could be the cause of the issue of loosing connection. Checking characteristic values before sending them to Homekit could prevent this from happening.

In the meantime, I will continue my experiments and start with a fresh install, re-pair Homekit and only add some of my most simple devices (no characteristic values that could cause trouble). I will let you know if this enables me to enjoy Homekit integration a little while longer...

Homey not visible as accessory in Homekit app

After my Homey got totally useless by the end of last year I decided to get rid of most of the least used apps, including HomeyKit. Right now, I've got Homey reasonably stable and decided to give HomeyKit another try. However, when installing the latest 2.0.10 it does not appear as an accessory in Homekit.

My smartphone is on the same Wifi network as Homey, so what could go wrong? I'm on Homey 1.5.6-rc8 by the way.

Homekit can not connect to Homey after PTP

What is your Homey version (Settings → System)?

Versie: 1.5.0-rc.2

What did you try to achieve?

Because of a KaKu issue i needed to restart Homey by PTP

What was the result?

When Homey was online again it was not possible anymore to use Homekit on tablet or phone, because it was not connected to Homey anymore. All devices are visible but no connections.
Also a restart from the app at the settings did not give a solution.

What did you expect as result?

Homekit available

Any other remarks

n.b.

Please attach a Homey System log (Settings -> System -> Send Log)

E6E7D0DB19

Homekit isn't able to control colors on Milights

What is your Homey version (Settings → System)?

Versie: 1.5.0-rc.2

What did you try to achieve?

Control colors of my Mi-lights with Homekit

What was the result?

I can only choose brightness

What did you expect as result?

Like the Hue lights, being able to change colors.

Any other remarks

The log do tell the lights are in color mode.

Use NPM for HAS-Node

Hi,
Recently I have made some changed to HAS-Node, and it's no longer possible to add it to your project from Git repository. Please use NPM instead.
Thanks.

When removing a Virtual device from homey, homekit keeps track of the device.

When removing a Virtual device from homey, homekit keeps the device and this cant be removed. The result is that its not possible to remove the device from homey homekit page or from homekit in the apple home app. After doing a complete restart of homey. The app crashed and iphone cant connect to it anymore. I had to reinstall homekit app on homey to get it to work again.

Homekit en Wifi Extenders

Hi,
Ik heb een netwerk met een aantal TP-link Wifi Extenders waarvan de SSID en wachtwoorden zijn gekopieerd van de router. Mijn Homey is verbonden met een van de Wifi Extenders, dus niet direct met de wifi van de router. Homekit werkt alleen als ik met m'n iPhone aangesloten ben op dezelfde wifi van de Extender waar Homey aan zit. Alle andere Wifi's staan alle Apps van Homekit in de mode 'Geen reactie' of 'Bijwerken'. Kunnen jullie dit svp oplossen?
Met vriendelijke groeten,
Fred

Problem with removing a device

I've added a Aeotec MultiSensor 6 to homekit, and it seems to work OK, but upon removing something does not work as expected. I've tried it several times, the result is the same, Homey says 'Trying to remove device undefined' followed by 'undefined is removed!' but the device is not removed.

Log:
image

Status of device after trying to delete:
image

Looks like a memory issue or something

I'm on Homeykit v2.07. After starting the Homeykit app, everything seems to work fine, but after a certain time (not testen yet) it's not respondent anymore and homekit push notitifactions are hours too late. Looks like some memory issue with homeykit.

Randomly Devices are Added to Homeykit

I have been seeing this lately where in Settings, devices that i specifically unchecked from showing up in Homekit are added again after a while. This is ok as long as there is no restart of Homey or the App since these changes are not enforced until restart but afterwards it costs a lot of time (since i have a lot of devices) to get them set properly again.

[1.0.12] App Crash

App started crashing after the update to 1.0.12

Hi!

Unfortunately, the app crashed while I was doing the following:

(...)

This is the stack trace:

/node_modules/has-node/src/characteristic.js:79
            throw new Error('Invalid Value: ' + value.toString());
            ^

Error: Invalid Value: true
    at Characteristic.setValue (/node_modules/has-node/src/characteristic.js:79:19)
    at t.device.on.state (/lib/devices/motionsensor.js:85:14)
    at c (/node_modules/athom-api/dist/index.js:1:748319)
    at t.a.emit (/node_modules/athom-api/dist/index.js:1:752136)
    at t.<anonymous> (/node_modules/athom-api/dist/index.js:1:740347)
    at o (/node_modules/athom-api/dist/index.js:1:748158)
    at t.a.emit (/node_modules/athom-api/dist/index.js:1:752098)
    at t.value (/node_modules/athom-api/dist/index.js:1:722746)
    at n.emit (/node_modules/athom-api/dist/index.js:1:215993)
    at n.onevent (/node_modules/athom-api/dist/index.js:1:209698)

[Feature Request] Exclude Devices

I have a few devices which are already added to HomeKit like my Philips Hue.

Now, all of my Hue lamps are added again, but now via HomeyKit. So I have 2x each lamp.

As another example, my Somfy sunscreen outside is reversed (so when it's closed it's says it's open, and visa versa). So I made a "Virtual Sunscreen" to reverse the operation, but now HomeyKit added both. Now I have a warning on my homescreen that the sunscreen is always open.

So again, could you add the possability please to exclude some devices?

Boolean value not shown correctly in home app after restarting homey

Hi swttt, first of all…great job on homeykit!

I just noticed that a boolean-bitflip device is always shown as “on” in the apple home app after restarting homey, even though the boolean was “false” before restarting homey.
I checked if homey was setting the boolean to true after the restart but in better logic the state is correct.
Are you experiencing the same?

Moek

Error: addMembership ENODEV

Hi!

Unfortunately, the app crashed while I was doing the following:

...nothing. It just crashed out of the blue...

This is the stack trace:

events.js:182
throw er; // Unhandled 'error' event
^

Error: addMembership ENODEV
at _errnoException (util.js:1041:11)
at Socket.addMembership (dgram.js:575:11)
at Socket. (/node_modules/multicast-dns/index.js:53:16)
at emitNone (events.js:110:20)
at Socket.emit (events.js:207:7)
at startListening (dgram.js:144:10)
at _handle.lookup (dgram.js:249:7)
at HomeyClient._onMessage (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1368)
at emitTwo (events.js:125:13)
at process.emit (events.js:213:7)

Homeykit not responding

after an update of the athom homey 1.5.9. this fantastic app homey kit does not work well again, after a few hours I can not operate anything anymore via the iphone app house. I see everything going on/out for example the door sensors, but I can not switch anything on and off via the app. When I reboot the app, then it works well again. Too bad

Can't remove socket

When I try to remove a Socket I get the following error:

Cannot read property 'toString' of undefined

The gui shows it's now deleted (I can add it again), but if I try that I get the following error:

Accessory ID already exists: 10

Accessoires not visible iPhone

Homey version: 1.5.5
Homeykit version: 2.04
Iphone 5se ios: 11.0.3

After i installed the beta app, i paired via the procedure used the code 200.20.200 but my iPhone dont see any assesoires.

(Btw the description procedure in the appstore doesnt show the image of paircode on my ipad)

Dimming glitch

Please see attached video. When dimming by pulling up or down the lever, the dimming % sometimes resets to a different level instead of the final value.

HomeyKit.zip

HomeyKit crashes on a daily basis

HomeyKit has run stable for almost 2 months now, however since a few days ago I'm confronted with a crashing HomeyKit app. At first this might have been caused by a crashing Fibaro app, which supposedly was caused by a misbahaving wallplug device. However, I've removed the device (physically) 2 days ago and Fibaro keeps running. Still, HomeyKit crashed without a stacktrace. I'm not entirely sure these events are related, but nothing else has changed recently...

Note that I'm running 2.0.7 (beta). It would be great if I could choose which devices are available in HomeKit and which aren't. But this functionality has been removed in 2.0.7. Are you planning on putting it back?

Beta won't pair

ios Home app doesn't see Homey, When the master is installed the Home app does see Homey. When installing the beta while Homey has been paired already via the master, the pair survives

Cannot change colors of Hue bulbs

I have several Hue color bulbs connected via Hue bridge to Homey.
Homeykit does show them in the Home app on iPhone.
I can turn on and off the lights, change brightness and temperature. But as soon as i try to change the color, the Home app always switches back to temperature selection and color is not changed.
This is the case for all Hue bulbs.

When trying to change color from Homey app (current + beta v2), Homey dashboard or Hue app, it works without any issues.
Restarted Homeykit app, re-installed Homeykit app (uninstall + install), setup Home app again, all without positive result.

Homey firmware: 1.5.11
Homeykit version: v2.1.0
iOS version: 11.3.1

Dont work after last update

all devices offline after last update. Delete and tried to reinstall but cant find it in my Iphone after I entered the pairing code

Removing a device fails once, button label remains "Verwijderen" instead of "Toevoegen"

I have an when issue adding certain devices to HomeyKit will break the HomeKit connection (see #33). To find out which device leads to this issue, I was adding devices few by few at a time. Recently after adding 4 Fibaro Dimmer-2 devices, HomeKit started showing the "No reaction" message beneath all HomeyKit devices.

In an attempt to restore the connection I tried removing the recently added devices. However, at first sight nothing seems to happen but HomeyKit shows the following in the logfile:

14:20:48 | Success undefined is removed!
14:20:48 | Info Trying to remove device undefined

The button label for the HomeyKit device stays "Verwijderen" instead changing to "Toevoegen".

Note: when mentioning HomeyKit I mean the Homey app but when mentioning HomeKit I mean the Woning iPhone app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.