Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud 2.4.4. 2.4.5 in Windows 10 ioBroker buggy #63

Closed
elzershark opened this issue Feb 5, 2018 · 8 comments
Closed

Cloud 2.4.4. 2.4.5 in Windows 10 ioBroker buggy #63

elzershark opened this issue Feb 5, 2018 · 8 comments

Comments

@elzershark
Copy link

Windows 10. iobroker.
https://youtu.be/aPTvQpnEQVE
Umlaute setzen alle Geräte offline. Keine Geräte funktionieren mehr.
iobroker kann komplett nicht verwendet werden.
Das ist bei der cloud 2.4.4... 2.4.5.
Alle Versionen davor funktionieren mit Umlauten.
Die Zeichenkodierung ist buggy in der Cloud

@elzershark elzershark changed the title Cloud 2.4.4. buggy Cloud 2.4.4. 2.4.5 buggy Feb 5, 2018
@pfleiderer
Copy link

Kann ich nicht betätigen. Mein Smartname "Küche Licht" wird erkannt und problemlos geschaltet.
admin 3.1.12
cloud 2.4.5

@elzershark
Copy link
Author

Dann hast Du nicht ioBroker über Windows laufen

@elzershark elzershark changed the title Cloud 2.4.4. 2.4.5 buggy Cloud 2.4.4. 2.4.5 in Windows 10 ioBroker buggy Feb 5, 2018
@pfleiderer
Copy link

Das stimmt allerdings. Läuft auf einem Raspi unter Linux. Sorry habe ich nicht enau genug gelesen.

WolfspiritM added a commit to WolfspiritM/ioBroker.cloud that referenced this issue Feb 5, 2018
...otherwise it breaks Alexa. Resolves ioBroker#63
@WolfspiritM
Copy link
Contributor

This also happens on Linux aswell and is not only related to Window. The reason why this is happening is that Alexa expects the applianceId to not contain anything besides letters and numbers. Recent change of the regex however introduced umlauts which makes alexa ignore the whole discovery response. I removed umlauts again but left Cyrillic ones in in my pull request. I tried to change the FriendlyName to cyrillic to test but it seems there is a block for friendlyName containing cyrillic characters anyway somewhere before that part.

I have no idea if alexa allows cyrillic in there...that needs to be tested but I assume they also count as invalid characters.

We might have a problem if the friendlyName only contains cyrillic characters then as it will end in an empty friendlyName.

Does Alexa support cyrillic at all?

@werner256
Copy link

Danke für die ausführliche Analyse! Da es ja bisher (und mit cloud 2.1.1 noch immer) auch mit Umaluten funktioniert - wird es dann auch irgendwann wieder funktionieren?

@WolfspiritM
Copy link
Contributor

Ja klar.
Bisher wurde für die ID (nicht den Namen) Umlaute weggeschnitten.
Daher hat es funktioniert :-) Nach meiner Änderung ist das auch wieder genauso.
Ich schätze mit 2.4.6 wird es wieder gehen.

@djalexz
Copy link

djalexz commented Feb 6, 2018

Tatsache, habe die Daten wie von WolfspiritM beschrieben manuell in den Dateien des Cloud Adapters geändert und ihn neugestartet.
Rolllade in der Küche funktioniert wieder :-)

Klasse Arbeit, vielen Dank.
Ich denke, dass BlueFox das bald mergen wird.

@AlCalzone
Copy link
Contributor

AlCalzone commented Feb 9, 2018

We might have a problem if the friendlyName only contains cyrillic characters then as it will end in an empty friendlyName.

Does Alexa support cyrillic at all?

Das dürfte helfen, auch mit deutschen/französischen Umlauten
https://www.npmjs.com/package/unidecode
Oder eher das, säubert noch etwas weiter:
https://www.npmjs.com/package/url-slug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants