Thanks! It seems to do what needed, but negative part is exactly what you wrote. Maybe this is something where @robgeerts can help us?Nautilus wrote:This might help you a bit: https://www.domoticz.com/forum/viewtopi ... 49#p129549koowee wrote:Thanks, unfortunately it didnt' help. I did change width to 4 and then it lose some part of the picture (see attachment). I think that the problem is that the source is fixed size and it doesn't automatically scale it smaller to this iframe. Maybe this can be done somehow for example using css (I don't know anything about css ).wizjos wrote:In your config.js you maybe should fiddle with the width setting in:make it for instance width :4 or something....Code: Select all
frames.weather = {refreshiframe:10000,height:500,frameurl:"http://iltasanomat.weatherproof.fi/tutka.php?map=Etel%C3%A4-Suomi",width:12}
Hope it helps...
Regards,
wizjos
ilmatieteenlaitos2.png
The downside is, used like that it will rescale all iframes (like the popups), not sure how it could be limited to just this one...
Dashticz - General Discussions
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 62
- Joined: Thursday 29 December 2016 18:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Finland
- Contact:
Re: Dashticz - General Discussions
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Dashticz - General Discussions
Does someone tried to add scene/group into Dashticz? The IDX numbers are overlapping with the switches. So when i add a Scene IDX 1 then my NEST is shown in Dashticz because the IDX of nest is also 1
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 99
- Joined: Friday 10 March 2017 22:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Germany
- Contact:
Re: Dashticz - General Discussions
You have to add an s at the beginning, so for scene 1 s1poudenes wrote:Does someone tried to add scene/group into Dashticz? The IDX numbers are overlapping with the switches. So when i add a Scene IDX 1 then my NEST is shown in Dashticz because the IDX of nest is also 1
Migration done, hello Home Assistant.
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Dashticz - General Discussions
Tried it now... in v2 and beta. But then my whole design is when remove the s1 again then everything is okblacksn0w wrote:You have to add an s at the beginning, so for scene 1 s1poudenes wrote:Does someone tried to add scene/group into Dashticz? The IDX numbers are overlapping with the switches. So when i add a Scene IDX 1 then my NEST is shown in Dashticz because the IDX of nest is also 1
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 99
- Joined: Friday 10 March 2017 22:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Germany
- Contact:
Re: Dashticz - General Discussions
Don't forget the quotes, blocks['s1'] for examples, because its not only a number.
Migration done, hello Home Assistant.
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Dashticz - General Discussions
i feel so stupid.. haha thanks!blacksn0w wrote:Don't forget the quotes, blocks['s1'] for examples, because its not only a number.
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 7
- Joined: Tuesday 27 September 2016 9:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Server notifications?
Hi,
I'm relative new to the world of Domoticz and I've just discovered Dashticz.
A general question is, does the architecture of Domoticz allow for sending server notifications to it's clients or do they have to poll the server for changes?
I just tested very simple Dashticz installation yesterday and it didn't update the statuses of the switches until I refreshed the UI.
I would have guessed that Domoticz has some sort of internal event-bus, through wich it gets and sends all updates to it's various devices and that this could be sent to the clients in turn? No?
br Tooltime
I'm relative new to the world of Domoticz and I've just discovered Dashticz.
A general question is, does the architecture of Domoticz allow for sending server notifications to it's clients or do they have to poll the server for changes?
I just tested very simple Dashticz installation yesterday and it didn't update the statuses of the switches until I refreshed the UI.
I would have guessed that Domoticz has some sort of internal event-bus, through wich it gets and sends all updates to it's various devices and that this could be sent to the clients in turn? No?
br Tooltime
-
- Posts: 76
- Joined: Saturday 31 December 2016 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
I tried to set dashticz up on a windows tablet last night but all I got was 500 - Internal server error when browsing to the url.
My steps were as the wiki - done a git clone of the master into domoticz/www/dashboard, cp CONFIG_DEFAULT.js to CONFIG.js.
Edit the CONFIG.js to point at my local domoticz server (which uses auth, so specified as http://user:pass@my_ip:8080)
Set language to english.
I've tried a restart of the domoticz installation, just in case it needed to refresh anything from the new directory, but I still get a 500 error when browsing.
Any sort of log I can look at to troubleshoot?
My steps were as the wiki - done a git clone of the master into domoticz/www/dashboard, cp CONFIG_DEFAULT.js to CONFIG.js.
Edit the CONFIG.js to point at my local domoticz server (which uses auth, so specified as http://user:pass@my_ip:8080)
Set language to english.
I've tried a restart of the domoticz installation, just in case it needed to refresh anything from the new directory, but I still get a 500 error when browsing.
Any sort of log I can look at to troubleshoot?
-
- Posts: 55
- Joined: Sunday 09 April 2017 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Location: Almere
- Contact:
Re: Dashticz - General Discussions
Did you trySwifty wrote:I tried to set dashticz up on a windows tablet last night but all I got was 500 - Internal server error when browsing to the url.
My steps were as the wiki - done a git clone of the master into domoticz/www/dashboard, cp CONFIG_DEFAULT.js to CONFIG.js.
Edit the CONFIG.js to point at my local domoticz server (which uses auth, so specified as http://user:pass@my_ip:8080)
Set language to english.
I've tried a restart of the domoticz installation, just in case it needed to refresh anything from the new directory, but I still get a 500 error when browsing.
Any sort of log I can look at to troubleshoot?
http://IP address:port/{dashboard folder}/index.html
-
- Posts: 7
- Joined: Wednesday 18 September 2013 21:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
In the internet explorer debugger I constanly receive this error when moving my mouse in the Dashticz screen:
SCRIPT5007: Object expected
main.js (460,3)
This also increases the systemload.
Besides this error I also receive te following errors:
Warning: Failed prop type: Required prop `format` was not specified in `exports`.
in exports (created by CityContainer)
in CityContainer (created by storeConnector(CityContainer))
in storeConnector(CityContainer) (created by Main)
in div (created by Main)
in Main (created by storeConnector(Main))
in storeConnector(Main) (created by HistoryHandler)
in HistoryHandler (created by RouteHandler)
in RouteHandler (created by storeConnector(RouteHandler))
in storeConnector(RouteHandler) (created by contextProvider(storeConnector(RouteHandler)))
in contextProvider(storeConnector(RouteHandler))
And:
SCRIPT5: Access is denied.
script block (664) (11,29)
And:
DOM7009: Unable to decode image at URL: 'https://lemonpi-prod-creatives.s3.amazo ... 6/1023.png'.
1023.png
Since I'm new to dashticz I don't know if these errors occur due to config errors.
SCRIPT5007: Object expected
main.js (460,3)
This also increases the systemload.
Besides this error I also receive te following errors:
Warning: Failed prop type: Required prop `format` was not specified in `exports`.
in exports (created by CityContainer)
in CityContainer (created by storeConnector(CityContainer))
in storeConnector(CityContainer) (created by Main)
in div (created by Main)
in Main (created by storeConnector(Main))
in storeConnector(Main) (created by HistoryHandler)
in HistoryHandler (created by RouteHandler)
in RouteHandler (created by storeConnector(RouteHandler))
in storeConnector(RouteHandler) (created by contextProvider(storeConnector(RouteHandler)))
in contextProvider(storeConnector(RouteHandler))
And:
SCRIPT5: Access is denied.
script block (664) (11,29)
And:
DOM7009: Unable to decode image at URL: 'https://lemonpi-prod-creatives.s3.amazo ... 6/1023.png'.
1023.png
Since I'm new to dashticz I don't know if these errors occur due to config errors.
-
- Posts: 34
- Joined: Tuesday 28 October 2014 18:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
For the people using the RSS proxy : https://crossorigin.me I have created an php script for parsing the RSS feeds local, if you have php enabled
create in the custom directory a new directory, news
/custom/news/rssproxy.php
rssproxy.php
and in
CONFIG.js
Don't tested with a lot of different RSS feeds because i use rssmix.com who will combine the feeds i need into one news feed.
create in the custom directory a new directory, news
/custom/news/rssproxy.php
rssproxy.php
Code: Select all
<?php
$ch = curl_init();
$timeout = 30;
$userAgent = $_SERVER['HTTP_USER_AGENT'];curl_setopt($ch, CURLOPT_URL, $_REQUEST['url']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);$response = curl_exec($ch); if (curl_errno($ch)) {
echo curl_error($ch);
} else {
curl_close($ch);
echo $response;
}
?>
and in
CONFIG.js
Code: Select all
var _NEWS_RSSFEED = 'custom/news/rssproxy.php?url=http://www.rssmix.com/u/8235558/rss.xml';
or
var _NEWS_RSSFEED = 'custom/news/rssproxy.php?url=http://www.nu.nl/rss/Algemeen';
Don't tested with a lot of different RSS feeds because i use rssmix.com who will combine the feeds i need into one news feed.
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Dashticz - General Discussions
Nice, is it possible to embed this in the dashticz dsitribution?
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Dashticz - General Discussions
I have in the custom.js code that turns on/off into aanwezig/afwezig (see Andrew thuis?). Is it right that last seen then don't work? When i quote it out then last seen is working. Is it possible to get it anyway with custum.js.
- Attachments
-
- Screenshot_2017-05-08-15-09-45.jpg (72.63 KiB) Viewed 2500 times
-
- Posts: 317
- Joined: Thursday 12 January 2017 15:30
- Target OS: Linux
- Domoticz version: Beta Ch
- Location: Finland
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Im getting this error every now and then, my config is in correct place. It is annoying, is there something i can do to it ? Im using dashticz with 2 different computers atm. if it makes any difference ?mvveelen wrote:Also updated to the latest (beta) from the new location, but I receive an error:
Nothing changed in the CONFIG.js and Domoticz is still running. What's wrong ??Code: Select all
Domoticz error! Please, double check the path in _HOST_DOMOTICZ-variable!
Edit: read, read, READ !!
Moved config.js to the custom folder
-T
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - General Discussions
This is an indication that something IS wrong in your config. Not necessarily in the HOST_DOMOTICZ variable, but might be something further down the line. So double check if you might have forgotten a ';' or something trivial like that.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 55
- Joined: Sunday 09 April 2017 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Location: Almere
- Contact:
Re: Dashticz - General Discussions
Hi I useSwordFish wrote:I have in the custom.js code that turns on/off into aanwezig/afwezig (see Andrew thuis?). Is it right that last seen then don't work? When i quote it out then last seen is working. Is it possible to get it anyway with custum.js.
Code: Select all
blocks[idx]['hide_data'] = true;
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Dashticz - General Discussions
But I wanne see last seen
Verzonden vanaf mijn iPhone met Tapatalk
Verzonden vanaf mijn iPhone met Tapatalk
-
- Posts: 8
- Joined: Tuesday 16 August 2016 11:41
- Target OS: Linux
- Domoticz version: V3.5641
- Location: Netherlands
- Contact:
Re: Dashticz - General Discussions
Hello,
Can somebody help me, checked this discussion already but calendar(apple) is still not displaying. Changed CONFIG.js calendar settings in "var _ICALENDAR_URL = 'webcal://p32-calendars.icloud.com/published/2/i..... etc"
and placed 'icalendar' in column . Nothing is showing. What do i forget.
Ricardo
Can somebody help me, checked this discussion already but calendar(apple) is still not displaying. Changed CONFIG.js calendar settings in "var _ICALENDAR_URL = 'webcal://p32-calendars.icloud.com/published/2/i..... etc"
and placed 'icalendar' in column . Nothing is showing. What do i forget.
Ricardo
Ubuntu16.04 LTS | Z-wave | Opentherm | P1 Smartmeter
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Dashticz - General Discussions
SwordFish wrote:But I wanne see last seen
Verzonden vanaf mijn iPhone met Tapatalk
in config.js you put for all
VAR _SHOW_LASTUPDATE = true or false
and per block
blocks[xx] = {}
blocks[xx]['show_lastupdate'] = true or false
Last edited by qwerk on Monday 08 May 2017 17:22, edited 1 time in total.
-
- Posts: 55
- Joined: Sunday 09 April 2017 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Location: Almere
- Contact:
Re: Dashticz - General Discussions
If I useSwordFish wrote:But I wanne see last seen
Verzonden vanaf mijn iPhone met Tapatalk
Code: Select all
var _SHOW_LASTUPDATE = true;
Code: Select all
blocks[73] = {}
blocks[73]['width'] = 6;
blocks[73]['icon'] = 'fa-home';
blocks[73]['hide_data'] = true;
blocks[73]['title'] = 'Paul';
Who is online
Users browsing this forum: No registered users and 1 guest