My switch isn't showing in the Home-App
Hello!

At first thank you for the great plug-in it looks very nice but unfortunately Home doesn't show my switch at all.

I set up everything fine and also I got no errors while running.

I also updatet homebrige, reloaded the http-switch plugin and it still wont work for me.

**Version** (output of `npm list -g homebridge homebridge-http-switch`)
 - homebridge: 0.4.45
 - homebridge-http-switch: 0.5.2

**Configuration**
```json
{
        "bridge": {
                "name": "Homeserver",
                "username": "CC:22:3D:E3:CE:32",
                "port": 51826,
                "pin": "111-11-111"
        },


        "accessories": [{
                        "accessory": "AppleTVTheaterMode",
                        "name": "AppleTV",
                        "credentials": "7B84BB0-6DS4-48E63-89B9-321"
                },
                {
                        "accessory": "HTTP-SWITCH",
                        "name": "Hausture",

                        "switchType": "stateless",

                        "timeout": 5000,

                        "onUrl": "http://192.168.178.41/toggle"
                }
        ],

        "platforms": [{
                        "platform": "Hue",
                        "users": {
                                "001788FFFExxxxx": "xxxxxxxxxxxxxxx"
                        },
                        "lights": true,
                        "nupnp": false
                }

        ]
}

```

My Homebridge.log seems to be correct. But my "Hausture" wont show up in the Home app. 



[2018-9-14 14:25:08] Loaded config.json with 1 accessories and 2 platforms.
[2018-9-14 14:25:08] ---
[2018-9-14 14:25:12] Loaded plugin: homebridge-dacp
[2018-9-14 14:25:12] Registering platform 'homebridge-dacp.DACP'
[2018-9-14 14:25:12] ---
[2018-9-14 14:25:13] Loaded plugin: homebridge-esplock
[2018-9-14 14:25:13] Registering accessory 'homebridge-esplock.EspLock'
[2018-9-14 14:25:13] ---
[2018-9-14 14:25:15] Loaded plugin: homebridge-http-switch
[2018-9-14 14:25:15] Registering accessory 'homebridge-http-switch.HTTP-SWITCH'
[2018-9-14 14:25:16] ---
[2018-9-14 14:25:18] Loaded plugin: homebridge-hue
[2018-9-14 14:25:18] Registering platform 'homebridge-hue.Hue'
[2018-9-14 14:25:18] ---
[2018-9-14 14:25:18] Loaded plugin: homebridge-lock
[2018-9-14 14:25:18] Registering accessory 'Homebridge – Door Lock.HTTPLock'
[2018-9-14 14:25:18] ---
[2018-9-14 14:25:19] Loaded plugin: homebridge-theater-mode
[2018-9-14 14:25:19] Registering accessory 'homebridge-theater-mode.AppleTVTheaterMode'
[2018-9-14 14:25:19] ---
[2018-9-14 14:25:19] Loading 2 platforms...
[2018-9-14 14:25:19] [Kein Name] Initializing DACP platform...
[2018-9-14 14:25:19] [Kein Name] DACP Platform Plugin Loaded - Version 0.9.2
[2018-9-14 14:25:19] [Kein Name] Found accessory in config: "Fernseher"
[2018-9-14 14:25:19] [Kein Name] Initializing platform accessory 'Fernseher'...
[2018-9-14 14:25:19] [Kein Name] Initializing Hue platform...
[2018-9-14 14:25:19] [Kein Name] homebridge-hue v0.10.0, node v8.11.4, homebridge v0.4.45
[2018-9-14 14:25:19] Loading 1 accessories...
[2018-9-14 14:25:19] [AppleTV] Initializing AppleTVTheaterMode accessory...
[2018-9-14 14:25:19] [Kein Name] Starting DACP browser...
[2018-9-14 14:25:21] [Kein Name] The accessory Fernseher is announced as 192.168.178.42:3689.
[2018-9-14 14:25:21] [Kein Name] It's an AppleTV5,3 named TV
[2018-9-14 14:25:21] [Kein Name] Attempting to reconnect to Fernseher in 0.1 seconds.
[2018-9-14 14:25:21] [Kein Name] Connecting to Fernseher (192.168.178.42:3689)
[2018-9-14 14:25:21] [Kein Name] Creating status connection to 192.168.178.42:3689
Established connection to 192.168.178.42:3689 with session ID 65
[2018-9-14 14:25:23] [Kein Name] Connected to TV
[2018-9-14 14:25:23] [Kein Name] Creating properties connection to 192.168.178.42:3689
[2018-9-14 14:25:24] [AppleTV] Opened connection to AppleTV
[2018-9-14 14:25:25] [Kein Name] Philips hue: Philips BSB002 bridge v1806051111, api v1.26.0
[2018-9-14 14:25:26] [Kein Name] Philips hue: 3 accessories
[2018-9-14 14:25:26] [Kein Name] masked debug info dumped to /home/pi/.homebridge/homebridge-hue.json.gz
[2018-9-14 14:25:26] [Kein Name] Initializing platform accessory 'Philips hue'...
[2018-9-14 14:25:26] [Kein Name] Philips hue: 3 services
[2018-9-14 14:25:26] [Kein Name] Initializing platform accessory 'Vitrine'...
[2018-9-14 14:25:26] [Kein Name] Initializing platform accessory 'Bar Beleuchtung'...
Setup Payload:
X-HM://0023RHWCIOHLG
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 111-11-111            │     
    └────────────┘     
                       
[2018-9-14 14:25:26] Homebridge is running on port 51826.

I noticed that "Hausture" wasn't initialized in this log which came from start Homebridge automatically after reboot. When I use $ homebridge, it will initialized but still not showing in my App.


I just deleted my homebridge from Home and gave it a new identity. It works now.