ilcato / homebridge-blynk

Homebridge plugin for the Blynk platform
MIT License
20 stars 30 forks source link

homebridge doesnt trigger anything #20

Open emilgenchev opened 6 years ago

emilgenchev commented 6 years ago

Hi,

I have exactly same issue as with previous release, described here: https://github.com/ilcato/homebridge-blynk/issues/12

I was able to solve this problem with the help of i3creations of above issue link. I tried to update to latest version but with complete rewrite this code cannot be ported anymore. Could you maybe take a look?

I use local Blynk server with a switch on virtual port 0. When I try to switch on/off i see following output into homebridge log: [9/21/2018, 6:58:30 PM] [Blynk] Updating value for device: Switch parameter: On, value: false [9/21/2018, 6:58:31 PM] [Blynk] Setting value to device: Switch, parameter: On, value: true [9/21/2018, 6:58:31 PM] [Blynk] Updating value for device: Switch parameter: On, value: false [9/21/2018, 6:58:32 PM] [Blynk] Updating value for device: Switch parameter: On, value: false

Thanks!

ilcato commented 6 years ago

See the release notes and usage notes:

Works on both cloud server and local server: for cloud server the Blynk App must be running in order to receive automatic update of the pin values (setting pins works also without the app runing); for local server put "allow.reading.widget.without.active.app=true" in server.properties in order to be able to receive automatic update of the pin values.

frzara commented 6 years ago

Hello, i've enabled "allow.reading.widget.without.active.app=true". And still got the same issue as the guy above. Switch in the homekit app turns off emediately after pressing it

[2018-11-8 22:19:53] [Blynk] Updating value for device: Switch1 parameter: On, value: false [2018-11-8 22:19:54] [Blynk] Setting value to device: Switch1, parameter: On, value: true [2018-11-8 22:19:54] [Blynk] Updating value for device: Switch1 parameter: On, value: false [2018-11-8 22:19:55] [Blynk] Updating value for device: Switch1 parameter: On, value: false