njpatel / hivekit

Connect Hive Active Heating System and HomeKit
https://njp.io/introducing-hivekit/
Other
25 stars 2 forks source link

Stopped working today? #3

Open r1chards opened 8 years ago

r1chards commented 8 years ago

Hello all

Well done loving this!

I had this all working but it seem to stop today (iOS 9.3.4), I've restarted everything, but the bridge won't show on the Home app (tried two devices). I've reset the HomeKit data setting reloaded the app etc. But it seems Hivekit is not talking the talking to the Hive anymore. Also made sure all device are on the same wifi router.

Is anyone else having an issue?

Terminal I have the following log info.... 2016/08/20 15:40:28 [INFO] Accessory IP is 192.168.2.12 2016/08/20 15:40:28 [VERB] Refreshing Hive status 2016/08/20 15:40:28 [ERR] bonjour: Failed to bind to udp6 port: listen udp6 :5353: bind: address already in use 2016/08/20 15:40:29 [VERB] Syncing status with HomeKit 2016/08/20 15:40:58 [VERB] Refreshing Hive status 2016/08/20 15:40:58 [VERB] Syncing status with HomeKit 2016/08/20 15:41:28 [VERB] Refreshing Hive status

But no further errors listed here, just the checking status on loop every 20 secs

Thanks

Richard BTW also had problem getting hot water status.... "Is the Hot Water on?"

r1chards commented 8 years ago

Hey I cleared the files in the 'Hive Bridge' folder which seemed to be created when it launches in terminal and/or connects to the iPhone app, this sorted the problem out and the bridge appeared back in the iPhone 'Home' app.

Happy days!!!

Can anyone help with the hot water status before I close the ticket? Note: I have to remove 'the' from the statements below to turn it off and on, else I get 'I don't understand hot water'

Cheers

Richard

JayShallcrass commented 8 years ago

@r1chards are you aware that Hive have finally opened up their API so you can send on/off commands directly to it?

I’ve recently combined this with the homebridge-ifttt plugin and it’s working a treat!

cpives2008 commented 8 years ago

@JayShallcrass have you managed to control heating, hot water, hot water boost, and temperature boost with the IFTTT plugin? Im really new to all this, but i have got home bridge running on a raspberry pi, and have the IFTTT plug in installed? Could you share the config file, it'd be a great help!

JayShallcrass commented 8 years ago

@cpives2008 I don't have Hot Water but have successfully got the Heating Boost working via HomeBridge and the IFTTT Plugin

Take a look at the different Actions on the IFTTT website https://ifttt.com/hive_active_heating

Here's a snippet of my config.json, you'll need to obviously adjust your maker key and the trigger name to reflect your IFTTT Maker configuration. Also, you'll probably need to remove some } & ] as this is a direct cut from my file.

{
            "platform": "IFTTT",
            "name": "IFTTT",
            "makerkey": "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
            "accessories": [
               {
                 "name": "Hive",
                 "buttons": [
                   {
                     "caption": "Boost Heating",
                     "trigger": "hiveboost"
                   }
                 ]
               }
             ]
           }