naofireblade / homebridge-weather-plus

A comprehensive weather plugin for homebridge.
MIT License
314 stars 63 forks source link

Not able to see PWS #100

Closed zokl closed 4 years ago

zokl commented 4 years ago

I installed the latest version of homebridge 0.4.5.2 with the latest version of homebridge-weather-plus and I am not able to add new accessories to my home. I do not see the PWS in accessory.

I use a ffmpeg camera too and it works but homebridge-weather-plus no.

root@HomeBridgeA20:~# homebridge -D -Q
[Fri Mar 13 2020 20:16:11 GMT+0000 (UTC)] Loaded config.json with 0 accessories and 2 platforms.
[Fri Mar 13 2020 20:16:11 GMT+0000 (UTC)] ---
[Fri Mar 13 2020 20:16:17 GMT+0000 (UTC)] Loaded plugin: homebridge-camera-ffmpeg
[Fri Mar 13 2020 20:16:17 GMT+0000 (UTC)] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[Fri Mar 13 2020 20:16:17 GMT+0000 (UTC)] ---
[Fri Mar 13 2020 20:16:20 GMT+0000 (UTC)] Loaded plugin: homebridge-weather-plus
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] Registering platform 'homebridge-weather-plus.WeatherPlus'
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] ---
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] Loading 2 platforms...
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [Camera-ffmpeg] Initializing Camera-ffmpeg platform...
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Initializing WeatherPlus platform...
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Adding station with weather service Weather Underground named 'Cervenka PWS'
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] ** Fakegato-storage AddWriter : Cervenka PWS
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Loading...
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] ** Fakegato-storage read FS file: /root/.homebridge/HomeBridgeA20_Cervenka PWS_persist.json
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] ** Fakegato-timer Subscription : Cervenka PWS
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Registring Events Cervenka PWS
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Accessory Cervenka PWS
[Fri Mar 13 2020 20:16:26 GMT+0000 (UTC)] [WeatherPlus] Initializing platform accessory 'Cervenka PWS'...
Setup Payload:
X-HM://0023VUUX8MM8F
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

[Fri Mar 13 2020 20:16:27 GMT+0000 (UTC)] Homebridge is running on port 51826.
[Fri Mar 13 2020 20:16:27 GMT+0000 (UTC)] Terasa is running on port 52100.
[Fri Mar 13 2020 20:16:27 GMT+0000 (UTC)] Please add [Terasa] manually in Home app. Setup Code: 250-68-300
[Fri Mar 13 2020 20:16:28 GMT+0000 (UTC)] [WeatherPlus] **Fakegato-timer: addData  Cervenka PWS { time: 1584130588.92, temp: 6, pressure: 1017, humidity: 56 }  immediate:  false
[Fri Mar 13 2020 20:16:28 GMT+0000 (UTC)] [WeatherPlus] **Start Global Fakegato-Timer - 10min**
zokl commented 4 years ago

The problem is in cache of homebridge. After refres everything works.