Page 18 of 32

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Tuesday 17 January 2017 14:49
by squandor
patricknooijen wrote:
woody4165 wrote:Using it without double quotes, now some values have changed positions

Code: Select all

192.168.xx.xx - - [17/Jan/2017 13:39:09] "POST /api?custom=wunderground&loc=IT&country=condition&action=Rome HTTP/1.1" 200 -
192.168.xx.xx - - [17/Jan/2017 13:39:09] "POST /api?custom=wunderground&loc=IT&country=forecast&action=Rome HTTP/1.1" 200 -
but seems still wrong, to me.
looks ok to me. When i use this it works. I use develop branch. Did you fill in your wunderground api key?
i see you get the wrong order. try the develop branch please.
Glad that you've got it working. For you're information it seems that the above log was with an master version. the parameters in the url are in the wrong order because we made an fix for the title in the developer branch.

Sorry for now but when the developer goes to master everything will work again.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Tuesday 17 January 2017 14:54
by woody4165
Absolutely, thanks for your work!

PS:
One question regarding the actual condition in wunderground

This is what I see now for my location in their website
Image

and this is what I see in the condition panel
Image

What value is used to show the temp?
Thanks

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Tuesday 17 January 2017 16:09
by benotje
Hay I have a question, does anyone know how a camera
rtsp://username:password@IPADDRESS:554/h264Preview_01_main
can add up to so that I can see live

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Tuesday 17 January 2017 17:32
by squandor
benotje wrote:Hay I have a question, does anyone know how a camera
rtsp://username:password@IPADDRESS:554/h264Preview_01_main
can add up to so that I can see live
good question i don't have an camera with an rtsp protocol stream so i couldn't test it. On the web people say that it could be added using an iframe. but without to test it i can't implement it

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Tuesday 17 January 2017 17:35
by squandor
woody4165 wrote:Absolutely, thanks for your work!

PS:
One question regarding the actual condition in wunderground

This is what I see now for my location in their website
Image

and this is what I see in the condition panel
Image

What value is used to show the temp?
Thanks
my bad, currently it uses the dewpoint but it must be the temp_c i will change it and update the code so you can update it within settings.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Tuesday 17 January 2017 18:26
by benotje
squandor wrote:
benotje wrote:Hay I have a question, does anyone know how a camera
rtsp://username:password@IPADDRESS:554/h264Preview_01_main
can add up to so that I can see live
good question i don't have an camera with an rtsp protocol stream so i couldn't test it. On the web people say that it could be added using an iframe. but without to test it i can't implement it

rtsp should with VCL or Quicktime plugin

I read that but I do not know how to do that

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Tuesday 17 January 2017 18:29
by woody4165
squandor wrote: my bad, currently it uses the dewpoint but it must be the temp_c i will change it and update the code so you can update it within settings.
Thanks!!!

It's really strange that in the dev branche in the top tiles I don't see anymore the temp that I have defined in the domoboard.conf modified with the one taken from the master one.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Tuesday 17 January 2017 21:31
by wez3
domoj wrote:Hi,

don't know if it's legit, but here is a workaround for the need to login at startup. Since I don't want to have a keyboard on the rpi+7 ' touchscreen, I'd rather do without the login page. The workaround is to pre-fill the login form.
Tip: use a chrome extension which enables a virtual keyboard. I use this on my rpi 7" touch screen, works like a charm:
https://chrome.google.com/webstore/deta ... olinlfninn

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 10:18
by Awst6000
Can someone shine a light please?
How can I pass data to bar_charts and line_charts?
Txs.

Edit:
In the log I often see this error because this icon doesn't exist:
\static\images\icons\logo-169x169.png
(Probably a typo: 196x196)

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 10:50
by squandor
Awst6000 wrote:Can someone shine a light please?
How can I pass data to bar_charts and line_charts?
Txs.
Hi Awst6000,

this is an sample config for the charts:

Code: Select all

[[display_components]]
  components = domoticz_percentage_charts, domoticz_smart_charts[1],domoticz_counter_charts, domoticz_temp_charts, domoticz_smart_charts[2],   
  bar_charts
[[domoticz_smart_charts]]
  [[[1]]]
    Energie = 150, day, energy
  [[[2]]]
    Gas = 151, month, gas
[[domoticz_temp_charts]]
  Temperatuur = 77, month, temp
[[domoticz_counter_charts]]
  CV Pressure = 73, month, Pressure
[[domoticz_percentage_charts]]
  CPU Server = 48, month
[[bar_charts]]
  Temperatuur Buiten = 77
  Temperatuur Binnen = 74


Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 10:53
by Awst6000
@Squandor:
I already have energy charts on my Domoboard.
But isn't there a way to pass my own data to these chart-templates?
For example the money my wife spends on shopping :lol:

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 11:53
by squandor
Awst6000 wrote:@Squandor:
I already have energy charts on my Domoboard.
But isn't there a way to pass my own data to these chart-templates?
For example the money my wife spends on shopping :lol:
that's a bit tricky i think that you're wife won't like it haha :lol:

maybe you could do that with an plugin or if you're domoticz could parse that information that it would be easy :lol:

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 12:08
by Awst6000
@Squandor:
I'm not a coder.
I'm trying to write my own templates first. After that I'll try to write plugins.

Another question:
Is it possible to display YouTube?

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 12:34
by squandor
Awst6000 wrote:@Squandor:
I'm not a coder.
I'm trying to write my own templates first. After that I'll try to write plugins.

Another question:
Is it possible to display YouTube?
if you wan't any help just let us know :)

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 15:33
by felix63
I made 'tvgids.html'. It uses

Code: Select all

<iframe frameborder=0 style="overflow: hidden; position: relative; height: 100%; width: 100%;" src='https://www.tvgids24.nl/gadget'/></iframe>
What would be really useful to have a generic template that displays an iframe but that takes the value for the src parameter from the config file.

That way you could use the same block for different sources of external info to display on your dashboard;

TV Gids: https://www.tvgids24.nl/gadget
YouTube: https://www.youtube.com/embed/XGSy3_Czz8k
etcetera..

I have submitted a plugin for this purpose :-)

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 16:04
by Awst6000
@Felix63:
Thank you very kindly! :)

I copied the template tvgids.html to youtube.html
Then I replaced the src line with this:
src='https://www.youtube.com/embed/wOS4d8Slk-Y?autoplay=1'/>

In this way I can add traffic cams from Webcam.nl for example.
I added '?autoplay=1' so YouTube starts playing immediately.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 17:15
by felix63
Awst6000 wrote:@Felix63:
Thank you very kindly! :)

I copied the template tvgids.html to youtube.html
Then I replaced the src line with this:
src='https://www.youtube.com/embed/wOS4d8Slk-Y?autoplay=1'/>

In this way I can add traffic cams from Webcam.nl for example.
I added '?autoplay=1' so YouTube starts playing immediately.
Glad to be of use :D

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 19:54
by squandor
We possible could create an plugin which feature will be to have an url with title in the config and it will be loaded into an iframe in the template.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 22:18
by squandor
Plugin has been created thank you Felix63, it's at the moment in the development branch, when wez3 has verified it will the plugin be available in the plugin-manager.
Be aware these plugins are only working on the development branch of domoboard for the moment.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Wednesday 18 January 2017 23:39
by Awst6000
squandor wrote:We possible could create an plugin which feature will be to have an url with title in the config and it will be loaded into an iframe in the template.
I fully agree to want to have the config-items in the configfile only.
I don't know if it is possible, but it might be handy to be able to give a flag (0=no, 1=yes) as option for automatic reload of the page.

Keep up the good pace...