Domoboard - General Discussions

Domoboard is a dashboard for Domoticz based on Python Flask.

Moderators: leecollings, wez3

Forum rules
Before posting here, make sure you are using the latest Beta or Stable version.

In order to fix issues or add features these have to be reported on the Domoboard Github pages.
This makes it possible to keep track of issues/features on a centralized place.

Refer to the issue of the github tracker when possible.

This subforum is meant to discuss issues and/or feature requests, or anything else related to Domoboard.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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.
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
benotje
Posts: 30
Joined: Saturday 27 December 2014 15:50
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.20078
Location: Menterwolde,The Netherlands
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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
raspberry pi
nas synology
homey
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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.
benotje
Posts: 30
Joined: Saturday 27 December 2014 15:50
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.20078
Location: Menterwolde,The Netherlands
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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
raspberry pi
nas synology
homey
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
wez3
Posts: 49
Joined: Friday 30 December 2016 12:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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
Awst6000
Posts: 108
Joined: Thursday 12 February 2015 7:51
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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)
Last edited by Awst6000 on Wednesday 18 January 2017 10:50, edited 1 time in total.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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

Awst6000
Posts: 108
Joined: Thursday 12 February 2015 7:51
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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:
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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:
Awst6000
Posts: 108
Joined: Thursday 12 February 2015 7:51
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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?
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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 :)
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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 :-)
Last edited by felix63 on Wednesday 18 January 2017 19:00, edited 1 time in total.
Awst6000
Posts: 108
Joined: Thursday 12 February 2015 7:51
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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.
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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.
Awst6000
Posts: 108
Joined: Thursday 12 February 2015 7:51
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post 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...
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests