grzegorz914 / homebridge-melcloud-control

Homebridge plugin for Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation, publish as dynamic external platform accessory.
MIT License
55 stars 2 forks source link

Help with configuring JSON to display accessories in Homekit #27

Closed ItsRubycub closed 1 year ago

ItsRubycub commented 1 year ago

Hi, I’m not familiar with programming Homebridge, it's new for me. Here at home we got 5 Heater/Cooler-units connected to MELCloud and would like to use them though HomeKit with Homebridge. I already followed the steps as given here: https://github.com/grzegorz914/homebridge-melcloud-control but don't know how ti configure the JSON-file in there.

I installed the MELCloud Control Plugin as written:

Schermafbeelding 2023-01-22 om 18 36 29

These are the Heater/Cooler-units that are showing up in the "accessories" tab in homebridge:

Schermafbeelding 2023-01-22 om 18 30 30

This is the code that already exists in the "configure" tab in homebridge (also see for the screenshot if not clear): { "bridge": { "name": "Homebridge FA32", "username": "deleted here for privacy reasons", "port": 51305, "pin": "deleted here for privacy reasons", "advertiser": "bonjour-hap" }, "accessories": [], "platforms": [ { "name": "HomeBridge", "port": 8581, "auth": "form", "theme": "auto", "tempUnits": "c", "lang": "nl", "platform": "config" }, { "accounts": [ { "name": "Ruben Melcloud", "user": "deleted here for privacy reasons", "passwd": "deleted here for privacy reasons", "language": "12", "ataDisplayMode": 0, "ataPresets": false, "atwDisplayMode": 0, "atwPresets": false, "ervDisplayMode": 0, "ervPresets": false, "disableLogInfo": false, "disableLogDeviceInfo": false, "enableDebugMode": false, "enableMqtt": false, "mqttAuth": false, "mqttDebug": false } ], "_bridge": { "username": "deleted here for privacy reasons", "port": deleted here for privacy reasons }, "platform": "melcloudcontrol" } ] }

Schermafbeelding 2023-01-22 om 18 46 28

This is the code that already exists in the "MELCloud Control" in the "plugin" tab in homebridge (also see for the screenshots if not clear): { "accounts": [ { "name": "Ruben Melcloud", "user": "deleted here for privacy reasons", "passwd": "deleted here for privacy reasons", "language": "12", "ataDisplayMode": 0, "ataPresets": false, "atwDisplayMode": 0, "atwPresets": false, "ervDisplayMode": 0, "ervPresets": false, "disableLogInfo": false, "disableLogDeviceInfo": false, "enableDebugMode": false, "enableMqtt": false, "mqttAuth": false, "mqttDebug": false } ], "_bridge": { "username": "deleted here for privacy reasons", "port": 37449 }, "platform": "melcloudcontrol" }

Schermafbeelding 2023-01-22 om 18 50 56 Schermafbeelding 2023-01-22 om 18 51 03

Where do I put what code so the accessories show up in HomeKit-app?

Thanks in advance! Ruben

grzegorz914 commented 1 year ago

Why you not use GUI to configure it? In most cases you need only set user, passwd and language. Are you added this accessory to HomeKit after configured? https://github.com/grzegorz914/homebridge-melcloud-control/wiki#adding-to-homekit

ItsRubycub commented 1 year ago

OMG I was looking over it, misunderstood it at the first glance. I feel so dumb to be honest.

Thanks for helping (so fast 🥇)!

Here's a glimp that it succeeded: image image

grzegorz914 commented 1 year ago

Nice, Have fun.