Paragraph mark symbol in json url

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Paragraph mark symbol in json url

Post by EdwinK »

I have created a switch that should control the various scenes from my Hue.

When I select one of them, it doesn't seem to work, so i checked the log, and noticed that a ¶ symbool has been added into the URL. But where I had put the URL it isn't there.
2017-03-06 14:01:59.564 Error: Error opening url: http://192.168.0.20:8084/json.htm?type= ... tchcmd=Off
The URL in the input-field is:
At first I thought it was a problem with the '&' in the URL, so I changed that to '&' but that didn't do the trick.

What could be the problem?

Running Domoticz on a Synology NAS.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
philchillbill
Posts: 400
Joined: Monday 12 September 2016 13:47
Target OS: Linux
Domoticz version: beta
Location: Eindhoven. NL
Contact:

Re: Paragraph mark symbol in json url

Post by philchillbill »

What text editor are you using? There could be a character there that a particular editor is not showing - this often happens when you copy/paste code snippets from web pages. Delete a few characters before and after that strange paragraph mark and re-type the text normally by hand to see if that helps.
Alexa skills author: EvoControl, Statereport, MediaServer, LMS-lite
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Paragraph mark symbol in json url

Post by EdwinK »

Just using the text-editor build-in Domoticz.

I will try your advice. normally I just do a copy all and then cmd-C and cmd-V to paste it in the text-editor.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Paragraph mark symbol in json url

Post by Nautilus »

EdKo66 wrote:Just using the text-editor build-in Domoticz.

I will try your advice. normally I just do a copy all and then cmd-C and cmd-V to paste it in the text-editor.
This is a known issue, have seen it in my setup as well. If you search the forum for "paragraph" you get a few links with hopefully a solution for you as well.

E.g. viewtopic.php?f=23&t=13412&p=96906&hili ... son#p96906
viewtopic.php?f=61&t=11195&p=80354&hili ... son#p80354
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Paragraph mark symbol in json url

Post by EdwinK »

Thanks. Will look at those topics. :)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest