Longfonds and alarmeringen call incorrect get function/command

Moderator: leecollings

Post Reply
zwartje
Posts: 15
Joined: Thursday 09 May 2019 16:07
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Longfonds and alarmeringen call incorrect get function/command

Post by zwartje »

When -according to the docs- setting up alarmeringen and luchtkwaliteit for Delft the actual get command as seen by my browser includes the url for the dashticz instance (as if pre-pended to the actual call)
(I know I am not using https internally, thats for another day)

PS: did a git pull yesterday so I think I am on the latest and greatest :)

Code: Select all

GET
scheme	http
host	192.168.1.50:8082
filename 	/0https://alarmeringen.nl/feeds/city/delft.rss
Result: get http://192.168.1.50:8082/0https://alarm ... /delft.rss

Relevant config from my custom.js:
Spoiler: show
var config = {}
config['domoticz_ip'] = 'http://192.168.1.49:8080';

blocks['alarmmeldingen'] = {
rss: 'https://alarmeringen.nl/feeds/city/delft.rss',
filter: 'Delft', //filter the messages for your town and if you want the cities around you
show_lastupdate: true,
width: 12,
refresh: 300, //refresh rate in seconds
results: 5 //number of recent results to show
}
blocks['longfonds'] = {
title: 'Luchtkwaliteit',
zipcode: '1234AB',
housenumber: '123',
switch: true,
width: 12,
// hier uiteraard even mijn echte zip/nr veranderd
}
columns[4] = {
blocks: ['log','alarmmeldingen','longfonds'],
width: 24
}
screens[6] = {}
screens[6]['background'] = 'bg0.jpg';
screens[6]['columns'] = [4];
Ubuntu + Docker, RFXtrx433e, P1, KlikaanKlikuit, Xiaomi, Somfy, ESP(easy), Tasmota, Zigbee2MQTT/MQTT-Auto, Unifi
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Longfonds and alarmeringen call incorrect get function/command

Post by Lokonli »

Do you have a PHP or CORS related setting in CONFIG.js?

Remove it and try again.

Or: your php setup is incorrect.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests