KraigM / HomeBridgeController

Provides a simplified UI for controlling your HomeBridge
87 stars 7 forks source link

Version number fails to encode and/or decode when in country that uses commas for decimals #35

Closed edelmaca closed 8 years ago

edelmaca commented 8 years ago

Hello, I've installed the latest Controller App on my Mac and the Latest plugin on my Pi. The Plugin is implemented into the config.json and is starting up without errors. It is visible in the Controller on my Mac. But as soon as i klick on the HomeBridge within the GUI, this Message Pops up.

"Upgraded Plugin Required You must install at least version 0.4.0 of the homebridge-controllerlink plugin."

bildschirmfoto 2016-03-24 um 12 38 17

As Mentioned above, i have installed the latest Plugin which is 0.5.0 All my other HomeBridge devices work like always and are responding the same as before i installed HomeBridgeController. Any suggestions?

AppleTechy commented 8 years ago

You need to update the controller plugin. npm update -g homebridge-controllerlink

On Thursday, March 24, 2016, edelmaca notifications@github.com wrote:

Hello, I've installed the latest Controller App on my Mac and the Latest plugin on my Pi. The Plugin is implemented into the config.json and is starting up without errors. It is visible in the Controller on my Mac. But as soon as i klick on the HomeBridge within the GUI, this Message Pops up.

You must install at least version 0.4.0 of the homebridge-controllerlink plugin.

As Mentioned above, i have installed the latest Plugin which is 0.5.0 Any suggestions?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/KraigM/HomeBridgeController/issues/35

edelmaca commented 8 years ago

Thanks for the reply but i have the latest version. Of course i tried to update it after your reply. But that hasn't solved the problem. The message is the same after the "update" and reboot of my Pi and HomeBridge. PS: I installed the Plugin this morning. So i can't have an older version. It always downloads the latest one.

KraigM commented 8 years ago

I assume you restarted the homebridge after installing?

Also find it in BonjourBrowser

Should look something like

messages image 3928471321
edelmaca commented 8 years ago

I rebooted the Pi and started HomeBridge after the first installation and after the "update". I found this one with the BonjourBrowser.

bildschirmfoto 2016-03-24 um 17 48 14

Does the HomeBridge Version have something to do with that?

KraigM commented 8 years ago

Oh I might know what it is, what version of HomeBridgeController are you using? Check for updates

edelmaca commented 8 years ago

As you can see above, I'm using HomebridgeController 0.5.0, the same as you and it is the newest version. I can't get a newer one, not on my pi and not on my Mac. On both devices I'm using the latest update. Controller: 0.5.0 Plugin: 0.5.0

KraigM commented 8 years ago

Well it uses that link version property to figure that out. So if the app is 0.5.0 and the link is 0.5.0...

Maybe reinstall the app?

edelmaca commented 8 years ago

I did that too. 😟 I even tried it on another Mac. I got the same message.

AppleTechy commented 8 years ago

Is your homebridge up to date? If so maybe rerun npm install -g homebridge-controllerlink

On Thursday, March 24, 2016, edelmaca notifications@github.com wrote:

I did that too. 😟 I even tried it on another Mac. I got the same message.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/KraigM/HomeBridgeController/issues/35#issuecomment-201096090

edelmaca commented 8 years ago

My homebridge is on 0.3.1, the newest is 0.3.2. I will try to update it. I hope this will fix my problem.

Edit: I tried it to update homebridge, it always stays on 0.3. everything i tried isn't working. i don't know what i can do now. I guess i have to skip this plugin/tool. As long as my Homebridge is doing fine without it, i´m good.

KraigM commented 8 years ago

@edelmaca Try version 0.5.1 of the app. If that doesn't work, I will dig through the code and figure it out

KraigM commented 8 years ago

Actually scratch that, I will go ahead and release version 0.6.0. I added a message to specify what version the controller thinks your plugin is on

edelmaca commented 8 years ago

Ok, thanks. I will try that out as soon as possible.

Edit: I give it up. i have updated the Controller and the Plugin. Now i´m on 0.6.0 and the Controller says i´m currently on version 60?!

bildschirmfoto 2016-03-28 um 11 45 00
KraigM commented 8 years ago

OH WAIT. Are you from a country that uses commas as decimal points? (i.e. 19,5 degrees outside lol)

edelmaca commented 8 years ago

Yes, i´m from Germany.

KraigM commented 8 years ago

Ok I bet something is messing up the conversion. I will figure out how to get that fixed prob this week or weekend

edelmaca commented 8 years ago

Perfect. Thank you!

KraigM commented 8 years ago

Should be fixed by updating the app to 0.6.2. It was an issue when the app was reading the version info via Bonjour.

I was able to set my culture for the app to Germany and reproduce the issue with 0.6.1 but not with 0.6.2.

Please try it out and let me know :smile:

edelmaca commented 8 years ago

Well done. 👍🏼 it is working now. Thanks for your work on that problem.

KraigM commented 8 years ago

HUZZAH! Glad it's working now. I really want to make this compatible with everyone.

Speaking of, I assume your native language is not English? Any chance I might be able to convince you to help with localization of the app (changing the app to support multiple languages) in the near future?