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

issue with 5.2.2 and fhem #1095

Closed
ammawel opened this issue May 28, 2019 · 6 comments · Fixed by #1115
Closed

issue with 5.2.2 and fhem #1095

ammawel opened this issue May 28, 2019 · 6 comments · Fixed by #1115
Assignees
Milestone

Comments

@ammawel
Copy link

ammawel commented May 28, 2019

Up to version 5.2.2-RC4 automatically created fhem devices work fine.
After updating to the latest version 5.2.2 I get the following error messages:

Request Error, Please look in your habridge log: error {"type":"6","address":"/lights/1","description":"Error on calling url to change device state","method_name":"/lights/1state"}

The device-target-item is
{"url":"http:https://127.0.0.1:8088/fhem?cmd=set%20ta_Test%20","command":"on"}
and the log says
Cannot parse command to FHEM <<<"{\"url\":\"http:https://127.0.0.1:8088/fhem?cmd=set%20ta_Test%20\",\"command\":\"on\"}">>> com.bwssystems.HABridge.plugins.fhem.FHEMHome

Went back to RC4 and all ist working fine again.

@marcelfischer
Copy link

Having the same problem when changing the command for a device

@marcelfischer
Copy link

Could someone provide a jar file for 5.2.2 RC4?

@bwssytems
Copy link
Owner

will take a look

@bwssytems bwssytems self-assigned this May 30, 2019
@bwssytems
Copy link
Owner

So, it looks as the url in the error above has beginning quotations and ending quotations. The builder does not put those in.

Are these custom built commands?

@ammawel
Copy link
Author

ammawel commented May 30, 2019

No, they are fhem-devices and the bridge-devices were created by ha-bridge from the fhem plugin.
When exchanging the jar file for V5.2.2-RC4 the commands of the bridge-devices created in this way work.

The definition of the target items, e.g. {"url": "http:https://127.0.0.1:8088/fhem?cmd=set%20ta_Test%20", "command": "on"} is done with V5.2.2 as before, there is no difference.
The error must be in the evaluation.

The screenshot show the fhem-device in bridge and the bridge-device created by the fhem-plugin, definition as usual, works up to RC4 including

fhem-device, clicking "Build Item"
fhem-device in bridge

bridge-device created, working up to RC4 including
bridge-device created from fhem-plugin

@ammawel ammawel closed this as completed May 30, 2019
@ammawel ammawel reopened this May 30, 2019
@bwssytems
Copy link
Owner

I am putting in checks for json object versus string to help.

@bwssytems bwssytems modified the milestones: v5.2.2, V5.3.0 May 30, 2019
bwssytems added a commit that referenced this issue Jul 29, 2019
Fixes #670 Execute select Device when bridge loads [Enhancement Request] enhancement
Fixes #877 Color in Hue/Sat enhancement
Fixes #917 lock device ID #s enhancement
Fixes #1032 Support for HomeGenie enhancement
Fixes #1033 Backup & Restore enhancement
Fixes #1060 Voice command colour change bug question
Fixes #1077 several somfy action in a same Row ID doesn't work bug question
Fixes #1084 Add Mozilla IoT gateway Helper enhancement
Fixes #1092 ha-bridge incompatible with Amazon Echo Dot Gen. 3? enhancement question
Fixes #1093 Alexa Issue : ID conflict between HA Bridge an Hue Bridge enhancement question
Fixes #1094 issue with 5.2.2 and Harmony enhancement question
Fixes #1095 issue with 5.2.2 and fhem enhancement question
Fixes #1098 Home Assistant has new authentication methods and Legacy API Passwords will be removed enhancement question
Fixes #1103 Have single scroll bar for Bridge Devices page. enhancement
Fixes #1108 Add mDNS Discovery to ha-bridge
Fixes #1109 Add HTTPS to ha-bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants